Function at 0x43f9b0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d4199
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x64c00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword fs:[0x2c]
mov ebx, dword [eax]
mov eax, dword [0x65cc38]
cmp eax, dword [ebx + 4]
jle 0x43fa2d
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x43fa2d
mov dword [ebp - 4], 0
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov dword [ebp - 4], 0xffffffff
call fcn.00483be3
add esp, 8
lea eax, [ebp - 0x18]
mov ecx, 0x65cc40
push eax
call fcn.00412f90
mov dword [ebp - 4], 1
or edi, 0xffffffff
mov eax, dword [ebp - 0x18]
cmp dword [eax - 0xc], 0
jne 0x43fa55
xor esi, esi
jmp 0x43fc18
mov dword [ebp - 0x10], 0
mov byte [ebp - 4], 2
mov eax, dword [0x65cc38]
cmp eax, dword [ebx + 4]
jle 0x43faa7
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x43faa7
mov byte [ebp - 4], 3
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov byte [ebp - 4], 2
call fcn.00483be3
add esp, 8
mov ecx, 0x65cc40
call fcn.00412eb0
mov dword [ebp - 0x1c], eax
mov ecx, 0x65cc40
lea eax, [ebp - 0x14]
push eax
call fcn.00412f90
mov eax, dword [ebp - 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43fad8
push eax
call esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20219
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43fb4d
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43fb0a
push eax
call esi
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 0x20119
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43fb4d
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fb46
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor esi, esi
jmp 0x43fc00
mov edx, dword [ebp - 0x14]
mov eax, edi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x43fb67
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x20], 4
test eax, eax
je 0x43fc0e
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push esi
push str.install
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43fc00
cmp dword [ebp - 0x1c], 4
jne 0x43fc00
cmp dword [ebp - 0x14], esi
je 0x43fc00
mov eax, dword [0x65cc38]
cmp eax, dword [ebx + 4]
jle 0x43fbea
push 0x65cc38
call fcn.00483c2d
add esp, 4
cmp dword [0x65cc38], 0xffffffff
jne 0x43fbea
mov byte [ebp - 4], 4
call fcn.00414990
push 0x5d7c10
call fcn.00484084
push 0x65cc38
mov byte [ebp - 4], 2
call fcn.00483be3
add esp, 8
mov ecx, 0x65cc40
call fcn.00412eb0
mov edx, dword [ebp - 0x18]
mov ecx, eax
call fcn.0043ef70
mov esi, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43fc0e
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x43fc34
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret