Function at 0x41e970
Capabilities:
Resolve function by parsing pe exports
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
push ebx
push esi
push edi
push 1
call dword [sym.imp.WS2_32.dll_htonl]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x28], 1
cmp dword [eax + 8], 6
jne 0x41e9e6
push 0
push 5
lea ecx, [esp + 0x2c]
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], 5
mov eax, dword [ebp + 8]
add dword [eax + 0x248], 5
add dword [0x50e4e4], 5
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.004ad19c
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
cmp byte [eax + 0x12], bl
je 0x41ea28
mov ecx, dword [ebp + 8]
cmp byte [ecx + 0x11], bl
jne 0x41ea28
mov edx, dword [eax + 0xf8]
cmp byte [edx + 0xdb], bl
je 0x41ea28
push eax
push ecx
lea edx, [esp + 0x18]
lea ecx, [esp + 0x1c]
call fcn.00423780
mov ebx, dword [esp + 0x18]
add esp, 8
test ebx, ebx
je 0x41ea28
sub ebx, 0x14
lea eax, [ebx + 0x19]
push eax
call fcn.004b5cd0
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x41eb55
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 0x41ea7d
mov ecx, dword [esi + 0x34]
test ecx, ecx
jne 0x41ea71
test eax, eax
jne 0x41ea6d
xor edi, edi
jmp 0x41ea86
sub edi, eax
jmp 0x41ea86
push ecx
call dword [sym.imp.WS2_32.dll_htonl]
lea edi, [eax + 1]
jmp 0x41ea86
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 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 [ebp + 0xc]
movzx eax, word [eax + 0x1c]
push eax
call esi
mov esi, dword [esp + 0x10]
mov word [0x50e5ec], ax
movups xmm0, xmmword [0x50e5dc]
movups xmmword [esi], xmm0
mov eax, dword [0x50e5ec]
mov dword [esi + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [esi + 0x14], eax
mov al, byte [esp + 0x28]
mov byte [esi + 0x18], al
test ebx, ebx
je 0x41eafe
mov eax, dword [esp + 0x14]
add eax, 0x14
push ebx
push eax
lea eax, [esi + 0x19]
push eax
call fcn.004aee70
add esp, 0xc
mov ecx, dword [ebp + 0xc]
movups xmm0, xmmword [0x50e5dc]
movups xmmword [ecx + 0x2c], xmm0
mov eax, dword [0x50e5ec]
mov dword [ecx + 0x3c], eax
lea ecx, [ebx + 0x19]
mov eax, dword [ebp + 0xc]
mov byte [eax + 0x4c], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x52], esi
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x48], ecx
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0x2c]
push ecx
lea ecx, [eax + 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 0x41eb72
push 0
push str.send_unchoke__
push 0x4f0268
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