Function at 0x41ec50
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5929e1
mov eax, dword fs:[0]
push eax
sub esp, 0xd0
mov eax, dword [0x612120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xa4], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0xa8], eax
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
mov esi, dword [edx]
mov edi, dword [edx + 4]
mov edx, ecx
lea ecx, [ebp - 0xc4]
call fcn.0041eaf0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0040eaa0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0xb0]
cmp eax, 8
jb 0x41ecfa
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00407210
cmp esi, edi
je 0x41edfd
push 1
push 0x5e98a4
lea ecx, [ebp - 0x40]
call fcn.0040e970
cmp dword [esi + 0x14], 8
jb 0x41ed1b
mov edx, dword [esi]
jmp 0x41ed1d
mov edx, esi
xor eax, eax
mov dword [ebp - 0xc8], 7
mov dword [ebp - 0xcc], 0
mov word [ebp - 0xdc], ax
cmp word [edx], ax
je 0x41ed63
mov eax, edx
lea ecx, [eax + 2]
mov dword [ebp - 0xa0], ecx
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x41ed50
sub eax, dword [ebp - 0xa0]
sar eax, 1
push eax
push edx
lea ecx, [ebp - 0xdc]
call fcn.004081c0
lea edx, [ebp - 0xdc]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc4]
call fcn.0041eaf0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 3
call fcn.0040eaa0
mov eax, dword [ebp - 0xb0]
cmp eax, 8
jb 0x41edb4
inc eax
lea ecx, [ebp - 0xc4]
push eax
push dword [ebp - 0xc4]
call fcn.00407210
xor eax, eax
mov dword [ebp - 0xb0], 7
mov word [ebp - 0xc4], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0xb4], 0
cmp eax, 8
jb 0x41edf2
inc eax
lea ecx, [ebp - 0xdc]
push eax
push dword [ebp - 0xdc]
call fcn.00407210
add esi, 0x18
cmp esi, edi
jne 0x41ed02
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov eax, dword [ebp - 0xa4]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
cmp ecx, eax
je 0x41ee2c
push 0xffffffffffffffff
push 0
push eax
call fcn.00407320
lea ecx, [ebp - 0x28]
call fcn.00419cb0
test al, al
jne 0x41ee52
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x9c]
mov byte [ebp - 0x95], 0
mov dword [edi], eax
jmp 0x41ef67
push 0x44
lea eax, [ebp - 0x84]
push 0
push eax
call fcn.00568da0
add esp, 0xc
mov dword [ebp - 0x84], 0x44
cmp dword [ebp - 0x14], 8
lea edx, [ebp - 0x94]
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
cmovae eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push edx
cmovae ecx, dword [ebp - 0x40]
lea edx, [ebp - 0x84]
push edx
push eax
mov eax, dword [ebp - 0xa8]
push 0
movups xmmword [ebp - 0x94], xmm0
push dword [eax]
push 0
push 0
push 0
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x41ef2c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, dword [ebp - 0x9c]
mov edx, eax
mov eax, dword [0x61e0e8]
mov dword [edi], edx
test eax, eax
je 0x41eefe
push edx
push str.CreateProcess_failed__Error:__u
push 0x5e83dc
push 0x5e83dc
push str.ProcessUtils
push str.OOBEUtils
push 0x32
call eax
add esp, 0x1c
mov byte [ebp - 0x95], 0
jmp 0x41ef67
mov ecx, dword [0x61e0ec]
test ecx, ecx
je 0x41ef23
mov eax, dword [ecx]
push edx
push str.CreateProcess_failed__Error:__u
push str.ProcessUtils
push 0x5e83dc
push 0x32
push ecx
call dword [eax + 0x34]
add esp, 0x18
mov byte [ebp - 0x95], 0
jmp 0x41ef67
mov edi, dword [ebp - 0x9c]
mov eax, dword [ebp - 0xac]
push dword [ebp - 0x94]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], 0
mov dword [eax], 0
call esi
push dword [ebp - 0x90]
call esi
mov dword [edi], 0
mov byte [ebp - 0x95], 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x41ef7c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00407210
mov ecx, dword [ebp - 0x2c]
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
cmp ecx, 8
jb 0x41efa5
inc ecx
push ecx
push dword [ebp - 0x40]
lea ecx, [ebp - 0x40]
call fcn.00407210
mov al, byte [ebp - 0x95]
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.00564ee1
mov esp, ebp
pop ebp
ret