Function at 0x43f580
Capabilities:
Query or enumerate registry value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x492986
mov eax, dword fs:[0]
push eax
sub esp, 0x864
mov eax, dword [0x4bea34]
xor eax, esp
mov dword [esp + 0x85c], eax
push ebx
push esi
mov eax, dword [0x4bea34]
xor eax, esp
push eax
lea eax, [esp + 0x870]
mov dword fs:[0], eax
mov eax, dword [edi + 4]
mov esi, ecx
mov ecx, dword [eax + 4]
push ecx
mov ecx, edi
mov dword [esp + 0x1c], esi
call fcn.0043a063
mov eax, dword [edi + 4]
mov dword [eax + 4], eax
mov eax, dword [edi + 4]
xor ebx, ebx
mov dword [edi + 8], ebx
mov dword [eax], eax
mov eax, dword [edi + 4]
mov dword [eax + 8], eax
call fcn.0043ee30
test al, al
je 0x43f7d4
mov eax, dword [esi + 0x40]
add eax, 0xffffffff
cmp eax, 8
ja case.default.0x43f608
movzx edx, byte [eax + 0x43f800]
jmp dword [edx*4 + 0x43f7f8]
mov eax, dword [esi + 0x48]
mov dword [esp + 0x14], eax
jmp 0x43f625
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x14], ecx
jmp 0x43f625
mov dword [esp + 0x14], ebx
push 0x7fe
lea edx, [esp + 0x6a]
push ebx
push edx
mov dword [esp + 0x1c], ebx
mov word [esp + 0x70], bx
call fcn.00471300
add esp, 0xc
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x78]
push ecx
push edx
push eax
mov dword [esp + 0x3c], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne 0x43f6e5
cmp dword [esp + 0x1c], ebx
je 0x43f641
cmp word [esp + 0x64], bx
je 0x43f641
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x3c], 7
mov dword [esp + 0x38], ebx
mov word [esp + 0x28], bx
call fcn.0047137a
add esp, 4
lea ecx, [esp + 0x64]
lea esi, [esp + 0x20]
call fcn.00404a96
mov edx, esi
push edx
lea eax, [esp + 0x5c]
push eax
push edi
mov dword [esp + 0x884], ebx
call fcn.0043fae0
mov dword [esp + 0x878], 0xffffffff
cmp dword [esp + 0x38], 8
jb 0x43f6d7
mov ecx, dword [esp + 0x24]
push ecx
call fcn.004708c5
add esp, 4
add dword [esp + 0x10], 1
mov esi, dword [esp + 0x18]
jmp 0x43f641
mov eax, dword [esi + 0x40]
add eax, 0xffffffff
cmp eax, 8
ja case.0x43f6fb.0
movzx edx, byte [eax + 0x43f814]
jmp dword [edx*4 + 0x43f80c]
mov esi, dword [esi + 0x4c]
cmp esi, ebx
mov dword [esp + 0x18], esi
je case.0x43f6fb.0
push 0x800
lea eax, [esp + 0x68]
push ebx
push eax
mov dword [esp + 0x1c], ebx
call fcn.00471300
add esp, 0xc
mov eax, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x78]
push edx
push eax
push esi
mov dword [esp + 0x34], 0x400
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
cmp eax, ebx
jne case.0x43f6fb.0
cmp dword [esp + 0x14], ebx
je 0x43f728
cmp word [esp + 0x64], bx
je 0x43f728
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], ebx
mov word [esp + 0x44], bx
call fcn.0047137a
add esp, 4
lea ecx, [esp + 0x64]
lea esi, [esp + 0x3c]
call fcn.00404a96
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x5c]
push eax
mov esi, 1
push edi
mov dword [esp + 0x884], esi
call fcn.0043fae0
mov dword [esp + 0x878], 0xffffffff
cmp dword [esp + 0x54], 8
jb 0x43f7c5
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004708c5
add esp, 4
add dword [esp + 0x10], esi
mov esi, dword [esp + 0x18]
jmp 0x43f728
mov al, 1
mov ecx, dword [esp + 0x870]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x85c]
xor ecx, esp
call fcn.00470af5
mov esp, ebp
pop ebp
ret