Function at 0x4161aa
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push edi
xor edi, edi
cmp dword [0x4815e8], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edi
jle 0x4165e5
push ebx
push esi
mov ebx, 0x481080
push dword [ebp - 0x14]
mov ecx, 0x4815dc
call fcn.004211d1
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [esi + 0x28], eax
jne 0x4165d1
push dword [esi + 0x40]
call fcn.004145cc
test al, al
pop ecx
je 0x4165d1
cmp dword [esi + 0x2c], edi
je 0x4165d1
lea eax, [esi + 4]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041e29b
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041e29b
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041e29b
cmp dword [esi], 9
je 0x416238
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0041843c
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0041843c
mov eax, dword [esi]
cmp eax, 7
je 0x41625a
cmp eax, 8
je 0x41625a
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.0041843c
cmp dword [esi], 9
je 0x41626a
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0041cafa
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0041cafa
mov eax, dword [esi]
cmp eax, 7
je 0x41628c
cmp eax, 8
je 0x41628c
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.0041cafa
cmp dword [esi], 9
je 0x4162a1
lea eax, [ebp - 0x10]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041d79d
lea eax, [ebp - 0x20]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041d79d
mov eax, dword [esi]
cmp eax, 7
je 0x4162cd
cmp eax, 8
je 0x4162cd
lea eax, [ebp - 0x2c]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041d79d
mov eax, dword [esi]
cmp eax, 4
je 0x4164d6
cmp eax, 7
je 0x4164d6
cmp eax, 5
jne 0x41630d
test byte [esi + 0x30], 1
je 0x4162ff
cmp dword [ebp + 8], 0xd
je 0x4162ff
mov ecx, dword [ebp - 4]
push 0xd
mov dword [esi + 0x2c], edi
call fcn.004161aa
push 1
mov ecx, ebx
call fcn.0041c402
jmp 0x4165ad
cmp eax, 6
jne 0x4163c8
cmp dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
jne 0x416346
push 1
push edi
push 0x42eb7c
lea ecx, [ebp - 0x10]
call fcn.0041ebdd
cmp eax, 0xffffffff
je 0x416351
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.0041f097
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041e382
lea ecx, [ebp - 0x2c]
call fcn.0041f120
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x3c]
call fcn.0041e1c7
lea ecx, [ebp - 0x20]
call fcn.0041f120
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f120
push eax
lea eax, [ebp - 0x3c]
push str.__s___s
push eax
call fcn.0041e869
add esp, 0x10
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
dec eax
push eax
call fcn.0041e3e5
cmp al, 0x20
jne 0x41639e
mov eax, dword [ebp - 0x3c]
push 1
dec eax
lea ecx, [ebp - 0x3c]
push eax
call fcn.0041e7ab
jmp 0x41637c
lea ecx, [esi + 0x34]
call fcn.0041f120
push eax
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x30]
call fcn.0041f120
mov ecx, dword [ebp - 4]
push eax
call fcn.00412d36
lea ecx, [ebp - 0x3c]
call fcn.0041e2fd
jmp 0x4165ad
cmp eax, 8
jne 0x416452
lea ecx, [ebp - 0x8c]
call fcn.004165ed
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0041e382
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x88]
push eax
call fcn.0041e382
lea eax, [ebp - 0x2c]
lea ecx, [ebp - 0x70]
push eax
call fcn.0041e382
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
push 0x405866
push dword [eax + 8]
push 0x9a
push dword [0x481244]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x416442
lea ecx, [ebp - 0x70]
call fcn.0041f120
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f120
push eax
call fcn.0041f619
lea ecx, [ebp - 0x8c]
call fcn.00416614
jmp 0x4165ad
cmp eax, 9
jne 0x416473
lea ecx, [ebp - 0x20]
call fcn.0041f120
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f120
push eax
call fcn.0041f619
jmp 0x4165ad
cmp eax, edi
je 0x41647d
mov eax, dword [ebp - 4]
mov dword [eax + 8], edi
push str.open
lea ecx, [ebp - 0x48]
call fcn.0041e237
cmp dword [esi], 3
jne 0x41649c
push str.explore
lea ecx, [ebp - 0x48]
call fcn.0041e314
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f120
push eax
lea ecx, [ebp - 0x20]
call fcn.0041f120
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f120
push eax
lea ecx, [ebp - 0x48]
call fcn.0041f120
push eax
mov eax, dword [ebp - 4]
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x48]
jmp 0x4163be
push 1
push edi
push edi
push 0x42f224
push str.__t_
lea ecx, [ebp - 0x10]
call fcn.0041effb
push 1
push edi
push edi
push 0x42ec2c
push str.__r_
lea ecx, [ebp - 0x10]
call fcn.0041effb
push 1
push edi
push edi
push 0x42ec20
push str.__n_
lea ecx, [ebp - 0x10]
call fcn.0041effb
push 1
push edi
push edi
push 0x42f224
push str.__t_
lea ecx, [ebp - 0x20]
call fcn.0041effb
push 1
push edi
push edi
push 0x42ec2c
push str.__r_
lea ecx, [ebp - 0x20]
call fcn.0041effb
push 1
push edi
push edi
push 0x42ec20
push str.__n_
lea ecx, [ebp - 0x20]
call fcn.0041effb
cmp dword [esi], 4
lea ecx, [ebp - 0x20]
jne 0x41657c
call fcn.0041f120
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f120
push eax
push edi
mov ecx, ebx
call fcn.0041d619
jmp 0x4165ad
call fcn.0041f120
push 4
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f120
push eax
push edi
mov ecx, ebx
call fcn.0041d619
xor ecx, ecx
cmp eax, 6
setne cl
inc ecx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041f120
push eax
call fcn.0041fc49
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x4165b9
dec eax
mov dword [esi + 0x2c], eax
lea ecx, [ebp - 0x2c]
call fcn.0041e2fd
lea ecx, [ebp - 0x20]
call fcn.0041e2fd
lea ecx, [ebp - 0x10]
call fcn.0041e2fd
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x4815e8]
jl 0x4161cf
pop esi
pop ebx
push 1
pop eax
pop edi
leave
ret 4