Function at 0x40d0a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4caa6f
mov eax, dword fs:[0]
push eax
sub esp, 0x50
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov ebx, ecx
cmp dword [ebp + 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x10], 0
mov ecx, 0x440
mov esi, dword [ebx]
mov eax, 0x400
cmovne eax, ecx
mov dword [ebp - 0x54], 0
mov ecx, ebx
mov dword [ebp - 0x48], 0
movlpd qword [ebp - 0x3c], xmm0
movlpd qword [ebp - 0x34], xmm0
movlpd qword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x5c], 0x3c
mov dword [ebp - 0x58], eax
call fcn.0040f3f0
test al, al
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x48]
lea ecx, [esi + 8]
cmove ecx, esi
mov dword [ebp - 0x50], str.open
mov dword [ebp - 0x4c], ecx
mov ecx, dword [edi]
cmp dword [ecx - 0xc], 0
cmovne eax, ecx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], 0
jne 0x40d171
mov edx, ebx
lea ecx, [ebp - 0x1c]
call fcn.0040ed20
mov dword [ebp - 4], 0
mov ebx, 1
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
mov esi, dword [ebp - 0x18]
jmp 0x40d190
add ecx, 0xfffffff0
call fcn.00402750
lea ecx, [eax + 0x10]
mov esi, ecx
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 2
mov ebx, 2
mov dword [ebp - 0x10], ebx
add ecx, 0xfffffff0
call fcn.00402750
add eax, 0x10
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 5
or ecx, 0xffffffff
test bl, 2
je 0x40d1dd
and ebx, 0xfffffffd
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 5
lea edx, [esi - 0x10]
mov eax, ecx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d1dd
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
or ecx, 0xffffffff
mov byte [ebp - 4], 7
test bl, 1
je 0x40d216
and ebx, 0xfffffffe
mov dword [ebp - 0x10], ebx
mov byte [ebp - 4], 7
mov eax, ecx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x40d216
mov edi, dword [edx]
push edx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x14]
lea ecx, [ebp - 0x14]
call fcn.0040f3f0
test al, al
lea ecx, [esi + 8]
lea eax, [ebp - 0x5c]
cmove ecx, esi
push eax
mov dword [ebp - 0x44], ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x40d241
xor bl, bl
jmp 0x40d2e5
cmp dword [ebp + 0x18], 0
je 0x40d2d5
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40d2e3
push 0x4ef4cc
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x20], 0x4ef1f4
mov dword [ebp - 0x1c], esi
mov byte [ebp - 4], 9
test esi, esi
jne 0x40d284
mov byte [ebp - 4], 7
xor edi, edi
mov dword [ebp - 0x20], 0x4ef1f4
jmp 0x40d2d0
push str.GetProcessId
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x40d2aa
mov byte [ebp - 4], 7
push esi
mov dword [ebp - 0x20], 0x4ef1f4
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x40d2c9
push ebx
mov ecx, edi
call dword [0x4e2514]
call edi
mov edi, eax
mov byte [ebp - 4], 7
push esi
mov dword [ebp - 0x20], 0x4ef1f4
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x1c], 0
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40d2e3
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bl, 1
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40d313
mov edi, dword [ecx]
push ecx
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret