Function at 0x41d1d0
Capabilities:
Create process on windows
Create process suspended
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x44cf70
mov eax, dword fs:[0]
push eax
sub esp, 0x198
mov eax, dword [0x466d98]
xor eax, esp
mov dword [esp + 0x194], eax
push esi
push edi
mov eax, dword [0x466d98]
xor eax, esp
push eax
lea eax, [esp + 0x1a4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1cc]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x1b4]
test ecx, ecx
mov dword [esp + 0x1c], eax
je 0x41d652
cmp byte [ecx], 0
je 0x41d652
mov eax, ecx
mov dword [esp + 0x19c], 0xf
mov dword [esp + 0x198], 0
mov byte [esp + 0x188], 0
lea esi, [eax + 1]
mov dl, byte [eax]
add eax, 1
test dl, dl
jne 0x41d253
sub eax, esi
push eax
push ecx
lea ecx, [esp + 0x18c]
call fcn.00405b30
push 4
push 0
push str.__t_r_n
lea ecx, [esp + 0x190]
mov dword [esp + 0x1b8], 2
call fcn.00407d20
push eax
push 0
lea ecx, [esp + 0x18c]
call fcn.00405c00
cmp dword [esp + 0x198], 0
jne 0x41d2c5
cmp dword [esp + 0x19c], 0x10
jb 0x41d713
mov ecx, dword [esp + 0x188]
push ecx
call fcn.00433d63
jmp 0x41d710
push 0x40
lea edx, [esp + 0x148]
push 0
push edx
or edi, 0xffffffff
call fcn.00435580
xor eax, eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov ax, word [esp + 0x1c4]
mov esi, 0x10
add esp, 0xc
cmp dword [esp + 0x19c], esi
mov word [esp + 0x170], ax
mov eax, dword [esp + 0x188]
mov dword [esp + 0xc], 0
mov dword [esp + 0x140], 0x44
mov dword [esp + 0x16c], 1
jae 0x41d334
lea eax, [esp + 0x188]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x1c8]
lea edx, [esp + 0x144]
push edx
push 0
push 0
push ecx
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
push 1
lea ecx, [esp + 0x44]
push 2
je 0x41d56a
call fcn.00404370
push 0x45818c
lea edx, [esp + 0x188]
push edx
lea eax, [esp + 0x48]
push 0x452828
push eax
mov byte [esp + 0x1bc], 3
call fcn.004073a0
add esp, 8
push eax
call fcn.00407680
add esp, 8
push eax
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x44]
call fcn.004044d0
cmp dword [eax + 0x18], esi
mov byte [esp + 0x1ac], 4
jb 0x41d3ca
mov eax, dword [eax + 4]
jmp 0x41d3cd
add eax, 4
push eax
push str.BaseLib::CCreateProcess::CreateProcessA
push 0x107
push str..common_function.cpp
push 0x802
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
lea ecx, [esp + 0x24]
call fcn.00403ce0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1ac], 2
call fcn.00404450
lea edx, [esp + 0x8c]
push edx
mov dword [esp + 0x90], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
xor edi, edi
cmp dword [esp + 0x1bc], 1
jne 0x41d52b
mov eax, dword [esp + 0x1c0]
mov ecx, dword [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x41d515
cmp dword [esp + 0x1c8], 0
mov edi, 1
je 0x41d515
push edi
push 2
lea ecx, [esp + 0xc8]
call fcn.00404370
lea edx, [esp + 0x184]
push edx
lea eax, [esp + 0xc4]
push 0x4527d8
push eax
mov byte [esp + 0x1b8], 5
call fcn.004073a0
add esp, 8
push eax
call fcn.00407680
add esp, 8
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc4]
call fcn.004044d0
cmp dword [eax + 0x18], esi
mov byte [esp + 0x1ac], 6
jb 0x41d4c7
mov eax, dword [eax + 4]
jmp 0x41d4ca
add eax, 4
push eax
push str.BaseLib::CCreateProcess::CreateProcessA
push 0x111
push str..common_function.cpp
push 0x802
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
lea ecx, [esp + 0x24]
call fcn.00403ce0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x1ac], 2
call fcn.00401b40
mov edx, dword [esp + 0xc]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov eax, dword [esp + 0x1c]
push eax
mov dword [eax], 0
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x20]
cmp dword [eax], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
je 0x41d552
mov ecx, dword [esp + 0xc]
mov dword [eax + 4], ecx
mov eax, dword [esp + 0x10]
push eax
call esi
mov esi, 0x10
jmp 0x41d632
mov edx, dword [esp + 0xc]
push edx
call esi
mov eax, dword [esp + 0x10]
push eax
call esi
mov esi, 0x10
jmp 0x41d632
call fcn.00404370
mov byte [esp + 0x1ac], 7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x4527d0
lea ecx, [esp + 0x18c]
push ecx
lea edx, [esp + 0x4c]
push 0x452828
push edx
call fcn.004073a0
add esp, 8
push eax
call fcn.00407680
add esp, 8
push eax
call fcn.004073a0
add esp, 8
mov ecx, eax
call fcn.00403e80
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x44]
call fcn.004044d0
cmp dword [eax + 0x18], esi
mov byte [esp + 0x1ac], 8
jb 0x41d5d6
mov eax, dword [eax + 4]
jmp 0x41d5d9
add eax, 4
push eax
push str.BaseLib::CCreateProcess::CreateProcessA
push 0x123
push str..common_function.cpp
push 0x802
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
lea ecx, [esp + 0x24]
call fcn.00403ce0
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1ac], 2
call fcn.00404450
lea ecx, [esp + 0x8c]
push ecx
mov dword [esp + 0x90], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
cmp dword [esp + 0x19c], esi
jb 0x41d64b
mov edx, dword [esp + 0x188]
push edx
call fcn.00433d63
add esp, 4
mov eax, edi
jmp 0x41d716
push 1
push 2
lea ecx, [esp + 0xc8]
call fcn.00404370
lea eax, [esp + 0xc0]
push 0x4527c4
push eax
mov dword [esp + 0x1b4], 0
call fcn.004073a0
add esp, 8
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc4]
call fcn.004044d0
mov esi, 0x10
cmp dword [eax + 0x18], esi
mov byte [esp + 0x1ac], 1
jb 0x41d6aa
mov eax, dword [eax + 4]
jmp 0x41d6ad
add eax, 4
push eax
push str.BaseLib::CCreateProcess::CreateProcessA
push 0xef
push str..common_function.cpp
push 0xf0000000
call fcn.004075e0
mov ecx, eax
call fcn.0041f2e0
cmp dword [esp + 0x3c], esi
jb 0x41d6e1
mov edx, dword [esp + 0x28]
push edx
call fcn.00433d63
add esp, 4
lea ecx, [esp + 0x10c]
mov dword [esp + 0x1ac], 0xffffffff
call fcn.00404450
lea eax, [esp + 0x10c]
push eax
mov dword [esp + method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004339e9
add esp, 4
or eax, 0xffffffff
mov ecx, dword [esp + 0x1a4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x194]
xor ecx, esp
call fcn.00433d68
add esp, 0x1a4
ret 0x1c