Function at 0x43c2cb
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x47a408
call fcn.004461a8
sub esp, 0x8c
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x48], ecx
lea eax, [ebp - 0x11]
push ebx
push eax
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x44], 0x47e5a0
mov dword [ebp - 0x24], 0x47e598
call fcn.004017e6
mov esi, 0x49454c
mov dword [ebp - 4], ebx
push esi
call fcn.004468ff
mov edi, dword [ebp + 0x10]
pop ecx
push eax
push ebx
push esi
lea ecx, [edi + 4]
call fcn.0040fadf
mov ecx, dword [ebp + 0x18]
mov esi, eax
lea eax, [ebp + 0x18]
push 0xa
push eax
mov dword [ebp + 0x10], ebx
call fcn.00433fa3
mov eax, dword [ebp + 0x18]
and eax, 1
cmp al, 1
jne 0x43c344
mov dword [ebp + 0x10], 0x200
jmp 0x43c355
mov eax, dword [ebp + 0x18]
and eax, 2
cmp al, 2
jne 0x43c355
mov dword [ebp + 0x10], 0x100
mov eax, dword [edi + 0xc]
lea ecx, [esi + 1]
cmp ecx, eax
mov dword [ebp + 0x18], ecx
jae 0x43c74b
push esi
lea eax, [ebp - 0x98]
push ebx
push eax
mov ecx, edi
call fcn.0040e457
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 1
call fcn.004095a6
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], bl
call fcn.00401bc7
mov esi, str.HKEY_CLASSES_ROOT
push esi
call fcn.004468ff
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.004157b4
cmp eax, ebx
jne 0x43c3b9
mov esi, SysReAllocStringLen
jmp 0x43c49f
mov esi, str.HKEY_CURRENT_USER
push esi
call fcn.004468ff
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.004157b4
cmp eax, ebx
jne 0x43c3e1
mov esi, SysReAllocStringLen
jmp 0x43c49f
mov esi, str.HKEY_LOCAL_MACHINE
push esi
call fcn.004468ff
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.004157b4
cmp eax, ebx
jne 0x43c409
mov esi, reloc.OLEAUT32.dll_SysReAllocString
jmp 0x43c49f
mov esi, str.HKEY_USERS
push esi
call fcn.004468ff
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.004157b4
cmp eax, ebx
jne 0x43c42e
mov esi, SysReAllocStringLen
jmp 0x43c49f
mov esi, str.HKEY_PERFORMANCE_DATA
push esi
call fcn.004468ff
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.004157b4
cmp eax, ebx
jne 0x43c453
mov esi, reloc.OLEAUT32.dll_SysReAllocStringLen
jmp 0x43c49f
mov esi, str.HKEY_CURRENT_CONFIG
push esi
call fcn.004468ff
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.004157b4
cmp eax, ebx
jne 0x43c478
mov esi, reloc.OLEAUT32.dll_SysFreeString
jmp 0x43c49f
mov esi, str.HKEY_DYN_DATA
push esi
call fcn.004468ff
pop ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x40]
push ebx
call fcn.004157b4
cmp eax, ebx
jne 0x43c74b
mov esi, reloc.OLEAUT32.dll_SysStringLen
push dword [0x47e654]
lea eax, [ebp - 0x98]
mov ecx, edi
push dword [ebp + 0x18]
push eax
call fcn.0040e457
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 2
call fcn.004095a6
lea ecx, [ebp - 0x98]
mov byte [ebp - 4], bl
call fcn.00401bc7
mov dword [ebp - 0x10], ebx
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 3
cmp ecx, ebx
jne 0x43c4e4
mov ecx, 0x47e5b8
lea eax, [ebp + 0x18]
mov dword [ebp + 0x18], ebx
push eax
mov eax, dword [ebp + 0x10]
or eax, 0x20019
push eax
push ebx
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x43c864
lea ecx, [ebp - 0x10]
call fcn.0040d2f9
mov ecx, dword [ebp + 0x18]
cmp eax, ebx
mov dword [ebp - 0x10], ecx
jne 0x43c864
cmp dword [ebp + 8], 1
jne 0x43c53c
cmp dword [ebp + 0xc], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
sete byte [ebp + 0xf]
call fcn.0040d2f9
mov bl, byte [ebp + 0xf]
jmp 0x43c74b
mov edi, dword [ebp + 0x14]
push 4
pop esi
mov eax, dword [edi + 8]
mov dword [ebp - 0x18], esi
cmp eax, ebx
jne 0x43c551
mov eax, 0x47e5b8
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp + 0x18]
push edx
lea edx, [ebp + 0x14]
push edx
push ebx
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
jne 0x43c600
cmp dword [ebp + 0x14], esi
jne 0x43c600
cmp dword [ebp - 0x18], esi
jne 0x43c600
mov ecx, dword [ebp + 0x1c]
lea eax, [ebp + 8]
push 0xa
push eax
call fcn.00433fa3
mov eax, dword [ebp + 0xc]
dec eax
je 0x43c5f4
dec eax
je 0x43c5e8
dec eax
dec eax
je 0x43c5dc
sub eax, 0xc
je 0x43c5d4
sub eax, 0x10
je 0x43c5c8
mov byte [ebp + 0xf], 1
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040d2f9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.00401bc7
mov al, byte [ebp + 0xf]
jmp 0x43c759
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 8]
setne byte [ebp + 0xf]
jmp 0x43c5a9
mov eax, dword [ebp + 8]
and eax, dword [ebp + 0x18]
jmp 0x43c5f7
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 8]
seta byte [ebp + 0xf]
jmp 0x43c5a9
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 8]
setb byte [ebp + 0xf]
jmp 0x43c5a9
mov eax, dword [ebp + 0x18]
cmp eax, dword [ebp + 8]
sete byte [ebp + 0xf]
jmp 0x43c5a9
lea eax, [ebp + 0x13]
mov esi, 0x104
push ebx
push eax
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x70], 0x47e5e0
mov dword [ebp - 0x50], 0x47e5d8
call fcn.004029f5
mov eax, dword [edi + 8]
mov byte [ebp - 4], 4
cmp eax, ebx
jne 0x43c633
mov eax, 0x47e5b8
lea ecx, [ebp - 0x70]
push esi
push ecx
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.00443512
mov edi, dword [ebp + 0x1c]
add esp, 0x10
mov esi, 0x47e5b8
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x43c656
mov esi, eax
push esi
call fcn.004468ff
pop ecx
push eax
push ebx
push esi
lea ecx, [ebp - 0x6c]
call fcn.00402abf
cmp dword [ebp + 8], 0x20
mov dword [ebp + 0x1c], eax
jne 0x43c6c5
mov eax, dword [ebp - 0x68]
cmp eax, ebx
jne 0x43c67d
mov eax, 0x47e608
cmp eax, ebx
mov dword [ebp - 0x98], 0x47e5a0
mov dword [ebp - 0x78], 0x47e598
jne 0x43c697
mov eax, 0x49cc4c
lea ecx, [ebp + 0xb]
push ebx
push ecx
push eax
lea ecx, [ebp - 0x98]
call fcn.00408d43
mov dword [ebp - 0x1c], 1
mov ecx, dword [ebp - 0x48]
lea eax, [ebp - 0x98]
push edi
push eax
mov byte [ebp - 4], 5
call fcn.0043e3df
jmp 0x43c6e8
mov eax, dword [edi + 8]
mov esi, 0x47e5b8
cmp eax, ebx
je 0x43c6d3
mov esi, eax
push esi
call fcn.004468ff
pop ecx
push eax
push esi
push dword [ebp - 0x64]
lea ecx, [ebp - 0x6c]
push ebx
call fcn.00409bff
test byte [ebp - 0x1c], 1
push 4
mov esi, eax
pop edi
mov dword [ebp - 4], edi
je 0x43c701
lea ecx, [ebp - 0x98]
call fcn.00401bc7
mov eax, dword [ebp + 0xc]
dec eax
je 0x43c83f
dec eax
je 0x43c819
dec eax
dec eax
je 0x43c7ed
sub eax, edi
je 0x43c7c1
sub eax, 8
je 0x43c792
sub eax, 0x10
je 0x43c76a
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
call fcn.00401f6c
cmp dword [ebp - 0x10], ebx
je 0x43c749
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.00401bc7
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 - 0x70]
setne byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401f6c
cmp dword [ebp - 0x10], ebx
je 0x43c78d
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x43c74b
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x70]
cmp eax, dword [0x47e654]
mov byte [ebp - 4], 3
setne byte [ebp + 0xf]
call fcn.00401f6c
cmp dword [ebp - 0x10], ebx
je 0x43c7bc
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x43c74b
cmp dword [ebp + 0x1c], ebx
lea ecx, [ebp - 0x70]
mov byte [ebp - 4], 3
sete byte [ebp + 0xf]
call fcn.00401f6c
cmp dword [ebp - 0x10], ebx
je 0x43c7e5
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x43c74b
cmp esi, 1
lea ecx, [ebp - 0x70]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401f6c
cmp dword [ebp - 0x10], ebx
je 0x43c811
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x43c74b
cmp esi, 0xffffffff
lea ecx, [ebp - 0x70]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401f6c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040d2f9
mov bl, byte [ebp + 0xf]
jmp 0x43c74b
cmp esi, ebx
lea ecx, [ebp - 0x70]
sete byte [ebp + 0xf]
mov byte [ebp - 4], 3
call fcn.00401f6c
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call fcn.0040d2f9
mov bl, byte [ebp + 0xf]
jmp 0x43c74b
cmp dword [ebp + 8], 1
jne 0x43c738
cmp dword [ebp + 0xc], 2
sete byte [ebp + 0xf]
cmp dword [ebp - 0x10], ebx
je 0x43c887
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
mov bl, byte [ebp + 0xf]
jmp 0x43c74b