Function at 0x43f5d1
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
movzx eax, byte [ebp + 0x44]
test eax, eax
je 0x43f68b
mov eax, dword [ebp + 0x30]
mov dword [ebp - 0xa8], eax
lea eax, [ebp + 0x28]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp + 0x48]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp + 0x54]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x58], eax
push dword [ebp - 0x88]
push 0x487e
push dword [ebp - 0xf8]
push dword [ebp - 0x48]
push dword [ebp - 0xa8]
mov eax, dword [ebp - 0x50]
movzx eax, byte [eax]
push eax
push dword [ebp - 0xd8]
push dword [ebp - 0x58]
push 0x5d23
push dword [ebp - 0xb0]
push dword [ebp - 0x60]
push 1
push dword [ebp - 0xf0]
push 0x27ae
push 0x3c6d
call fcn.0043fa56
add esp, 0x3c
jmp 0x43fa52
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0xf4], eax
lea eax, [ebp + 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0x3c]
mov dword [ebp - 0xb8], eax
lea eax, [ebp + 0x20]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xe0], eax
lea eax, [ebp + 0x4c]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp + 0x50]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0x68]
movzx eax, byte [eax]
test eax, eax
je 0x43f8a0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x90]
movzx eax, byte [eax]
test eax, eax
je 0x43f801
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00431e5c
mov dword [eax], 2
jmp 0x43f7ac
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00431e5c
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x2c]
mov dword [ecx], eax
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00431e5c
cmp dword [eax], 0
jl 0x43f7fc
push 0x28e8
push dword [ebp - 0x4c]
push 0x72f8
push 0x77de
push 0
push 0x4694
push 0x62e6
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x54]
call fcn.0044120f
add esp, 0x28
push 1
mov ecx, dword [ebp - 0xc]
call fcn.00431e5c
cmp dword [eax], 0
je 0x43f7fa
jmp 0x43f794
jmp 0x43f794
jmp 0x43f89b
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0xac]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xb4]
mov ecx, dword [ecx]
add ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0xbc]
mov eax, dword [eax]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0xc4]
mov ecx, dword [ecx]
mov edx, dword [ebp - 0xcc]
mov eax, dword [ecx + eax]
mov dword [edx], eax
jmp 0x43fa52
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0xdc]
movzx eax, byte [eax]
test eax, eax
je 0x43f8e3
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x43f8de
push 0
push 0
push 0
push 0
push 0
push 0
push 0x482
push 0
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x43fa52
mov dword [ebp - 8], 0
mov dword [ebp - 0x1c], 0xfffffffa
mov dword [ebp - 0xe4], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0xec], 0xf726845d
mov dword [ebp - 8], 0
jmp 0x43f91c
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xfffffff4
jge 0x43f9c3
mov dword [ebp - 0x108], 0xbf495e3b
push 1
lea ecx, [ebp - 0x104]
call fcn.00431d6e
mov dword [ebp - 0x10], 0
jmp 0x43f94d
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jge 0x43f969
push dword [ebp - 0x10]
lea ecx, [ebp - 0x104]
call fcn.00431e5c
mov dword [eax], 0xd9a2b82c
jmp 0x43f946
cmp dword [ebp - 8], 0
jne 0x43f97e
mov eax, 0x3c8e79b
test eax, eax
jne 0x43f97e
and dword [ebp - 0x18], 0
jmp 0x43f985
mov dword [ebp - 0x18], 1
mov eax, dword [ebp - 0x18]
sub eax, 0x32cd2c9b
cmp eax, 0xd0e7
jge 0x43f99d
mov dword [ebp - 0x24], 1
jmp 0x43f9a1
and dword [ebp - 0x24], 0
push 0
lea ecx, [ebp - 0x104]
call fcn.00431e5c
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
lea ecx, [ebp - 0x104]
call fcn.00431e40
jmp 0x43f915
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x10c], eax
xor eax, eax
inc eax
je 0x43f9e3
cmp dword [ebp - 0x14], 0
je 0x43f9e3
mov dword [ebp - 0x34], 1
jmp 0x43f9e7
and dword [ebp - 0x34], 0
cmp dword [ebp - 0x34], 0xfffffffd
je 0x43f9f6
mov dword [ebp - 0x20], 1
jmp 0x43f9fa
and dword [ebp - 0x20], 0
mov dword [ebp - 8], 0x5524
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x20]
je 0x43fa18
mov dword [ebp - 0x28], 1
jmp 0x43fa1c
and dword [ebp - 0x28], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x28], eax
jg 0x43fa2d
mov dword [ebp - 0x30], 1
jmp 0x43fa31
and dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x30]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
jl 0x43fa45
mov dword [ebp - 0x38], 1
jmp 0x43fa49
and dword [ebp - 0x38], 0
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0xec], eax
mov esp, ebp
pop ebp
ret