Function at 0x1002c37f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
cmp byte [ebp + 0xc], 0
push ebx
push esi
push edi
mov dword [esp + 0x44], edx
mov byte [esp + 0x10], cl
je 0x1002c3e5
test cl, cl
je 0x1002c3b9
xor ebx, ebx
push ebx
push ebx
push ebx
push ebx
push 0x7af
push 1
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
jmp 0x1002c636
mov edx, dword [ebp + 8]
mov dword [edx], 0
cmp dword [edx], 3
jge 0x1002c636
mov esi, dword [ebp + 0x20]
mov ecx, dword [edx]
mov eax, dword [esi]
mov dword [eax + ecx*4], 0xfffffff9
inc dword [edx]
cmp dword [edx], 3
jl 0x1002c3ce
jmp 0x1002c636
mov dword [esp + 0x2c], 0x2610
cmp dword [esp + 0x2c], 0xf10
push 0
pop ebx
jge 0x1002c5d6
lea eax, [esp + 0x18]
mov dword [esp + 0x14], ebx
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], ebx
push eax
push str._ld__ld
call fcn.10040dfb
mov eax, dword [esp + 0x20]
xor ecx, ecx
push 8
inc eax
pop esi
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003ad3b
mov dword [esp + 0x2c], eax
xor ecx, ecx
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov eax, dword [esp + 0x24]
lea eax, [eax + 1]
mul esi
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1003ad3b
mov esi, eax
xor ecx, ecx
inc ecx
mov dword [esp + 0x44], esi
add esp, 0x14
mov dword [esp + 0x20], ecx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov eax, dword [esp + 0x14]
cmp eax, ecx
jl 0x1002c4a9
mov eax, dword [esp + 0x1c]
lea edi, [esi + 8]
sub eax, esi
mov esi, eax
lea eax, [esi + edi]
push eax
push str._lld
call fcn.10040dfb
pop ecx
pop ecx
mov ecx, dword [esp + 0x20]
mov dword [edi], ebx
inc ecx
mov dword [edi + 4], ebx
lea edi, [edi + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
cmp ecx, eax
jle 0x1002c47c
mov esi, dword [esp + 0x30]
cmp dword [esp + 0x18], 0
mov edi, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
jle 0x1002c4fe
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push str._ld__ld
call fcn.10040dfb
mov eax, dword [esp + 0x30]
add esp, 0xc
add dword [esi + eax*8], 1
adc dword [esi + eax*8 + 4], ebx
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
cmp ecx, eax
jge 0x1002c4f7
add dword [esi + ecx*8 + 8], 0xffffffff
adc dword [esi + ecx*8 + 0xc], 0xffffffff
mov eax, dword [esp + 0x14]
inc edi
cmp edi, dword [esp + 0x18]
jl 0x1002c4ba
push 2
pop ecx
cmp eax, ecx
jl 0x1002c51d
mov eax, dword [esi + ecx*8 - 8]
add dword [esi + ecx*8], eax
mov eax, dword [esi + ecx*8 - 4]
adc dword [esi + ecx*8 + 4], eax
inc ecx
mov eax, dword [esp + 0x14]
cmp ecx, eax
jle 0x1002c505
mov edi, dword [esp + 0x1c]
lea eax, [eax + 1]
mov byte [esp + 0x3c], bl
mov ecx, edi
push dword [esp + 0x3c]
lea edx, [edi + eax*8]
mov eax, edx
sub eax, edi
sar eax, 3
push eax
call fcn.10032202
mov eax, dword [esp + 0x1c]
mov ecx, esi
inc eax
mov byte [esp + 0x48], bl
push dword [esp + 0x48]
lea edx, [esi + eax*8]
mov eax, edx
sub eax, esi
sar eax, 3
push eax
call fcn.10032202
mov eax, dword [esp + 0x24]
add esp, 0x10
mov dword [esp + 0x2c], eax
xorps xmm0, xmm0
movlpd qword [esp + 0x30], xmm0
cmp eax, 1
jl 0x1002c5bb
mov eax, dword [esp + 0x30]
add edi, 8
sub esi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x20], eax
push dword [edi + 4]
push dword [edi]
push dword [esi + edi + 4]
push dword [esi + edi]
call fcn.10044fe0
mov ecx, dword [esp + 0x20]
lea edi, [edi + 8]
add ecx, eax
mov dword [esp + 0x20], ecx
adc ebx, edx
dec dword [esp + 0x2c]
jne 0x1002c589
mov dword [esp + 0x30], ebx
xor ebx, ebx
mov eax, dword [esp + 0x30]
jmp 0x1002c5c3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push str._lld_n
call fcn.100410e1
mov edx, dword [esp + 0x50]
add esp, 0xc
cmp byte [ebp + 0x10], 0
je 0x1002c624
mov ecx, dword [ebp + 0x1c]
mov eax, dword [ecx]
mov dword [eax + 8], ebx
mov eax, dword [ecx]
cmp dword [eax + 8], 3
jg 0x1002c636
mov edx, dword [ebp + 0x18]
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x44], ebx
mov dword [esp + 0x44], 0xa3cc92ea
mov dword [esp + 0x44], 0xc1dab973
mov dword [esp + 0x44], 0x164f943a
dec dword [edx]
mov eax, dword [ecx]
inc dword [eax + 8]
mov eax, dword [ecx]
cmp dword [eax + 8], 3
jle 0x1002c5ef
jmp 0x1002c636
mov eax, dword [ebp + 0x24]
mov ecx, dword [ebp + 0x14]
mov eax, dword [eax]
sub eax, dword [edx]
sar eax, 1
push eax
call fcn.100174d3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret