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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x45d780]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [ebp + 0x14]
xor edx, edx
push 0x9e
mov dword [ebp - 0xc0], eax
mov esi, ecx
mov ecx, dword [ebp + 0x10]
push edx
lea eax, [ebp - 0xa2]
push eax
mov dword [ebp - 0xbc], ebx
mov dword [ebp - 0xb8], ecx
mov word [ebp - 0xa4], dx
call fcn.0042fa50
push edi
lea ecx, [ebp - 0xa4]
push 0x104
push ecx
call fcn.00423220
movzx eax, word [edi + 2]
add esp, 0x18
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
movzx edx, ax
xor eax, eax
mov dword [ebp - 0xc4], edx
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
test ebx, ebx
je 0x42bbb4
cmp dword [ebp - 0xb8], eax
je 0x42bbb4
push eax
push eax
lea eax, [esi + 0x50c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, 1
je 0x42bbb4
cmp byte [esi + 0x714], 0
je 0x42bb3d
lea ecx, [ebp - 0xa4]
push ecx
lea ecx, [esi + 0x3c4]
call fcn.0042b720
test eax, eax
jne 0x42ba24
movzx edx, word [ebp - 0xc4]
cmp edx, dword [esi + 0x47c]
jne 0x42ba24
mov edi, dword [ebp - 0xb8]
cmp edi, 6
jbe 0x42bbb4
movzx eax, word [ebx + 4]
push eax
call dword [sym.imp.WS2_32.dll_ntohs]
cmp ax, 0x11
jne 0x42bbb4
push 3
push 0x450718
push edi
push ebx
call fcn.0042a980
add esp, 0x10
test eax, eax
je 0x42bbb4
lea ecx, [ebp - 0xb8]
push ecx
lea ecx, [esi + 0x2d8]
mov dword [ebp - 0xb8], 0
call fcn.0042dad0
test eax, eax
je 0x42b9fa
mov eax, dword [ebp - 0xb8]
mov edx, 2
mov word [ebp - 0xb4], dx
mov cx, word [eax + 2]
mov eax, dword [esi + 0x48c]
push eax
mov word [ebp - 0xb2], cx
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0xffffffffffffffff
lea edx, [ebp - 0xb4]
push edx
push edi
push ebx
lea ecx, [esi + 0x24]
mov dword [ebp - 0xb0], eax
call fcn.00422f90
mov eax, dword [ebp - 0xb8]
test eax, eax
je 0x42bbb4
push eax
call fcn.00430a66
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430215
mov esp, ebp
pop ebp
ret 0x10
mov eax, 6
cmp dword [ebp - 0xb8], eax
jne 0x42bbb4
mov ecx, 0x45d654
mov edx, ebx
mov dword [ebp - 0xb8], ebx
mov edx, dword [edx]
cmp edx, dword [ecx]
jne 0x42bbb4
mov edx, dword [ebp - 0xb8]
sub eax, 4
add edx, 4
add ecx, 4
mov dword [ebp - 0xb8], edx
cmp eax, 4
jae 0x42ba42
test eax, eax
je 0x42ba9c
mov bl, byte [ecx]
cmp bl, byte [edx]
jne 0x42bbb4
cmp eax, 1
jbe 0x42ba96
mov bl, byte [ecx + 1]
cmp bl, byte [edx + 1]
jne 0x42bbb4
cmp eax, 2
jbe 0x42ba96
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x42bbb4
mov ebx, dword [ebp - 0xbc]
push 0x10
call fcn.0043114b
add esp, 4
mov dword [ebp - 0xbc], eax
test eax, eax
je 0x42bbb4
mov cx, word [edi]
mov word [eax], cx
mov dx, word [edi + 2]
mov word [eax + 2], dx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
push eax
lea ecx, [esi + 0x2d8]
call fcn.0042dbd0
test eax, eax
je 0x42bb1b
mov eax, dword [esi + 0x4fc]
mov edx, dword [esi + 0x4f8]
mov ecx, dword [esi + 0x500]
push 0x10
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0xb4]
push eax
push 0
mov dword [ebp - 0xb4], edx
mov edx, dword [esi + 0x504]
push 6
mov dword [ebp - 0xac], ecx
mov dword [ebp - 0xa8], edx
push ebx
jmp 0x42bba2
mov ecx, dword [ebp - 0xbc]
push ecx
call fcn.00430a66
add esp, 4
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430215
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [esi + 0x710]
cmp eax, 6
jle 0x42bbb4
cmp dword [ebp - 0xb8], 6
jne 0x42bbb4
mov edx, dword [ebx]
cmp edx, dword [0x45d654]
jne 0x42bbb4
mov cl, byte [0x45d658]
cmp cl, byte [ebx + 4]
jne 0x42bbb4
mov dl, byte [0x45d659]
cmp dl, byte [ebx + 5]
jne 0x42bbb4
mov dx, word [edi + 2]
mov cx, word [edi]
push 0x10
mov word [ebp - 0xb2], dx
lea edx, [ebp - 0xb4]
push edx
push 0
mov word [ebp - 0xb4], cx
mov ecx, dword [edi + 4]
push eax
add esi, 0x510
mov dword [ebp - 0xb0], ecx
push esi
mov ecx, dword [ebp - 0xc0]
call fcn.00422c40
push eax
call dword [sym.imp.WS2_32.dll_sendto]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430215
mov esp, ebp
pop ebp
ret 0x10