Function at 0x10050410
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100afed5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100d8180]
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 + 8]
cmp dword [eax + 0x10], 0
jne 0x1005044a
xor al, al
jmp 0x1005098b
push eax
lea ecx, [ebp - 0x28]
call fcn.10002230
xorps xmm0, xmm0
mov dword [ebp - 4], 0
xor esi, esi
mov edi, 0xf
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x48], esi
mov dword [ebp - 0x44], edi
mov byte [ebp - 0x58], 0
mov ecx, dword [ebp - 0x18]
mov byte [ebp - 4], 1
test ecx, ecx
je 0x100504fb
nop dword [eax]
mov esi, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov edi, dword [ebp - 0x28]
cmp esi, 0xf
cmova eax, edi
cmp byte [eax], 0x20
jne 0x100504f5
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp ecx, 1
jb 0x100509a8
lea eax, [ecx - 1]
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp esi, 0xf
lea eax, [ebp - 0x28]
cmova eax, edi
push ecx
inc eax
lea ecx, [ebp - 0x40]
push eax
call fcn.10001c40
lea ecx, [ebp - 0x28]
call fcn.10002930
cmp dword [ebp - 0x30], 0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov ecx, dword [ebp - 0x18]
jne 0x10050480
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x28]
cmp eax, 0xf
cmova edx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], edx
test ecx, ecx
je 0x10050655
push ecx
push 0x22
push edx
call fcn.10080e10
add esp, 0xc
test eax, eax
je 0x1005064f
sub eax, dword [ebp - 0x5c]
jne 0x1005064f
cmp dword [ebp - 0x14], 0xf
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], ecx
cmp eax, 1
jbe 0x1005055f
dec eax
push eax
lea eax, [ecx + 1]
push 0x22
push eax
call fcn.10080e10
add esp, 0xc
test eax, eax
je 0x1005055f
sub eax, dword [ebp - 0x5c]
jmp 0x10050562
or eax, 0xffffffff
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
je 0x100507af
lea edx, [eax + 1]
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp eax, edx
jb 0x100509a8
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push ecx
add eax, edx
lea ecx, [ebp - 0x40]
push eax
call fcn.10001c40
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x100505e7
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100505dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100509ad
push ecx
push edx
call fcn.1007f339
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
call fcn.10002930
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp eax, 1
jb 0x100509a8
mov ecx, dword [ebp - 0x5c]
dec eax
dec ecx
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
inc eax
jmp 0x10050759
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
cmp eax, 0xf
lea edx, [ebp - 0x28]
cmova edx, dword [ebp - 0x28]
mov dword [ebp - 0x5c], edx
test ecx, ecx
je 0x1005067b
push ecx
push 0x20
push edx
call fcn.10080e10
add esp, 0xc
test eax, eax
je 0x1005067b
sub eax, dword [ebp - 0x5c]
jmp 0x1005067e
or eax, 0xffffffff
mov dword [ebp - 0x5c], eax
cmp eax, 0xffffffff
je 0x100507af
lea edx, [eax + 1]
mov dword [ebp - 0x30], 0
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp eax, edx
jb 0x100509a8
sub eax, edx
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push ecx
add eax, edx
lea ecx, [ebp - 0x40]
push eax
call fcn.10001c40
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x10050703
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100506f9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100509ad
push ecx
push edx
call fcn.1007f339
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
lea ecx, [ebp - 0x40]
mov byte [ebp - 0x40], 0
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
call fcn.10002930
mov ecx, dword [ebp - 0x5c]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x18], ecx
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
cmovb ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x14], 0xf
mov dword [ebp - 0x30], 0
cmova eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], 0
push ecx
push eax
lea ecx, [ebp - 0x40]
call fcn.10001c40
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10050797
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005078d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100509ad
push ecx
push edx
call fcn.1007f339
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
test esi, esi
je 0x100508cf
mov edx, dword [ebp - 0x58]
lea eax, [ebp - 0x58]
cmp edi, 0xf
cmova eax, edx
cmp byte [eax], 0x20
jne 0x10050832
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp esi, 1
jb 0x100509a8
or ecx, 0xffffffff
lea eax, [esi - 1]
cmp eax, 0xffffffff
cmovb ecx, eax
cmp edi, 0xf
lea eax, [ebp - 0x58]
cmova eax, edx
push ecx
inc eax
lea ecx, [ebp - 0x40]
push eax
call fcn.10001c40
lea ecx, [ebp - 0x58]
call fcn.10002930
cmp dword [ebp - 0x30], 0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x48], xmm0
je 0x100508cf
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
jmp 0x100507b7
cmp edi, 0xf
lea eax, [ebp - 0x58]
lea ecx, [esi - 1]
cmova eax, edx
cmp byte [eax + ecx], 0x20
jne 0x100508cf
cmp esi, ecx
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x58]
mov dword [ebp - 0x2c], 0
cmovb ecx, esi
xorps xmm0, xmm0
cmp edi, 0xf
push ecx
cmova eax, edx
lea ecx, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call fcn.10001c40
mov ecx, dword [ebp - 0x44]
cmp ecx, 0xf
jbe 0x100508a9
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005089f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100509ad
push ecx
push edx
call fcn.1007f339
add esp, 8
cmp dword [ebp - 0x30], 0
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x58], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x48], xmm0
je 0x100508cf
mov edi, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov edx, dword [ebp - 0x58]
jmp 0x10050832
mov esi, dword [sym.imp.USER32.dll_GetDesktopWindow]
call esi
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp dword [ebp - 0x48], 0
je 0x100508f1
cmp dword [ebp - 0x44], 0xf
lea ecx, [ebp - 0x58]
cmova ecx, dword [ebp - 0x58]
jmp 0x100508f3
xor ecx, ecx
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
push 5
cmova eax, dword [ebp - 0x28]
push 0
push ecx
push eax
push 0
call esi
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [ebp - 0x44]
cmp eax, 0x20
setg byte [ebp - 0x5d]
cmp ecx, 0xf
jbe 0x10050946
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005093c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100509ad
push ecx
push edx
call fcn.1007f339
add esp, 8
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0xf
jbe 0x10050988
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005097e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100509ad
push ecx
push edx
call fcn.1007f339
add esp, 8
mov al, byte [ebp - 0x5d]
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.1007f9c9
mov esp, ebp
pop ebp
ret 4
call fcn.10003230
call fcn.1008498a
int3