Function at 0x4352b3
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x2004c
call fcn.00454c50
push ebx
push esi
mov dword [esp + 0xc], ecx
xor ebx, ebx
push edi
lea ecx, [esp + 0x1c]
mov dword [esp + 0x18], ebx
call fcn.0040fcca
lea ecx, [esp + 0x40]
call fcn.0040fcca
lea ecx, [esp + 0x34]
call fcn.0040fcca
mov edi, dword [ebp + 0xc]
push 0x46ad3e
call fcn.004125f9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax]
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.00411f94
push ecx
push ecx
mov esi, esp
push eax
call fcn.0040fcfe
call fcn.0043505b
lea eax, [esp + 0x2c]
push eax
sub esp, 0xc
lea edi, [esp + 0x50]
mov esi, esp
call fcn.0040fd39
lea edi, [esp + 0x38]
call fcn.00435142
test al, al
jne 0x435355
push ebx
push 2
mov eax, dword [esp + 0x18]
call fcn.0041c3a1
jmp 0x4355d0
cmp dword [esp + 0x20], ebx
je 0x43537d
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x30]
push dword [esp + 0x24]
call dword [sym.imp.ADVAPI32.dll_RegConnectRegistryA]
test eax, eax
je 0x435377
push ebx
push 3
jmp 0x435347
mov eax, dword [esp + 0x18]
jmp 0x435381
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x2c]
or ecx, 0x20019
push ecx
push ebx
push dword [esp + 0x40]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4353b6
cmp dword [esp + 0x20], ebx
je 0x4353b1
push dword [esp + 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
push 1
jmp 0x435347
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
push ebx
push ebx
lea eax, [esp + 0x38]
push eax
push ebx
call fcn.00411f94
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
push eax
push dword [esp + 0x28]
call edi
test eax, eax
mov eax, dword [esp + 0x10]
push ebx
je 0x4353e9
push 0xffffffffffffffff
jmp 0x4355b3
push dword [esp + 0x34]
call fcn.0041c3d4
mov ecx, dword [esp + 0x30]
cmp ecx, ebx
jbe 0x4355ac
cmp ecx, 2
jbe 0x43555f
cmp ecx, 3
je 0x4354f3
push 4
pop eax
cmp ecx, eax
je 0x4354aa
cmp ecx, 7
jne 0x4355ac
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], 0xffff
mov esi, dword [eax + 4]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x10054]
push eax
push ebx
push ebx
call fcn.00411f94
push eax
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x4355ac
mov edx, dword [esp + 0xc]
cmp edx, 1
mov byte [esp + edx + 0x10050], bl
jbe 0x43559a
cmp byte [esp + edx + 0x1004f], bl
jne 0x43547a
dec edx
mov dword [esp + 0xc], edx
xor eax, eax
cmp edx, ebx
jbe 0x435493
lea ecx, [esp + eax + 0x10050]
cmp byte [ecx], bl
jne 0x43548e
mov byte [ecx], 0xa
inc eax
cmp eax, edx
jb 0x435480
lea eax, [esp + eax + 0x1004f]
cmp byte [eax], 0xa
jne 0x43559a
mov byte [eax], bl
jmp 0x43559a
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov esi, dword [eax + 4]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x50]
push eax
push ebx
push ebx
call fcn.00411f94
push eax
push dword [esp + 0x28]
call edi
fild dword [esp + 0x4c]
mov eax, dword [esp + 0x4c]
test eax, eax
jge 0x4354e1
fadd qword [0x46eb90]
mov esi, dword [ebp + 0xc]
push ecx
push ecx
fstp qword [esp]
call fcn.004125e0
jmp 0x4355b8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], 0xffff
mov esi, dword [eax + 4]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x54]
push eax
push ebx
push ebx
call fcn.00411f94
push eax
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x4355ac
mov eax, dword [esp + 0xc]
lea eax, [eax + eax + 1]
push eax
call fcn.0044f496
pop ecx
mov esi, eax
push ebx
mov byte [esi], bl
push dword [esp + 0x10]
lea eax, [esp + 0x58]
push eax
mov ebx, esi
call fcn.0040f61b
mov edi, dword [ebp + 0xc]
add esp, 0xc
push esi
call fcn.004125f9
push esi
call fcn.0044f500
pop ecx
xor ebx, ebx
jmp 0x4355b8
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov dword [esp + 0xc], 0xffff
mov esi, dword [eax + 4]
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x10054]
push eax
push ebx
push ebx
call fcn.00411f94
push eax
push dword [esp + 0x28]
call edi
test eax, eax
jne 0x4355ac
mov eax, dword [esp + 0xc]
mov byte [esp + eax + 0x10050], bl
mov edi, dword [ebp + 0xc]
lea eax, [esp + 0x10050]
push eax
call fcn.004125f9
jmp 0x4355b8
mov eax, dword [esp + 0x10]
push ebx
push 0xfffffffffffffffe
call fcn.0041c3a1
push dword [esp + 0x14]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call esi
cmp dword [esp + 0x20], ebx
je 0x4355d0
push dword [esp + 0x18]
call esi
push dword [esp + 0x34]
call fcn.0044f500
pop ecx
push dword [esp + 0x40]
call fcn.0044f500
pop ecx
push dword [esp + 0x1c]
call fcn.0044f500
pop ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8