Function at 0x404880
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x17c
mov eax, dword [0x4481e0]
mov dword [esp + 4], ecx
mov ecx, dword [0x44914c]
mov dword [esp + 0x178], eax
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 0x1c]
push ebx
push esi
mov esi, dword [edx + 0x14]
test esi, esi
push edi
je 0x4048f4
mov ecx, dword [eax + 0x1c]
push 0x438ddc
add ecx, 0x28
push ecx
lea edx, [esp + 0x14]
push edx
call fcn.004047c0
mov eax, dword [eax]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x404941
mov eax, dword [eax + 0x20]
mov edx, dword [eax + 0x14]
test edx, edx
je 0x40494b
mov ecx, dword [ecx + 0x14]
mov edx, dword [ecx + 0x1c]
push 0x438dc8
add edx, 0x28
push edx
lea eax, [esp + 0x14]
push eax
call fcn.004047c0
mov ecx, dword [eax]
push 1
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40494b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [0x44914c]
mov eax, dword [eax + 0x14]
mov esi, dword [eax + 0x44]
cmp esi, dword [eax + 0x48]
mov dword [esp + 0xc], esi
je 0x404b67
add esi, 4
jmp 0x404970
mov eax, dword [esi + 4]
test eax, eax
je 0x404b45
push 1
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
call fcn.004046d0
mov eax, dword [eax]
push 0x438dc4
push eax
call fcn.0041b9dd
add esp, 8
test eax, eax
mov eax, dword [esp + 0x18]
setne bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4049bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x404a4d
mov edx, dword [0x44914c]
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 + 0x30], 0x44
mov dword [esp + 0x2c], eax
mov eax, dword [edx + 0x14]
push ecx
mov ecx, dword [eax + 4]
push ecx
lea edx, [esp + 0x80]
push 0x438dbc
push edx
call fcn.0041bc2e
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 0x404b45
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x404ac5
push str._SETMAINLNK
push eax
call fcn.0041bc86
add esp, 8
test eax, eax
je 0x404ac5
mov ecx, dword [esi]
sub eax, ecx
cmp eax, 0xffffffff
je 0x404ac5
mov edi, dword [ecx - 0xc]
test edi, edi
jg 0x404a7d
or eax, 0xffffffff
jmp 0x404a93
push 0x20
push ecx
call fcn.0041bd38
add esp, 8
test eax, eax
jne 0x404a91
or eax, 0xffffffff
jmp 0x404a93
sub eax, dword [esi]
sub edi, eax
dec edi
push edi
lea edx, [esp + 0x18]
push edx
mov ecx, esi
call fcn.00402320
mov eax, dword [eax]
mov ecx, dword [esp + 0x10]
push eax
call fcn.00404220
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 0x404b3b
mov eax, dword [esi]
mov ecx, dword [eax - 0xc]
test ecx, ecx
jl 0x404b45
push str._NETURL
push eax
call fcn.0041bc86
add esp, 8
test eax, eax
je 0x404b45
mov ecx, dword [esi]
sub eax, ecx
cmp eax, 0xffffffff
je 0x404b45
mov edi, dword [ecx - 0xc]
test edi, edi
jg 0x404af5
or eax, 0xffffffff
jmp 0x404b0b
push 0x20
push ecx
call fcn.0041bd38
add esp, 8
test eax, eax
jne 0x404b09
or eax, 0xffffffff
jmp 0x404b0b
sub eax, dword [esi]
sub edi, eax
dec edi
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00402320
mov ecx, dword [eax]
push ecx
mov ecx, dword [esp + 0x14]
call fcn.00404290
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 0x404b45
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [0x44914c]
mov eax, dword [esp + 0xc]
mov edx, dword [ecx + 0x14]
mov ecx, dword [edx + 0x48]
add eax, 0xc
add esi, 0xc
cmp eax, ecx
mov dword [esp + 0xc], eax
jne 0x404970
mov ecx, dword [esp + 0x184]
call fcn.0041b28e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret