Function at 0x407ca0
Capabilities:
Create process on windows

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53296b
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xc8
mov eax, dword [0x59e074]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x94], edx
mov esi, ecx
call fcn.0040cd40
test al, al
jne 0x407cf9
xor al, al
jmp 0x407fa6
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x407d03
mov edi, dword [esi]
call fcn.0040ba50
push ecx
push edi
mov ecx, eax
call fcn.0040bb50
test al, al
je 0x407cf2
mov byte [ebp - 0x8d], 0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov dword [ebp - 4], 2
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
lea edx, [ebp - 0x44]
mov byte [ebp - 4], 3
mov ecx, esi
call fcn.0040e090
test al, al
je 0x407f5f
lea edx, [ebp - 0x5c]
mov ecx, esi
call fcn.0040e270
test al, al
je 0x407f5f
mov byte [ebp - 4], 8
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
mov edi, dword [ebp - 0x94]
mov byte [ebp - 4], 9
cmp dword [edi + 0x10], eax
je 0x407e68
push 6
push str._path
lea ecx, [ebp - 0x2c]
call fcn.00404be0
push edi
mov edx, 0x565644
lea ecx, [ebp - 0x8c]
call fcn.0040a940
add esp, 4
push 1
push 0x565644
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00404be0
xor ecx, ecx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
movups xmm1, xmmword [eax]
movups xmmword [ebp - 0x74], xmm1
movq xmm0, qword [eax + 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
movq qword [ebp - 0x64], xmm0
mov word [eax], cx
movd eax, xmm1
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x60], 8
mov dword [ebp - 0x74], eax
push dword [ebp - 0x64]
cmovae ecx, eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00404be0
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 0xc
call fcn.004046b0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x10
call fcn.004046b0
mov byte [ebp - 4], 9
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movlpd qword [ebp - 0xb4], xmm0
movlpd qword [ebp - 0xac], xmm0
movlpd qword [ebp - 0xa4], xmm0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0xd4], 0x3c
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp dword [ebp - 0x30], 8
mov dword [ebp - 0xcc], eax
lea eax, [ebp - 0x44]
cmovae eax, dword [ebp - 0x44]
cmp dword [ebp - 0x48], 8
mov dword [ebp - 0xc4], eax
lea eax, [ebp - 0x5c]
cmovae eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x18], 8
mov dword [ebp - 0xbc], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [ebp - 0xc0], eax
lea eax, [ebp - 0xd4]
push eax
mov dword [ebp - 0xd0], 0x540
mov dword [ebp - 0xb8], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x407f1f
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x14
call fcn.004046b0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x18
call fcn.004046b0
jmp 0x407f6b
mov eax, dword [ebp - 0x9c]
test eax, eax
je 0x407f3e
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x9c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x8d], 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0x1c
call fcn.004046b0
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0x20
call fcn.004046b0
jmp 0x407f6b
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 4
call fcn.004046b0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.0041f480
lea ecx, [ebp - 0x5c]
call fcn.0040cef0
test al, al
je 0x407f8a
lea ecx, [ebp - 0x5c]
call fcn.0040d160
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0x24
call fcn.004046b0
mov al, byte [ebp - 0x8d]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00509af6
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret