Function at 0x43b365
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x478118
call fcn.00444d58
sub esp, 0x90
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x4c], ecx
lea eax, [ebp - 0x15]
push ebx
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], 0x47b560
mov dword [ebp - 0x24], 0x47b558
call fcn.004017e1
mov esi, 0x490dd0
mov dword [ebp - 4], ebx
push esi
call fcn.004454af
pop ecx
push eax
push ebx
push esi
mov esi, dword [ebp + 0x10]
lea ecx, [esi + 4]
call fcn.0040ff44
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x18]
push 0xa
push eax
xor edi, edi
call fcn.004334ad
mov eax, dword [ebp + 0x18]
and eax, 1
cmp al, 1
jne 0x43b3dc
mov edi, 0x200
jmp 0x43b3eb
mov eax, dword [ebp + 0x18]
and eax, 2
cmp al, 2
jne 0x43b3eb
mov edi, pe_nt_image_headers32
mov eax, dword [ebp - 0x14]
mov ecx, dword [esi + 0xc]
lea edx, [eax + 1]
cmp edx, ecx
mov dword [ebp + 0x18], edx
jae 0x43b7d4
push eax
lea eax, [ebp - 0x9c]
push ebx
push eax
mov ecx, esi
call fcn.0040e9f5
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.0040950c
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], bl
call fcn.00401bc2
mov esi, str.HKEY_CLASSES_ROOT
push esi
call fcn.004454af
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.00415b3c
cmp eax, ebx
jne 0x43b452
mov esi, SysReAllocStringLen
jmp 0x43b538
mov esi, str.HKEY_CURRENT_USER
push esi
call fcn.004454af
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.00415b3c
cmp eax, ebx
jne 0x43b47a
mov esi, SysFreeString
jmp 0x43b538
mov esi, str.HKEY_LOCAL_MACHINE
push esi
call fcn.004454af
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.00415b3c
cmp eax, ebx
jne 0x43b4a2
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x43b538
mov esi, str.HKEY_USERS
push esi
call fcn.004454af
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.00415b3c
cmp eax, ebx
jne 0x43b4c7
mov esi, SysFreeString
jmp 0x43b538
mov esi, str.HKEY_PERFORMANCE_DATA
push esi
call fcn.004454af
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.00415b3c
cmp eax, ebx
jne 0x43b4ec
mov esi, reloc.OLEAUT32.dll_SysReAllocStringLen
jmp 0x43b538
mov esi, str.HKEY_CURRENT_CONFIG
push esi
call fcn.004454af
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.00415b3c
cmp eax, ebx
jne 0x43b511
mov esi, reloc.OLEAUT32.dll_SysFreeString
jmp 0x43b538
mov esi, 0x492afc
push esi
call fcn.004454af
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.00415b3c
cmp eax, ebx
jne 0x43b7d4
mov esi, reloc.OLEAUT32.dll_SysStringLen
push dword [0x47b614]
mov ecx, dword [ebp + 0x10]
lea eax, [ebp - 0x9c]
push dword [ebp + 0x18]
push eax
call fcn.0040e9f5
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.0040950c
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], bl
call fcn.00401bc2
mov dword [ebp - 0x10], ebx
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 3
call fcn.0040198d
lea ecx, [ebp + 0x10]
or edi, 0x20019
push ecx
push edi
push ebx
push eax
push esi
mov dword [ebp + 0x10], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x43b8ed
lea ecx, [ebp - 0x10]
call fcn.0040d722
mov ecx, dword [ebp + 0x10]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x43b8ed
cmp dword [ebp + 8], 1
jne 0x43b5d0
cmp dword [ebp + 0xc], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
sete byte [ebp + 0xf]
call fcn.0040d722
mov bl, byte [ebp + 0xf]
jmp 0x43b7d4
push 4
lea eax, [ebp - 0x14]
pop esi
mov ecx, dword [ebp + 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
push ebx
mov dword [ebp - 0x14], esi
call fcn.0040198d
push eax
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
jne 0x43b68f
cmp dword [ebp - 0x48], esi
jne 0x43b68f
cmp dword [ebp - 0x14], esi
jne 0x43b68f
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
push 0xa
push eax
call fcn.004334ad
mov eax, dword [ebp + 0xc]
dec eax
je 0x43b683
dec eax
je 0x43b677
dec eax
dec eax
je 0x43b66b
sub eax, 0xc
je 0x43b663
sub eax, 0x10
je 0x43b657
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040d722
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401bc2
mov al, byte [ebp + 0xf]
jmp 0x43b7e2
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 8]
setne byte [ebp + 0xf]
jmp 0x43b638
mov eax, dword [ebp + 8]
and eax, dword [ebp + 0x18]
jmp 0x43b686
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 8]
seta byte [ebp + 0xf]
jmp 0x43b638
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 8]
setb byte [ebp + 0xf]
jmp 0x43b638
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 8]
sete byte [ebp + 0xf]
jmp 0x43b638
lea eax, [ebp + 0x13]
mov esi, 0x104
push ebx
push eax
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x74], 0x47b5a0
mov dword [ebp - 0x54], 0x47b598
call fcn.00402b2c
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x74]
push esi
push eax
mov byte [ebp - 4], 4
call fcn.0040198d
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.004423f2
mov esi, dword [ebp + 0x1c]
add esp, 0x10
mov edi, 0x47b578
mov eax, dword [esi + 8]
cmp eax, ebx
je 0x43b6e1
mov edi, eax
push edi
call fcn.004454af
pop ecx
push eax
push ebx
push edi
lea ecx, [ebp - 0x70]
call fcn.00404016
cmp dword [ebp + 8], 0x20
mov dword [ebp + 0x14], eax
jne 0x43b750
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
jne 0x43b708
mov eax, 0x47b5bc
cmp eax, ebx
mov dword [ebp - 0x9c], 0x47b560
mov dword [ebp - 0x7c], 0x47b558
jne 0x43b722
mov eax, 0x498d9c
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x9c]
call fcn.00408d40
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x9c]
push esi
push eax
mov byte [ebp - 4], 5
call fcn.0043d423
jmp 0x43b771
mov esi, dword [esi + 8]
cmp esi, ebx
jne 0x43b75c
mov esi, 0x47b578
push esi
call fcn.004454af
pop ecx
push eax
push esi
push dword [ebp - 0x68]
lea ecx, [ebp - 0x70]
push ebx
call fcn.00409b45
test byte [ebp - 0x1c], 1
push 4
mov esi, eax
pop edi
mov dword [ebp - 4], edi
je 0x43b78a
lea ecx, [ebp - 0x9c]
call fcn.00401bc2
mov eax, dword [ebp + 0xc]
dec eax
je 0x43b8c8
dec eax
je 0x43b8a2
dec eax
dec eax
je 0x43b876
sub eax, edi
je 0x43b84a
sub eax, 8
je 0x43b81b
sub eax, 0x10
je 0x43b7f3
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.00401f95
cmp dword [ebp - 0x10], ebx
je 0x43b7d2
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, 1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401bc2
mov al, bl
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 0x18
cmp esi, ebx
lea ecx, [ebp - 0x74]
setne byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401f95
cmp dword [ebp - 0x10], ebx
je 0x43b816
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x43b7d4
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 0x74]
cmp eax, dword [0x47b614]
mov byte [ebp - 4], 3
setne byte [ebp + 0xf]
call fcn.00401f95
cmp dword [ebp - 0x10], ebx
je 0x43b845
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x43b7d4
cmp dword [ebp + 0x14], ebx
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
sete byte [ebp + 0xf]
call fcn.00401f95
cmp dword [ebp - 0x10], ebx
je 0x43b86e
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x43b7d4
cmp esi, 1
lea ecx, [ebp - 0x74]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401f95
cmp dword [ebp - 0x10], ebx
je 0x43b89a
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x43b7d4
cmp esi, 0xffffffff
lea ecx, [ebp - 0x74]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401f95
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040d722
mov bl, byte [ebp + 0xf]
jmp 0x43b7d4
cmp esi, ebx
lea ecx, [ebp - 0x74]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401f95
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040d722
mov bl, byte [ebp + 0xf]
jmp 0x43b7d4
cmp dword [ebp + 8], 1
jne 0x43b7c1
cmp dword [ebp + 0xc], 2
sete byte [ebp + 0xf]
cmp dword [ebp - 0x10], ebx
je 0x43b910
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x43b7d4