Function at 0x41647f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
push edi
xor edi, edi
cmp dword [0x481638], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edi
jle 0x4168cf
push ebx
push esi
mov ebx, 0x4810c0
push dword [ebp - 0x14]
mov ecx, 0x48162c
call fcn.0042168b
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [esi + 0x28], eax
jne 0x4168bb
push dword [esi + 0x40]
call fcn.0041486a
test al, al
pop ecx
je 0x4168bb
cmp dword [esi + 0x2c], edi
je 0x4168bb
lea eax, [esi + 4]
lea ecx, [ebp - 0x10]
push eax
call fcn.0041e703
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x20]
push eax
call fcn.0041e703
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0041e703
cmp dword [esi], 9
je 0x41650d
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.00418851
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.00418851
mov eax, dword [esi]
cmp eax, 7
je 0x41652f
cmp eax, 8
je 0x41652f
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00418851
cmp dword [esi], 9
je 0x41653f
lea eax, [ebp - 0x10]
mov ecx, ebx
push eax
call fcn.0041cf5a
lea eax, [ebp - 0x20]
mov ecx, ebx
push eax
call fcn.0041cf5a
mov eax, dword [esi]
cmp eax, 7
je 0x416561
cmp eax, 8
je 0x416561
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.0041cf5a
cmp dword [esi], 9
je 0x416576
lea eax, [ebp - 0x10]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041dbff
lea eax, [ebp - 0x20]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041dbff
mov eax, dword [esi]
cmp eax, 7
je 0x4165a2
cmp eax, 8
je 0x4165a2
lea eax, [ebp - 0x2c]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041dbff
mov eax, dword [esi]
cmp eax, 4
je 0x4167c0
cmp eax, 7
je 0x4167c0
cmp eax, 5
jne 0x4165ec
test byte [esi + 0x30], 1
je 0x4165de
cmp dword [ebp + 8], 0xd
je 0x4165de
mov ecx, dword [ebp - 4]
push 0xd
mov dword [esi + 0x2c], edi
call fcn.0041647f
mov ecx, dword [ebp - 4]
push 0xd
call fcn.00412d33
push 1
mov ecx, ebx
call fcn.0041c862
jmp 0x416897
cmp eax, 6
jne 0x4166a7
cmp dword [ebp - 0x2c], edi
mov dword [ebp - 0x30], edi
jne 0x416625
push 1
push edi
push 0x42eb7c
lea ecx, [ebp - 0x10]
call fcn.0041f045
cmp eax, 0xffffffff
je 0x416630
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.0041f4ff
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041e7ea
lea ecx, [ebp - 0x2c]
call fcn.0041f593
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x3c]
call fcn.0041e62f
lea ecx, [ebp - 0x20]
call fcn.0041f593
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f593
push eax
lea eax, [ebp - 0x3c]
push str.__s___s
push eax
call fcn.0041ecd1
add esp, 0x10
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
dec eax
push eax
call fcn.0041e84d
cmp al, 0x20
jne 0x41667d
mov eax, dword [ebp - 0x3c]
push 1
dec eax
lea ecx, [ebp - 0x3c]
push eax
call fcn.0041ec13
jmp 0x41665b
lea ecx, [esi + 0x34]
call fcn.0041f593
push eax
lea ecx, [ebp - 0x3c]
push dword [ebp - 0x30]
call fcn.0041f593
mov ecx, dword [ebp - 4]
push eax
call fcn.00412f63
lea ecx, [ebp - 0x3c]
call fcn.0041e765
jmp 0x416897
cmp eax, 8
jne 0x41673c
lea ecx, [ebp - 0x8c]
call fcn.004168d7
lea eax, [ebp - 0x20]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0041e7ea
lea eax, [ebp - 0x10]
lea ecx, [ebp - 0x88]
push eax
call fcn.0041e7ea
lea ecx, [ebp - 0x2c]
call fcn.0041f593
push eax
call fcn.0041fe04
push eax
lea ecx, [ebp - 0x70]
call fcn.0041e77c
lea eax, [ebp - 0x8c]
push eax
mov eax, dword [ebp - 4]
push 0x405866
push dword [eax + 8]
push 0x9a
push dword [0x481294]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x41672c
lea ecx, [ebp - 0x70]
call fcn.0041f593
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041f593
push eax
call fcn.0041fa8c
lea ecx, [ebp - 0x8c]
call fcn.004168fe
jmp 0x416897
cmp eax, 9
jne 0x41675d
lea ecx, [ebp - 0x20]
call fcn.0041f593
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f593
push eax
call fcn.0041fa8c
jmp 0x416897
cmp eax, edi
je 0x416767
mov eax, dword [ebp - 4]
mov dword [eax + 8], edi
push str.open
lea ecx, [ebp - 0x48]
call fcn.0041e69f
cmp dword [esi], 3
jne 0x416786
push str.explore
lea ecx, [ebp - 0x48]
call fcn.0041e77c
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041f593
push eax
lea ecx, [ebp - 0x20]
call fcn.0041f593
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f593
push eax
lea ecx, [ebp - 0x48]
call fcn.0041f593
push eax
mov eax, dword [ebp - 4]
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x48]
jmp 0x41669d
push 1
push edi
push edi
push 0x42f22c
push str.__t_
lea ecx, [ebp - 0x10]
call fcn.0041f463
push 1
push edi
push edi
push 0x42ec2c
push str.__r_
lea ecx, [ebp - 0x10]
call fcn.0041f463
push 1
push edi
push edi
push 0x42ec20
push str.__n_
lea ecx, [ebp - 0x10]
call fcn.0041f463
push 1
push edi
push edi
push 0x42f22c
push str.__t_
lea ecx, [ebp - 0x20]
call fcn.0041f463
push 1
push edi
push edi
push 0x42ec2c
push str.__r_
lea ecx, [ebp - 0x20]
call fcn.0041f463
push 1
push edi
push edi
push 0x42ec20
push str.__n_
lea ecx, [ebp - 0x20]
call fcn.0041f463
cmp dword [esi], 4
lea ecx, [ebp - 0x20]
jne 0x416866
call fcn.0041f593
push edi
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f593
push eax
push edi
mov ecx, ebx
call fcn.0041da7b
jmp 0x416897
call fcn.0041f593
push 4
push eax
lea ecx, [ebp - 0x10]
call fcn.0041f593
push eax
push edi
mov ecx, ebx
call fcn.0041da7b
xor ecx, ecx
cmp eax, 6
setne cl
inc ecx
push ecx
lea ecx, [ebp - 0x2c]
call fcn.0041f593
push eax
call fcn.004200fd
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x4168a3
dec eax
mov dword [esi + 0x2c], eax
lea ecx, [ebp - 0x2c]
call fcn.0041e765
lea ecx, [ebp - 0x20]
call fcn.0041e765
lea ecx, [ebp - 0x10]
call fcn.0041e765
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [0x481638]
jl 0x4164a4
pop esi
pop ebx
push 1
pop eax
pop edi
leave
ret 4