Function at 0x43c837
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, 0x478370
call fcn.00444d58
sub esp, 0xa0
push ebx
xor ebx, ebx
push esi
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x18], ebx
push 1
lea eax, [ebp - 0x18]
pop esi
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x43cad5
lea eax, [ebp - 0x26]
mov esi, 0x47b560
mov edi, 0x47b558
push ebx
push eax
lea ecx, [ebp - 0x6c]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x4c], edi
call fcn.004017e1
lea eax, [ebp - 0x25]
push ebx
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x74], edi
call fcn.004017e1
mov esi, 0x400
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00408e31
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 4
call fcn.0040198d
mov ebx, eax
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x6c]
mov dword [edi + 8], ebx
call fcn.00408e31
mov edi, eax
mov ecx, dword [edi]
mov byte [ebp - 4], 5
call fcn.0040198d
lea ecx, [ebp - 0x14]
mov dword [edi + 8], eax
push ecx
lea ecx, [ebp - 0x1c]
push ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumValueA]
push ecx
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push 0
push dword [ebp - 0x18]
call edi
mov ebx, eax
lea ecx, [ebp - 0x44]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.00408e5e
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.00408e5e
test bl, bl
je 0x43cab7
cmp dword [ebp - 0x10], esi
jae 0x43c95b
cmp dword [ebp - 0x14], esi
jb 0x43c9e3
inc dword [ebp - 0x10]
inc dword [ebp - 0x14]
push dword [ebp - 0x14]
lea eax, [ebp - 0xac]
lea ecx, [ebp - 0x94]
push eax
call fcn.00408e31
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 6
call fcn.0040198d
mov dword [ebx + 8], eax
push dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x6c]
call fcn.00408e31
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 7
call fcn.0040198d
lea ecx, [ebp - 0x14]
mov dword [ebx + 8], eax
push ecx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call edi
lea ecx, [ebp - 0xa0]
mov byte [ebp - 4], 6
call fcn.00408e5e
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 3
call fcn.00408e5e
cmp dword [ebp - 0x1c], 2
je 0x43c9ef
cmp dword [ebp - 0x1c], 1
jne 0x43c9ff
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x6c]
push eax
call fcn.00414db9
test eax, eax
je 0x43ca65
inc dword [ebp - 0x20]
lea eax, [ebp - 0x38]
push esi
push eax
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
call fcn.00408e31
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 4
call fcn.0040198d
mov dword [ebp - 0x24], eax
mov dword [ebx + 8], eax
lea eax, [ebp - 0x44]
push esi
push eax
lea ecx, [ebp - 0x6c]
call fcn.00408e31
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
call fcn.0040198d
lea ecx, [ebp - 0x14]
mov dword [ebx + 8], eax
push ecx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x10]
push 0
push ecx
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x18]
jmp 0x43c923
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x94]
push 0
push eax
mov ecx, esi
mov dword [esi], 0x47b560
mov dword [esi + 0x20], 0x47b558
call fcn.0040e922
mov dword [ebp - 0x2c], 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00401bc2
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00401bc2
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.0043dc80
mov eax, esi
jmp 0x43caf9
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 2
call fcn.00401bc2
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.00401bc2
push 1
pop esi
mov ecx, dword [ebp + 8]
lea eax, [ebp + 0xf]
push esi
push eax
push 0x498d9c
call fcn.00414d81
and byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x2c], esi
call fcn.0043dc80
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8