Function at 0x40c770
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x439eeb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x44252c]
xor eax, esp
mov dword [esp + 0x234], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44252c]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
cmp byte [0x443840], 0
mov esi, dword [esp + 0x25c]
mov ebx, dword [esp + 0x260]
jne 0x40c7c7
call fcn.0040b220
push 0x43b750
push esi
call fcn.0040bec0
add esp, 8
lea eax, [ebx + 8]
push eax
push 0x43b624
lea ecx, [ebx + 4]
push ecx
mov ecx, 0x443844
call fcn.0040b8d0
push eax
push esi
call fcn.0040c0d0
add esp, 8
push eax
call fcn.0040bec0
add esp, 8
push eax
call fcn.0040c0d0
push 0x43b74c
push esi
call fcn.0040bec0
xor ebp, ebp
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], ebp
mov byte [esp + 0x40], 0
mov edi, 0x100
push edi
lea edx, [esp + 0x5c]
push ebp
push edx
mov dword [esp + 0x270], ebp
mov dword [esp + 0x38], edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebp
mov dword [esp + 0x3c], ebp
call fcn.004104f0
mov eax, dword [ebx]
add esp, 0x1c
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x4c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push ebp
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x15c]
push ecx
push ebp
push eax
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
jne 0x40c9a3
lea ecx, [ecx]
lea edx, [esp + 0x14]
push edx
mov ecx, 0x4438f0
call fcn.0040ba30
push 0xffffffffffffffff
push ebp
push eax
lea ecx, [esp + 0x38]
call fcn.00404cd0
push 0x43b748
lea eax, [esp + 0x14c]
push eax
push 0x22
push esi
call fcn.0040c350
add esp, 8
push eax
call fcn.0040bec0
add esp, 8
push eax
call fcn.0040bec0
add esp, 8
cmp dword [esp + 0x40], ebp
jne 0x40c8f2
push 0x22
push esi
call fcn.0040c350
add esp, 8
push 0x22
lea ecx, [esp + 0x4c]
push ecx
push eax
call fcn.0040bec0
add esp, 8
push eax
call fcn.0040c350
add esp, 8
jmp 0x40c94c
lea edx, [esp + 0x24]
push 0x10
push edx
call fcn.0040fb55
add esp, 8
mov ebp, eax
push 0x43b744
lea eax, [esp + 0x30]
push eax
push esi
call fcn.0040c0d0
add esp, 8
push eax
call fcn.0040bec0
mov edi, eax
add esp, 8
test edi, edi
je 0x40c92c
mov ecx, dword [edi]
mov eax, dword [ecx + 4]
add eax, edi
mov edx, dword [ebp + 4]
push edx
push eax
mov eax, dword [ebp]
call eax
mov ecx, dword [esp + 0x50]
add esp, 8
push ecx
mov ecx, edi
call fcn.0040c5a0
mov edi, 0x100
xor ebp, ebp
push 0xa
push esi
call fcn.0040c350
push edi
lea edx, [esp + 0x54]
push ebp
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], edi
call fcn.004104f0
mov ecx, dword [esp + 0x34]
mov eax, dword [ebx]
add esp, 0x14
lea edx, [esp + 0x18]
push edx
lea edx, [esp + 0x4c]
push edx
lea edx, [esp + 0x1c]
push edx
push ebp
lea edx, [esp + 0x2c]
push edx
lea edx, [esp + 0x15c]
inc ecx
push edx
push ecx
push eax
mov dword [esp + 0x40], ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
test eax, eax
je 0x40c880
cmp dword [esp + 0x44], 0x10
jb 0x40c9b7
mov eax, dword [esp + 0x30]
push eax
call fcn.00410405
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x234]
xor ecx, esp
call fcn.00410f49
add esp, 0x244
ret