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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x1400f8010]
xor rax, rsp
mov qword [rbp - 8], rax
mov r13, rdx
mov r14, rcx
mov qword [rbp - 0x30], rdx
mov dword [rbp - 0x28], r8d
xor esi, esi
mov r15d, esi
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x10], 0x1fa
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov rbx, qword [rdx]
mov rcx, rbx
call fcn.140002730
mov dword [rbp - 0x48], eax
movsxd rcx, eax
call fcn.14003dc68
mov rdi, rax
lea r8, [rbp - 0x48]
mov rdx, rax
mov rcx, rbx
call fcn.1400027e0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
test eax, eax
je 0x140037c31
movzx r8d, byte [rbp - 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x20]
call fcn.1400047b0
nop
lea rdi, [r14 + 0x78]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
inc dword [rdi + 0x28]
lea rcx, [r14 + 0xf8]
lea rdx, [rbp - 0x28]
call fcn.140037ff0
mov r12d, dword [rbp - 0x48]
lea rdx, [rbp - 0x28]
cmp dword [rax], 0
je 0x140037cfe
mov dword [rbp - 0x4c], r12d
lea rcx, [r14 + 0x138]
call fcn.140037e50
lea r8, [rbp - 0x4c]
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rax]
call fcn.140001990
mov r15, rax
mov eax, dword [rbp - 0x4c]
mov dword [rbp - 0xc], eax
lea rax, [r14 + 8]
mov qword [rbp - 0x40], rax
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140038140
mov r14, qword [rax]
mov ebx, esi
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
nop dword [rax]
mov r8d, 8
sub r8d, ebx
movsxd rax, ebx
lea rdx, [rbp - 0x10]
add rdx, rax
xor r9d, r9d
mov rcx, qword [r14 + 8]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x140037d6e
add ebx, eax
cmp ebx, 8
jne 0x140037cb0
test r15, r15
je 0x140037d6b
lea rdx, [rbp - 0x28]
mov rcx, qword [rbp - 0x40]
call fcn.140038140
mov r8d, dword [rbp - 0x4c]
mov rdx, r15
jmp 0x140037d5f
mov dword [rbp - 0xc], r12d
lea rax, [r14 + 8]
mov qword [rbp - 0x40], rax
mov rcx, rax
call fcn.140038140
mov r14, qword [rax]
mov ebx, esi
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
nop
mov r8d, 8
sub r8d, ebx
movsxd rax, ebx
lea rdx, [rbp - 0x10]
add rdx, rax
xor r9d, r9d
mov rcx, qword [r14 + 8]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x140037d6e
add ebx, eax
cmp ebx, 8
jne 0x140037d20
lea rdx, [rbp - 0x28]
mov rcx, qword [rbp - 0x40]
call fcn.140038140
mov r8d, r12d
mov rdx, qword [rbp - 0x20]
mov rcx, qword [rax]
call fcn.140034240
test eax, eax
je 0x140037d6e
mov esi, r12d
dec dword [rdi + 0x28]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
test r15, r15
je 0x140037d8d
mov edx, 1
mov rcx, r15
call fcn.14003dc60
nop
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140037dc8
mov edi, 0xffffffff
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140037dc8
mov rbx, qword [rbp - 0x18]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140037dc8
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [r13]
call fcn.140002660
mov rbx, qword [r13]
test rbx, rbx
je 0x140037e06
mov r9, qword [rbx]
mov r8, qword [r9]
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.140003680
mov edx, 0x48
mov rcx, qword [rbx]
call fcn.14003dc60
mov edx, 0x18
mov rcx, rbx
call fcn.14003dc60
mov eax, esi
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14003d6b0
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret