Function at 0x415563
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
push edi
xor edi, edi
cmp dword [0x47f5f0], edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
jle 0x415985
push ebx
push esi
mov ebx, 0x47f0b8
push dword [ebp - 8]
mov ecx, 0x47f5e4
call fcn.0041fafa
mov esi, eax
mov eax, dword [ebp + 8]
cmp dword [esi + 0x28], eax
jne 0x415971
push dword [esi + 0x34]
call fcn.004139c0
test al, al
pop ecx
je 0x415971
cmp dword [esi + 0x2c], edi
je 0x415971
lea eax, [esi + 4]
lea ecx, [ebp - 0x18]
push eax
call fcn.0041cffc
lea eax, [esi + 0x10]
lea ecx, [ebp - 0x24]
push eax
call fcn.0041cffc
lea eax, [esi + 0x1c]
lea ecx, [ebp - 0x30]
push eax
call fcn.0041cffc
cmp dword [esi], 9
je 0x4155f1
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.004174c1
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.004174c1
mov eax, dword [esi]
cmp eax, 7
je 0x415613
cmp eax, 8
je 0x415613
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.004174c1
cmp dword [esi], 9
je 0x415623
lea eax, [ebp - 0x18]
mov ecx, ebx
push eax
call fcn.0041b99b
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.0041b99b
mov eax, dword [esi]
cmp eax, 7
je 0x415645
cmp eax, 8
je 0x415645
lea eax, [ebp - 0x30]
mov ecx, ebx
push eax
call fcn.0041b99b
cmp dword [esi], 9
je 0x41565a
lea eax, [ebp - 0x18]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041c515
lea eax, [ebp - 0x24]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041c515
mov eax, dword [esi]
cmp eax, 7
je 0x415686
cmp eax, 8
je 0x415686
lea eax, [ebp - 0x30]
push 0x7fffffff
push eax
mov ecx, ebx
call fcn.0041c515
mov eax, dword [esi]
cmp eax, 4
je 0x415876
cmp eax, 7
je 0x415876
cmp eax, 5
jne 0x4156c6
test byte [esi + 0x30], 1
je 0x4156b8
cmp dword [ebp + 8], 0xd
je 0x4156b8
mov ecx, dword [ebp - 4]
push 0xd
mov dword [esi + 0x2c], edi
call fcn.00415563
push 1
mov ecx, ebx
call fcn.0041b2f4
jmp 0x41594d
cmp eax, 6
jne 0x415778
cmp dword [ebp - 0x30], edi
mov dword [ebp - 0xc], edi
jne 0x4156ff
push 1
push edi
push 0x42cc78
lea ecx, [ebp - 0x18]
call fcn.0041d929
cmp eax, 0xffffffff
je 0x41570a
push eax
push edi
lea ecx, [ebp - 0x18]
call fcn.0041ddf8
push eax
lea ecx, [ebp - 0x30]
call fcn.0041d0e3
lea ecx, [ebp - 0x30]
call fcn.0041de81
mov dword [ebp - 0xc], eax
lea ecx, [ebp - 0x3c]
call fcn.0041cf28
lea ecx, [ebp - 0x24]
call fcn.0041de81
push eax
lea ecx, [ebp - 0x18]
call fcn.0041de81
push eax
lea eax, [ebp - 0x3c]
push str.__s___s
push eax
call fcn.0041d5b5
add esp, 0x10
mov eax, dword [ebp - 0x3c]
lea ecx, [ebp - 0x3c]
dec eax
push eax
call fcn.0041da2a
cmp al, 0x20
jne 0x415757
mov eax, dword [ebp - 0x3c]
push 1
dec eax
lea ecx, [ebp - 0x3c]
push eax
call fcn.0041d4f7
jmp 0x415735
push dword [ebp - 0xc]
lea ecx, [ebp - 0x3c]
call fcn.0041de81
mov ecx, dword [ebp - 4]
push eax
call fcn.004121dc
lea ecx, [ebp - 0x3c]
call fcn.0041d05e
jmp 0x41594d
cmp eax, 8
jne 0x4157f2
lea ecx, [ebp - 0x80]
call fcn.0041598d
lea eax, [ebp - 0x24]
lea ecx, [ebp - 0x70]
push eax
call fcn.0041d0e3
lea eax, [ebp - 0x18]
lea ecx, [ebp - 0x7c]
push eax
call fcn.0041d0e3
lea eax, [ebp - 0x30]
lea ecx, [ebp - 0x64]
push eax
call fcn.0041d0e3
lea eax, [ebp - 0x80]
push eax
mov eax, dword [ebp - 4]
push 0x405866
push dword [eax + 8]
push 0x9a
push dword [0x47f27c]
call dword [sym.imp.USER32.dll_DialogBoxParamA]
cmp eax, 1
jne 0x4157e5
lea ecx, [ebp - 0x64]
call fcn.0041de81
push eax
lea ecx, [ebp - 0x30]
call fcn.0041de81
push eax
call fcn.0041e328
lea ecx, [ebp - 0x80]
call fcn.004159ac
jmp 0x41594d
cmp eax, 9
jne 0x415813
lea ecx, [ebp - 0x24]
call fcn.0041de81
push eax
lea ecx, [ebp - 0x18]
call fcn.0041de81
push eax
call fcn.0041e328
jmp 0x41594d
cmp eax, edi
je 0x41581d
mov eax, dword [ebp - 4]
mov dword [eax + 8], edi
push str.open
lea ecx, [ebp - 0x48]
call fcn.0041cf98
cmp dword [esi], 3
jne 0x41583c
push str.explore
lea ecx, [ebp - 0x48]
call fcn.0041d075
push 1
lea ecx, [ebp - 0x30]
call fcn.0041de81
push eax
lea ecx, [ebp - 0x24]
call fcn.0041de81
push eax
lea ecx, [ebp - 0x18]
call fcn.0041de81
push eax
lea ecx, [ebp - 0x48]
call fcn.0041de81
push eax
mov eax, dword [ebp - 4]
push dword [eax + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x48]
jmp 0x41576e
push 1
push edi
push edi
push 0x42d304
push str.__t_
lea ecx, [ebp - 0x18]
call fcn.0041dd5c
push 1
push edi
push edi
push 0x42cd30
push str.__r_
lea ecx, [ebp - 0x18]
call fcn.0041dd5c
push 1
push edi
push edi
push 0x42cd24
push str.__n_
lea ecx, [ebp - 0x18]
call fcn.0041dd5c
push 1
push edi
push edi
push 0x42d304
push str.__t_
lea ecx, [ebp - 0x24]
call fcn.0041dd5c
push 1
push edi
push edi
push 0x42cd30
push str.__r_
lea ecx, [ebp - 0x24]
call fcn.0041dd5c
push 1
push edi
push edi
push 0x42cd24
push str.__n_
lea ecx, [ebp - 0x24]
call fcn.0041dd5c
cmp dword [esi], 4
lea ecx, [ebp - 0x24]
jne 0x41591c
call fcn.0041de81
push edi
push eax
lea ecx, [ebp - 0x18]
call fcn.0041de81
push eax
push edi
mov ecx, ebx
call fcn.0041c428
jmp 0x41594d
call fcn.0041de81
push 4
push eax
lea ecx, [ebp - 0x18]
call fcn.0041de81
push eax
push edi
mov ecx, ebx
call fcn.0041c428
xor ecx, ecx
cmp eax, 6
setne cl
inc ecx
push ecx
lea ecx, [ebp - 0x30]
call fcn.0041de81
push eax
call fcn.0041e93d
mov eax, dword [esi + 0x2c]
cmp eax, 0xffffffff
je 0x415959
dec eax
mov dword [esi + 0x2c], eax
lea ecx, [ebp - 0x30]
call fcn.0041d05e
lea ecx, [ebp - 0x24]
call fcn.0041d05e
lea ecx, [ebp - 0x18]
call fcn.0041d05e
inc dword [ebp - 8]
mov eax, dword [ebp - 8]
cmp eax, dword [0x47f5f0]
jl 0x415588
pop esi
pop ebx
push 1
pop eax
pop edi
leave
ret 4