Function at 0x41c880
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x41f890
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
mov eax, dword [0x424038]
push ebp
push esi
push edi
mov dword [esp + 0xc], eax
mov ebp, dword [esp + 0x78]
push 0x5c
mov dword [esp + 0x74], 0
mov eax, dword [ebp]
push eax
call dword [sym.imp.MSVCRT.dll__mbsrchr]
mov edi, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
add esp, 8
test eax, eax
je 0x41c96d
sub eax, dword [ebp]
cmp eax, 0xffffffff
jle 0x41c96d
push eax
lea ecx, [esp + 0x14]
push 0
push ecx
mov ecx, ebp
call fcn.00411ff0
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [esp + 0xc]
cmp ecx, eax
mov byte [esp + 0x70], 1
je 0x41c939
mov edx, dword [ecx - 0xc]
test edx, edx
jge 0x41c90d
mov edx, dword [0x42403c]
add ecx, 0xfffffff4
cmp ecx, edx
jne 0x41c914
mov ecx, dword [eax - 0xc]
test ecx, ecx
jge 0x41c924
mov edx, dword [eax - 8]
push eax
push edx
lea ecx, [esp + 0x14]
call fcn.00413790
jmp 0x41c939
lea ecx, [esp + 0xc]
call fcn.004105b0
mov esi, dword [esi]
mov dword [esp + 0xc], esi
add esi, 0xfffffff4
push esi
call edi
mov eax, dword [esp + 0x10]
mov edx, dword [0x42403c]
mov byte [esp + 0x70], 0
lea ecx, [eax - 0xc]
cmp ecx, edx
je 0x41c96d
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41c96d
mov edx, dword [esp + 0x10]
lea eax, [edx - 0xc]
push eax
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [0x424038]
mov dword [esp + 0x78], eax
mov ecx, dword [ebp]
mov byte [esp + 0x70], 2
cmp eax, ecx
je 0x41c9c6
mov edx, dword [eax - 0xc]
test edx, edx
jge 0x41c996
mov edx, dword [0x42403c]
add eax, 0xfffffff4
cmp eax, edx
jne 0x41c99d
mov eax, dword [ecx - 0xc]
test eax, eax
jge 0x41c9b0
mov eax, dword [ecx - 8]
push ecx
push eax
lea ecx, [esp + 0x80]
call fcn.00413790
jmp 0x41c9c6
lea ecx, [esp + 0x78]
call fcn.004105b0
mov eax, dword [ebp]
mov dword [esp + 0x78], eax
add eax, 0xfffffff4
push eax
call edi
mov esi, dword [esp + 0x7c]
test esi, esi
je 0x41ca7c
mov edi, dword [esp + 0x80]
test edi, edi
je 0x41ca7c
jle 0x41ca7c
push ebx
mov ebx, 4
lea ecx, [esp + 0x7c]
push 0x424770
lea edx, [esp + 0x18]
push ecx
push edx
call fcn.00411c80
mov ecx, dword [esi]
lea edx, [esp + 0x84]
push ecx
push eax
push edx
mov byte [esp + 0x80], 3
call fcn.00411c80
push 0x42476c
push eax
lea eax, [esp + 0x88]
mov byte [esp + 0x7c], bl
push eax
call fcn.00411c80
push eax
lea ecx, [esp + 0x80]
mov byte [esp + 0x78], 5
call fcn.00411b90
lea ecx, [esp + 0x80]
mov byte [esp + 0x74], bl
call fcn.0040e080
lea ecx, [esp + 0x84]
mov byte [esp + 0x74], 3
call fcn.0040e080
lea ecx, [esp + 0x14]
mov byte [esp + 0x74], 2
call fcn.0040e080
add esi, ebx
dec edi
jne 0x41c9ed
pop ebx
mov ecx, 0x10
xor eax, eax
lea edi, [esp + 0x28]
xor edx, edx
rep stosd dword es:[edi], eax
mov cx, word [esp + 0x84]
mov dword [esp + 0x14], eax
mov word [esp + 0x54], cx
mov dword [esp + 0x18], edx
lea eax, [esp + 0x14]
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], edx
push eax
push ecx
push edx
lea ecx, [esp + 0x18]
mov dword [esp + 0x30], 0x44
mov dword [esp + 0x5c], 1
mov dword [esp + 0x2c], edx
call fcn.00411e10
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x9c]
call fcn.00411e10
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov esi, eax
neg esi
sbb esi, esi
neg esi
je 0x41cb09
mov eax, dword [esp + 0x88]
test eax, eax
je 0x41cb09
mov edx, dword [esp + 0x1c]
mov dword [eax], edx
push 0xffffffffffffffff
mov ecx, ebp
call fcn.00411ec0
push 0xffffffffffffffff
lea ecx, [esp + 0x10]
call fcn.00411ec0
lea ecx, [esp + 0x78]
mov byte [esp + 0x70], 0
call fcn.0040e080
lea ecx, [esp + 0xc]
mov dword [esp + 0x70], 0xffffffff
call fcn.0040e080
mov ecx, dword [esp + 0x68]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x68
ret