Function at 0x1800a2ce0
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.1800b8180
sub rsp, rax
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1804a20e0]
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.18020fe90
lea rdi, [rbp + 0x27d0]
call fcn.1800938a0
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.1802160ec
cmp esi, 8
jne 0x1800a2d84
cmp byte [0x1804bcef8], r14b
je 0x1800a3180
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, [0x18032e104]
xor ecx, ecx
call fcn.180217854
cmp byte [0x1804bcfd0], r14b
jne 0x1800a2db2
call fcn.1800a3630
cmp dword [0x1804bcfc8], r14d
jne 0x1800a2dc7
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x1804bcfc8], eax
cmp dword [section..data], 0xffffffff
jne 0x1800a2de5
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.1800a2bf0
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1010]
call fcn.18020fe90
lea rbx, [0x1804a2010]
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 [0x1804bcfc8]
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.180093920
lea rax, [rbp + 0x1010]
mov rdx, rdi
nop
inc rdx
cmp byte [rax + rdx], r14b
jne 0x1800a2ec0
lea rcx, [rbp + 0x1010]
call fcn.1800a37a0
mov eax, dword [0x1804bd014]
test al, 1
jne 0x1800a2f01
or eax, 1
mov dword [0x1804bd014], eax
lea rcx, [0x1804bd010]
call fcn.1800b0d60
lea rcx, [0x18032c7d0]
call fcn.1800b794c
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 0x1800a2f1c
mov r8, r14
jmp 0x1800a2f2d
lea rax, [rbp + 0x10]
mov r8, rdi
inc r8
cmp byte [rax + r8], 0
jne 0x1800a2f23
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x50]
call fcn.180085e70
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.180085f20
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x70]
call fcn.1800ae180
xor edx, edx
mov r8d, 0x1770
lea rcx, [rbp + 0x1010]
call fcn.18020fe90
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 [0x1804bcfc8]
mov dword [rsp + 0x38], eax
mov eax, dword [section..data]
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], esi
lea rax, [0x1804bcfd0]
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.180093920
lea rax, [rbp + 0x1014]
nop
lea rdi, [rdi + 1]
cmp byte [rax + rdi], 0
jne 0x1800a2ff0
mov rbx, qword [0x1804bcff0]
test rbx, rbx
jne 0x1800a3099
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 0x1800a30c4
xor eax, eax
mov qword [0x1804bcff8], rax
mov qword [0x1804bd000], rax
mov word [0x1804bcff8], si
mov ecx, 0x1999
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x1804bcffa], ax
lea rcx, str.127.0.0.1
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x1804bcffc], 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 0x1800a30c4
mov qword [0x1804bcff0], rbx
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x1804bcff8]
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 0x1800a311a
inc rax
mov rcx, qword [rbp - 0x70]
cmp rax, 0x1000
jb 0x1800a3115
test cl, 0x1f
je 0x1800a30e8
call fcn.1802119b4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800a30f7
call fcn.1802119b4
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800a3106
call fcn.1802119b4
int3
cmp rcx, 0x27
jbe 0x1800a3112
call fcn.1802119b4
int3
mov rcx, rax
call fcn.1800b7554
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 0x1800a3180
inc rax
mov rcx, qword [rbp - 0x50]
cmp rax, 0x1000
jb 0x1800a317b
test cl, 0x1f
je 0x1800a314e
call fcn.1802119b4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800a315d
call fcn.1802119b4
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800a316c
call fcn.1802119b4
int3
cmp rcx, 0x27
jbe 0x1800a3178
call fcn.1802119b4
int3
mov rcx, rax
call fcn.1800b7554
mov rcx, qword [rbp + 0x2780]
xor rcx, rsp
call fcn.1800b8140
add rsp, 0x2890
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret