Function at 0x401a80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417920
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x42000c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov byte [ebp - 0x69], dl
mov dword [ebp - 0x74], ecx
mov dword [ebp - 4], 1
mov esi, dword [ebp + 8]
push 0
push 0
mov ebx, dword [esi - 0xc]
push ebx
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push 0
mov dword [ebp - 0x70], eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
test edi, edi
je 0x401d78
push dword [ebp - 0x70]
push edi
push ebx
push esi
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push edi
push str.Execute_:__ws
push 0x4215d4
call fcn.00404560
mov esi, dword [0x4215d4]
add esp, 8
mov ebx, esp
mov dword [ebp - 0x70], ebx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x401b32
cmp ecx, dword [esi - 0x10]
jne 0x401b32
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x401b5c
mov eax, dword [ecx]
push 1
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x401d78
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
call fcn.00404370
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
call fcn.00401710
mov eax, dword [ebp + 8]
add esp, 4
mov dword [ebp - 0x58], eax
xorps xmm0, xmm0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x70], 0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x40
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x48], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x401c9e
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push str.Execute_file_success.
push 0x4215d4
mov dword [ebp - 0x70], eax
call fcn.00404560
mov esi, dword [0x4215d4]
add esp, 4
mov ebx, esp
mov dword [ebp - 0x74], ebx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x401c19
cmp ecx, dword [esi - 0x10]
jne 0x401c19
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x401c43
mov eax, dword [ecx]
push 1
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x401d7d
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
call fcn.00404370
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
call fcn.00401710
add esp, 4
cmp byte [ebp - 0x69], 0
je 0x401d19
mov edi, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [sym.imp.USER32.dll_DispatchMessageA]
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop dword [eax]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
call edi
test eax, eax
je 0x401c88
lea eax, [ebp - 0x2c]
push eax
call esi
push 0x64
push dword [ebp - 0x30]
call ebx
test eax, eax
je 0x401d19
cmp eax, 0xffffffff
jne 0x401c70
jmp 0x401d19
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Execute_file_failed_:_0x_08lx
push 0x4215d4
call fcn.00404560
mov esi, dword [0x4215d4]
add esp, 8
mov ebx, esp
mov dword [ebp - 0x74], ebx
mov ecx, dword [esi - 0x10]
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [esi - 4], 0
mov ecx, eax
lea eax, [esi - 4]
jl 0x401ce2
cmp ecx, dword [esi - 0x10]
jne 0x401ce2
lea edi, [esi - 0x10]
lock inc dword [eax]
jmp 0x401d0c
mov eax, dword [ecx]
push 1
push dword [esi - 0xc]
call dword [eax]
mov edi, eax
test edi, edi
je 0x401d82
mov eax, dword [esi - 0xc]
lea ecx, [edi + 0x10]
mov dword [edi + 4], eax
mov edx, dword [esi - 0xc]
inc edx
push edx
push esi
call fcn.00404370
add esp, 8
lea eax, [edi + 0x10]
mov dword [ebx], eax
call fcn.00401710
add esp, 4
mov byte [ebp - 4], 0
or esi, 0xffffffff
mov edx, dword [ebp + 8]
mov eax, esi
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x401d3a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 0xc]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x401d59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x70]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00404b3d
mov esp, ebp
pop ebp
ret
call fcn.00404160
call fcn.00404160
call fcn.00404160
int3