Function at 0x43bba1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30048
call fcn.0044c510
and dword [ebp - 0x10], 0
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.00416d61
lea ecx, [ebp - 0x28]
call fcn.00416d61
lea ecx, [ebp - 0x34]
call fcn.00416d61
mov edi, dword [ebp + 0xc]
push 0x45bfe0
call fcn.00418c7e
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
ja 0x43bbeb
lea esi, [ebx + 0x18]
jmp 0x43bbf0
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.00418641
sub esp, 0xc
mov esi, esp
push eax
call fcn.00416d81
call fcn.0043b7ba
lea eax, [ebp + 8]
push eax
sub esp, 0xc
lea edi, [ebp - 0x28]
mov esi, esp
call fcn.00416dcf
lea eax, [ebp - 0x3c]
call fcn.0043b8aa
test al, al
jne 0x43bc35
push 0
push 2
pop ecx
jmp 0x43bc8c
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x43bc5a
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 0x43bc55
push edi
push 3
jmp 0x43bc32
mov eax, dword [ebp - 0x10]
jmp 0x43bc5d
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 0x43bc99
cmp dword [ebp - 0x18], edi
je 0x43bc88
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.00421898
jmp 0x43bee6
cmp dword [ebx + 0xc], 1
ja 0x43bca4
lea esi, [ebx + 0x18]
jmp 0x43bcaa
mov eax, dword [ebx + 8]
mov esi, dword [eax + 4]
push edi
push edi
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.00418641
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 0x43bcd3
push 0
or ecx, 0xffffffff
jmp 0x43becb
mov edx, dword [ebp - 0x38]
xor esi, esi
push esi
mov ecx, edx
call fcn.004218c6
cmp edx, esi
jbe 0x43bec4
cmp edx, 2
jbe 0x43be6a
cmp edx, 3
je 0x43bdf4
push 4
pop eax
cmp edx, eax
je 0x43bda1
cmp edx, 7
jne 0x43bec4
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0x1fffe
ja 0x43bd20
add ebx, 0x18
jmp 0x43bd26
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.00418641
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
push 0
jne 0x43bec5
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
lea eax, [ebp + eax*2 - 0x30048]
pop edx
mov word [eax], dx
je 0x43beaf
cmp word [eax - 2], dx
jne 0x43bd6a
dec dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 4], edx
jbe 0x43bd88
lea ecx, [ebp + eax*2 - 0x30048]
cmp word [ecx], dx
jne 0x43bd82
mov word [ecx], 0xa
inc eax
cmp eax, dword [ebp - 4]
jb 0x43bd71
lea eax, [ebp + eax*2 - 0x3004a]
cmp word [eax], 0xa
jne 0x43beaf
mov word [eax], dx
jmp 0x43beaf
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], eax
ja 0x43bdaf
add ebx, 0x18
jmp 0x43bdb5
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.00418641
push eax
push dword [ebp - 0xc]
call edi
fild dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
test eax, eax
jge 0x43bddc
fadd qword [0x462098]
mov esi, dword [ebp + 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
push ecx
push ecx
fstp qword [esp]
call fcn.00418c65
jmp 0x43bed0
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0xffff
ja 0x43be06
add ebx, 0x18
jmp 0x43be0c
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.00418641
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43bec0
mov eax, dword [ebp - 4]
lea eax, [eax*8 + 4]
push eax
call fcn.00449614
mov ebx, eax
and word [ebx], 0
push 0
push dword [ebp - 4]
lea eax, [ebp - 0x10044]
push eax
call fcn.004166a9
mov edi, dword [ebp + 0xc]
add esp, 0x10
push ebx
call fcn.00418c7e
push ebx
call fcn.0044951c
pop ecx
jmp 0x43bed0
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0x1fffe
ja 0x43be7c
add ebx, 0x18
jmp 0x43be82
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.00418641
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43bec0
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.00418c7e
jmp 0x43bed0
push 0
jmp 0x43bec5
push esi
mov eax, dword [ebp - 8]
push 0xfffffffffffffffe
pop ecx
call fcn.00421898
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [ebp - 0x18], 0
je 0x43bee6
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x34]
call fcn.0044951c
push dword [ebp - 0x28]
call fcn.0044951c
push dword [ebp - 0x1c]
call fcn.0044951c
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8