Function at 0x407fb0
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 0x49c85d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x80
mov eax, dword [0x4d7200]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov ecx, dword [ebx + 8]
xorps xmm0, xmm0
xor eax, eax
mov dword [ebp - 0x8c], ecx
mov word [ebp - 0x26], ax
mov ax, word [ebx + 0xc]
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x5c], xmm0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x4c], xmm0
movlpd qword [ebp - 0x44], xmm0
movlpd qword [ebp - 0x36], xmm0
movlpd qword [ebp - 0x2e], xmm0
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 1
mov word [ebp - 0x38], ax
movups xmmword [ebp - 0x84], xmm0
test esi, esi
je 0x40805c
xor eax, eax
cmp word [esi], ax
je 0x40805c
inc eax
cmp word [esi + eax*2], 0
jne 0x408050
test eax, eax
jne 0x40805e
xor esi, esi
test ecx, ecx
je 0x40807c
xor eax, eax
cmp word [ecx], ax
je 0x40807c
nop dword [eax]
inc eax
cmp word [ecx + eax*2], 0
jne 0x408070
test eax, eax
jne 0x408086
mov dword [ebp - 0x8c], 0
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
movq qword [ebp - 0x20], xmm0
xor edi, edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x18], 1
test byte [ebx + 0x10], 2
mov dword [ebp - 4], edi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x88], edi
je 0x408158
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
call fcn.00408800
test eax, eax
je 0x408158
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, eax
call fcn.00408800
test eax, eax
jne 0x4080e9
mov dword [ebp - 0x88], eax
jmp 0x408158
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
push 0x4bfca4
mov dword [ebp - 0x6c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x70], eax
test eax, eax
je 0x408120
push 0x4c004c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x6c], ecx
jmp 0x408122
xor ecx, ecx
mov byte [ebp - 4], 1
test eax, eax
je 0x40813f
test ecx, ecx
je 0x40813f
lea eax, [ebp - 0x74]
push eax
call ecx
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x70]
jmp 0x408149
mov dword [ebp - 0x88], 0
mov byte [ebp - 4], 0
test eax, eax
je 0x408158
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test esi, esi
je 0x4081c4
push 0xfa02
mov dword [ebp - 0x1c], 0
call fcn.0048a02b
mov edi, eax
add esp, 4
xor eax, eax
mov dword [ebp - 0x20], edi
xor ecx, ecx
mov word [edi + 0xfa00], ax
cmp word [esi], ax
je 0x40818c
inc ecx
cmp word [esi + ecx*2], ax
jne 0x408185
cmp ecx, 0x7d00
jle 0x40819b
mov ecx, 0x7d00
jmp 0x40819f
test ecx, ecx
jle 0x4081b8
mov edx, edi
sub esi, edi
mov edi, ecx
mov ax, word [edx + esi]
lea edx, [edx + 2]
mov word [edx - 2], ax
sub edi, 1
jne 0x4081a5
mov edi, dword [ebp - 0x20]
xor eax, eax
mov byte [ebp - 0x18], 1
mov word [edi + ecx*2], ax
mov esi, edi
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x8c]
push 0
push 0
push 0
push 0
push 0
push esi
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp dword [ebp - 0x88], 0
mov dword [ebp - 0x8c], eax
je 0x40825b
mov eax, dword [ebp - 0x74]
xorps xmm0, xmm0
movlpd qword [ebp - 0x70], xmm0
push 0x4bfca4
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x6c], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 0x70], esi
test esi, esi
je 0x408234
push 0x4c006c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x6c], eax
jmp 0x408236
xor eax, eax
mov byte [ebp - 4], 2
test esi, esi
je 0x408255
test eax, eax
je 0x40824a
push dword [ebp - 0x88]
call eax
test esi, esi
je 0x408255
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x8c]
test eax, eax
jne 0x408263
xor esi, esi
jmp 0x408272
push dword [ebp - 0x80]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x84]
test edi, edi
je 0x40827f
push edi
call fcn.00489c73
add esp, 4
mov eax, esi
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.00489c65
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc