Function at 0x43b27c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20048
call fcn.0044ba90
and dword [ebp - 0x10], 0
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.0041687b
lea ecx, [ebp - 0x28]
call fcn.0041687b
lea ecx, [ebp - 0x34]
call fcn.0041687b
mov edi, dword [ebp + 0xc]
push 0x45a5dc
call fcn.00418708
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
ja 0x43b2c6
lea esi, [ebx + 0x18]
jmp 0x43b2cb
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.004180e8
sub esp, 0xc
mov esi, esp
push eax
call fcn.00416898
call fcn.0043ae9e
lea eax, [ebp + 8]
push eax
sub esp, 0xc
lea edi, [ebp - 0x28]
mov esi, esp
call fcn.004168de
lea eax, [ebp - 0x3c]
call fcn.0043af85
test al, al
jne 0x43b310
push 0
push 2
pop ecx
jmp 0x43b367
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x43b335
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
je 0x43b330
push edi
push 3
jmp 0x43b30d
mov eax, dword [ebp - 0x10]
jmp 0x43b338
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_RegOpenKeyExA]
test eax, eax
je 0x43b374
cmp dword [ebp - 0x18], edi
je 0x43b363
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.004211df
jmp 0x43b5b2
cmp dword [ebx + 0xc], 1
ja 0x43b37f
lea esi, [ebx + 0x18]
jmp 0x43b385
mov eax, dword [ebx + 8]
mov esi, dword [eax + 4]
push edi
push edi
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.004180e8
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
mov eax, dword [ebp - 8]
je 0x43b3ae
push 0
or ecx, 0xffffffff
jmp 0x43b597
mov edx, dword [ebp - 0x38]
xor esi, esi
push esi
mov ecx, edx
call fcn.0042120d
cmp edx, esi
jbe 0x43b590
cmp edx, 2
jbe 0x43b53a
cmp edx, 3
je 0x43b4c7
push 4
pop eax
cmp edx, eax
je 0x43b474
cmp edx, 7
jne 0x43b590
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0xffff
ja 0x43b3fb
add ebx, 0x18
jmp 0x43b401
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20048]
push eax
push esi
push esi
mov esi, ebx
call fcn.004180e8
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43b58c
mov edx, dword [ebp - 4]
test edx, edx
mov byte [ebp + edx - 0x20048], al
jbe 0x43b57b
cmp byte [ebp + edx - 0x20049], al
jne 0x43b442
dec edx
mov dword [ebp - 4], edx
xor eax, eax
test edx, edx
jbe 0x43b45c
lea ecx, [ebp + eax - 0x20048]
cmp byte [ecx], 0
jne 0x43b457
mov byte [ecx], 0xa
inc eax
cmp eax, edx
jb 0x43b448
lea eax, [ebp + eax - 0x20049]
cmp byte [eax], 0xa
jne 0x43b57b
mov byte [eax], 0
jmp 0x43b57b
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], eax
ja 0x43b482
add ebx, 0x18
jmp 0x43b488
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.004180e8
push eax
push dword [ebp - 0xc]
call edi
fild dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
test eax, eax
jge 0x43b4af
fadd qword [0x45de40]
mov esi, dword [ebp + 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
push ecx
push ecx
fstp qword [esp]
call fcn.004186ef
jmp 0x43b59c
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0xffff
ja 0x43b4d9
add ebx, 0x18
jmp 0x43b4df
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.004180e8
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43b58c
mov eax, dword [ebp - 4]
lea eax, [eax + eax + 1]
push eax
call fcn.00448ad8
mov esi, eax
push 0
mov byte [esi], 0
push dword [ebp - 4]
lea eax, [ebp - 0x10044]
push esi
push eax
call fcn.0041621c
mov edi, dword [ebp + 0xc]
add esp, 0x14
push esi
call fcn.00418708
push esi
call fcn.0044896c
pop ecx
jmp 0x43b59c
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0xffff
ja 0x43b54c
add ebx, 0x18
jmp 0x43b552
mov eax, dword [ebx + 8]
mov ebx, dword [eax + 4]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x20048]
push eax
push esi
push esi
mov esi, ebx
call fcn.004180e8
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43b58c
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x20048], 0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x20048]
push eax
call fcn.00418708
jmp 0x43b59c
push 0
jmp 0x43b591
push esi
mov eax, dword [ebp - 8]
push 0xfffffffffffffffe
pop ecx
call fcn.004211df
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [ebp - 0x18], 0
je 0x43b5b2
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x34]
call fcn.0044896c
push dword [ebp - 0x28]
call fcn.0044896c
push dword [ebp - 0x1c]
call fcn.0044896c
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8