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

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x138
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov rax, qword [0x1800f8370]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rax, qword [rsp + 0x140]
movzx eax, byte [rax + 0x49]
test eax, eax
je 0x180075afb
jmp 0x180075d62
mov rax, qword [rsp + 0x140]
add rax, 0x78
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, 2
mov word [rsp + 0xa0], ax
movzx ecx, word [rsp + 0x160]
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0xa2], ax
mov ecx, dword [rsp + 0x158]
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x150]
mov rdx, qword [rsp + 0x148]
mov rax, qword [rsp + 0x140]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x30], 0
cmp dword [rsp + 0x34], 0
jge 0x180075c37
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x2733
jne 0x180075c37
mov dword [rsp + 0x38], 0
jmp 0x180075bc4
mov eax, dword [rsp + 0x38]
inc eax
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0xa
jge 0x180075c37
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_Sleep]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, dword [rsp + 0x150]
mov rdx, qword [rsp + 0x148]
mov rax, qword [rsp + 0x140]
mov rcx, qword [rax + 0x40]
call qword [sym.imp.WS2_32.dll_sendto]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jl 0x180075c1f
jmp 0x180075c37
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x30], eax
cmp dword [rsp + 0x30], 0x2733
je 0x180075c35
jmp 0x180075c37
jmp 0x180075bba
cmp dword [rsp + 0x34], 0
jge 0x180075d4d
cmp dword [rsp + 0x30], 0x2733
je 0x180075d4d
lea rcx, [rsp + 0xb0]
call fcn.180019620
nop
mov dword [rsp + 0xb0], 3
mov eax, dword [rsp + 0x30]
mov dword [rsp + 0xb4], eax
mov byte [rsp + 0xb8], 1
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0xe0]
call fcn.18001db00
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x58], rax
mov r8, qword [rsp + 0x58]
lea rdx, str.sendto_error:
lea rcx, [rsp + 0x100]
call fcn.18000df20
mov qword [rsp + 0x48], rax
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0xc0]
call fcn.18000e300
lea rcx, [rsp + 0x100]
call fcn.180007220
nop
lea rcx, [rsp + 0xe0]
call fcn.180007220
mov rax, qword [rsp + 0x140]
movzx eax, byte [rax + 0x49]
test eax, eax
jne 0x180075d40
mov rax, qword [rsp + 0x140]
cmp qword [rax + 0x18], 0
je 0x180075d40
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0xb0]
mov rcx, qword [rsp + 0x40]
call fcn.1800195b0
mov qword [rsp + 0x60], rax
mov rdx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x140]
mov rax, qword [rsp + 0x140]
call qword [rax + 0x18]
nop
lea rcx, [rsp + 0xb0]
call fcn.180019bc0
mov rax, qword [rsp + 0x140]
add rax, 0x78
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.18007e510
add rsp, 0x138
ret