Function at 0x43a750
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5e4256
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, edx
xor esi, esi
push 0x206
lea edx, [esp + 0x92]
push esi
push edx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], eax
mov dword [esp + 0x3c], ecx
mov word [esp + 0x98], si
call fcn.005be600
add esp, 0xc
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x8c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x7c]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [ebx]
push esi
lea edx, [esp + 0x5c]
push edx
lea eax, [esp + 0xb4]
push eax
push ecx
mov dword [esp + 0x68], 0x104
mov dword [esp + 0x44], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
mov edi, eax
cmp edi, esi
je 0x43a818
mov dword [ebx + 4], edi
cmp edi, 5
jne 0x43a824
mov al, 1
jmp 0x43aa77
cmp edi, esi
je 0x43a832
mov dword [ebx + 4], edi
xor al, al
jmp 0x43aa77
mov eax, dword [esp + 0x24]
add dword [esp + 0x1c], 1
add eax, 1
xor ecx, ecx
mov dword [esp + 0x24], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059b872
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
xor ecx, ecx
add esp, 4
mov dword [esp + 0x34], eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0059b872
add esp, 4
cmp dword [esp + 0x14], esi
mov ebx, eax
je 0x43a96b
mov eax, dword [esp + 0x28]
call fcn.0040fef0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
push eax
call fcn.0043aaa0
cmp dword [esp + 0x14], esi
mov dword [esp + 0x10], esi
jbe 0x43a96b
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x44]
push edx
mov edx, dword [esp + 0x14]
push esi
push esi
push esi
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp edi, esi
jne 0x43a956
mov eax, dword [esp + 0x20]
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], esi
mov word [esp + 0x50], si
lea edx, [eax + 2]
jmp 0x43a900
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x43a900
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
push eax
push edx
lea esi, [esp + 0x54]
call fcn.00402770
mov eax, esi
mov esi, dword [esp + 0x28]
push eax
mov dword [esp + 0x2ac], 0
call fcn.0040fe40
mov dword [esp + 0x2a8], 0xffffffff
cmp dword [esp + 0x64], 8
jb 0x43a954
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0059b877
add esp, 4
xor esi, esi
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jb 0x43a8b1
cmp dword [esp + 0x18], esi
je 0x43aa4f
mov edi, dword [esp + 0x30]
mov eax, edi
call fcn.0040fef0
mov edx, dword [esp + 0x18]
push edx
mov ecx, edi
call fcn.0043aaa0
xor edi, edi
cmp dword [esp + 0x18], esi
mov dword [esp + 0x10], esi
jbe 0x43aa4f
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
push esi
push esi
push esi
push esi
lea ecx, [esp + 0x44]
push ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x40]
push ebx
mov word [ebx], si
mov ecx, dword [eax]
push edx
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edi, eax
cmp edi, esi
jne 0x43aa3a
mov eax, ebx
mov dword [esp + 0x84], 7
mov dword [esp + 0x80], esi
mov word [esp + 0x70], si
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x43a9e5
sub eax, edx
sar eax, 1
push eax
push ebx
lea esi, [esp + 0x74]
call fcn.00402770
mov edx, esi
mov esi, dword [esp + 0x30]
push edx
mov dword [esp + 0x2ac], 1
call fcn.0040fe40
mov dword [esp + 0x2a8], 0xffffffff
cmp dword [esp + 0x84], 8
jb 0x43aa38
mov eax, dword [esp + 0x70]
push eax
call fcn.0059b877
add esp, 4
xor esi, esi
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jb 0x43a99c
mov ecx, dword [esp + 0x20]
push ecx
call fcn.0059b877
add esp, 4
push ebx
call fcn.0059b877
add esp, 4
cmp edi, esi
je 0x43aa70
mov edx, dword [esp + 0x2c]
mov dword [edx + 4], edi
xor eax, eax
cmp edi, esi
sete al
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.005b88a9
mov esp, ebp
pop ebp
ret 4