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

Disassembly:
mov eax, dword [0x7f96f8]
sub esp, 0x138
test eax, eax
push ebx
mov ebx, dword [esp + 0x140]
push ebp
push esi
push edi
jne 0x403038
call fcn.00403840
test eax, eax
mov dword [0x7f96f8], eax
jne 0x403026
mov esi, dword [sym.imp.KERNEL32.dll_SleepEx]
mov eax, dword [0x7f96a4]
push str.Trying_to_Connect.......
push eax
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
push 0x3e8
call esi
call fcn.00403840
test eax, eax
mov dword [0x7f96f8], eax
je 0x402ffe
mov ecx, dword [0x7f96a4]
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.004050b0
lea eax, [esp + 0x24]
mov byte [esp + 0x29], 0
push eax
call fcn.00404f69
add esp, 0x10
test eax, eax
jle 0x4035c3
lea ecx, [esp + 0x18]
push ecx
call fcn.00404f69
movsx edx, word [ebx + 0x11]
add esp, 4
cmp edx, eax
jne 0x403090
movsx eax, word [ebx + 0x13]
mov cx, word [ebx + 9]
mov esi, 0x15
mov dword [esp + 0x24], eax
mov word [esp + 0x28], cx
mov dword [esp + 0x20], esi
jmp 0x4030a6
mov edx, dword [0x7f96a4]
push str.Error__Unknown_Header
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov esi, dword [esp + 0x20]
mov ecx, dword [0x7f97d8]
inc ecx
cmp word [esp + 0x28], 0x793e
mov dword [0x7f97d8], ecx
jne 0x40358d
cmp byte [esi + ebx], 1
jne 0x4035c3
mov eax, dword [esp + 0x24]
mov byte [0x7f97dc], 1
mov ecx, dword [esi + ebx + 1]
push eax
push ecx
call fcn.004035d0
add esp, 8
test eax, eax
jl 0x40358d
mov ecx, dword [esi + ebx + 0xb]
test ecx, ecx
jle 0x40358d
mov edx, eax
mov edi, dword [0x7f96ec]
shl edx, 5
add edx, eax
lea ebp, [eax + edx*2]
mov eax, ecx
shl ebp, 1
mov edx, dword [edi + ebp + 0x7e]
sub eax, edx
mov dword [esp + 0x10], edx
cdq
xor eax, edx
sub eax, edx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul qword [0x40e220]
fild dword [esp + 0x10]
fdivp st(1)
fcomp qword [0x40e218]
fnstsw ax
test ah, 0x41
jne 0x4031c4
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4031c4
mov eax, dword [esi + ebx + 0xcf]
mov edx, dword [esi + ebx + 0xdf]
push eax
mov eax, dword [esi + ebx + 0xdb]
push edx
mov edx, dword [esi + ebx + 7]
push eax
mov eax, dword [esi + ebx + 0x13]
push edx
mov edx, dword [esi + ebx + 0xf]
push eax
mov eax, dword [esi + ebx + 0xc5]
push edx
mov edx, dword [esi + ebx + 0xbd]
push ecx
mov ecx, dword [esi + ebx + 0xc1]
push eax
mov eax, dword [esi + ebx + 0xb9]
push ecx
mov ecx, dword [esi + ebx + 0x17]
push edx
push eax
movsx edx, byte [esi + ebx + 6]
push ecx
mov ecx, dword [0x411234]
lea eax, [edi + ebp + 0x24]
push edx
push eax
push str._s__d__ld__ld__ld__ld__ld__ld__ld__ld__ld__ld__ld_n
push ecx
call fcn.00404eac
mov edx, dword [0x411234]
push edx
call fcn.00404d9f
add esp, 0x44
jmp 0x40358d
mov eax, dword [esi + ebx + 0xf]
test eax, eax
jle 0x40358d
push 0
call fcn.00405360
mov dword [edi + ebp + 0x82], eax
mov ecx, dword [0x7f96ec]
mov eax, dword [esi + ebx + 0xb]
lea edi, [esp + 0x34]
mov dword [ecx + ebp + 0x7e], eax
mov ecx, 0x25
xor eax, eax
mov edx, dword [0x7f96ec]
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, 0x4103e4
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.00405360
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
push ecx
call fcn.00405200
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 0x4035a3
mov ecx, dword [0x7f96ec]
cmp dword [ecx + ebp + 0x3c], 0x2710
jne 0x4032a6
fld dword [0x40e214]
jmp 0x4032ac
fld dword [0x40e210]
mov dl, byte [eax + 0xc]
mov esi, dword [esp + 0x20]
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.004054c0
fild dword [esi + ebx + 0xc1]
mov dword [esp + 0x85], eax
fmul st(1)
call fcn.004054c0
fild dword [esi + ebx + 0xc5]
mov dword [esp + 0x7d], eax
fmul st(1)
call fcn.004054c0
fild dword [esi + ebx + 0xb]
mov dword [esp + 0x81], eax
fmul st(1)
call fcn.004054c0
mov ecx, dword [esi + ebx + 0xf]
mov edx, dword [esi + ebx + 7]
mov dword [esp + 0x51], eax
lea eax, [esp + 0x95]
mov dword [esp + 0x8d], ecx
mov dword [esp + 0x91], edx
mov dword [esp + 0x10], eax
lea edi, [esi + ebx + 0x1b]
mov dword [esp + 0x14], 5
fild dword [edi + 4]
fmul st(1)
call fcn.004054c0
fild dword [edi + 0x4a]
mov ecx, dword [esp + 0x10]
mov edx, dword [edi]
fmul st(1)
mov dword [ecx - 0x40], eax
mov dword [ecx], edx
call fcn.004054c0
mov ecx, dword [esp + 0x10]
add edi, 0xe
mov dword [ecx - 0x2c], eax
mov eax, dword [edi + 0x38]
mov dword [ecx + 0x14], eax
mov eax, dword [esp + 0x14]
add ecx, 4
dec eax
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], eax
jne 0x40335a
fild dword [esi + ebx + 0xb9]
mov edi, dword [0x7f96ec]
mov ecx, dword [edi + ebp + 0x20]
fmul st(1)
mov dword [esp + 0xc1], ecx
call fcn.004054c0
lea edx, [edi + ebp + 0x60]
mov dword [esp + 0x89], eax
push edx
mov word [esp + 0x36], 0x95
fstp st(0)
call fcn.00404ede
mov dword [esp + 0xc1], eax
mov eax, dword [0x7f96ec]
push str.INDICES
mov word [esp + 0x38], 0xffff
lea eax, [eax + ebp + 0x40]
push eax
call fcn.0040cf30
add esp, 0xc
test eax, eax
mov eax, dword [0x7f96ec]
jne 0x403450
fild dword [esi + ebx + 0xb]
fild dword [eax + ebp + 0x3c]
sub esp, 8
lea ecx, [eax + ebp + 0x24]
lea edx, [esp + 0xd0]
fdivp st(1)
fstp qword [esp]
push ecx
push str.__15s__g._n
push edx
call fcn.004051ae
mov ecx, dword [0x7f96a4]
add esp, 0x14
lea eax, [esp + 0xc8]
mov byte [esp + 0x49], 0x4d
push eax
mov dword [esp + 0x91], 1
push ecx
jmp 0x4034e8
mov ecx, dword [eax + ebp + 0x3c]
cmp ecx, 0x64
jne 0x40349d
fild dword [esi + ebx + 0xb]
mov edx, dword [esi + ebx + 0xf]
sub esp, 8
lea eax, [eax + ebp + 0x24]
lea ecx, [esp + 0xd0]
fmul qword [0x40e208]
fstp qword [esp]
push edx
push eax
push str.__15s__8ld____g._n
push ecx
call fcn.004051ae
mov eax, dword [0x7f96a8]
add esp, 0x18
lea edx, [esp + 0xc8]
mov byte [esp + 0x49], 0x4d
push edx
push eax
jmp 0x4034e8
cmp ecx, 0x2710
jne 0x4034ee
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 [0x40e200]
fstp qword [esp]
push ecx
push edx
push str.__15s__8ld____g._n
push eax
call fcn.004051ae
mov edx, dword [0x7f96a8]
add esp, 0x18
lea ecx, [esp + 0xc8]
mov byte [esp + 0x49], 0x4f
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
call fcn.00405360
mov edx, dword [0x411238]
mov ecx, eax
sub ecx, edx
add esp, 4
test ecx, ecx
jle 0x403552
mov eax, dword [0x7f97d8]
cdq
idiv ecx
push eax
lea eax, [esp + 0xcc]
push str.Pkts_per_second__ld
push eax
call fcn.004051ae
mov edx, dword [0x7f96b0]
add esp, 0xc
lea ecx, [esp + 0xc8]
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextA]
push 0
call fcn.00405360
add esp, 4
mov dword [0x411238], eax
mov dword [0x7f97d8], 0
mov ecx, dword [0x7f96f8]
push 0x10
push 0x411268
push 0
lea eax, [esp + 0x3c]
push 0x95
push eax
push ecx
call dword [sym.imp.WS2_32.dll_sendto]
test eax, eax
jge 0x40358d
mov edx, dword [0x7f96f8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
call fcn.00403840
mov dword [0x7f96f8], eax
lea eax, [esp + 0x18]
push eax
call fcn.00404f69
add esp, 4
lea ebx, [ebx + eax + 5]
jmp 0x403038
mov ecx, dword [0x7f96fc]
push 0
push str.MCXSmartFeed
push str.S_w_expired
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.00404fa1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x138
ret