Function at 0x43a680
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x479f6e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
mov eax, dword [0x4994a0]
xor eax, dword [esp + 0x244]
push ebx
push ebp
push esi
mov dword [esp + 0x240], eax
push edi
mov ecx, dword [esp + 0x25c]
mov edx, dword [esp + 0x258]
lea eax, [esp + 0x14]
push eax
push 0x20019
xor esi, esi
push esi
push ecx
push edx
mov dword [esp + 0x264], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, esi
jne 0x43a8f7
mov ecx, dword [esp + 0x14]
push esi
push esi
push esi
push esi
lea eax, [esp + 0x20]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
cmp dword [esp + 0x10], esi
je 0x43a8f7
mov edi, dword [esp + 0x264]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x260]
mov eax, 0x104
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x144]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x24]
push 0
lea edx, [esp + 0x20]
push edx
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x50]
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
jne 0x43a8de
lea eax, [esp + 0x3c]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x43a770
sub eax, edx
mov dword [esp + 0x24], eax
je 0x43a8de
mov eax, dword [esp + 0x258]
push eax
push ecx
lea edx, [esp + 0x148]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00405920
push ecx
lea eax, [esp + 0x48]
mov ecx, esp
mov dword [esp + 0x44], esp
push eax
mov byte [esp + 0x260], 1
call fcn.00405920
lea ecx, [esp + 0x38]
mov byte [esp + 0x25c], 0
call fcn.00439b20
push eax
mov ecx, edi
mov byte [esp + 0x254], 2
call fcn.0043a5f0
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x250], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a7ff
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a81d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0x1004
push eax
call ebx
push 0
push 0
push 0
push 0
push 0x47e490
push eax
push 1
mov ecx, esi
call fcn.004654fc
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x3c]
push ecx
push 1
push 0
push 0
push 0x1004
push edx
call ebx
dec eax
push eax
mov ecx, esi
call fcn.004650b6
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x140]
push eax
push 2
push 0
push 0
push 0x1004
push ecx
call ebx
dec eax
push eax
mov ecx, esi
call fcn.004650b6
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x43a88f
xor ebp, ebp
jmp 0x43a8a6
mov edx, dword [edi + 8]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
mov ebp, edx
test ecx, ecx
jne 0x43a8ae
xor edx, edx
jmp 0x43a8c3
mov edx, dword [edi + 8]
sub edx, ecx
mov eax, 0x2aaaaaab
imul edx
sar edx, 1
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
dec ebp
push ebp
push 0
push 0
push 0
push 0
push 4
push 0
dec edx
push edx
mov ecx, esi
call fcn.00465548
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
inc ecx
test ebp, ebp
mov dword [esp + 0x10], 0x104
mov dword [esp + 0x18], ecx
je 0x43a720
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x25c]
add eax, 0xfffffff0
mov dword [esp + 0x250], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a92e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0x248]
pop edi
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x23c]
xor ecx, dword [esp + 0x24c]
pop ebp
pop ebx
add esp, 0x244
jmp fcn.00456aa7