Function at 0x43b8ed
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x30048
call fcn.0044c070
and dword [ebp - 0x10], 0
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.00416bde
lea ecx, [ebp - 0x28]
call fcn.00416bde
lea ecx, [ebp - 0x34]
call fcn.00416bde
mov edi, dword [ebp + 0xc]
push 0x45c6d0
call fcn.00418ad9
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
ja 0x43b937
lea esi, [ebx + 0x18]
jmp 0x43b93c
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.004184a9
sub esp, 0xc
mov esi, esp
push eax
call fcn.00416bfe
call fcn.0043b506
lea eax, [ebp + 8]
push eax
sub esp, 0xc
lea edi, [ebp - 0x28]
mov esi, esp
call fcn.00416c4c
lea eax, [ebp - 0x3c]
call fcn.0043b5f6
test al, al
jne 0x43b981
push 0
push 2
pop ecx
jmp 0x43b9d8
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x43b9a6
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 0x43b9a1
push edi
push 3
jmp 0x43b97e
mov eax, dword [ebp - 0x10]
jmp 0x43b9a9
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 0x43b9e5
cmp dword [ebp - 0x18], edi
je 0x43b9d4
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.0042159c
jmp 0x43bc32
cmp dword [ebx + 0xc], 1
ja 0x43b9f0
lea esi, [ebx + 0x18]
jmp 0x43b9f6
mov eax, dword [ebx + 8]
mov esi, dword [eax + 4]
push edi
push edi
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004184a9
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 0x43ba1f
push 0
or ecx, 0xffffffff
jmp 0x43bc17
mov edx, dword [ebp - 0x38]
xor esi, esi
push esi
mov ecx, edx
call fcn.004215ca
cmp edx, esi
jbe 0x43bc10
cmp edx, 2
jbe 0x43bbb6
cmp edx, 3
je 0x43bb40
push 4
pop eax
cmp edx, eax
je 0x43baed
cmp edx, 7
jne 0x43bc10
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0x1fffe
ja 0x43ba6c
add ebx, 0x18
jmp 0x43ba72
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.004184a9
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
push 0
jne 0x43bc11
shr dword [ebp - 4], 1
mov eax, dword [ebp - 4]
lea eax, [ebp + eax*2 - 0x30048]
pop edx
mov word [eax], dx
je 0x43bbfb
cmp word [eax - 2], dx
jne 0x43bab6
dec dword [ebp - 4]
xor eax, eax
cmp dword [ebp - 4], edx
jbe 0x43bad4
lea ecx, [ebp + eax*2 - 0x30048]
cmp word [ecx], dx
jne 0x43bace
mov word [ecx], 0xa
inc eax
cmp eax, dword [ebp - 4]
jb 0x43babd
lea eax, [ebp + eax*2 - 0x3004a]
cmp word [eax], 0xa
jne 0x43bbfb
mov word [eax], dx
jmp 0x43bbfb
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], eax
ja 0x43bafb
add ebx, 0x18
jmp 0x43bb01
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.004184a9
push eax
push dword [ebp - 0xc]
call edi
fild dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
test eax, eax
jge 0x43bb28
fadd qword [0x462788]
mov esi, dword [ebp + 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
push ecx
push ecx
fstp qword [esp]
call fcn.00418ac0
jmp 0x43bc1c
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0xffff
ja 0x43bb52
add ebx, 0x18
jmp 0x43bb58
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.004184a9
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43bc0c
mov eax, dword [ebp - 4]
lea eax, [eax*8 + 4]
push eax
call fcn.00449170
mov ebx, eax
and word [ebx], 0
push 0
push dword [ebp - 4]
lea eax, [ebp - 0x10044]
push eax
call fcn.00416526
mov edi, dword [ebp + 0xc]
add esp, 0x10
push ebx
call fcn.00418ad9
push ebx
call fcn.00449078
pop ecx
jmp 0x43bc1c
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0x1fffe
ja 0x43bbc8
add ebx, 0x18
jmp 0x43bbce
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.004184a9
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43bc0c
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.00418ad9
jmp 0x43bc1c
push 0
jmp 0x43bc11
push esi
mov eax, dword [ebp - 8]
push 0xfffffffffffffffe
pop ecx
call fcn.0042159c
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [ebp - 0x18], 0
je 0x43bc32
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x34]
call fcn.00449078
push dword [ebp - 0x28]
call fcn.00449078
push dword [ebp - 0x1c]
call fcn.00449078
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8