Function at 0x41d786
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48aad1
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xa2c
push edi
mov dword [ebp - 0xa24], ecx
mov eax, dword [ebp - 0xa24]
cmp dword [eax + 0x6108], 0
jne 0x41d7bf
jmp case.0x41dd7d.5
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
cmp dword [0x4c8ec8], 0
je 0x41d9aa
mov ecx, dword [ebp - 0xa24]
add ecx, 0xcc
call fcn.0041c47b
and eax, 0xff
test eax, eax
jne 0x41d9aa
mov dword [ebp - 0x18], 0
jmp 0x41d80a
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0xa24]
mov eax, dword [ebp - 0x18]
cmp eax, dword [edx + 0x61a8]
jge 0x41d9aa
mov ecx, dword [ebp - 0xa24]
mov edx, dword [ecx + 0x61ac]
mov dword [ebp - 0x24], edx
push 0x4a7118
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_3
mov dword [ebp - 4], 0
mov dword [ebp - 0x1c], 0xffffffff
cmp dword [ebp + 8], 0x201
jne 0x41d942
push 1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
shl ecx, 5
mov edx, dword [ebp - 0xa24]
lea ecx, [edx + ecx + 0x2108]
call fcn.0047b0aa
test eax, eax
je 0x41d940
cmp dword [ebp - 0x1c], 1
jne 0x41d8af
push 5
push 0
push 0
lea ecx, [ebp - 0x20]
call fcn.00402e50
push eax
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
jmp 0x41d92c
cmp dword [ebp - 0x1c], 0x400
jl 0x41d92c
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x828], eax
lea ecx, [ebp - 0x20]
call fcn.00405e40
mov dword [ebp - 0x82c], eax
mov byte [ebp - 0x824], 0
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x823]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x7ff
lea ecx, [ebp - 0x20]
call fcn.00402e50
push eax
lea ecx, [ebp - 0x824]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
lea edx, [ebp - 0x824]
push edx
mov eax, dword [ebp - 0x82c]
push eax
mov ecx, dword [ebp - 0x828]
push ecx
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call fcn.00413b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
jmp case.0x41dd7d.5
jmp 0x41d996
cmp dword [ebp + 8], 0x200
jne 0x41d996
push 0
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 0x24]
add eax, dword [ebp - 0x18]
shl eax, 5
mov ecx, dword [ebp - 0xa24]
lea ecx, [ecx + eax + 0x2108]
call fcn.0047b0aa
test eax, eax
je 0x41d996
push 1
push 4
push 0x4a7
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call fcn.00413b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
jmp 0x41d801
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
mov ecx, dword [ebp - 0xa24]
add ecx, 0xcc
call fcn.0041c47b
and eax, 0xff
test eax, eax
je 0x41da37
cmp dword [ebp + 8], 0x201
jne 0x41da37
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xa24]
add ecx, 0xcc
call fcn.0041c48f
cmp dword [ebp - 0x10], 0
jle 0x41da11
mov eax, dword [ebp - 0xa24]
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0xd0], ecx
push 0
push 2
mov ecx, dword [ebp - 0xa24]
add ecx, 0xcc
call fcn.0041c588
push 3
mov ecx, 0x4c8d60
call fcn.004827c9
jmp case.0x41dd7d.5
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xa24]
add ecx, 0xcc
call fcn.0041c48f
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41daa6
mov eax, dword [ebp - 0xa24]
cmp dword [eax + 0xd4], 0xffffffff
je 0x41daa6
mov ecx, dword [ebp - 0xa24]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xd4], edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0xa24]
add ecx, 0xcc
call fcn.0041c588
jmp 0x41db8d
cmp dword [ebp - 0x10], 0xffffffff
je 0x41db8d
mov ecx, dword [ebp - 0xa24]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0xd4], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa28], eax
cmp dword [ebp - 0xa28], 0x200
je 0x41daf1
cmp dword [ebp - 0xa28], 0x201
je 0x41db0d
cmp dword [ebp - 0xa28], 0x202
je 0x41db26
jmp 0x41db8d
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov ecx, dword [ebp - 0xa24]
add ecx, 0xcc
call fcn.0041c588
jmp 0x41db8d
mov edx, dword [ebp - 0x10]
push edx
push 2
mov ecx, dword [ebp - 0xa24]
add ecx, 0xcc
call fcn.0041c588
jmp 0x41db8d
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0xa24]
add ecx, 0xcc
call fcn.0041c588
mov ecx, dword [ebp - 0xa24]
cmp dword [ecx + 0xd0], 0
jle 0x41db8d
cmp dword [0x4c8ecc], 0
je 0x41db8d
push ecx
mov edx, esp
mov dword [ebp - 0xa1c], esp
mov eax, dword [ebp - 0xa24]
mov ecx, dword [eax + 0xd0]
push ecx
push edx
mov ecx, dword [ebp - 0xa24]
add ecx, 0xcc
call fcn.0041c72c
mov dword [ebp - 0xa2c], eax
mov ecx, 0x4c8d68
call fcn.00462dbf
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x10], 0xffffffff
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0xa24]
add ecx, 0xa4c
call fcn.0041b798
cmp dword [ebp - 0x10], 0xffffffff
jne 0x41dc3c
mov eax, dword [ebp - 0xa24]
cmp dword [eax + 0x6280], 0xffffffff
je 0x41dc3c
mov ecx, dword [ebp - 0xa24]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x6280], edx
mov eax, dword [ebp - 0x10]
push eax
push 0
mov ecx, dword [ebp - 0xa24]
add ecx, 0xa4c
call fcn.0041ba82
cmp dword [0x4c8ec8], 0
je 0x41dc37
mov ecx, dword [ebp - 0xa24]
call fcn.0041e578
push 0x91
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call fcn.00412490
push 0x92
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call fcn.00412490
jmp case.0x41dd7d.5
mov ecx, dword [ebp - 0xa24]
mov edx, dword [ebp - 0x10]
mov dword [ecx + 0x6280], edx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa30], eax
cmp dword [ebp - 0xa30], 0x200
je 0x41dc81
cmp dword [ebp - 0xa30], 0x201
je 0x41dc9d
cmp dword [ebp - 0xa30], 0x202
je 0x41dd03
jmp case.0x41dd7d.5
mov ecx, dword [ebp - 0x10]
push ecx
push 1
mov ecx, dword [ebp - 0xa24]
add ecx, 0xa4c
call fcn.0041ba82
jmp case.0x41dd7d.5
mov edx, dword [ebp - 0x10]
push edx
push 2
mov ecx, dword [ebp - 0xa24]
add ecx, 0xa4c
call fcn.0041ba82
cmp dword [0x4c8ec8], 0
je 0x41dcfe
mov eax, dword [ebp - 0xa24]
cmp dword [eax + 0x6280], 0x1f5
je 0x41dce1
mov ecx, dword [ebp - 0xa24]
cmp dword [ecx + 0x6280], 0x1f6
jne 0x41dcfe
push 0
push 0x12c
push 0x91
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call fcn.00412460
jmp case.0x41dd7d.5
cmp dword [0x4c8ec8], 0
je 0x41dd38
push 0x91
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call fcn.00412490
push 0x92
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call fcn.00412490
mov edx, dword [ebp - 0x10]
push edx
push 0
mov ecx, dword [ebp - 0xa24]
add ecx, 0xa4c
call fcn.0041ba82
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xa34], eax
mov ecx, dword [ebp - 0xa34]
sub ecx, 0x1f5
mov dword [ebp - 0xa34], ecx
cmp dword [ebp - 0xa34], 5
ja case.0x41dd7d.5
mov edx, dword [ebp - 0xa34]
jmp dword [edx*4 + 0x41df48]
cmp dword [0x4c8ec8], 0
je 0x41ddaf
mov ecx, dword [ebp - 0xa24]
call fcn.0041d5b7
mov ecx, dword [ebp - 0xa24]
call fcn.0041e578
push 3
mov ecx, 0x4c8d60
call fcn.004827c9
jmp case.0x41dd7d.5
cmp dword [0x4c8ec8], 0
je 0x41dddf
mov ecx, dword [ebp - 0xa24]
call fcn.0041d696
mov ecx, dword [ebp - 0xa24]
call fcn.0041e578
push 3
mov ecx, 0x4c8d60
call fcn.004827c9
jmp case.0x41dd7d.5
cmp dword [0x4c8ecc], 0
je 0x41dead
lea ecx, [ebp - 0x830]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 1
lea eax, [ebp - 0x830]
push eax
push 0x404
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call sub.MFC42.DLL_CWnd::GetDlgItemTextA
lea ecx, [ebp - 0x830]
call fcn.00402e90
test eax, eax
jne 0x41de71
push ecx
mov ecx, esp
mov dword [ebp - 0xa20], esp
lea edx, [ebp - 0x830]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0xa38], eax
mov ecx, 0x4c8d68
call fcn.00462dbf
push 0x4a711c
push 0x404
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
jmp 0x41de9b
mov eax, dword [ebp - 0xa24]
mov byte [eax + 0x627c], 1
push 0
push 0x7d0
push 0x96
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call fcn.00412460
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x830]
call sub.MFC42.DLL_CString::CString
jmp case.0x41dd7d.5
cmp dword [0x4c8ecc], 0
je 0x41dec6
mov ecx, dword [ebp - 0xa24]
call fcn.0041df60
jmp case.0x41dd7d.5
cmp dword [0x4c8ecc], 0
je case.0x41dd7d.5
push 0x1e0
push 0
lea ecx, [ebp - 0xa14]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x834], 4
mov edx, dword [ebp - 0x834]
add edx, 0xb
mov dword [ebp - 0x834], edx
mov byte [ebp - 0xa10], 0x64
lea eax, [ebp - 0xa09]
mov dword [ebp - 0xa18], eax
mov ecx, dword [ebp - 0xa18]
mov dword [ecx], 2
lea edx, [ebp - 0xa14]
push edx
mov eax, dword [ebp - 0x834]
push eax
mov ecx, 0x4c8d30
call fcn.0042a9bd
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x10