Function at 0x43adb6
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x20048
call fcn.0044b230
and dword [ebp - 0x10], 0
push ebx
push esi
mov dword [ebp - 8], ecx
push edi
lea ecx, [ebp - 0x1c]
call fcn.00416679
lea ecx, [ebp - 0x28]
call fcn.00416679
lea ecx, [ebp - 0x34]
call fcn.00416679
mov edi, dword [ebp + 0xc]
push 0x45a5cc
call fcn.0041839f
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xc], 0
ja 0x43ae00
lea esi, [ebx + 0x18]
jmp 0x43ae05
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.00417d7f
sub esp, 0xc
mov esi, esp
push eax
call fcn.00416696
call fcn.0043a9d8
lea eax, [ebp + 8]
push eax
sub esp, 0xc
lea edi, [ebp - 0x28]
mov esi, esp
call fcn.004166dc
lea eax, [ebp - 0x3c]
call fcn.0043aabf
test al, al
jne 0x43ae4a
push 0
push 2
pop ecx
jmp 0x43aea1
xor edi, edi
cmp dword [ebp - 0x18], edi
je 0x43ae6f
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 0x43ae6a
push edi
push 3
jmp 0x43ae47
mov eax, dword [ebp - 0x10]
jmp 0x43ae72
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 0x43aeae
cmp dword [ebp - 0x18], edi
je 0x43ae9d
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.00420d99
jmp 0x43b0ec
cmp dword [ebx + 0xc], 1
ja 0x43aeb9
lea esi, [ebx + 0x18]
jmp 0x43aebf
mov eax, dword [ebx + 8]
mov esi, dword [eax + 4]
push edi
push edi
lea eax, [ebp - 0x38]
push eax
push edi
call fcn.00417d7f
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 0x43aee8
push 0
or ecx, 0xffffffff
jmp 0x43b0d1
mov edx, dword [ebp - 0x38]
xor esi, esi
push esi
mov ecx, edx
call fcn.00420dc7
cmp edx, esi
jbe 0x43b0ca
cmp edx, 2
jbe 0x43b074
cmp edx, 3
je 0x43b001
push 4
pop eax
cmp edx, eax
je 0x43afae
cmp edx, 7
jne 0x43b0ca
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0xffff
ja 0x43af35
add ebx, 0x18
jmp 0x43af3b
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.00417d7f
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43b0c6
mov edx, dword [ebp - 4]
test edx, edx
mov byte [ebp + edx - 0x20048], al
jbe 0x43b0b5
cmp byte [ebp + edx - 0x20049], al
jne 0x43af7c
dec edx
mov dword [ebp - 4], edx
xor eax, eax
test edx, edx
jbe 0x43af96
lea ecx, [ebp + eax - 0x20048]
cmp byte [ecx], 0
jne 0x43af91
mov byte [ecx], 0xa
inc eax
cmp eax, edx
jb 0x43af82
lea eax, [ebp + eax - 0x20049]
cmp byte [eax], 0xa
jne 0x43b0b5
mov byte [eax], 0
jmp 0x43b0b5
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], eax
ja 0x43afbc
add ebx, 0x18
jmp 0x43afc2
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.00417d7f
push eax
push dword [ebp - 0xc]
call edi
fild dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
test eax, eax
jge 0x43afe9
fadd qword [0x45ddf8]
mov esi, dword [ebp + 0xc]
fstp qword [ebp - 0x40]
fld qword [ebp - 0x40]
push ecx
push ecx
fstp qword [esp]
call fcn.00418386
jmp 0x43b0d6
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0xffff
ja 0x43b013
add ebx, 0x18
jmp 0x43b019
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.00417d7f
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43b0c6
mov eax, dword [ebp - 4]
lea eax, [eax + eax + 1]
push eax
call fcn.00448308
mov esi, eax
push 0
mov byte [esi], 0
push dword [ebp - 4]
lea eax, [ebp - 0x10044]
push esi
push eax
call fcn.0041601c
mov edi, dword [ebp + 0xc]
add esp, 0x14
push esi
call fcn.0041839f
push esi
call fcn.00448196
pop ecx
jmp 0x43b0d6
cmp dword [ebx + 0xc], 1
mov dword [ebp - 4], 0xffff
ja 0x43b086
add ebx, 0x18
jmp 0x43b08c
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.00417d7f
push eax
push dword [ebp - 0xc]
call edi
test eax, eax
jne 0x43b0c6
mov eax, dword [ebp - 4]
mov byte [ebp + eax - 0x20048], 0
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x20048]
push eax
call fcn.0041839f
jmp 0x43b0d6
push 0
jmp 0x43b0cb
push esi
mov eax, dword [ebp - 8]
push 0xfffffffffffffffe
pop ecx
call fcn.00420d99
push dword [ebp - 0xc]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [ebp - 0x18], 0
je 0x43b0ec
push dword [ebp - 0x10]
call esi
push dword [ebp - 0x34]
call fcn.00448196
push dword [ebp - 0x28]
call fcn.00448196
push dword [ebp - 0x1c]
call fcn.00448196
add esp, 0xc
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret 8