Function at 0x55a800
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x615beb
mov eax, dword fs:[0]
push eax
sub esp, 0x194
mov eax, dword [0x6b000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x10]
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
push 0x104
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x114]
push 0
push eax
call fcn.00588800
add esp, 0xc
lea eax, [ebp - 0x194]
lea ecx, [ebp - 0x198]
mov dword [ebp - 0x198], eax
push 3
push esi
call fcn.0046c9a0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x114]
mov ecx, dword [ebp - 0x198]
push 0x104
call fcn.004665f0
add esp, 4
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x198]
lea ecx, [ebp - 0x194]
cmp eax, ecx
je 0x55a8ad
push eax
call fcn.005a51fb
add esp, 4
lea ecx, [ebp - 0x114]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x55a8b6
sub ecx, edx
lea esi, [ecx + 1]
cmp esi, 0x3fffffff
jg 0x55a8fc
lea eax, [esi + esi]
call fcn.005dd590
mov edi, esp
test edi, edi
je 0x55a8fc
push esi
push edi
xor eax, eax
push 0xffffffffffffffff
mov word [edi], ax
lea eax, [ebp - 0x114]
push eax
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x55a8fe
xor esi, esi
cmp dword [0x6b0c60], 0x3a8
mov edi, dword [ebp + 0x14]
je 0x55a917
test edi, edi
mov eax, 2
cmovne edi, eax
test ebx, ebx
jne 0x55a91f
xor ecx, ecx
jmp 0x55a933
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55a924
sub ecx, edx
sar ecx, 1
push ecx
push ebx
mov ecx, 0x6b9698
call fcn.0040c9d0
mov eax, dword [ebp - 0x19c]
test eax, eax
jne 0x55a94d
xor ecx, ecx
jmp 0x55a967
mov ecx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55a952
mov eax, dword [ebp - 0x19c]
sub ecx, edx
sar ecx, 1
push ecx
push eax
mov ecx, 0x6b9670
call fcn.0040c9d0
push 4
lea eax, [ebp - 0x1a0]
mov dword [ebp - 0x1a0], edi
push eax
push 4
push str.type
push dword [0x6b9660]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov ecx, ebx
lea edx, [ecx + 2]
cmp edi, 2
jne 0x55a9c1
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55a9a4
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push str.UserID
jmp 0x55a9dc
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55a9c1
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push ebx
push 1
push str.UserName
push dword [0x6b9660]
mov edi, dword [sym.imp.SHLWAPI.dll_SHSetValueW]
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov ecx, esi
mov ebx, eax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55a9f6
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push str.token
push dword [0x6b9660]
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov esi, eax
mov edx, 0x639ee0
mov eax, dword [ebp - 0x19c]
test eax, eax
cmovne edx, eax
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x1a0], eax
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x55aa40
sub ecx, dword [ebp - 0x1a0]
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edx
push 1
push str.NickName
push dword [0x6b9660]
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test ebx, ebx
jne 0x55aa79
test esi, esi
jne 0x55aa79
lea eax, [ebx + 1]
jmp 0x55aa7b
xor eax, eax
lea esp, [ebp - 0x1b0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f9be
mov esp, ebp
pop ebp
ret 0x10