Function at 0x402f70
Capabilities:
Send data
Send data on socket
Terminate process

Disassembly:
mov eax, dword [0x7f8600]
sub esp, 0x138
test eax, eax
push ebx
mov ebx, dword [esp + 0x140]
push ebp
push esi
push edi
jne 0x402fd8
call fcn.00403740
test eax, eax
mov dword [0x7f8600], eax
jne 0x402fc6
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [0x7f85ac]
push str.Trying_to_Connect.......
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 0x3e8
call esi
call fcn.00403740
test eax, eax
mov dword [0x7f8600], eax
je 0x402f9e
mov ecx, dword [0x7f85ac]
push str.Connection_Success...
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 5
lea edx, [esp + 0x1c]
push ebx
push edx
call fcn.00404fb0
lea eax, [esp + 0x24]
mov byte [esp + 0x29], 0
push eax
call fcn.00404e69
add esp, 0x10
test eax, eax
jle 0x4034bd
lea ecx, [esp + 0x18]
push ecx
call fcn.00404e69
movsx edx, word [ebx + 0x11]
add esp, 4
cmp edx, eax
jne 0x403030
movsx eax, word [ebx + 0x13]
mov cx, word [ebx + 9]
mov edi, 0x15
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
mov dword [esp + 0x14], edi
jmp 0x403046
mov edx, dword [0x7f85ac]
push str.Error__Unknown_Header
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edi, dword [esp + 0x14]
mov ecx, dword [0x7f86e0]
inc ecx
cmp word [esp + 0x28], 0x793e
mov dword [0x7f86e0], ecx
jne 0x403487
cmp byte [edi + ebx], 1
jne 0x4034bd
mov eax, dword [esp + 0x24]
mov byte [0x7f86e4], 1
mov ecx, dword [edi + ebx + 1]
push eax
push ecx
call fcn.004034d0
add esp, 8
test eax, eax
jl 0x403487
mov edx, eax
mov esi, dword [0x7f85f4]
shl edx, 5
add edx, eax
lea ebp, [eax + edx*2]
mov eax, dword [edi + ebx + 0xb]
shl ebp, 1
mov ecx, dword [esi + ebp + 0x7e]
sub eax, ecx
mov dword [esp + 0x20], ecx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul qword [0x40d220]
fild dword [esp + 0x20]
fdivp st(1)
fcomp qword [0x40d218]
fnstsw ax
test ah, 0x41
jne 0x4030d9
test ecx, ecx
jne 0x403487
mov eax, dword [edi + ebx + 0xf]
test eax, eax
jle 0x403487
push 0
call fcn.00405260
mov dword [esi + ebp + 0x82], eax
mov ecx, dword [0x7f85f4]
mov eax, dword [edi + ebx + 0xb]
lea edi, [esp + 0x34]
mov dword [ecx + ebp + 0x7e], eax
mov ecx, 0x25
xor eax, eax
mov edx, dword [0x7f85f4]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
lea edi, [edx + ebp + 0x24]
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x38]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x4d]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, 0x40f31c
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.00405260
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
push ecx
call fcn.00405100
mov ecx, dword [eax + 0x14]
add esp, 0xc
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 0x10]
lea ecx, [ecx + edx*4 + 0x2e631]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*4]
mov ecx, dword [eax + 0xc]
lea edx, [ecx + edx*4]
cmp edx, 0x1339e83
jg 0x40349d
mov ecx, dword [0x7f85f4]
cmp dword [ecx + ebp + 0x3c], 0x2710
jne 0x4031bb
fld dword [0x40d214]
jmp 0x4031c1
fld dword [0x40d210]
mov dl, byte [eax + 0xc]
mov esi, dword [esp + 0x14]
mov byte [esp + 0x4a], dl
mov cl, byte [eax + 0x10]
inc cl
fild dword [esi + ebx + 0xbd]
mov byte [esp + 0x4b], cl
mov dx, word [eax + 0x14]
add dx, 0x76c
mov word [esp + 0x4c], dx
mov cl, byte [eax + 8]
mov byte [esp + 0x4e], cl
mov dl, byte [eax + 4]
mov byte [esp + 0x4f], dl
mov al, byte [eax]
fmul st(1)
mov byte [esp + 0x50], al
call fcn.004053c0
fild dword [esi + ebx + 0xc1]
mov dword [esp + 0x85], eax
fmul st(1)
call fcn.004053c0
fild dword [esi + ebx + 0xc5]
mov dword [esp + 0x7d], eax
fmul st(1)
call fcn.004053c0
fild dword [esi + ebx + 0xb]
mov dword [esp + 0x81], eax
fmul st(1)
call fcn.004053c0
mov ecx, dword [esi + ebx + 0xf]
mov edx, dword [esi + ebx + 7]
mov dword [esp + 0x51], eax
mov dword [esp + 0x8d], ecx
mov dword [esp + 0x91], edx
lea edi, [esp + 0x95]
lea esi, [esi + ebx + 0x1b]
mov dword [esp + 0x10], 5
fild dword [esi + 4]
fmul st(1)
call fcn.004053c0
fild dword [esi + 0x4a]
mov dword [edi - 0x40], eax
mov eax, dword [esi]
mov dword [edi], eax
fmul st(1)
call fcn.004053c0
mov ecx, dword [esi + 0x46]
mov dword [edi - 0x2c], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 0x14], ecx
add esi, 0xe
add edi, 4
dec eax
mov dword [esp + 0x10], eax
jne 0x40326b
mov esi, dword [esp + 0x14]
mov edi, dword [0x7f85f4]
fild dword [esi + ebx + 0xb9]
mov edx, dword [edi + ebp + 0x20]
mov dword [esp + 0xc1], edx
fmul st(1)
call fcn.004053c0
mov dword [esp + 0x89], eax
lea eax, [edi + ebp + 0x60]
push eax
mov word [esp + 0x36], 0x95
fstp st(0)
call fcn.00404dde
mov dword [esp + 0xc1], eax
mov eax, dword [0x7f85f4]
push str.INDICES
mov word [esp + 0x38], 0xffff
lea ecx, [eax + ebp + 0x40]
push ecx
call fcn.0040ce30
add esp, 0xc
test eax, eax
mov eax, dword [0x7f85f4]
jne 0x403358
fild dword [esi + ebx + 0xb]
fild dword [eax + ebp + 0x3c]
sub esp, 8
lea edx, [eax + ebp + 0x24]
lea eax, [esp + 0xd0]
fdivp st(1)
fstp qword [esp]
push edx
push str.__15s__g._n
push eax
call fcn.004050ae
mov edx, dword [0x7f85ac]
add esp, 0x14
lea ecx, [esp + 0xc8]
mov byte [esp + 0x49], 0x4d
mov dword [esp + 0x8d], 1
push ecx
jmp 0x4033e1
mov ecx, dword [eax + ebp + 0x3c]
cmp ecx, 0x64
jne 0x403397
fild dword [esi + ebx + 0xb]
mov ecx, dword [esi + ebx + 0xf]
sub esp, 8
lea edx, [eax + ebp + 0x24]
lea eax, [esp + 0xd0]
fmul qword [0x40d208]
fstp qword [esp]
push ecx
push edx
push str.__15s__8ld____g._n
push eax
call fcn.004050ae
add esp, 0x18
mov byte [esp + 0x49], 0x4d
jmp 0x4033d3
cmp ecx, 0x2710
jne 0x4033e8
fild dword [esi + ebx + 0xb]
mov ecx, dword [esi + ebx + 0xf]
sub esp, 8
lea edx, [eax + ebp + 0x24]
lea eax, [esp + 0xd0]
fmul qword [0x40d200]
fstp qword [esp]
push ecx
push edx
push str.__15s__8ld____g._n
push eax
call fcn.004050ae
add esp, 0x18
mov byte [esp + 0x49], 0x4f
mov edx, dword [0x7f85b0]
lea ecx, [esp + 0xc8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
call fcn.00405260
mov edx, dword [0x410140]
mov ecx, eax
sub ecx, edx
add esp, 4
test ecx, ecx
jle 0x40344c
mov eax, dword [0x7f86e0]
cdq
idiv ecx
push eax
lea eax, [esp + 0xcc]
push str.Pkts_per_second__ld
push eax
call fcn.004050ae
mov edx, dword [0x7f85b8]
add esp, 0xc
lea ecx, [esp + 0xc8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
call fcn.00405260
add esp, 4
mov dword [0x410140], eax
mov dword [0x7f86e0], 0
mov ecx, dword [0x7f8600]
push 0x10
push 0x410170
push 0
lea eax, [esp + 0x3c]
push 0x95
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x403487
mov edx, dword [0x7f8600]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
call fcn.00403740
mov dword [0x7f8600], eax
lea eax, [esp + 0x18]
push eax
call fcn.00404e69
add esp, 4
lea ebx, [ebx + eax + 5]
jmp 0x402fd8
mov ecx, dword [0x7f8604]
push 0
push str.MCXSmartFeed
push str.S_w_expired
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00404ea1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret