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

Disassembly:
jmp 0x180092640
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov rax, qword [rsp + 0x88]
lea r14, [rdx + 0x40]
mov qword [rdx + 0x70], rax
xorps xmm0, xmm0
mov dword [rdx + 8], 3
mov r15, r9
mov qword [rdx + 0x80], r8
mov rdi, r8
movups xmmword [r14], xmm0
mov rbx, rdx
mov rsi, rcx
movups xmmword [r14 + 0x10], xmm0
test dword [r8 + 0x58], 0x100000
je 0x1800926c6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbx + 0xa0], rax
test rax, rax
je 0x1800928fe
or rax, 1
mov qword [rbx + 0xa8], 0xffffffffffffffff
mov qword [rbx + 0x58], rax
mov r8d, dword [rsp + 0x80]
lea r9, [rsp + 0x88]
mov rcx, qword [rdi + 0x110]
mov rdx, r15
mov qword [rsp + 0x60], r12
xor r12d, r12d
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], r12d
call qword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x180092780
test dword [rdi + 0x58], 0x40000
je 0x18009280b
mov qword [rbx + 0x60], r12
mov ecx, dword [rdi + 0x7c]
inc dword [rdi + 0x78]
inc dword [rdi + 0x100]
lea eax, [rcx + 1]
mov dword [rdi + 0x7c], eax
test ecx, ecx
jne 0x180092740
mov eax, dword [rdi + 0x58]
test al, 0x40
jne 0x180092740
or eax, 0x40
mov dword [rdi + 0x58], eax
test al, 0x20
je 0x180092740
mov rax, qword [rdi + 8]
inc dword [rax + 8]
lea rcx, [rbx + 0x10]
lea rax, [rsi + 0x20]
mov qword [rcx], rax
mov rax, qword [rsi + 0x28]
mov qword [rbx + 0x18], rax
mov qword [rax], rcx
mov qword [rsi + 0x28], rcx
mov qword [rbx + 0x68], r12
mov rax, qword [rsi + 0x48]
test rax, rax
je 0x1800928db
mov rax, qword [rax + 0x68]
mov qword [rbx + 0x68], rax
mov rax, qword [rsi + 0x48]
mov qword [rax + 0x68], rbx
jmp 0x1800928df
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x18009280b
mov qword [rbx + 0x60], r12
mov ecx, dword [rdi + 0x7c]
inc dword [rdi + 0x78]
inc dword [rdi + 0x100]
lea eax, [rcx + 1]
mov dword [rdi + 0x7c], eax
test ecx, ecx
jne 0x1800927bf
mov eax, dword [rdi + 0x58]
test al, 0x40
jne 0x1800927bf
or eax, 0x40
mov dword [rdi + 0x58], eax
test al, 0x20
je 0x1800927bf
mov rax, qword [rdi + 8]
inc dword [rax + 8]
lea rcx, [rbx + 0x10]
lea rax, [rsi + 0x20]
mov qword [rcx], rax
mov rax, qword [rsi + 0x28]
mov qword [rbx + 0x18], rax
mov qword [rax], rcx
mov qword [rsi + 0x28], rcx
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test eax, eax
jg 0x1800927f3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cdqe
mov qword [r14], rax
jmp 0x18009275a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [r14], rax
jmp 0x18009275a
mov edx, dword [rsp + 0x80]
mov rcx, r15
call fcn.18000391d
mov qword [rbx + 0x60], rax
mov ecx, dword [rdi + 0x7c]
inc dword [rdi + 0x78]
inc dword [rdi + 0x100]
lea eax, [rcx + 1]
mov dword [rdi + 0x7c], eax
test ecx, ecx
jne 0x18009284c
mov eax, dword [rdi + 0x58]
test al, 0x40
jne 0x18009284c
or eax, 0x40
mov dword [rdi + 0x58], eax
test al, 0x20
je 0x18009284c
mov rax, qword [rdi + 8]
inc dword [rax + 8]
lea rcx, [rbx + 0x10]
lea rax, [rsi + 0x20]
mov qword [rcx], rax
mov rax, qword [rsi + 0x28]
mov qword [rbx + 0x18], rax
mov qword [rax], rcx
mov qword [rsi + 0x28], rcx
mov rax, qword [rbx + 0x60]
add qword [rdi + 0x60], rax
test dword [rdi + 0x58], 0x100000
je 0x1800928e3
mov rdx, qword [rbx + 0xa0]
lea rcx, [rbx + 0xa8]
mov dword [rsp + 0x28], select
lea r8, [0x18008fdd0]
mov r9, rbx
mov dword [rsp + 0x20], 0xffffffff
call qword [sym.imp.KERNEL32.dll_RegisterWaitForSingleObject]
test eax, eax
jne 0x1800928e3
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jg 0x1800928c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cdqe
mov qword [r14], rax
jmp 0x18009275a
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx eax, ax
or eax, 0x80070000
cdqe
mov qword [r14], rax
jmp 0x18009275a
mov qword [rbx + 0x68], rbx
mov qword [rsi + 0x48], rbx
mov r12, qword [rsp + 0x60]
xor eax, eax
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
lea rdx, str.CreateEvent
call fcn.180002982
int3