Function at 0x403f60
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x184
mov eax, dword [0x43b17c]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0x188], eax
mov eax, dword [esi + 0x14]
xor ebx, ebx
cmp eax, ebx
push edi
mov dword [esp + 0x18], ebx
jbe 0x4041d6
mov edi, edi
mov eax, dword [esi + 0x18]
mov ecx, dword [eax + ebx + 8]
add eax, ebx
test ecx, ecx
je 0x4041bf
push 1
lea ecx, [esp + 0x24]
push ecx
lea ecx, [eax + 4]
call fcn.00401a40
mov eax, dword [eax]
push 0x42f1cc
push eax
call fcn.004131be
add esp, 8
test eax, eax
mov eax, dword [esp + 0x20]
setne byte [esp + 0x13]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x403fe5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov al, byte [esp + 0x13]
test al, al
je 0x404076
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x38]
rep stosd dword es:[edi], eax
mov ecx, dword [esi + 0x18]
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x38], 0x44
mov edx, dword [ebx + ecx + 4]
push edx
push eax
lea ecx, [esp + 0x88]
push 0x42e680
push ecx
call fcn.00413046
add esp, 0x10
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x3c]
push eax
push 0
push 0
push 0
push 1
push 0
push 0
lea ecx, [esp + 0xa0]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov edx, dword [esp + 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov eax, dword [esp + 0x2c]
push eax
call edi
jmp 0x4041bf
mov ecx, dword [esi + 0x18]
mov eax, dword [ebx + ecx + 4]
lea edi, [ebx + ecx + 4]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x404117
push str._SETMAINLNK
push eax
call fcn.00413252
add esp, 8
test eax, eax
je 0x404117
sub eax, dword [edi]
cmp eax, 0xffffffff
je 0x404117
mov edx, dword [esi + 0x18]
mov ecx, dword [ebx + edx + 4]
mov edi, dword [ecx - 0xc]
lea eax, [ebx + edx + 4]
mov dword [esp + 0x14], eax
mov eax, ecx
mov ecx, dword [eax - 0xc]
test ecx, ecx
jg 0x4040c5
or eax, 0xffffffff
jmp 0x4040df
push 0x20
push eax
call fcn.004127bd
add esp, 8
test eax, eax
jne 0x4040d9
or eax, 0xffffffff
jmp 0x4040df
mov edx, dword [esp + 0x14]
sub eax, dword [edx]
mov ecx, dword [esi + 0x18]
sub edi, eax
dec edi
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [ebx + ecx + 4]
call fcn.00403a80
mov edx, dword [eax]
push edx
mov ecx, esi
call fcn.004032f0
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4041b5
mov eax, dword [esi + 0x18]
lea edi, [ebx + eax + 4]
mov eax, dword [edi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x4041bf
push str._NETURL
push eax
call fcn.00413252
add esp, 8
test eax, eax
je 0x4041bf
sub eax, dword [edi]
cmp eax, 0xffffffff
je 0x4041bf
mov ecx, dword [esi + 0x18]
mov edx, dword [ebx + ecx + 4]
mov edi, dword [edx - 0xc]
lea eax, [ebx + ecx + 4]
mov dword [esp + 0x14], eax
mov eax, edx
mov ecx, dword [eax - 0xc]
test ecx, ecx
jg 0x404168
or eax, 0xffffffff
jmp 0x404182
push 0x20
push eax
call fcn.004127bd
add esp, 8
test eax, eax
jne 0x40417c
or eax, 0xffffffff
jmp 0x404182
mov ecx, dword [esp + 0x14]
sub eax, dword [ecx]
sub edi, eax
mov eax, dword [esi + 0x18]
dec edi
push edi
lea edx, [esp + 0x28]
push edx
lea ecx, [ebx + eax + 4]
call fcn.00403a80
mov ecx, dword [eax]
push ecx
mov ecx, esi
call fcn.00403360
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4041bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esi + 0x14]
inc eax
add ebx, 0xc
cmp eax, ecx
mov dword [esp + 0x18], eax
jb 0x403f90
mov ecx, dword [esp + 0x18c]
xor eax, eax
call fcn.00411aac
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret