Function at 0x41e320
Capabilities:
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x98
mov eax, dword [0x508068]
xor eax, esp
mov dword [esp + 0x94], eax
mov eax, dword [ebp + 0xc]
movups xmm0, xmmword [0x4f01bc]
push esi
mov dword [esp + 0x10], eax
mov eax, dword [0x4f01cc]
push edi
mov dword [esp + 0x80], eax
lea eax, [esp + 0x70]
push 0x13
push eax
lea eax, [esp + 0x29]
mov byte [esp + 0x28], 0x13
push eax
movups xmmword [esp + 0x7c], xmm0
call fcn.004af3f0
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 0
push eax
lea edx, [esp + 0x4c]
lea ecx, [esp + 0x44]
call fcn.00451830
mov eax, dword [ebp + 8]
add esp, 0x10
or byte [esp + 0x39], 0x10
or byte [esp + 0x3b], 5
movups xmm0, xmmword [eax + 0x38e]
movups xmmword [esp + 0x3c], xmm0
mov eax, dword [eax + 0x39e]
movups xmm0, xmmword [0x51051a]
mov dword [esp + 0x4c], eax
mov eax, dword [0x51052a]
mov dword [esp + 0x60], eax
mov eax, dword [ebp + 0xc]
movups xmmword [esp + 0x50], xmm0
cmp dword [eax + 8], 6
jne 0x41e416
push 0
push 0x44
lea ecx, [esp + 0x28]
push ecx
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], 0x44
mov eax, dword [ebp + 8]
add dword [eax + 0x248], 0x44
add dword [0x50e4e4], 0x44
pop edi
pop esi
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
push 0x58
call fcn.004b5cd0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x41e553
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 0x41e469
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x41e45d
test eax, eax
jne 0x41e459
xor edi, edi
jmp 0x41e472
sub edi, eax
jmp 0x41e472
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
lea edi, [eax + 1]
jmp 0x41e472
xor ecx, ecx
sub edi, eax
test eax, eax
cmove edi, ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [sym.imp.WS2_32.dll_htons]
mov dword [eax + 0x18], 0xc350
mov eax, dword [esp + 0x14]
mov word [0x50e5dc], 1
movzx eax, word [eax + 0x14]
push eax
call esi
push edi
mov word [0x50e5de], ax
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [0x50e5e4], eax
mov eax, dword [esp + 0x14]
movzx eax, word [eax + 0x1c]
push eax
call esi
movups xmm0, xmmword [0x50e5dc]
mov edx, dword [esp + 0x10]
mov word [0x50e5ec], ax
movups xmmword [edx], xmm0
mov eax, dword [0x50e5ec]
mov dword [edx + 0x10], eax
movups xmm0, xmmword [esp + 0x20]
movups xmmword [edx + 0x14], xmm0
movups xmm0, xmmword [esp + 0x30]
movups xmmword [edx + 0x24], xmm0
movups xmm0, xmmword [esp + 0x40]
movups xmmword [edx + 0x34], xmm0
movups xmm0, xmmword [esp + 0x50]
movups xmmword [edx + 0x44], xmm0
mov eax, dword [esp + 0x60]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [0x50e5dc]
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 dword [eax + 0x48], 0x58
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
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
cmp byte [0x5102e0], 0
je 0x41e570
push 0
push str.send_handshake__
push 0x4f01e4
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, dword [esp + 0x9c]
pop edi
pop esi
xor ecx, esp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret