Function at 0x46e060
Capabilities:
Send data
Send data on socket

Disassembly:
push 0xffffffffffffffff
push 0x49d0cb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x780
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
mov ebx, dword [esp + 0x794]
push ebp
push esi
mov esi, dword [esp + 0x7a0]
mov ebp, ecx
mov dword [esp + 0x788], eax
mov eax, dword [ebx]
push edi
mov ecx, ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], esi
call dword [eax + 0x1c]
cmp ax, 0x67
jne 0x46e22d
mov edx, dword [ebx]
xor eax, eax
mov ecx, 0x32
lea edi, [esp + 0x6c4]
rep stosd dword es:[edi], eax
mov ecx, ebx
call dword [edx]
mov esi, eax
mov ecx, 8
lea edi, [esp + 0x6c4]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 4]
push eax
mov word [esp + 0x6e0], 0x68
call dword [sym.imp.WS2_32.dll_inet_ntoa]
lea edx, [esp + 0x6e4]
jmp 0x46e100
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x46e100
lea edi, [esp + 0x6e4]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x46e112
mov cx, word [0x4a3ffc]
lea eax, [esp + 0x6e4]
mov word [edi], cx
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46e130
sub eax, edx
lea edx, [esp + eax + 0x6e4]
xor eax, eax
mov ax, word [esi + 2]
push 0xa
push edx
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx ecx, ax
push ecx
call dword [sym.imp.MSVCR71.dll__itoa]
lea eax, [esp + 0x6f0]
add esp, 0xc
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46e167
sub eax, edx
lea edi, [eax + 0x21]
mov eax, dword [ebx + 0x2c]
test eax, eax
je 0x46e1d7
push edi
lea edx, [esp + 0x6c8]
push edx
lea eax, [esp + 0x6d6]
push eax
call dword [sym.imp.MSVCR71.dll_memmove]
mov eax, dword [0x4bd2c0]
lea ecx, [eax + 0x7e8]
mov edx, dword [ecx]
mov dword [esp + 0x6d0], edx
mov edx, dword [ecx + 4]
add esp, 0xc
mov dword [esp + 0x6c8], edx
mov cx, word [ecx + 8]
push edi
lea edx, [esp + 0x6d2]
mov word [esp + 0x6d0], cx
push edx
lea ecx, [eax + 0x7f4]
call fcn.0047cfa0
add edi, 0xa
jmp 0x46e20e
mov eax, dword [ebx + 0x30]
test eax, eax
je 0x46e1e9
push edi
lea eax, [esp + 0x6c8]
push eax
jmp 0x46e206
lea eax, [esp + 0x6e4]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46e1f3
sub eax, edx
inc eax
push eax
lea ecx, [esp + 0x6e8]
push ecx
lea ecx, [ebp + 4]
call fcn.0047cfa0
mov eax, dword [0x4bb384]
push 0x10
push esi
push 0
push edi
lea edx, [esp + 0x6d4]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
jmp 0x46e577
mov eax, dword [0x4bd2c0]
mov ecx, dword [eax + 0x7c8]
mov edi, 4
cmp ecx, edi
je 0x46e24f
mov cl, byte [eax + 0x7c5]
test cl, cl
je 0x46e577
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
cmp ax, 0x1770
jne 0x46e48f
mov eax, dword [ebx]
push 0
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, ebx
mov dword [esp + 0x1c], 1
mov dword [esp + 0x20], edi
call dword [eax + 0x18]
lea ecx, [esp + 0x30]
call fcn.004796b0
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x10]
push eax
push 0
push 0x1771
lea ecx, [esp + 0x3c]
push ecx
mov ecx, ebp
mov dword [esp + 0x7a8], 0
call fcn.0046ccf0
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x20]
cmp ax, 0xa
jne 0x46e373
mov eax, dword [ebx]
push edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
mov ecx, ebx
mov dword [esp + 0x20], edi
call dword [eax + 0x18]
mov eax, dword [ebx]
push 8
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov ecx, ebx
mov dword [esp + 0x20], 2
call dword [eax + 0x18]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x46e356
mov ecx, dword [esp + 0x20]
mov dx, word [esp + 0x1c]
mov dword [esp + 0x50], ecx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x48]
push ecx
mov ecx, 0x4bd360
mov word [esp + 0x46], dx
call fcn.00463580
mov edx, dword [0x4bd2c0]
add edx, 0xc8
push edx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esi + 4], eax
call dword [sym.imp.MSVCR71.dll_rand]
cdq
mov ecx, 0xa
idiv ecx
add edx, 0x1b58
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 2], ax
jmp 0x46e373
mov edx, dword [esp + 0x1c]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esi + 2], ax
mov eax, dword [esp + 0x20]
push eax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x670]
mov eax, dword [0x4bb384]
push 0x10
push esi
push 0
push ecx
lea edx, [esp + 0x44]
push edx
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov edi, dword [esp + 0x18]
xor ebp, ebp
add edi, 0x20
xor esi, esi
lea esp, [esp]
mov eax, dword [edi + 4]
test eax, eax
je 0x46e3e5
mov ecx, dword [edi + 8]
sub ecx, eax
mov eax, 0x2aaaaaab
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebp, eax
jae 0x46e3e5
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x24]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 0xc]
cmp dword [eax + esi], edx
jne 0x46e3df
mov ecx, dword [ecx + 0x10]
cmp dword [eax + esi + 4], ecx
je 0x46e476
inc ebp
add esi, 0xc
jmp 0x46e3a0
mov eax, dword [ebx + 4]
mov edx, dword [eax + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x24]
add eax, 0x4e20
push ecx
mov ecx, edi
mov dword [esp + 0x30], eax
call fcn.0046dfc0
mov edx, dword [ebx]
push 0x2c
push 2
mov ecx, ebx
call dword [edx + 8]
cmp eax, 2
jne 0x46e476
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x10]
push eax
call dword [sym.imp.MSVCR71.dll_atoi]
push 0
mov edi, eax
call dword [sym.imp.MSVCR71.dll_time]
mov edx, dword [ebx]
add esp, 8
push 1
mov ecx, ebx
mov ebp, eax
call dword [edx + 0x10]
mov esi, eax
mov ecx, esi
lea eax, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x46e450
push 0
sub ecx, eax
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0xc]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push ebp
push ecx
mov ecx, dword [0x4bd2bc]
push eax
push edi
call fcn.004597e0
lea ecx, [esp + 0x30]
mov dword [esp + 0x798], 0xffffffff
call fcn.004796e0
jmp 0x46e577
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
cmp ax, 0x1771
jne 0x46e507
lea edi, [ebp + 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x46e4fe
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x14]
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x654], eax
je 0x46e4d3
mov esi, dword [esi]
cmp esi, dword [ebp + 0x34]
jne 0x46e4b5
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x46e577
mov edx, dword [ecx]
push 1
call dword [edx + 0x3c]
cmp esi, dword [ebp + 0x34]
je 0x46e4fe
mov eax, dword [esi + 4]
mov ecx, dword [esi]
mov dword [eax], ecx
mov edx, dword [esi]
mov eax, dword [esi + 4]
push esi
mov dword [edx + 4], eax
call sub.MFC71.DLL_operator_delete_1
mov eax, dword [ebp + 0x38]
add esp, 4
dec eax
mov dword [ebp + 0x38], eax
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x46e577
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
cmp ax, 0x1b59
jne 0x46e570
lea edi, [ebp + 0x44]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 0x34]
mov esi, dword [eax]
cmp esi, eax
je 0x46e567
mov eax, dword [ebx + 4]
mov eax, dword [eax + 0x14]
lea ecx, [ecx]
mov ecx, dword [esi + 8]
cmp dword [ecx + 0x654], eax
je 0x46e54b
mov esi, dword [esi]
cmp esi, dword [ebp + 0x34]
jne 0x46e530
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x46e577
mov dword [ebp + 0x40], 1
mov edx, dword [ecx]
push 1
call dword [edx + 0x3c]
push esi
lea eax, [esp + 0x14]
push eax
lea ecx, [ebp + 0x30]
call fcn.00424970
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x46e577
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x790]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x780]
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x78c
ret 0xc