Function at 0x433fa0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x468018
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x49806c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 4], 0
call fcn.00401640
mov ecx, eax
test ecx, ecx
jne 0x433ffc
push 0x80004005
call fcn.004012a0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0x4897c4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00407350
test al, al
jne 0x43402b
push 0
push 0x4897c4
lea ecx, [ebp - 0x14]
call fcn.00407a80
push ecx
mov edx, 0x4897e0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x20]
xor esi, esi
call fcn.0040fa80
add esp, 4
lea ecx, [ebp - 0x30]
push 0x20019
push dword [eax]
push SysReAllocString
call fcn.0040e910
mov edx, dword [ebp - 0x20]
test eax, eax
sete bl
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434076
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x30]
test bl, bl
je 0x434149
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], esi
push eax
push 0
lea eax, [ebp - 0x20]
push eax
push 0
push 0x4897dc
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4340ad
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x4340b4
cmp eax, 2
je 0x4340b4
xor eax, eax
jmp 0x43415a
mov eax, dword [ebp - 0x1c]
shr eax, 1
lea ebx, [eax + eax]
lea eax, [ebx + 2]
push eax
call fcn.00448d70
mov esi, eax
add esp, 4
test esi, esi
je 0x434149
lea eax, [ebx + 2]
push eax
push 0
push esi
call fcn.00441bb0
add esp, 0xc
mov dword [ebp - 0x1c], ebx
lea eax, [ebp - 0x1c]
push eax
push esi
lea eax, [ebp - 0x20]
push eax
push 0
push 0x489824
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x434149
mov eax, dword [ebp - 0x20]
cmp eax, 1
je 0x434108
cmp eax, 2
jne 0x434149
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x43411f
test al, 1
jne 0x434149
shr eax, 1
cmp word [esi + eax*2 - 2], 0
je 0x434124
jmp 0x434149
xor eax, eax
mov word [esi], ax
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x434130
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x14]
call fcn.00407a80
mov eax, esi
test esi, esi
je 0x43415a
push esi
call fcn.00448d6b
add esp, 4
mov eax, esi
xor ebx, ebx
test esi, esi
cmove ebx, eax
mov dword [ebp - 0x1c], ebx
test edi, edi
je 0x434174
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edi, edi
mov dword [ebp - 0x30], edi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x2c], 0
cmp dword [esi - 0xc], 0
jne 0x4342cc
push ecx
mov edx, str.IDw8OBQ7IC0kJBQnOC0mFCsnJSUpJiw
lea ecx, [ebp - 0x20]
call fcn.0040fa80
add esp, 4
lea ecx, [ebp - 0x30]
push 0x20119
push dword [eax]
push SysReAllocString
call fcn.0040e910
mov edx, dword [ebp - 0x20]
test eax, eax
sete byte [ebp - 0xd]
add edx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x4341ce
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0xd], 0
mov ebx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x30]
je 0x4342cc
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0
push eax
push 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x489870
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, eax
test ecx, ecx
je 0x434207
xor eax, eax
jmp 0x434223
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x43421c
cmp eax, 2
je 0x43421c
mov ebx, dword [ebp - 0x1c]
jmp 0x4342cc
mov eax, dword [ebp - 0x20]
shr eax, 1
xor ecx, ecx
mov ebx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x4342cc
add eax, eax
mov dword [ebp - 0x20], eax
add eax, 2
push eax
mov dword [ebp - 0x24], eax
call fcn.00448d70
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x4342d9
push dword [ebp - 0x24]
push 0
push ebx
call fcn.00441bb0
mov eax, dword [ebp - 0x20]
add esp, 0xc
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
push ebx
lea eax, [ebp - 0x24]
push eax
push 0
push 0x48986c
push edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4342cc
mov eax, dword [ebp - 0x24]
cmp eax, 1
je 0x434288
cmp eax, 2
jne 0x4342cc
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x43429f
test al, 1
jne 0x4342cc
shr eax, 1
cmp word [ebx + eax*2 - 2], 0
je 0x4342a4
jmp 0x4342cc
xor eax, eax
mov word [ebx], ax
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4342b0
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x14]
call fcn.00407a80
mov esi, dword [ebp - 0x14]
test ebx, ebx
je 0x4342d9
push ebx
call fcn.00448d6b
add esp, 4
mov ebx, dword [esi - 0xc]
test ebx, ebx
jns 0x4342ea
push 0x80070057
call fcn.004012a0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x434307
push ebx
lea ecx, [ebp - 0x14]
call fcn.00407a20
mov esi, dword [ebp - 0x14]
lea eax, [ebx + 1]
push eax
push esi
call fcn.00448d1b
add esp, 8
cmp ebx, dword [esi - 8]
jg 0x4342e0
xor eax, eax
mov dword [esi - 0xc], ebx
push ecx
mov edx, str.IS0wOCQnOi1mLTAt
mov word [esi + ebx*2], ax
lea ecx, [ebp - 0x24]
call fcn.0040fa80
add esp, 4
mov eax, dword [eax]
test eax, eax
jne 0x43433e
or ebx, 0xffffffff
jmp 0x434362
cmp dword [esi - 0xc], 0
jge 0x434349
or ebx, 0xffffffff
jmp 0x434362
push eax
push esi
call fcn.00441602
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43435e
or ebx, 0xffffffff
jmp 0x434362
sub ebx, esi
sar ebx, 1
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43437d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
cmp ebx, 0xffffffff
je 0x4343d1
mov edx, str.ASY8LTomLTxoDTA4JCc6LTo
mov ebx, dword [ebp - 0x18]
mov ecx, ebx
call fcn.0040fa80
add esp, 4
add esi, 0xfffffff0
or eax, 0xffffffff
mov byte [ebp - 4], 0
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4343b1
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
test edi, edi
je 0x4343bd
mov eax, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, str.LiE6LS4nMGYtMC0
lea ecx, [ebp - 0x24]
call fcn.0040fa80
add esp, 4
mov eax, dword [eax]
test eax, eax
jne 0x4343ec
or ebx, 0xffffffff
jmp 0x434410
cmp dword [esi - 0xc], 0
jge 0x4343f7
or ebx, 0xffffffff
jmp 0x434410
push eax
push esi
call fcn.00441602
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x43440c
or ebx, 0xffffffff
jmp 0x434410
sub ebx, esi
sar ebx, 1
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43442b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push ecx
cmp ebx, 0xffffffff
je 0x43443b
mov edx, str.DiE6LS4nMA
jmp 0x434388
mov edx, str.KyA6JyUtZi0wLQ
lea ecx, [ebp - 0x24]
call fcn.0040fa80
add esp, 4
mov eax, dword [eax]
test eax, eax
jne 0x434456
or ebx, 0xffffffff
jmp 0x43447a
cmp dword [esi - 0xc], 0
jge 0x434461
or ebx, 0xffffffff
jmp 0x43447a
push eax
push esi
call fcn.00441602
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x434476
or ebx, 0xffffffff
jmp 0x43447a
sub ebx, esi
sar ebx, 1
mov edx, dword [ebp - 0x24]
or eax, 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x434495
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
cmp ebx, 0xffffffff
je 0x4344a5
push ecx
mov edx, str.CyA6JyUt
jmp 0x434388
add esi, 0xfffffff0
mov ecx, esi
call fcn.004079c0
mov ebx, dword [ebp - 0x18]
add eax, 0x10
mov dword [ebx], eax
jmp 0x434398