Function at 0x4155d7
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push edi
xor edi, edi
cmp dword [0x47f5e0], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
jle 0x4159f9
push ebx
push esi
mov ebx, 0x47f0a8
push dword [ebp - 8]
mov ecx, 0x47f5d4
call fcn.0041fb60
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [esi + 0x28], eax
jne 0x4159e5
push dword [esi + 0x34]
call fcn.00413a33
test al, al
pop ecx
je 0x4159e5
cmp dword [esi + 0x2c], edi
je 0x4159e5
lea eax, [esi + 4]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041d047
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x24]
push eax
call fcn.0041d047
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x30]
push eax
call fcn.0041d047
cmp dword [esi], 9
je 0x415665
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.00417516
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00417516
mov eax, dword [esi]
cmp eax, 7
je 0x415687
cmp eax, 8
je 0x415687
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.00417516
cmp dword [esi], 9
je 0x415697
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0041b9e6
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0041b9e6
mov eax, dword [esi]
cmp eax, 7
je 0x4156b9
cmp eax, 8
je 0x4156b9
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0041b9e6
cmp dword [esi], 9
je 0x4156ce
lea eax, [ebp - 0x18]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041c560
lea eax, [ebp - 0x24]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041c560
mov eax, dword [esi]
cmp eax, 7
je 0x4156fa
cmp eax, 8
je 0x4156fa
lea eax, [ebp - 0x30]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041c560
mov eax, dword [esi]
cmp eax, 4
je 0x4158ea
cmp eax, 7
je 0x4158ea
cmp eax, 5
jne 0x41573a
test byte [esi + 0x30], 1
je 0x41572c
cmp dword [ebp + 8], 0xd
je 0x41572c
mov ecx, dword [ebp - 4]
push 0xd
mov dword [esi + 0x2c], edi
call fcn.004155d7
push 1
mov ecx, ebx
call fcn.0041b33f
jmp 0x4159c1
cmp eax, 6
jne 0x4157ec
cmp dword [ebp - 0x30], edi
mov dword [ebp - 0xc], edi
jne 0x415773
push 1
push edi
push 0x42cc78
lea ecx, [ebp - 0x18]
call fcn.0041d974
cmp eax, 0xffffffff
je 0x41577e
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.0041de43
push eax
lea ecx, [ebp - 0x30]
call fcn.0041d12e
lea ecx, [ebp - 0x30]
call fcn.0041decc
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x3c]
call fcn.0041cf73
lea ecx, [ebp - 0x24]
call fcn.0041decc
push eax
lea ecx, [ebp - 0x18]
call fcn.0041decc
push eax
lea eax, [ebp - 0x3c]
push str.__s___s
push eax
call fcn.0041d600
add esp, 0x10
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
dec eax
push eax
call fcn.0041da75
cmp al, 0x20
jne 0x4157cb
mov eax, dword [ebp - 0x3c]
push 1
dec eax
lea ecx, [ebp - 0x3c]
push eax
call fcn.0041d542
jmp 0x4157a9
push dword [ebp - 0xc]
lea ecx, [ebp - 0x3c]
call fcn.0041decc
mov ecx, dword [ebp - 4]
push eax
call fcn.0041224f
lea ecx, [ebp - 0x3c]
call fcn.0041d0a9
jmp 0x4159c1
cmp eax, 8
jne 0x415866
lea ecx, [ebp - 0x80]
call fcn.00418bf1
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x70]
push eax
call fcn.0041d12e
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0041d12e
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x64]
push eax
call fcn.0041d12e
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 4]
push 0x405866
push dword [eax + 8]
push 0x9a
push dword [0x47f26c]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x415859
lea ecx, [ebp - 0x64]
call fcn.0041decc
push eax
lea ecx, [ebp - 0x30]
call fcn.0041decc
push eax
call fcn.0041e373
lea ecx, [ebp - 0x80]
call fcn.00415a01
jmp 0x4159c1
cmp eax, 9
jne 0x415887
lea ecx, [ebp - 0x24]
call fcn.0041decc
push eax
lea ecx, [ebp - 0x18]
call fcn.0041decc
push eax
call fcn.0041e373
jmp 0x4159c1
cmp eax, edi
je 0x415891
mov eax, dword [ebp - 4]
mov dword [eax + 8], edi
push str.open
lea ecx, [ebp - 0x48]
call fcn.0041cfe3
cmp dword [esi], 3
jne 0x4158b0
push str.explore
lea ecx, [ebp - 0x48]
call fcn.0041d0c0
push 1
lea ecx, [ebp - 0x30]
call fcn.0041decc
push eax
lea ecx, [ebp - 0x24]
call fcn.0041decc
push eax
lea ecx, [ebp - 0x18]
call fcn.0041decc
push eax
lea ecx, [ebp - 0x48]
call fcn.0041decc
push eax
mov eax, dword [ebp - 4]
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x48]
jmp 0x4157e2
push 1
push edi
push edi
push 0x42d304
push str.__t_
lea ecx, [ebp - 0x18]
call fcn.0041dda7
push 1
push edi
push edi
push 0x42cd30
push str.__r_
lea ecx, [ebp - 0x18]
call fcn.0041dda7
push 1
push edi
push edi
push 0x42cd24
push str.__n_
lea ecx, [ebp - 0x18]
call fcn.0041dda7
push 1
push edi
push edi
push 0x42d304
push str.__t_
lea ecx, [ebp - 0x24]
call fcn.0041dda7
push 1
push edi
push edi
push 0x42cd30
push str.__r_
lea ecx, [ebp - 0x24]
call fcn.0041dda7
push 1
push edi
push edi
push 0x42cd24
push str.__n_
lea ecx, [ebp - 0x24]
call fcn.0041dda7
cmp dword [esi], 4
lea ecx, [ebp - 0x24]
jne 0x415990
call fcn.0041decc
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.0041decc
push eax
push edi
mov ecx, ebx
call fcn.0041c473
jmp 0x4159c1
call fcn.0041decc
push 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0041decc
push eax
push edi
mov ecx, ebx
call fcn.0041c473
xor ecx, ecx
cmp eax, 6
setne cl
inc ecx
push ecx
lea ecx, [ebp - 0x30]
call fcn.0041decc
push eax
call fcn.0041e9a3
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x4159cd
dec eax
mov dword [esi + 0x2c], eax
lea ecx, [ebp - 0x30]
call fcn.0041d0a9
lea ecx, [ebp - 0x24]
call fcn.0041d0a9
lea ecx, [ebp - 0x18]
call fcn.0041d0a9
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [0x47f5e0]
jl 0x4155fc
pop esi
pop ebx
push 1
pop eax
pop edi
leave
ret 4