Function at 0x1000259d
Capabilities:
Connect socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
push 0x10
call fcn.10017671
add esp, 4
mov dword [ebp - 8], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
add ebx, 0xc
push ebx
push 0x10
call fcn.10017671
add esp, 4
pop ebx
mov dword [ebx], eax
mov edi, eax
mov esi, 0x1003239e
lodsd eax, dword [esi]
stosd dword es:[edi], eax
lodsd eax, dword [esi]
stosd dword es:[edi], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0xc], 0
mov eax, 0x10032337
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10001269
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10002625
push ebx
call fcn.10017677
add esp, 4
call fcn.10002a9f
cmp dword [ebp + 0x18], 0
jne 0x1000263b
mov dword [ebp + 0x14], 0
cmp dword [ebp + 0x20], 0
jne 0x1000264c
mov dword [ebp + 0x1c], 0
push 0
call fcn.1000316d
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000266d
mov eax, 0
jmp 0x10002a7b
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp - 0x10]
mov word [ebx], 2
mov ebx, dword [ebp - 8]
add ebx, 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], esp
push dword [ebp + 0xc]
call dword [sym.imp.WS2_32.dll_htons]
nop
nop
nop
nop
cmp dword [ebp - 0x14], esp
je 0x100026b0
push 0x1fd
push 0x4023d81
push 6
call fcn.10017689
add esp, 0xc
mov ebx, dword [ebp - 0x10]
mov word [ebx], ax
mov ebx, dword [ebp - 8]
add ebx, 8
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
call fcn.1000211d
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], esp
push dword [ebp - 0x14]
call dword [sym.imp.WS2_32.dll_inet_addr]
nop
nop
nop
nop
cmp dword [ebp - 0x18], esp
je 0x100026f6
push 0x24c
push 0x4023d81
push 6
call fcn.10017689
add esp, 0xc
mov dword [ebp - 0x1c], eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x10002709
push ebx
call fcn.10017677
add esp, 4
mov eax, dword [ebp - 0x1c]
mov ebx, dword [ebp - 0x10]
mov dword [ebx], eax
mov dword [ebp - 0x10], esp
push 0x10
mov eax, dword [ebp - 8]
push eax
push 0x10
call fcn.10017671
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_connect]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10002793
push 0x29f
push 0x4023d81
push 6
call fcn.10017689
add esp, 0xc
push eax
mov ebx, dword [ebp - 0x14]
push ebx
mov edi, dword [ebp - 0x18]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.10017ad0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x100027ea
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x100027e8
imul eax, dword [edi]
jmp 0x100027dd
mov ecx, eax
cmp ecx, 8
jle 0x100027f4
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.10017677
add esp, 4
pop eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x10002a50
push 1
lea eax, [ebp - 0xc]
push eax
call fcn.1000442e
fild dword [ebp - 0xc]
fstp qword [ebp - 0x14]
fld qword [ebp - 0x14]
fadd qword [0x10032341]
fstp qword [ebp - 0x1c]
mov dword [ebp - 0x20], esp
push 0x10
mov eax, dword [ebp - 8]
push eax
push 0x10
call fcn.10017671
add esp, 4
mov edi, eax
pop ebx
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], eax
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov word [edi], ax
add edi, 2
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
mov ebx, dword [ebx]
add ebx, 8
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop ebx
add ebx, 4
fld qword [ebp - 0x1c]
call fcn.1000165d
push eax
call dword [sym.imp.KERNEL32.dll_RtlMoveMemory]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x100028be
push 0x309
push 0x4023d81
push 6
call fcn.10017689
add esp, 0xc
mov ebx, dword [ebp - 0x24]
push ebx
mov edi, dword [ebp - 0x28]
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov ax, word [ebx]
add ebx, 2
mov dword [edi], eax
add edi, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [edi], eax
add edi, 4
push ebx
push edi
push 1
mov eax, 2
call fcn.10017ad0
add esp, 4
pop edi
pop ebx
push ebx
push edi
mov edi, dword [edi]
mov ecx, dword [edi]
add edi, 4
test ecx, ecx
je 0x10002914
mov eax, dword [edi]
add edi, 4
dec ecx
je 0x10002912
imul eax, dword [edi]
jmp 0x10002907
mov ecx, eax
cmp ecx, 8
jle 0x1000291e
mov ecx, 8
mov esi, ebx
rep movsb byte es:[edi], byte [esi]
pop edi
pop ebx
add edi, 4
add ebx, 8
call fcn.10017677
add esp, 4
mov dword [ebp - 0x10], esp
call dword [sym.imp.KERNEL32.dll_GetTickCount]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x1000295b
push 0x357
push 0x4023d81
push 6
call fcn.10017689
add esp, 0xc
push eax
push 0x2c
push dword [ebp - 0xc]
call fcn.100040e3
push dword [ebp + 0x14]
push 0x28
push dword [ebp - 0xc]
call fcn.100040e3
push htons
push 0
push dword [ebp + 0x10]
push 1
mov ebx, 0x9dc
call fcn.10017fd0
add esp, 0x10
push eax
push 0x24
push dword [ebp - 0xc]
call fcn.100040e3
push dword [ebp - 4]
push 0x20
push dword [ebp - 0xc]
call fcn.100040e3
push dword [ebp - 4]
push 0x1c
push dword [ebp - 0xc]
call fcn.100040e3
push 0x7531
push 0x30
push dword [ebp - 0xc]
call fcn.100040e3
push dword [ebp + 0x1c]
push 0x40
push dword [ebp - 0xc]
call fcn.100040e3
mov dword [ebp - 0x10], esp
push 0
push dword [ebp - 0xc]
push dword [0x10032d54]
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x10002a1f
push 0x460
push 0x4023d81
push 6
call fcn.10017689
add esp, 0xc
push dword [ebp - 0xc]
call fcn.10004e3d
mov eax, 0x10032349
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10003555
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10002a48
push ebx
call fcn.10017677
add esp, 4
mov eax, dword [ebp - 4]
jmp 0x10002a7b
mov eax, str.IOCP_l
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
call fcn.10003555
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x10002a71
push ebx
call fcn.10017677
add esp, 4
mov eax, 0
jmp 0x10002a7b
push eax
mov ebx, dword [ebp - 8]
push ebx
add ebx, 0xc
push ebx
mov ebx, dword [ebx]
push ebx
call fcn.10017677
add esp, 4
pop ebx
call fcn.10017677
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x1c