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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x60405a
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x711ab8]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x711ab8]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x34], edx
lea edx, [esp + 0x10]
push edx
push 0x20019
xor esi, esi
push esi
push ecx
push eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x24], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ea74
push esi
push esi
lea eax, [esp + 0x2c]
push eax
mov eax, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x2c]
push edx
push esi
push esi
push esi
push esi
push esi
push esi
push eax
mov dword [esp + 0x4c], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x54], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyW]
test eax, eax
jne 0x43ea69
mov eax, dword [esp + 0x1c]
cmp eax, esi
je 0x43ea69
cmp dword [esp + 0x14], esi
je 0x43ea69
mov dword [esp + 0x18], esi
cmp eax, esi
jbe 0x43ea69
jmp 0x43e842
xor esi, esi
mov ebx, dword [esp + 0x14]
add ebx, 2
mov dword [esp + 0x88], esi
xor ecx, ecx
push esi
mov edi, 7
lea esi, [esp + 0x78]
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x90], edi
mov word [esp + 0x7c], cx
call fcn.00430320
xor eax, eax
mov dword [esp + 0xa0], eax
mov ebx, dword [esp + 0x24]
shr ebx, 1
xor edx, edx
add ebx, 2
push eax
lea esi, [esp + 0x5c]
mov dword [esp + 0x74], edi
mov dword [esp + 0x70], eax
mov word [esp + 0x60], dx
call fcn.00430320
mov byte [esp + 0xa0], 1
mov eax, dword [esp + 0x6c]
lea ecx, [eax + eax]
xor ebx, ebx
mov esi, 8
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x70], esi
jae 0x43e8c8
lea ecx, [esp + 0x5c]
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x43e8d9
lea eax, [esp + 0x78]
lea edx, [esp + 0x2c]
push edx
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x1c]
push ebx
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [esp + 0x30]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
test eax, eax
jne 0x43e9f6
mov ecx, dword [esp + 0x28]
cmp ecx, ebx
je 0x43e9f6
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x43e925
cmp eax, edi
je 0x43e925
cmp eax, 2
jne 0x43e9f6
mov edi, ecx
lea eax, [esp + 0x74]
call fcn.00430040
xor edx, edx
mov word [eax], dx
mov edi, dword [esp + 0x2c]
shr edi, 1
lea eax, [esp + 0x58]
call fcn.00430040
lea edx, [esp + 0x3c]
xor ecx, ecx
push edx
mov word [eax], cx
call fcn.00433860
mov byte [esp + 0xa0], 2
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
lea edi, [esp + 0x40]
mov dword [esp + 0x3c], ebx
call fcn.0040bab0
mov edx, dword [esp + 0x78]
cmp dword [esp + 0x8c], esi
jae 0x43e981
lea edx, [esp + 0x78]
lea edi, [esp + 0x44]
call fcn.0040bab0
mov edx, dword [esp + 0x5c]
cmp dword [esp + 0x70], esi
jae 0x43e998
lea edx, [esp + 0x5c]
lea edi, [esp + 0x48]
call fcn.0040bab0
mov byte [esp + 0x54], 0
lea edi, [esp + 0x4c]
mov edx, str.User
cmp ebx, 0x80000001
je 0x43e9bc
mov edx, str.System
call fcn.0040bab0
mov edx, str.Enabled
lea edi, [esp + 0x50]
call fcn.0040bab0
mov ebx, dword [esp + 0x34]
lea eax, [esp + 0x3c]
push eax
call fcn.00444b70
mov byte [esp + 0xa0], 1
lea ecx, [esp + 0x3c]
push ecx
call fcn.0043eaa0
mov edi, 7
xor ebx, ebx
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x70], esi
jb 0x43ea11
mov edx, dword [esp + 0x5c]
push edx
call fcn.005c396f
add esp, 4
xor eax, eax
mov dword [esp + 0x70], edi
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], ax
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x8c], esi
jb 0x43ea41
mov ecx, dword [esp + 0x78]
push ecx
call fcn.005c396f
add esp, 4
mov eax, dword [esp + 0x18]
inc eax
xor edx, edx
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], dx
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x1c]
jb 0x43e840
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.005c397a
mov esp, ebp
pop ebp
ret