Function at 0x41b240
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x46c638
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x5c
push ebp
push esi
mov dword [esp + 0xc], ecx
xor eax, eax
push edi
mov ecx, 0x10
lea edi, [esp + 0x28]
rep stosd dword es:[edi], eax
mov ecx, dword [0x4800d8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x20], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 0x70], eax
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x41b2b9
cmp byte [eax], 0
je 0x41b2b9
mov esi, dword [esp + 0x78]
push eax
push esi
lea edx, [esp + 0x14]
push str.__s___s
push edx
call fcn.00405ab0
add esp, 0x10
jmp 0x41b2d0
mov esi, dword [esp + 0x78]
push esi
lea eax, [esp + 0x10]
push 0x472ba4
push eax
call fcn.00405ab0
add esp, 0xc
push esi
lea ecx, [esp + 0x7c]
call fcn.00405970
mov esi, dword [esp + 0x78]
push 0x5c
push esi
mov byte [esp + 0x78], 1
call fcn.00457e22
add esp, 8
test eax, eax
je 0x41b34f
sub eax, esi
test eax, eax
jle 0x41b34f
push eax
lea ecx, [esp + 0x80]
push ecx
lea ecx, [esp + 0x80]
call fcn.0040a900
push eax
lea ecx, [esp + 0x7c]
mov byte [esp + 0x74], 2
call fcn.00404cd0
mov eax, dword [esp + 0x7c]
mov ecx, dword [0x4800dc]
lea edx, [eax - 0xc]
cmp edx, ecx
je 0x41b34b
add eax, 0xfffffff4
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b34b
mov eax, dword [esp + 0x7c]
add eax, 0xfffffff4
push eax
call fcn.00457c3f
add esp, 4
mov esi, dword [esp + 0x78]
mov ebp, dword [esp + 0xc]
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
push 0
push 0
push 0
push 0
push 0
push ebp
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x41b3d2
mov ecx, dword [0x4800dc]
lea eax, [esi - 0xc]
cmp eax, ecx
je 0x41b399
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b399
push esi
call fcn.00457c3f
add esp, 4
mov eax, dword [0x4800dc]
lea ecx, [ebp - 0xc]
cmp ecx, eax
je 0x41b3bc
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b3bc
push esi
call fcn.00457c3f
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x5c]
mov dword fs:[0], ecx
add esp, 0x68
ret 0x14
mov eax, dword [esp + 0x80]
test eax, eax
mov dword [esp + 0x7c], 1
jbe 0x41b43f
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push edx
call fcn.00417780
mov ecx, dword [esp + 0x84]
test ecx, ecx
je 0x41b43f
test eax, eax
jne 0x41b43f
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x78]
push eax
push ecx
mov dword [esp + 0x80], 0xffffffff
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov eax, dword [esp + 0x88]
test eax, eax
mov ecx, dword [esp + 0x78]
je 0x41b42f
mov dword [eax], ecx
cmp ecx, 0x80000000
jb 0x41b43f
mov dword [esp + 0x7c], 0
mov edx, dword [esp + 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x14]
push eax
call edi
mov eax, dword [0x4800dc]
lea ecx, [esi - 0xc]
cmp ecx, eax
je 0x41b476
add esi, 0xfffffff4
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b476
push esi
call fcn.00457c3f
add esp, 4
mov eax, dword [0x4800dc]
lea edx, [ebp - 0xc]
cmp edx, eax
je 0x41b499
lea esi, [ebp - 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jg 0x41b499
push esi
call fcn.00457c3f
add esp, 4
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x68
ret 0x14