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

Disassembly:
push rdi
push r12
sub rsp, 0x88
mov rax, qword [0x140263a80]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp byte [r8], 0x44
mov r11, r8
mov r12, rdx
mov rdi, rcx
jne 0x14009f8b7
cmp byte [r8 + 1], 0x53
jne 0x14009f8b7
cmp byte [r8 + 2], 0x55
jne 0x14009f8b7
cmp byte [r8 + 3], 0x43
jne 0x14009f8b7
movzx eax, word [r8 + 4]
cmp ax, word [rcx]
jbe 0x14009f4f2
mov eax, 2
jmp 0x14009f5cb
movzx ecx, word [r8 + 6]
add cx, word [rdi + 2]
movzx eax, cx
cmp eax, r9d
jle 0x14009f50d
mov eax, 3
jmp 0x14009f5cb
mov r10d, dword [r8 + 8]
mov rdx, r11
mov dword [r8 + 8], 0
movzx r8d, cx
call fcn.14009ee00
cmp eax, r10d
je 0x14009f534
mov eax, 4
jmp 0x14009f5cb
mov ecx, dword [r11 + 0x10]
mov qword [rsp + 0xb8], rbx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
sub ecx, 0x100000
je 0x14009f86a
sub ecx, 1
je 0x14009f61e
cmp ecx, 1
jne 0x14009f8b0
movzx ebx, byte [r11 + 0x15]
cmp bl, 4
ja 0x14009f617
lea rcx, [rdi + 0x88]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rdi + 0xb8]
mov r14, qword [rdi + 0xb0]
sub rax, r14
sar rax, 3
cmp rax, rbx
ja 0x14009f5e3
lea rcx, [rdi + 0x88]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 7
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x78]
mov rbx, qword [rsp + 0xb8]
mov r15, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1401d0310
add rsp, 0x88
pop r12
pop rdi
ret
mov rax, qword [r14 + rbx*8]
mov ecx, reloc.WS2_32.dll_recv
mov byte [rax], bl
call fcn.1401d0330
movups xmm0, xmmword [r12]
movups xmmword [rax], xmm0
mov rcx, qword [r14 + rbx*8]
mov qword [rcx + 0xd8], rax
lea rcx, [rdi + 0x88]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
jmp 0x14009f5b4
mov eax, 6
jmp 0x14009f5b4
movsxd rax, dword [r11 + 0x14]
cmp eax, 4
ja 0x14009f860
xor r14d, r14d
mov r15, rax
test eax, eax
jle 0x14009f8b0
lea rax, [r11 + 0x18]
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x70], r13
nop
movzx ebx, byte [r14 + rax]
lea rcx, [rdi + 0x88]
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rdi + 0xb0]
mov rax, qword [rdi + 0xb8]
sub rax, rcx
mov byte [rsp + 0x40], bl
sar rax, 3
cmp rax, rbx
jbe 0x14009f6c6
mov rcx, qword [rcx + rbx*8]
test rcx, rcx
je 0x14009f6af
movzx eax, word [rcx + 8]
movsd xmm0, qword [rcx]
mov word [rsp + 0x48], ax
movzx eax, byte [rcx + 0xa]
mov byte [rsp + 0x4a], al
mov ebp, dword [rsp + 0x48]
jmp 0x14009f6cc
mov qword [rsp + 0x40], rbp
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
movsd xmm0, qword [rsp + 0x40]
lea rcx, [rdi + 0x88]
movsd qword [rsp + 0x30], xmm0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx ecx, word [rdi + 2]
movzx eax, word [rdi + 4]
add rcx, 0xc
add rcx, rax
cmp rcx, 0x64
jbe 0x14009f700
mov r8, 0xffffffffffffffff
jmp 0x14009f81d
lea rcx, [rdi + 0x24]
mov dword [rdi + 0x20], 0x53555344
test rcx, rcx
jne 0x14009f724
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x14009f72a
movzx eax, word [rdi]
mov word [rcx], ax
movzx eax, word [rdi + 4]
lea rcx, [rdi + 0x26]
add ax, 0xc
test rcx, rcx
jne 0x14009f74f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x14009f752
mov word [rcx], ax
xor eax, eax
lea rbx, [rdi + 0x28]
lea rcx, [rdi + 0x2c]
mov dword [rbx], eax
lea rax, [rdi + 0x1c]
test rcx, rcx
je 0x14009f78e
test rax, rax
je 0x14009f772
mov eax, dword [rax]
mov dword [rcx], eax
jmp 0x14009f7a0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rcx], xmm0
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movups xmmword [rcx + 0x30], xmm0
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
lea rax, [rdi + 0x30]
test rax, rax
jne 0x14009f7bd
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x14009f7c3
mov dword [rax], 0x100001
lea rax, [rdi + 0x34]
test rax, rax
jne 0x14009f7e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x14009f7ed
movsd xmm0, qword [rsp + 0x30]
movsd qword [rax], xmm0
mov dword [rax + 8], ebp
mov r8d, reloc.WLDAP32.dll_Ordinal_32
lea rdx, [rdi + 0x20]
call fcn.14009ee00
test rbx, rbx
jne 0x14009f815
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov dword [rax], reloc.WLDAP32.dll_Ordinal_22
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo]
jmp 0x14009f817
mov dword [rbx], eax
mov r8d, reloc.WLDAP32.dll_Ordinal_32
mov rcx, qword [rdi + 8]
lea rdx, [rdi + 0x20]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
xor r9d, r9d
mov qword [rsp + 0x20], r12
call qword [sym.imp.WS2_32.dll_sendto]
mov rax, qword [rsp + 0x38]
inc r14
cmp r14, r15
jl 0x14009f650
mov r13, qword [rsp + 0x70]
xor eax, eax
mov rbp, qword [rsp + 0x80]
jmp 0x14009f5b4
mov eax, 5
jmp 0x14009f5b4
mov qword [rsp + 0x28], 2
lea rdx, [rdi + 0x20]
mov r9d, 0x100000
mov qword [rsp + 0x20], rdi
mov rcx, rdi
call fcn.14009f8d0
test rax, rax
je 0x14009f8b0
mov rcx, qword [rdi + 8]
lea rdx, [rdi + 0x20]
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
xor r9d, r9d
mov r8d, eax
mov qword [rsp + 0x20], r12
call qword [sym.imp.WS2_32.dll_sendto]
xor eax, eax
jmp 0x14009f5b4
mov eax, 1
jmp 0x14009f5cb