Function at 0x43b53f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30048
call fcn.0044ba00
and dword [ebp - 0x10], 0
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.00416a7d
lea ecx, [ebp - 0x28]
call fcn.00416a7d
lea ecx, [ebp - 0x34]
call fcn.00416a7d
mov edi, dword [ebp + 0xc]
push 0x45b6e0
call fcn.0041882e
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
ja 0x43b589
lea esi, [ebx + 0x18]
jmp 0x43b58e
mov eax, dword [ebx + 8]
mov esi, dword [eax]
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004181fe
sub esp, 0xc
mov esi, esp
push eax
call fcn.00416a9d
call fcn.0043b158
lea eax, [ebp + 8]
push eax
sub esp, 0xc
lea edi, [ebp - 0x28]
mov esi, esp
call fcn.00416aeb
lea eax, [ebp - 0x3c]
call fcn.0043b248
test al, al
jne 0x43b5d3
push 0
push 2
pop ecx
jmp 0x43b62a
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x43b5f8
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryW]
test eax, eax
je 0x43b5f3
push edi
push 3
jmp 0x43b5d0
mov eax, dword [ebp - 0x10]
jmp 0x43b5fb
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 0x3c]
or ecx, 0x20019
push ecx
push edi
push dword [ebp - 0x34]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x43b637
cmp dword [ebp - 0x18], edi
je 0x43b626
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ecx, ecx
push edi
inc ecx
mov eax, dword [ebp - 8]
call fcn.0042124a
jmp 0x43b884
cmp dword [ebx + 0xc], 1
ja 0x43b642
lea esi, [ebx + 0x18]
jmp 0x43b648
mov eax, dword [ebx + 8]
mov esi, dword [eax + 4]
push edi
push edi
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004181fe
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
mov eax, dword [ebp - 8]
je 0x43b671
push 0
or ecx, 0xffffffff
jmp 0x43b869
mov edx, dword [ebp - 0x38]
xor esi, esi
push esi
mov ecx, edx
call fcn.00421278
cmp edx, esi
jbe 0x43b862
cmp edx, 2
jbe 0x43b808
cmp edx, 3
je 0x43b792
push 4
pop eax
cmp edx, eax
je 0x43b73f
cmp edx, 7
jne 0x43b862
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0x1fffe
ja 0x43b6be
add ebx, 0x18
jmp 0x43b6c4
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x30048]
push eax
push esi
push esi
mov esi, ebx
call fcn.004181fe
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
push 0
jne 0x43b863
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
lea eax, [ebp + eax*2 - 0x30048]
pop edx
mov word [eax], dx
je 0x43b84d
cmp word [eax - 2], dx
jne 0x43b708
dec dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 4], edx
jbe 0x43b726
lea ecx, [ebp + eax*2 - 0x30048]
cmp word [ecx], dx
jne 0x43b720
mov word [ecx], 0xa
inc eax
cmp eax, dword [ebp - 4]
jb 0x43b70f
lea eax, [ebp + eax*2 - 0x3004a]
cmp word [eax], 0xa
jne 0x43b84d
mov word [eax], dx
jmp 0x43b84d
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], eax
ja 0x43b74d
add ebx, 0x18
jmp 0x43b753
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x44]
push eax
push esi
push esi
mov esi, ebx
call fcn.004181fe
push eax
push dword [ebp - 0xc]
call edi
fild dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
test eax, eax
jge 0x43b77a
fadd qword [0x461728]
mov esi, dword [ebp + 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
push ecx
push ecx
fstp qword [esp]
call fcn.00418815
jmp 0x43b86e
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0xffff
ja 0x43b7a4
add ebx, 0x18
jmp 0x43b7aa
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x10044]
push eax
push esi
push esi
mov esi, ebx
call fcn.004181fe
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43b85e
mov eax, dword [ebp - 4]
lea eax, [eax*8 + 4]
push eax
call fcn.00448b1a
mov ebx, eax
and word [ebx], 0
push 0
push dword [ebp - 4]
lea eax, [ebp - 0x10044]
push eax
call fcn.004163c0
mov edi, dword [ebp + 0xc]
add esp, 0x10
push ebx
call fcn.0041882e
push ebx
call fcn.00448a22
pop ecx
jmp 0x43b86e
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0x1fffe
ja 0x43b81a
add ebx, 0x18
jmp 0x43b820
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x30048]
push eax
push esi
push esi
mov esi, ebx
call fcn.004181fe
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43b85e
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
and word [ebp + eax*2 - 0x30048], 0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x30048]
push eax
call fcn.0041882e
jmp 0x43b86e
push 0
jmp 0x43b863
push esi
mov eax, dword [ebp - 8]
push 0xfffffffffffffffe
pop ecx
call fcn.0042124a
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [ebp - 0x18], 0
je 0x43b884
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x34]
call fcn.00448a22
push dword [ebp - 0x28]
call fcn.00448a22
push dword [ebp - 0x1c]
call fcn.00448a22
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8