Function at 0x415014
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push edi
xor edi, edi
cmp dword [0x47f560], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
jle 0x415436
push ebx
push esi
mov ebx, 0x47f028
push dword [ebp - 8]
mov ecx, 0x47f554
call fcn.0041f2e9
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [esi + 0x28], eax
jne 0x415422
push dword [esi + 0x34]
call fcn.004134e1
test al, al
pop ecx
je 0x415422
cmp dword [esi + 0x2c], edi
je 0x415422
lea eax, [esi + 4]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041c87f
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x24]
push eax
call fcn.0041c87f
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x30]
push eax
call fcn.0041c87f
cmp dword [esi], 9
je 0x4150a2
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.00416e92
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00416e92
mov eax, dword [esi]
cmp eax, 7
je 0x4150c4
cmp eax, 8
je 0x4150c4
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.00416e92
cmp dword [esi], 9
je 0x4150d4
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0041b21e
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0041b21e
mov eax, dword [esi]
cmp eax, 7
je 0x4150f6
cmp eax, 8
je 0x4150f6
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0041b21e
cmp dword [esi], 9
je 0x41510b
lea eax, [ebp - 0x18]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041bd98
lea eax, [ebp - 0x24]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041bd98
mov eax, dword [esi]
cmp eax, 7
je 0x415137
cmp eax, 8
je 0x415137
lea eax, [ebp - 0x30]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041bd98
mov eax, dword [esi]
cmp eax, 4
je 0x415327
cmp eax, 7
je 0x415327
cmp eax, 5
jne 0x415177
test byte [esi + 0x30], 1
je 0x415169
cmp dword [ebp + 8], 0xd
je 0x415169
mov ecx, dword [ebp - 4]
push 0xd
mov dword [esi + 0x2c], edi
call fcn.00415014
push 1
mov ecx, ebx
call fcn.0041ab77
jmp 0x4153fe
cmp eax, 6
jne 0x415229
cmp dword [ebp - 0x30], edi
mov dword [ebp - 0xc], edi
jne 0x4151b0
push 1
push edi
push 0x42cc6c
lea ecx, [ebp - 0x18]
call fcn.0041d1c1
cmp eax, 0xffffffff
je 0x4151bb
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.0041d67b
push eax
lea ecx, [ebp - 0x30]
call fcn.0041c966
lea ecx, [ebp - 0x30]
call fcn.0041d704
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x3c]
call fcn.0041c7ab
lea ecx, [ebp - 0x24]
call fcn.0041d704
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d704
push eax
lea eax, [ebp - 0x3c]
push str.__s___s
push eax
call fcn.0041ce4d
add esp, 0x10
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
dec eax
push eax
call fcn.0041c9c9
cmp al, 0x20
jne 0x415208
mov eax, dword [ebp - 0x3c]
push 1
dec eax
lea ecx, [ebp - 0x3c]
push eax
call fcn.0041cd8f
jmp 0x4151e6
push dword [ebp - 0xc]
lea ecx, [ebp - 0x3c]
call fcn.0041d704
mov ecx, dword [ebp - 4]
push eax
call fcn.00411dc2
lea ecx, [ebp - 0x3c]
call fcn.0041c8e1
jmp 0x4153fe
cmp eax, 8
jne 0x4152a3
lea ecx, [ebp - 0x80]
call fcn.0041543e
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x70]
push eax
call fcn.0041c966
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0041c966
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x64]
push eax
call fcn.0041c966
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 4]
push 0x405866
push dword [eax + 8]
push 0x9a
push dword [0x47f1ec]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x415296
lea ecx, [ebp - 0x64]
call fcn.0041d704
push eax
lea ecx, [ebp - 0x30]
call fcn.0041d704
push eax
call fcn.0041dbab
lea ecx, [ebp - 0x80]
call fcn.0041545d
jmp 0x4153fe
cmp eax, 9
jne 0x4152c4
lea ecx, [ebp - 0x24]
call fcn.0041d704
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d704
push eax
call fcn.0041dbab
jmp 0x4153fe
cmp eax, edi
je 0x4152ce
mov eax, dword [ebp - 4]
mov dword [eax + 8], edi
push str.open
lea ecx, [ebp - 0x48]
call fcn.0041c81b
cmp dword [esi], 3
jne 0x4152ed
push str.explore
lea ecx, [ebp - 0x48]
call fcn.0041c8f8
push 1
lea ecx, [ebp - 0x30]
call fcn.0041d704
push eax
lea ecx, [ebp - 0x24]
call fcn.0041d704
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d704
push eax
lea ecx, [ebp - 0x48]
call fcn.0041d704
push eax
mov eax, dword [ebp - 4]
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x48]
jmp 0x41521f
push 1
push edi
push edi
push 0x42d3b0
push str.__t_
lea ecx, [ebp - 0x18]
call fcn.0041d5df
push 1
push edi
push edi
push 0x42d3a4
push str.__r_
lea ecx, [ebp - 0x18]
call fcn.0041d5df
push 1
push edi
push edi
push 0x42d144
push str.__n_
lea ecx, [ebp - 0x18]
call fcn.0041d5df
push 1
push edi
push edi
push 0x42d3b0
push str.__t_
lea ecx, [ebp - 0x24]
call fcn.0041d5df
push 1
push edi
push edi
push 0x42d3a4
push str.__r_
lea ecx, [ebp - 0x24]
call fcn.0041d5df
push 1
push edi
push edi
push 0x42d144
push str.__n_
lea ecx, [ebp - 0x24]
call fcn.0041d5df
cmp dword [esi], 4
lea ecx, [ebp - 0x24]
jne 0x4153cd
call fcn.0041d704
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d704
push eax
push edi
mov ecx, ebx
call fcn.0041bcab
jmp 0x4153fe
call fcn.0041d704
push 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0041d704
push eax
push edi
mov ecx, ebx
call fcn.0041bcab
xor ecx, ecx
cmp eax, 6
setne cl
inc ecx
push ecx
lea ecx, [ebp - 0x30]
call fcn.0041d704
push eax
call fcn.0041e1bc
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x41540a
dec eax
mov dword [esi + 0x2c], eax
lea ecx, [ebp - 0x30]
call fcn.0041c8e1
lea ecx, [ebp - 0x24]
call fcn.0041c8e1
lea ecx, [ebp - 0x18]
call fcn.0041c8e1
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [0x47f560]
jl 0x415039
pop esi
pop ebx
push 1
pop eax
pop edi
leave
ret 4