Function at 0x43b3ea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30048
call fcn.0044b8a0
and dword [ebp - 0x10], 0
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.00416a1c
lea ecx, [ebp - 0x28]
call fcn.00416a1c
lea ecx, [ebp - 0x34]
call fcn.00416a1c
mov edi, dword [ebp + 0xc]
push 0x45b6d0
call fcn.00418806
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
ja 0x43b434
lea esi, [ebx + 0x18]
jmp 0x43b439
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.004181d6
sub esp, 0xc
mov esi, esp
push eax
call fcn.00416a3c
call fcn.0043b003
lea eax, [ebp + 8]
push eax
sub esp, 0xc
lea edi, [ebp - 0x28]
mov esi, esp
call fcn.00416a8a
lea eax, [ebp - 0x3c]
call fcn.0043b0f3
test al, al
jne 0x43b47e
push 0
push 2
pop ecx
jmp 0x43b4d5
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x43b4a3
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 0x43b49e
push edi
push 3
jmp 0x43b47b
mov eax, dword [ebp - 0x10]
jmp 0x43b4a6
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 0x43b4e2
cmp dword [ebp - 0x18], edi
je 0x43b4d1
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.004211e9
jmp 0x43b72f
cmp dword [ebx + 0xc], 1
ja 0x43b4ed
lea esi, [ebx + 0x18]
jmp 0x43b4f3
mov eax, dword [ebx + 8]
mov esi, dword [eax + 4]
push edi
push edi
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004181d6
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 0x43b51c
push 0
or ecx, 0xffffffff
jmp 0x43b714
mov edx, dword [ebp - 0x38]
xor esi, esi
push esi
mov ecx, edx
call fcn.00421217
cmp edx, esi
jbe 0x43b70d
cmp edx, 2
jbe 0x43b6b3
cmp edx, 3
je 0x43b63d
push 4
pop eax
cmp edx, eax
je 0x43b5ea
cmp edx, 7
jne 0x43b70d
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0x1fffe
ja 0x43b569
add ebx, 0x18
jmp 0x43b56f
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.004181d6
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
push 0
jne 0x43b70e
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
lea eax, [ebp + eax*2 - 0x30048]
pop edx
mov word [eax], dx
je 0x43b6f8
cmp word [eax - 2], dx
jne 0x43b5b3
dec dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 4], edx
jbe 0x43b5d1
lea ecx, [ebp + eax*2 - 0x30048]
cmp word [ecx], dx
jne 0x43b5cb
mov word [ecx], 0xa
inc eax
cmp eax, dword [ebp - 4]
jb 0x43b5ba
lea eax, [ebp + eax*2 - 0x3004a]
cmp word [eax], 0xa
jne 0x43b6f8
mov word [eax], dx
jmp 0x43b6f8
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], eax
ja 0x43b5f8
add ebx, 0x18
jmp 0x43b5fe
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.004181d6
push eax
push dword [ebp - 0xc]
call edi
fild dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
test eax, eax
jge 0x43b625
fadd qword [0x461708]
mov esi, dword [ebp + 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
push ecx
push ecx
fstp qword [esp]
call fcn.004187ed
jmp 0x43b719
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0xffff
ja 0x43b64f
add ebx, 0x18
jmp 0x43b655
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.004181d6
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43b709
mov eax, dword [ebp - 4]
lea eax, [eax*8 + 4]
push eax
call fcn.004489c4
mov ebx, eax
and word [ebx], 0
push 0
push dword [ebp - 4]
lea eax, [ebp - 0x10044]
push eax
call fcn.00416352
mov edi, dword [ebp + 0xc]
add esp, 0x10
push ebx
call fcn.00418806
push ebx
call fcn.004488cc
pop ecx
jmp 0x43b719
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0x1fffe
ja 0x43b6c5
add ebx, 0x18
jmp 0x43b6cb
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.004181d6
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43b709
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.00418806
jmp 0x43b719
push 0
jmp 0x43b70e
push esi
mov eax, dword [ebp - 8]
push 0xfffffffffffffffe
pop ecx
call fcn.004211e9
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [ebp - 0x18], 0
je 0x43b72f
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x34]
call fcn.004488cc
push dword [ebp - 0x28]
call fcn.004488cc
push dword [ebp - 0x1c]
call fcn.004488cc
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8