Function at 0x10010940
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c7101
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x244], edi
mov esi, ecx
call fcn.10004890
test al, al
je 0x10010987
xor al, al
jmp 0x10010da4
lea ecx, [ebp - 0x44]
call fcn.10004950
mov dword [ebp - 4], 0
lea edx, [ebp - 0x44]
mov ecx, esi
call fcn.1001bb70
lea eax, [ebp - 0xd0]
push esi
push eax
call fcn.1000f740
add esp, 8
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xd0]
call fcn.10004ac0
mov edx, 0x100ed8e0
mov ecx, eax
call fcn.1000ca30
lea ecx, [ebp - 0x14]
mov byte [ebp - 0x239], al
mov dword [ebp - 0x14], 0
call fcn.10010e70
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
lea ecx, [ebp - 0x14]
call fcn.10011f60
neg al
sbb al, al
and byte [ebp - 0x239], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.10010ef0
cmp byte [ebp - 0x239], 0
je 0x10010c03
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0x44
xor eax, eax
movlpd qword [ebp - 0x84], xmm0
mov word [ebp - 0x46], ax
lea ecx, [ebp - 0x2c]
mov eax, 1
movlpd qword [ebp - 0x7c], xmm0
movlpd qword [ebp - 0x74], xmm0
movlpd qword [ebp - 0x6c], xmm0
movlpd qword [ebp - 0x64], xmm0
movlpd qword [ebp - 0x56], xmm0
movlpd qword [ebp - 0x4e], xmm0
movups xmmword [ebp - 0x1fc], xmm0
mov word [ebp - 0x58], ax
mov dword [ebp - 0x5c], 0x81
call fcn.10004950
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.10004ad0
mov edi, eax
mov edx, dword [edi + 0x10]
mov dword [ebp - 0x240], edx
cmp edx, 0x104
ja 0x10010ab6
cmp dword [edi + 0x14], 0x104
jae 0x10010ab6
mov byte [ebp - 0x14], 0
lea ecx, [ebp - 0x2c]
push dword [ebp - 0x14]
mov eax, 0x104
sub eax, edx
push eax
call fcn.100059f0
mov eax, dword [ebp - 0x240]
mov dword [edi + 0x10], eax
push 0x100ed7c0
call fcn.10004cb0
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push 0x100ed7c0
call fcn.10004af0
mov ecx, esi
call fcn.10004ad0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10010ae2
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10005970
push 0x100ed7c0
call fcn.10004cb0
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push 0x100ed7c0
call fcn.10005970
mov edi, dword [ebp - 0x244]
mov ecx, edi
call fcn.10004890
test al, al
jne 0x10010b52
push 0x100ed7c4
call fcn.10004cb0
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push 0x100ed7c4
call fcn.10005970
mov ecx, edi
call fcn.10004ad0
mov ecx, eax
cmp dword [eax + 0x14], 8
jb 0x10010b46
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.10005970
lea ecx, [ebp - 0x44]
call fcn.10004890
test al, al
je 0x10010b62
xor eax, eax
jmp 0x10010b6a
lea ecx, [ebp - 0x44]
call fcn.10004ac0
lea ecx, [ebp - 0x1fc]
push ecx
lea ecx, [ebp - 0x88]
push ecx
push eax
push 0
push 0x30
push 0
push 0
push 0
lea ecx, [ebp - 0x2c]
call fcn.10004ac0
push eax
mov ecx, esi
call fcn.10004ac0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x10010bf7
mov eax, dword [ebp - 0x1f8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x10010bbb
push eax
call esi
mov dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1fc]
test eax, eax
jne 0x10010bd7
mov byte [ebp - 0x239], al
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
jmp 0x10010d7b
push eax
call esi
mov dword [ebp - 0x1fc], 0
mov byte [ebp - 0x239], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
jmp 0x10010d7b
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2c]
call fcn.100048a0
push str.open
lea ecx, [ebp - 0xa0]
call fcn.10004900
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1ec]
push eax
call fcn.1001c860
add esp, 4
cmp dword [ebp - 0x1e8], 6
jb 0x10010c4d
push str.runas
call fcn.10004cb0
add esp, 4
lea ecx, [ebp - 0xa0]
push eax
push str.runas
call fcn.10004af0
push edi
lea ecx, [ebp - 0xb8]
call fcn.10006950
mov byte [ebp - 4], 5
xorps xmm0, xmm0
lea ecx, [ebp - 0xa0]
movlpd qword [ebp - 0x218], xmm0
movlpd qword [ebp - 0x210], xmm0
movlpd qword [ebp - 0x208], xmm0
mov dword [ebp - 0x200], 0
mov dword [ebp - 0x238], 0x3c
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x234], 0x100540
call fcn.10004ac0
mov ecx, esi
mov dword [ebp - 0x22c], eax
call fcn.10004ac0
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x228], eax
call fcn.10004ac0
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0x220], eax
call fcn.10004ac0
push str.Shell32.dll
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x21c], 1
call fcn.10004900
mov byte [ebp - 4], 6
lea eax, [ebp - 0x2c]
push eax
call fcn.1001ad80
mov ecx, eax
call fcn.1001ae40
mov esi, eax
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x2c]
call fcn.100048a0
test esi, esi
je 0x10010d5b
push str.ShellExecuteExW
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10010d5b
lea ecx, [ebp - 0x238]
push ecx
call eax
test eax, eax
je 0x10010d5b
mov eax, dword [ebp - 0x200]
test eax, eax
je 0x10010d5b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x200], 0
mov byte [ebp - 0x239], 1
jmp 0x10010d62
mov byte [ebp - 0x239], 0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
call fcn.100048a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa0]
call fcn.100048a0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xd0]
call fcn.100048a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x44]
call fcn.100048a0
mov al, byte [ebp - 0x239]
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.10093f25
mov esp, ebp
pop ebp
ret