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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x508068]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_htonl]
push esi
push edi
push 5
mov esi, ecx
mov dword [esp + 0x10], eax
call ebx
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x24], 4
cmp dword [eax + 8], 6
jne 0x42620b
push esi
call ebx
push 0
mov dword [esp + 0x29], eax
lea eax, [esp + 0x24]
push 9
push eax
mov eax, dword [ebp + 0xc]
push dword [eax + 0xc]
call dword [sym.imp.WS2_32.dll_send]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0xf8]
add dword [eax + 0xec], 9
mov eax, dword [ebp + 8]
add dword [eax + 0x248], 9
add dword [0x50e4e4], 9
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x11], 0
je 0x4263d8
mov eax, dword [eax + 0xec]
test eax, eax
je 0x4263d8
lea eax, [eax + eax*8]
add eax, 0x14
push eax
mov dword [esp + 0x18], eax
call fcn.004b5cd0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x4263bb
mov esi, dword [ebp + 0xc]
push dword [esi + 0x5a]
mov edi, dword [esi + 0x6a]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [esi + 0xf8]
cmp dword [ecx + 0x78], 0x19c8
jne 0x42627e
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x426276
test eax, eax
jne 0x426272
xor edi, edi
jmp 0x426287
sub edi, eax
jmp 0x426287
push ecx
call ebx
lea edi, [eax + 1]
jmp 0x426287
xor ecx, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
mov eax, dword [esp + 0xc]
mov esi, dword [sym.imp.WS2_32.dll_htons]
mov word [0x50e5dc], 1
movzx eax, word [eax + 0x14]
push eax
call esi
push edi
mov word [0x50e5de], ax
call ebx
mov dword [0x50e5e4], eax
mov eax, dword [esp + 0xc]
movzx eax, word [eax + 0x1c]
push eax
call esi
mov ecx, dword [esp + 0x10]
movups xmm0, xmmword [0x50e5dc]
mov word [0x50e5ec], ax
movups xmmword [ecx], xmm0
mov eax, dword [0x50e5ec]
lea edi, [ecx + 0x14]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0xc]
add eax, 0xe8
mov dword [esp + 0xc], eax
mov eax, dword [eax]
mov esi, dword [eax]
cmp esi, eax
je 0x426357
nop dword [eax]
push dword [esi + 0x10]
call ebx
mov dword [esp + 0x25], eax
lea edi, [edi + 9]
movq xmm0, qword [esp + 0x20]
movq qword [edi - 9], xmm0
mov al, byte [esp + 0x28]
mov byte [edi - 1], al
mov eax, dword [esi + 8]
cmp byte [eax + 0xd], 0
je 0x426334
mov eax, dword [esi + 4]
cmp byte [eax + 0xd], 0
jne 0x426330
cmp esi, dword [eax + 8]
jne 0x426330
mov esi, eax
mov eax, dword [eax + 4]
cmp byte [eax + 0xd], 0
je 0x426320
mov esi, eax
jmp 0x42634c
mov esi, eax
mov ecx, dword [esi]
cmp byte [ecx + 0xd], 0
jne 0x42634c
nop
mov eax, dword [ecx]
mov esi, ecx
mov ecx, eax
cmp byte [eax + 0xd], 0
je 0x426340
mov eax, dword [ebp + 0xc]
cmp esi, dword [eax + 0xe8]
jne 0x4262f0
mov ecx, dword [esp + 0xc]
call fcn.00445760
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [0x50e5dc]
mov edx, dword [esp + 0x10]
add ecx, 0x2c
push ecx
movups xmmword [ecx], xmm0
mov eax, dword [0x50e5ec]
mov dword [ecx + 0x10], eax
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x4c], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x52], edx
mov eax, dword [ebp + 0xc]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x48], edx
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx + 0xc0]
call fcn.004456b0
mov eax, dword [ebp + 0xc]
inc word [eax + 0x1c]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
cmp byte [0x5102e0], 0
je 0x4263d8
push 0
push str.send_have__
push 0x4f114c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret