Function at 0x4015c7
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.004b9800
add esp, 0x10
push 0x80000301
push 0
push 7
push 0x80000301
push 0
push 3
push 2
mov ebx, 0x94
call fcn.004b9830
add esp, 0x1c
mov dword [ebp - 0x20], eax
push 1
push 2
push dword [ebp - 0x20]
call fcn.00401fb7
mov dword [ebp - 0x24], eax
push str..exe
push dword [ebp - 0x24]
mov ecx, 2
call fcn.004014ed
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401680
push ebx
call fcn.004b8bac
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401694
push ebx
call fcn.004b8bac
add esp, 4
pop eax
mov dword [ebp - 4], eax
push 0x80000301
push 0
push 0x64
push 1
mov ebx, 0x67c
call fcn.004b98b0
add esp, 0x10
push 0
mov ebx, 0x104
call fcn.004b98c0
add esp, 4
mov dword [ebp - 0x20], eax
push 0
mov ebx, 0x108
call fcn.004b9950
add esp, 4
mov dword [ebp - 0x24], eax
push str..bak
push dword [ebp - 0x24]
push 0x4ca216
push dword [ebp - 0x20]
mov ecx, 4
call fcn.004014ed
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401710
push ebx
call fcn.004b8bac
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401720
push ebx
call fcn.004b8bac
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401733
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x244
call fcn.004b99e0
add esp, 0x10
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401756
push ebx
call fcn.004b8bac
add esp, 4
mov dword [ebp - 0x20], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
nop
nop
cmp dword [ebp - 0x20], esp
je 0x40177f
push 0x16c
push 0x402100f
push 6
call fcn.004b8bb2
add esp, 0xc
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x40179e
push eax
mov ebx, eax
call fcn.00401343
inc eax
push eax
call fcn.004b8ba6
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x4017af
push ebx
call fcn.004b8bac
add esp, 4
pop eax
mov dword [ebp - 8], eax
push reloc.WS2_32.dll_bind
push 0
push 0
push 0
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
push 0x4ca218
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 8]
test eax, eax
jne 0x4017e4
mov eax, 0x4ca20b
push eax
push 4
mov ebx, 0x148
call fcn.004b99f0
add esp, 0x34
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0xffffffff
je 0x401809
jmp 0x401f73
push 0
mov ebx, 0x104
call fcn.004b98c0
add esp, 4
mov dword [ebp - 0x20], eax
push 0
mov ebx, 0x108
call fcn.004b9950
add esp, 4
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x4ca216
push dword [ebp - 0x20]
mov ecx, 3
call fcn.004014ed
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x40185e
push ebx
call fcn.004b8bac
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x40186e
push ebx
call fcn.004b8bac
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401881
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x268
call fcn.004b9b20
add esp, 0x10
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4018a7
push ebx
call fcn.004b8bac
add esp, 4
mov eax, dword [ebp - 0x2c]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4018bb
push ebx
call fcn.004b8bac
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 1
mov ebx, 0x90
call fcn.004b9800
add esp, 0x10
push 0x80000301
push 0
push 0x14
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x94
call fcn.004b9830
add esp, 0x1c
push eax
call fcn.0040264d
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x40191e
push ebx
call fcn.004b8bac
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x401935
mov eax, 0x4ca21c
push eax
push 1
mov ebx, 0x194
call fcn.004b9b90
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x40195e
mov eax, 0x4ca21c
push eax
push 0x80000301
push 0
push dword [ebp - 0x20]
push 0x80000301
push 0
push 0x381
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401988
mov eax, 0x4ca21c
push eax
push 4
mov ebx, 0x1b4
call fcn.004b9ba0
add esp, 0x34
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4019b2
push ebx
call fcn.004b8bac
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x14
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x94
call fcn.004b9830
add esp, 0x1c
push eax
call fcn.0040264d
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4019fd
push ebx
call fcn.004b8bac
add esp, 4
pop eax
mov dword [ebp - 0x10], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x401a14
mov eax, 0x4ca21c
push eax
push 1
mov ebx, 0x194
call fcn.004b9b90
add esp, 0x10
mov dword [ebp - 0x20], eax
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x401a3d
mov eax, 0x4ca21c
push eax
push 0x80000301
push 0
push dword [ebp - 0x20]
push 0x80000301
push 0
push 0x4f
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401a67
mov eax, 0x4ca21c
push eax
push 4
mov ebx, 0x1b4
call fcn.004b9ba0
add esp, 0x34
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401a91
push ebx
call fcn.004b8bac
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 0x24e
push 0x80000301
push 0
push 0x24
push 2
mov ebx, 0x94
call fcn.004b9830
add esp, 0x1c
push eax
call fcn.0040264d
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x4ca224
push dword [ebp - 0xc]
mov ecx, 3
call fcn.00401549
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401af3
push ebx
call fcn.004b8bac
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401b07
push ebx
call fcn.004b8bac
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push reloc.WS2_32.dll_getpeername
push 0
lea eax, [ebp - 0xc]
push eax
push 1
mov ebx, 0xc
mov eax, 0x4bfba0
call fcn.004b96b0
add esp, 0x10
mov dword [ebp - 0x14], eax
add dword [ebp - 0x14], 0x400
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401b4a
mov eax, 0x4ca21c
push eax
push 1
mov ebx, 0x194
call fcn.004b9b90
add esp, 0x10
mov dword [ebp - 0x28], eax
fild dword [ebp - 0x28]
fstp qword [ebp - 0x28]
fld qword [ebp - 0x28]
fsub qword [0x4ca22f]
fstp qword [ebp - 0x30]
fld qword [ebp - 0x30]
call fcn.004015a0
push eax
lea eax, [ebp - 0x18]
mov ebx, eax
mov ecx, 0
pop edx
push edx
push ecx
push ebx
mov dword [ebx], ecx
cmp ecx, edx
jg 0x401c9c
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.004015a0
push 0x80000301
push 0
push eax
push 1
mov ebx, 0xa5c
call fcn.004b9da0
add esp, 0x10
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xcccccccc
jne 0x401c91
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fadd qword [0x4ca237]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
call fcn.004015a0
push 0x80000301
push 0
push eax
push 1
mov ebx, 0xa5c
call fcn.004b9da0
add esp, 0x10
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xcccccccc
jne 0x401c91
inc dword [ebp - 0x1c]
fild dword [ebp - 0x14]
fstp qword [ebp - 0x24]
fld qword [ebp - 0x24]
fild dword [ebp - 0x18]
fstp qword [ebp - 0x2c]
fadd qword [ebp - 0x2c]
fadd qword [0x4ca23f]
fstp qword [ebp - 0x34]
push 0x80000301
push 0
push 0x3b9aca04
push 0x80000301
push 0
push 0
push 2
mov ebx, 0x94
call fcn.004b9830
add esp, 0x1c
push eax
fld qword [ebp - 0x34]
call fcn.004015a0
push eax
call fcn.00402787
cmp dword [ebp - 0x1c], 0x32
jle 0x401c8d
jmp 0x401c9c
add dword [ebp - 0x18], 4
pop ebx
pop ecx
pop edx
add ecx, 4
jmp 0x401b86
add esp, 0xc
cmp dword [ebp - 0x1c], 0
jne 0x401cae
jmp 0x401f73
push 0
mov ebx, 0x104
call fcn.004b98c0
add esp, 4
mov dword [ebp - 0x20], eax
push 0
mov ebx, 0x108
call fcn.004b9950
add esp, 4
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x4ca216
push dword [ebp - 0x20]
mov ecx, 3
call fcn.004014ed
add esp, 0xc
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401d03
push ebx
call fcn.004b8bac
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401d13
push ebx
call fcn.004b8bac
add esp, 4
push 0
mov ebx, 0x104
call fcn.004b98c0
add esp, 4
mov dword [ebp - 0x2c], eax
push str..bak
push dword [ebp - 4]
push 0x4ca216
push dword [ebp - 0x2c]
mov ecx, 4
call fcn.004014ed
add esp, 0x10
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x401d58
push ebx
call fcn.004b8bac
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x30]
test eax, eax
jne 0x401d6b
mov eax, 0x4ca20b
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401d7f
mov eax, 0x4ca20b
push eax
push 2
mov ebx, 0x248
call fcn.004b9db0
add esp, 0x1c
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401da2
push ebx
call fcn.004b8bac
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x401db2
push ebx
call fcn.004b8bac
add esp, 4
push 0
mov ebx, 0x104
call fcn.004b98c0
add esp, 4
mov dword [ebp - 0x20], eax
push dword [ebp - 4]
push 0x4ca216
push dword [ebp - 0x20]
mov ecx, 3
call fcn.004014ed
add esp, 0xc
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401df2
push ebx
call fcn.004b8bac
add esp, 4
push reloc.WS2_32.dll_getpeername
push 0
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x401e05
mov eax, 0x4ca21c
push eax
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x401e19
mov eax, 0x4ca20b
push eax
push 2
mov ebx, 0x26c
call fcn.004b9dd0
add esp, 0x1c
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401e3c
push ebx
call fcn.004b8bac
add esp, 4
push 0
mov ebx, 0x104
call fcn.004b98c0
add esp, 4
mov dword [ebp - 0x20], eax
push 0x4ca218
push dword [ebp - 4]
push 0x4ca216
push dword [ebp - 0x20]
mov ecx, 4
call fcn.004014ed
add esp, 0x10
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401e81
push ebx
call fcn.004b8bac
add esp, 4
push 0
push 0
push 0
push reloc.WS2_32.dll_bind
push 0
push 0
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
jne 0x401ea6
mov eax, 0x4ca20b
push eax
push 3
mov ebx, 0x2c0
call fcn.004b9e70
add esp, 0x28
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401ec9
push ebx
call fcn.004b8bac
add esp, 4
push 0
mov ebx, 0x104
call fcn.004b98c0
add esp, 4
mov dword [ebp - 0x20], eax
push 0
mov ebx, 0x108
call fcn.004b9950
add esp, 4
mov dword [ebp - 0x24], eax
push str..bak
push dword [ebp - 0x24]
push 0x4ca216
push dword [ebp - 0x20]
mov ecx, 4
call fcn.004014ed
add esp, 0x10
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x401f23
push ebx
call fcn.004b8bac
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x401f33
push ebx
call fcn.004b8bac
add esp, 4
push reloc.WS2_32.dll_connect
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
jne 0x401f46
mov eax, 0x4ca20b
push eax
push 1
mov ebx, 0x244
call fcn.004b99e0
add esp, 0x10
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x401f69
push ebx
call fcn.004b8bac
add esp, 4
push 0
call fcn.004b8b8e
add esp, 4
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x401f83
push ebx
call fcn.004b8bac
add esp, 4
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x401f93
push ebx
call fcn.004b8bac
add esp, 4
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x401fa3
push ebx
call fcn.004b8bac
add esp, 4
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x401fb3
push ebx
call fcn.004b8bac
add esp, 4
mov esp, ebp
pop ebp
ret