Function at 0x4d4030
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x517120
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x5500a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0x44]
mov edi, dword [ebp + 0x40]
mov dword [ebp - 0x70], eax
mov dword [ebp - 4], 1
cmp byte [ebp + 0x3c], 0
je 0x4d4097
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
call fcn.004d2b00
mov ecx, eax
call fcn.004d2ad0
test al, al
jne 0x4d4097
mov byte [ebp - 0x59], al
jmp 0x4d425f
cmp dword [ebp + 0x30], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0xb0], xmm0
movlpd qword [ebp - 0xa8], xmm0
movlpd qword [ebp - 0xa0], xmm0
movlpd qword [ebp - 0x98], xmm0
movlpd qword [ebp - 0x90], xmm0
movlpd qword [ebp - 0x84], xmm0
movlpd qword [ebp - 0x7c], xmm0
mov dword [ebp - 0x74], 0
movups xmmword [ebp - 0x6c], xmm0
mov dword [ebp - 0xb4], 0x44
mov dword [ebp - 0x88], 0x80
je 0x4d415e
cmp dword [ebp + 0x34], 8
lea eax, [ebp + 0x20]
cmovae eax, dword [ebp + 0x20]
cmp word [eax], 0x20
je 0x4d415e
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x40]
push 0x529e68
push eax
call fcn.00418490
add esp, 0xc
mov esi, eax
mov byte [ebp - 4], 2
lea eax, [ebp + 0x20]
cmp eax, esi
je 0x4d4152
mov ecx, eax
call fcn.0040ab30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp + 0x20], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp + 0x30], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x40]
push 0x52a9e0
push eax
call fcn.00418490
mov byte [ebp - 4], 3
push 0x52a9e0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.0040b630
add esp, 0x18
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0040a7c0
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00415490
add esp, 0xc
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x6c]
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0xb4]
push ecx
push 0
push 0
push 0x4000020
push 0
push 0
push 0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4d41e1
mov byte [ebp - 0x59], al
jmp 0x4d4247
test edi, edi
je 0x4d41ea
mov eax, dword [ebp - 0x64]
mov dword [edi], eax
cmp byte [ebp + 0x38], 0
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x6c]
je 0x4d4221
test eax, eax
je 0x4d4221
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x70]
test eax, eax
je 0x4d4217
push eax
push dword [ebp - 0x6c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x6c]
call esi
xor eax, eax
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x68]
test ecx, ecx
je 0x4d4235
push ecx
call esi
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x68], 0
test eax, eax
je 0x4d4243
push eax
call esi
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x59], 1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x28]
call fcn.0040a7c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x58]
call fcn.0040a7c0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040a7c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x20]
call fcn.0040a7c0
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d6fd3
mov esp, ebp
pop ebp
ret