Function at 0x18006e0a0
Capabilities:
Resolve function by parsing pe exports
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x2a8
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov rax, qword [0x1800f8370]
xor rax, rsp
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x2b0]
movzx eax, byte [rax + 0x8d]
test eax, eax
je 0x18006e0e2
jmp 0x18006e781
mov rax, qword [rsp + 0x2b0]
add rax, 0xc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x20], 1
mov byte [rsp + 0x21], 0
mov rax, qword [rsp + 0x2b0]
cmp dword [rax + 0x120], 0
jg 0x18006e131
mov rax, qword [rsp + 0x2b0]
add rax, 0x138
mov rcx, rax
call fcn.1800705b0
movzx eax, al
test eax, eax
jne 0x18006e136
mov byte [rsp + 0x21], 1
mov dword [rsp + 0x2c], 0
mov rax, qword [rsp + 0x2b0]
cmp dword [rax + 0x120], 0
jle 0x18006e36d
xor r9d, r9d
mov rax, qword [rsp + 0x2b0]
mov r8d, dword [rax + 0x120]
mov rax, qword [rsp + 0x2b0]
mov rdx, qword [rax + 0x130]
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x28], eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x28], 0
jle 0x18006e224
mov rax, qword [rsp + 0x2b0]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax + 0x120]
sub eax, ecx
mov rcx, qword [rsp + 0x2b0]
mov dword [rcx + 0x120], eax
mov eax, dword [rsp + 0x28]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
mov rax, qword [rsp + 0x2b0]
cmp dword [rax + 0x120], 0
jle 0x18006e21f
mov rax, qword [rsp + 0x2b0]
movsxd rax, dword [rax + 0x120]
movsxd rcx, dword [rsp + 0x28]
mov rdx, qword [rsp + 0x2b0]
add rcx, qword [rdx + 0x130]
mov r8, rax
mov rdx, rcx
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rax + 0x130]
call fcn.18007cf80
jmp 0x18006e368
cmp dword [rsp + 0x28], 0
je 0x18006e244
cmp dword [rsp + 0x28], 0xffffffff
jne 0x18006e361
cmp dword [rsp + 0x38], 0x2733
je 0x18006e361
lea rcx, [rsp + 0x1b8]
call fcn.180019620
nop
mov dword [rsp + 0x1b8], 3
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x1bc], eax
mov byte [rsp + 0x1c0], 1
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0x218]
call fcn.18001db00
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xd0], rax
mov r8, qword [rsp + 0xd0]
lea rdx, [0x1800d0430]
lea rcx, [rsp + 0x278]
call fcn.18000df20
mov qword [rsp + 0x68], rax
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x1c8]
call fcn.18000e300
lea rcx, [rsp + 0x278]
call fcn.180007220
nop
lea rcx, [rsp + 0x218]
call fcn.180007220
mov rax, qword [rsp + 0x2b0]
movzx eax, byte [rax + 0x8d]
test eax, eax
jne 0x18006e34b
mov rax, qword [rsp + 0x2b0]
cmp qword [rax + 0x28], 0
je 0x18006e34b
lea rax, [rsp + 0x158]
mov qword [rsp + 0xc8], rax
lea rdx, [rsp + 0x1b8]
mov rcx, qword [rsp + 0xc8]
call fcn.1800195b0
mov qword [rsp + 0x78], rax
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x2b0]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0x28]
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x1b8]
call fcn.180019bc0
jmp 0x18006e36d
mov byte [rsp + 0x20], 0
jmp 0x18006e36d
jmp 0x18006e13e
movzx eax, byte [rsp + 0x20]
test eax, eax
je 0x18006e71c
mov rax, qword [rsp + 0x2b0]
add rax, 0x138
mov rcx, rax
call fcn.1800705b0
movzx eax, al
test eax, eax
jne 0x18006e71c
lea rcx, [rsp + 0x40]
call fcn.18006ed30
nop
mov rax, qword [rsp + 0x2b0]
add rax, 0x138
lea rdx, [rsp + 0x110]
mov rcx, rax
call fcn.18006f2a0
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0x40]
call fcn.18006ee60
nop
lea rcx, [rsp + 0x110]
call fcn.180023f80
mov rax, qword [rsp + 0x2b0]
add rax, 0x138
lea rdx, [rsp + 0xf8]
mov rcx, rax
call fcn.18006f2d0
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x40]
call fcn.18006eee0
mov byte [rsp + 0x22], al
lea rcx, [rsp + 0xf8]
call fcn.180023f80
movzx eax, byte [rsp + 0x22]
test eax, eax
je 0x18006e712
lea rcx, [rsp + 0x40]
call fcn.180024140
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xc], 0
jle 0x18006e655
mov rax, qword [rsp + 0x30]
movsxd rax, dword [rax + 8]
mov rcx, qword [rsp + 0x30]
add rax, qword [rcx]
xor r9d, r9d
mov rcx, qword [rsp + 0x30]
mov r8d, dword [rcx + 0xc]
mov rdx, rax
mov rax, qword [rsp + 0x2b0]
mov rcx, qword [rax + 0x50]
call qword [sym.imp.WS2_32.dll_send]
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x3c], eax
cmp dword [rsp + 0x24], 0
jle 0x18006e506
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 8]
add eax, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 8], eax
mov rax, qword [rsp + 0x30]
mov ecx, dword [rsp + 0x24]
mov eax, dword [rax + 0xc]
sub eax, ecx
mov rcx, qword [rsp + 0x30]
mov dword [rcx + 0xc], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x2c]
add ecx, eax
mov eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x18006e650
cmp dword [rsp + 0x24], 0
je 0x18006e526
cmp dword [rsp + 0x24], 0xffffffff
jne 0x18006e649
cmp dword [rsp + 0x3c], 0x2733
je 0x18006e649
lea rcx, [rsp + 0x1e8]
call fcn.180019620
nop
mov dword [rsp + 0x1e8], 3
mov eax, dword [rsp + 0x3c]
mov dword [rsp + 0x1ec], eax
mov byte [rsp + 0x1f0], 1
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x238]
call fcn.18001db00
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xe0], rax
mov r8, qword [rsp + 0xe0]
lea rdx, str.send_error:
lea rcx, [rsp + 0x258]
call fcn.18000df20
mov qword [rsp + 0x58], rax
mov rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x1f8]
call fcn.18000e300
lea rcx, [rsp + 0x258]
call fcn.180007220
nop
lea rcx, [rsp + 0x238]
call fcn.180007220
mov rax, qword [rsp + 0x2b0]
movzx eax, byte [rax + 0x8d]
test eax, eax
jne 0x18006e633
mov rax, qword [rsp + 0x2b0]
cmp qword [rax + 0x28], 0
je 0x18006e633
lea rax, [rsp + 0x188]
mov qword [rsp + 0x80], rax
lea rdx, [rsp + 0x1e8]
mov rcx, qword [rsp + 0x80]
call fcn.1800195b0
mov qword [rsp + 0x88], rax
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x2b0]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0x28]
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x1e8]
call fcn.180019bc0
jmp 0x18006e655
mov byte [rsp + 0x20], 0
jmp 0x18006e655
jmp 0x18006e471
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0xc], 0
jne 0x18006e702
lea rcx, [rsp + 0x40]
call fcn.1800240c0
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
mov rcx, qword [rsp + 0x98]
call fcn.18007dc68
lea rax, [rsp + 0x140]
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0xa8]
call fcn.18006ec30
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0x2b0]
add rax, 0x138
mov r8, qword [rsp + 0xb8]
lea rdx, [rsp + 0x128]
mov rcx, rax
call fcn.18006f730
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.18006ee60
nop
lea rcx, [rsp + 0x128]
call fcn.180023f80
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x18006e70d
jmp 0x18006e712
jmp 0x18006e3fc
lea rcx, [rsp + 0x40]
call fcn.180023f80
mov rax, qword [rsp + 0x2b0]
add rax, 0xc0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movzx eax, byte [rsp + 0x21]
test eax, eax
je 0x18006e781
mov rax, qword [rsp + 0x2b0]
cmp dword [rax + 0x120], 0
jne 0x18006e781
mov rax, qword [rsp + 0x2b0]
add rax, 0x138
mov rcx, rax
call fcn.1800705b0
movzx eax, al
test eax, eax
je 0x18006e781
mov edx, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x2b0]
mov rax, qword [rsp + 0x2b0]
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x298]
xor rcx, rsp
call fcn.18007e510
add rsp, 0x2a8
ret