Function at 0x1800a2ba0
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.1800b7d60
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.18020d280
lea rdi, [rbp + 0x27d0]
call fcn.1800938b0
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.18021356c
cmp esi, 8
jne 0x1800a2c44
cmp byte [0x1804b7560], r14b
je 0x1800a3040
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, [0x18032b09c]
xor ecx, ecx
call fcn.180214cd4
cmp byte [0x1804b7640], r14b
jne 0x1800a2c72
call fcn.1800a34f0
cmp dword [0x1804b7638], r14d
jne 0x1800a2c87
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1804b7638], eax
cmp dword [section..data], 0xffffffff
jne 0x1800a2ca5
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.1800a2ab0
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1010]
call fcn.18020d280
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 [0x1804b7638]
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.180093930
lea rax, [rbp + 0x1010]
mov rdx, rdi
nop
inc rdx
cmp byte [rax + rdx], r14b
jne 0x1800a2d80
lea rcx, [rbp + 0x1010]
call fcn.1800a3660
mov eax, dword [0x1804b768c]
test al, 1
jne 0x1800a2dc1
or eax, 1
mov dword [0x1804b768c], eax
lea rcx, [0x1804b7688]
call fcn.1800b0970
lea rcx, [0x1803298c0]
call fcn.1800b7530
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 0x1800a2ddc
mov r8, r14
jmp 0x1800a2ded
lea rax, [rbp + 0x10]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1800a2de3
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.180085e80
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.180085f30
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.1800add10
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1010]
call fcn.18020d280
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 [0x1804b7638]
mov dword [rsp + 0x38], eax
mov eax, dword [section..data]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
lea rax, [0x1804b7640]
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.180093930
lea rax, [rbp + 0x1014]
nop
lea rdi, [rdi + 1]
cmp byte [rax + rdi], 0
jne 0x1800a2eb0
mov rbx, qword [0x1804b7660]
test rbx, rbx
jne 0x1800a2f59
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 0x1800a2f84
xor eax, eax
mov qword [0x1804b7668], rax
mov qword [0x1804b7670], rax
mov word [0x1804b7668], si
mov ecx, 0x1999
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1804b766a], ax
lea rcx, str.127.0.0.1
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x1804b766c], 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 0x1800a2f84
mov qword [0x1804b7660], rbx
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x1804b7668]
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 0x1800a2fda
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x1800a2fd5
test cl, 0x1f
je 0x1800a2fa8
call fcn.18020ee30
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800a2fb7
call fcn.18020ee30
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800a2fc6
call fcn.18020ee30
int3
cmp rcx, 0x27
jbe 0x1800a2fd2
call fcn.18020ee30
int3
mov rcx, rax
call fcn.1800b7138
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 0x1800a3040
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, 0x1000
jb 0x1800a303b
test cl, 0x1f
je 0x1800a300e
call fcn.18020ee30
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800a301d
call fcn.18020ee30
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800a302c
call fcn.18020ee30
int3
cmp rcx, 0x27
jbe 0x1800a3038
call fcn.18020ee30
int3
mov rcx, rax
call fcn.1800b7138
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.1800b7d20
add rsp, 0x2890
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret