Function at 0x1800a2b80
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x2790]
mov eax, 0x2890
call fcn.1800b8100
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x18049d0e0]
xor rax, rsp
mov qword [rbp + 0x2780], rax
mov rbx, rdx
movsxd rsi, ecx
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x10]
call fcn.18020d410
lea rdi, [rbp + 0x27d0]
call fcn.180093880
mov qword [rsp + 0x30], rdi
xor r14d, r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rbx
or rdi, 0xffffffffffffffff
mov r9, rdi
mov r8d, 0x1000
lea rdx, [rbp + 0x10]
mov rcx, qword [rax]
call fcn.18021366c
cmp esi, 8
jne 0x1800a2c24
cmp byte [0x1804b7570], r14b
je 0x1800a3020
mov word [rbp - 0x80], r14w
xor eax, eax
mov qword [rbp - 0x7e], rax
mov dword [rbp - 0x76], eax
mov word [rbp - 0x72], ax
lea rdx, [0x18032b0dc]
xor ecx, ecx
call fcn.180214dd4
cmp byte [0x1804b7650], r14b
jne 0x1800a2c52
call fcn.1800a34d0
cmp dword [0x1804b7648], r14d
jne 0x1800a2c67
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1804b7648], eax
cmp dword [section..data], 0xffffffff
jne 0x1800a2c85
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
lea rdx, section..data
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
movzx eax, word [rbp - 0x74]
movzx ecx, word [rbp - 0x76]
movzx edx, word [rbp - 0x78]
movzx r10d, word [rbp - 0x7a]
movzx r9d, word [rbp - 0x7e]
movzx r8d, word [rbp - 0x80]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str._04u__02u__02u__02u:_02u:_02u
lea rcx, [rbp - 0x30]
call fcn.1800a2a90
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1010]
call fcn.18020d410
lea rbx, [0x18049d010]
mov rbx, qword [rbx + rsi*8]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov dword [rsp + 0x38], eax
mov eax, dword [0x1804b7648]
mov dword [rsp + 0x30], eax
mov eax, dword [section..data]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x30]
lea r8, str._time_:__s____level_:__s____wsid_:_d___pid_:_d___tid_:_d__content_:__s__n
mov edx, 0x1770
lea rcx, [rbp + 0x1010]
call fcn.180093900
lea rax, [rbp + 0x1010]
mov rdx, rdi
nop
inc rdx
cmp byte [rax + rdx], r14b
jne 0x1800a2d60
lea rcx, [rbp + 0x1010]
call fcn.1800a3640
mov eax, dword [0x1804b769c]
test al, 1
jne 0x1800a2da1
or eax, 1
mov dword [0x1804b769c], eax
lea rcx, [0x1804b7698]
call fcn.1800b0ce0
lea rcx, [0x1803299d0]
call fcn.1800b78c4
nop
mov qword [rbp - 0x38], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x40], r14
mov byte [rbp - 0x50], 0
cmp byte [rbp + 0x10], 0
jne 0x1800a2dbc
mov r8, r14
jmp 0x1800a2dcd
lea rax, [rbp + 0x10]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1800a2dc3
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.180085e50
nop
mov qword [rsp + 0x70], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], r14
mov byte [rsp + 0x58], 0
mov r9, rdi
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x58]
call fcn.180085f00
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.1800ae000
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1010]
call fcn.18020d410
mov dword [rbp + 0x1010], esi
lea rbx, [rbp - 0x70]
cmp qword [rbp - 0x58], 0x10
cmovae rbx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], eax
mov eax, dword [0x1804b7648]
mov dword [rsp + 0x38], eax
mov eax, dword [section..data]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
lea rax, [0x1804b7650]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x30]
lea r8, str._time_:__s____mod_:__s____level_:_d___wsid_:_d___pid_:_d___tid_:_d__content_:__s_
mov edx, 0x176b
lea rcx, [rbp + 0x1014]
call fcn.180093900
lea rax, [rbp + 0x1014]
nop
lea rdi, [rdi + 1]
cmp byte [rax + rdi], 0
jne 0x1800a2e90
mov rbx, qword [0x1804b7670]
test rbx, rbx
jne 0x1800a2f39
xor r8d, r8d
mov esi, 2
mov edx, esi
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800a2f64
xor eax, eax
mov qword [0x1804b7678], rax
mov qword [0x1804b7680], rax
mov word [0x1804b7678], si
mov ecx, 0x1999
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1804b767a], ax
lea rcx, str.127.0.0.1
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x1804b767c], eax
mov dword [rsp + 0x50], 0x3e8
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 0x1005
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jne 0x1800a2f64
mov qword [0x1804b7670], rbx
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x1804b7678]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rdi + 4]
lea rdx, [rbp + 0x1010]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_sendto]
mov rax, qword [rbp - 0x58]
cmp rax, 0x10
jb 0x1800a2fba
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x1800a2fb5
test cl, 0x1f
je 0x1800a2f88
call fcn.18020ef34
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800a2f97
call fcn.18020ef34
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800a2fa6
call fcn.18020ef34
int3
cmp rcx, 0x27
jbe 0x1800a2fb2
call fcn.18020ef34
int3
mov rcx, rax
call fcn.1800b74cc
mov qword [rbp - 0x58], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x60], r14
mov byte [rbp - 0x70], 0
mov rax, qword [rbp - 0x38]
cmp rax, 0x10
jb 0x1800a3020
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, 0x1000
jb 0x1800a301b
test cl, 0x1f
je 0x1800a2fee
call fcn.18020ef34
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800a2ffd
call fcn.18020ef34
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800a300c
call fcn.18020ef34
int3
cmp rcx, 0x27
jbe 0x1800a3018
call fcn.18020ef34
int3
mov rcx, rax
call fcn.1800b74cc
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.1800b80c0
add rsp, 0x2890
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret