Function at 0x43afaa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x4004]
mov eax, 0x4004
call fcn.00495410
push 0xffffffffffffffff
push 0x4c28ba
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x4f9590]
xor eax, ebp
mov dword [ebp + 0x4000], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0x400c]
xor ebx, ebx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x18], ebx
lea ecx, [ebp - 0x20]
mov dword [ebp - 4], 2
call fcn.004724b0
lea eax, [ebp + 0x4010]
push eax
mov ecx, 0x4fc2fc
mov byte [ebp - 4], 3
call fcn.00415df0
push eax
lea ecx, [ebp - 0x20]
call fcn.004727f0
cmp byte [ebp - 0x19], 0xff
lea eax, [ebp - 0x20]
jne 0x43b02e
mov eax, dword [ebp - 0x20]
push eax
call fcn.004964a5
pop ecx
mov dword [0x4fc334], eax
cmp eax, ebx
jne 0x43b19b
lea ecx, [ebp - 0x28]
call fcn.004724b0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.004724b0
lea eax, [ebp + 0x4018]
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004726a0
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 6
call fcn.004724c0
cmp byte [ebp - 0xd], 0xff
lea ecx, [ebp - 0x14]
jne 0x43b081
mov ecx, dword [ebp - 0x14]
cmp byte [ecx + eax - 1], 0x5c
je 0x43b095
push 0x4cd950
lea ecx, [ebp - 0x14]
call fcn.00472bc0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
mov edi, 0x4fc334
push edi
push ecx
push ecx
lea eax, [ebp - 0x14]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call fcn.004726a0
call fcn.00435aa5
add esp, 0x18
cmp eax, ebx
jne 0x43b0ff
push 0x4cd9ca
mov ecx, esi
call fcn.00472760
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x18], 1
mov byte [ebp - 4], 5
call fcn.00472740
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00472740
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00472740
jmp 0x43b1f8
cmp byte [ebp - 0x21], 0xff
mov dword [0x4fc334], ebx
lea eax, [ebp - 0x28]
jne 0x43b111
mov eax, dword [ebp - 0x28]
push edi
push 0x20019
push ebx
push eax
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x43b136
push 0x4cd9ca
mov ecx, esi
call fcn.00472760
jmp 0x43b0cf
push dword [0x4fc334]
lea eax, [ebp - 0x48]
push eax
mov dword [0x4fc330], ebx
call fcn.0043459c
push eax
lea eax, [ebp + 0x4010]
push eax
lea eax, [ebp - 0x3c]
push eax
mov byte [ebp - 4], 7
call fcn.0043ac0e
add esp, 0x14
lea ecx, [ebp - 0x3c]
call fcn.00472740
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
call fcn.00472740
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.00472740
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.00472740
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00472740
push ebx
push ebx
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp]
push eax
push dword [0x4fc330]
mov dword [ebp - 0x34], 0x3fff
push dword [0x4fc334]
mov byte [ebp], bl
call dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
cmp eax, ebx
jne 0x43b1d3
inc dword [0x4fc330]
lea eax, [ebp]
push eax
jmp 0x43b1ea
push dword [0x4fc334]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [0x4fc334], ebx
push 0x4cd9ca
mov ecx, esi
call fcn.00472760
mov dword [ebp - 0x18], 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
call fcn.00472740
lea ecx, [ebp + 0x4010]
mov byte [ebp - 4], 1
call fcn.00472740
lea ecx, [ebp + 0x4018]
mov byte [ebp - 4], bl
call fcn.00472740
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x4000]
xor ecx, ebp
call fcn.004944f9
add ebp, 0x4004
leave
ret