Function at 0x404c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
mov eax, dword [0x4441e0]
push ebx
mov dword [esp + 0x17c], eax
mov eax, dword [ecx + 0x84]
push esi
mov esi, dword [eax + 0x2c]
mov dword [esp + 8], ecx
cmp esi, dword [eax + 0x30]
push edi
mov dword [esp + 0x10], esi
je 0x404e39
add esi, 4
jmp 0x404c40
mov eax, dword [esi + 4]
test eax, eax
je 0x404e16
push 1
lea eax, [esp + 0x1c]
push eax
mov ecx, esi
call fcn.00404ba0
mov eax, dword [eax]
push 0x435d94
push eax
call fcn.00418d0d
add esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
setne bl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x404c8c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x404d1e
mov edx, dword [esp + 0xc]
xor eax, eax
mov ecx, 0x11
lea edi, [esp + 0x30]
rep stosd dword es:[edi], eax
mov ecx, dword [esi]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x84]
push ecx
mov dword [esp + 0x34], 0x44
mov ecx, dword [eax + 0xc]
push ecx
lea edx, [esp + 0x80]
push 0x435d8c
push edx
call fcn.00418f95
add esp, 0x10
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0
push 0
push 0
push 1
push 0
push 0
lea edx, [esp + 0x98]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov eax, dword [esp + 0x20]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call edi
mov ecx, dword [esp + 0x24]
push ecx
call edi
jmp 0x404e16
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x404d96
push str._SETMAINLNK
push eax
call fcn.0041904f
add esp, 8
test eax, eax
je 0x404d96
mov ecx, dword [esi]
sub eax, ecx
cmp eax, 0xffffffff
je 0x404d96
mov edi, dword [ecx - 0xc]
test edi, edi
jg 0x404d4e
or eax, 0xffffffff
jmp 0x404d64
push 0x20
push ecx
call fcn.00419101
add esp, 8
test eax, eax
jne 0x404d62
or eax, 0xffffffff
jmp 0x404d64
sub eax, dword [esi]
sub edi, eax
dec edi
push edi
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00402220
mov eax, dword [eax]
mov ecx, dword [esp + 0xc]
push eax
call fcn.004046c0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x404e0c
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x404e16
push str._NETURL
push eax
call fcn.0041904f
add esp, 8
test eax, eax
je 0x404e16
mov ecx, dword [esi]
sub eax, ecx
cmp eax, 0xffffffff
je 0x404e16
mov edi, dword [ecx - 0xc]
test edi, edi
jg 0x404dc6
or eax, 0xffffffff
jmp 0x404ddc
push 0x20
push ecx
call fcn.00419101
add esp, 8
test eax, eax
jne 0x404dda
or eax, 0xffffffff
jmp 0x404ddc
sub eax, dword [esi]
sub edi, eax
dec edi
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00402220
mov ecx, dword [eax]
push ecx
mov ecx, dword [esp + 0x10]
call fcn.00404730
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x404e16
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov edx, dword [ecx + 0x84]
mov ecx, dword [edx + 0x30]
add eax, 0xc
add esi, 0xc
cmp eax, ecx
mov dword [esp + 0x10], eax
jne 0x404c40
mov ecx, dword [esp + 0x184]
call fcn.004185be
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret