Function at 0x4350c4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x435315
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x441914]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x14]
call fcn.00434c58
pop ecx
mov edx, 0x43532c
mov eax, dword [ebp - 0x14]
call fcn.00405df4
test eax, eax
jne 0x43513b
lea eax, [ebp - 0x14]
mov edx, 0x43533c
call fcn.00403590
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20]
call fcn.00434c58
pop ecx
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 0x43534c
call fcn.004036bc
jmp 0x435148
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x18]
call fcn.00434c58
pop ecx
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x1c]
call fcn.00434c58
pop ecx
mov eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x20]
call fcn.00434c58
pop ecx
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00403590
mov eax, dword [ebp - 0x14]
call fcn.00433048
mov ebx, eax
test ebx, ebx
je 0x4352e0
mov eax, dword [ebp - 0x18]
call fcn.00403670
test eax, eax
jle 0x4352e0
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
mov eax, dword [ebp - 0x18]
call fcn.00403834
push eax
push ebx
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
sete byte [0x441794]
cmp byte [0x441794], 0
je 0x4352d5
xor eax, eax
push ebp
push 0x4352bc
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x441914]
call fcn.00402620
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 0x1c]
call fcn.00403834
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
sete byte [0x441794]
cmp byte [0x441794], 0
je 0x4352b2
mov eax, dword [ebp - 0xc]
dec eax
je 0x435226
sub eax, 2
je 0x435253
dec eax
je 0x435236
jmp 0x4352b2
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, dword [ebp - 0x10]
call fcn.00403628
jmp 0x4352b2
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
call fcn.004329b0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00403590
jmp 0x4352b2
cmp dword [ebp - 8], 0
jle 0x435275
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
call fcn.004329b0
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
call fcn.00403590
mov ebx, 1
cmp ebx, dword [ebp - 8]
jge 0x4352b2
mov eax, dword [ebp + 8]
push dword [eax - 4]
push 0x435380
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + ebx]
call fcn.004329b0
push dword [ebp - 0x20]
mov eax, dword [ebp + 8]
add eax, 0xfffffffc
mov edx, 3
call fcn.00403730
inc ebx
cmp ebx, dword [ebp - 8]
jl 0x43527f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4352cd
mov eax, dword [ebp - 0x10]
call fcn.00402638
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
jmp 0x4352fa
test ebx, ebx
jne 0x4352f0
mov dword [0x441788], 0xd
jmp 0x4352fa
mov dword [0x441788], 0xb
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43531c
lea eax, [ebp - 0x20]
mov edx, 4
call fcn.0040351c
ret