Function at 0x100cc180
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x308
mov dword [0x101599d8], eax
push ebx
push esi
mov esi, dword [esp + 0x320]
mov dword [0x101599dc], esi
test esi, esi
je 0x100cc1ca
mov esi, dword [esi]
test esi, esi
je 0x100cc1ca
lea eax, [esi + 4]
push eax
lea eax, [esp + 0x10c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
mov eax, dword [0x101599dc]
mov ecx, dword [esi]
push esi
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push 7
xor eax, eax
mov dword [esp + 0x1c], 0
push 0x10137a44
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 7
mov word [esp + 0x10], ax
call fcn.1001a860
xor eax, eax
mov dword [esp + 0x48], 0
lea ecx, [esp + 0x108]
mov dword [esp + 0x4c], 7
mov word [esp + 0x38], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cc212
sub ecx, edx
lea eax, [esp + 0x108]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x40]
call fcn.1001a860
lea edx, [esp + 8]
lea ecx, [esp + 0x38]
call fcn.100d6d20
mov edx, dword [esp + 0x4c]
mov bl, al
cmp edx, 8
jb 0x100cc27e
mov ecx, dword [esp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cc274
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc765
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [esp + 0x1c]
cmp edx, 8
jb 0x100cc2ba
mov ecx, dword [esp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cc2b0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc765
push edx
push ecx
call fcn.1007306e
add esp, 8
xor esi, esi
test bl, bl
je 0x100cc6d1
xor eax, eax
mov dword [esp + 0x48], esi
lea ecx, [esp + 0x38]
mov dword [esp + 0x4c], 7
mov word [esp + 0x38], ax
call fcn.100ef9e0
xor eax, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x90], eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x94], eax
xorps xmm0, xmm0
xor eax, eax
mov dword [esp + 0x98], esi
push eax
push 0x10136fb4
mov dword [esp + 0xa4], esi
movsd qword [esp + 0xa8], xmm0
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], esi
movsd qword [esp + 0xb8], xmm0
mov dword [esp + 0xc0], esi
mov dword [esp + 0xc4], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x84], 7
mov word [esp + 0x70], ax
call fcn.1001a860
xor eax, eax
mov dword [esp + 0x60], esi
lea ecx, [esp + 0x108]
mov dword [esp + 0x64], 7
mov word [esp + 0x50], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100cc390
sub ecx, edx
lea eax, [esp + 0x108]
sar ecx, 1
push ecx
push eax
lea ecx, [esp + 0x58]
call fcn.1001a860
push ecx
lea eax, [esp + 0x94]
push eax
push ecx
lea eax, [esp + 0x74]
push eax
lea eax, [esp + 0x30]
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x64]
call fcn.100fd530
mov edx, dword [esp + 0x78]
add esp, 0x14
test al, al
sete bl
cmp edx, 8
jb 0x100cc416
mov ecx, dword [esp + 0x50]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cc40c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc76a
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [esp + 0x7c]
cmp edx, 8
jb 0x100cc452
mov ecx, dword [esp + 0x68]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cc448
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc76a
push edx
push ecx
call fcn.1007306e
add esp, 8
test bl, bl
je 0x100cc50e
mov esi, dword [esp + 0xbc]
push 0
push 1
call fcn.100d4a60
mov edx, dword [esp + 0x34]
cmp edx, 8
jb 0x100cc4a6
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cc49c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc76a
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
cmp edx, 8
jb 0x100cc754
mov ecx, dword [esp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cc4f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc76a
push edx
push ecx
call fcn.1007306e
add esp, 8
push 0
push esi
call fcn.100d4a60
pop esi
pop ebx
add esp, 0x308
ret
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x3c]
lea ecx, [esp + 0xc]
call fcn.100ea420
add esp, 4
mov dword [esp + 0xc0], 0x44
lea eax, [esp + 0xc4]
xorps xmm0, xmm0
movups xmmword [esp + 0x80], xmm0
push 0x40
push 0
push eax
call fcn.10077450
add esp, 0xc
lea ecx, [esp + 0x80]
cmp dword [esp + 0x1c], 8
lea eax, [esp + 8]
cmovae eax, dword [esp + 8]
push ecx
lea ecx, [esp + 0xc4]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
test eax, eax
jne 0x100cc5ed
push 2
call fcn.100d4a60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x1c]
mov esi, eax
cmp edx, 8
jb 0x100cc5d1
mov ecx, dword [esp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cc5c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc76a
push edx
push ecx
call fcn.1007306e
add esp, 8
xor eax, eax
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 7
mov word [esp + 8], ax
jmp 0x100cc46a
push 0
call fcn.100d4a60
mov edx, dword [esp + 0x1c]
cmp edx, 8
jb 0x100cc630
mov ecx, dword [esp + 8]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cc626
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc76a
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [esp + 0x34]
xor eax, eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], 7
mov word [esp + 8], ax
cmp edx, 8
jb 0x100cc67f
mov ecx, dword [esp + 0x20]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cc675
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc76a
push edx
push ecx
call fcn.1007306e
add esp, 8
mov edx, dword [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], 7
mov word [esp + 0x20], ax
cmp edx, 8
jb 0x100cc754
mov ecx, dword [esp + 0x38]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100cc4f3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100cc76a
jmp 0x100cc4f3
push 0x40
lea eax, [esp + 0xc8]
mov dword [esp + 0xc4], 0x44
xorps xmm0, xmm0
push 0
push eax
movups xmmword [esp + 0x8c], xmm0
call fcn.10077450
add esp, 0xc
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0xc4]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [esp + 0x128]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0
test eax, eax
jne 0x100cc74d
push 2
call fcn.100d4a60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push 0
push esi
call fcn.100d4a60
pop esi
pop ebx
add esp, 0x308
ret
push 0
call fcn.100d4a60
push 0
push esi
call fcn.100d4a60
pop esi
pop ebx
add esp, 0x308
ret
call fcn.10080da8
call fcn.10080da8
int3