Function at 0x1400642a0
Capabilities:
Download and write a file
Receive and write data from server to client
Receive data
Receive data on socket
Send data
Send data on socket
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14016e080]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor r14d, r14d
mov ebx, dword [0x14033ffdc]
mov esi, dword [0x140340054]
movzx eax, byte [0x14037f464]
test al, al
jne 0x1400644a3
cmp qword [0x14033f820], 0xffffffffffffffff
je 0x14006458c
mov edx, ebx
lea rcx, [rbp - 8]
call fcn.140061860
mov rdi, rax
mov edx, esi
lea rcx, [rbp - 0x28]
call fcn.140061860
mov rbx, rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
lea r8d, [r14 + 8]
lea rdx, str.km.move_
lea rcx, [rsp + 0x58]
call fcn.14000c2b0
nop
mov r9, rbx
lea r8, [rsp + 0x58]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x48]
call fcn.14000c560
nop
lea r8d, [r14 + 1]
lea rdx, [0x1401507b8]
lea rcx, [rbp - 0x48]
call fcn.14000beb0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
mov r9, rdi
lea r8, [rsp + 0x78]
movzx edx, byte [rsp + 0x30]
lea rcx, [rbp - 0x68]
call fcn.14000c560
nop
lea r8d, [r14 + 1]
lea rdx, reloc.WLDAP32.dll_Ordinal_41
lea rcx, [rbp - 0x68]
call fcn.14000beb0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
lea r8d, [r14 + 2]
lea rdx, [0x14014ef3c]
lea rcx, [rsp + 0x38]
call fcn.14000beb0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x30], xmm1
mov qword [rax + 0x10], r14
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r14b
lea rcx, [rsp + 0x38]
call fcn.14000bc30
nop
lea rcx, [rbp - 0x68]
call fcn.14000bc30
nop
lea rcx, [rsp + 0x78]
call fcn.14000bc30
nop
lea rcx, [rbp - 0x48]
call fcn.14000bc30
nop
lea rcx, [rsp + 0x58]
call fcn.14000bc30
nop
lea rcx, [rbp - 0x28]
call fcn.14000bc30
nop
lea rcx, [rbp - 8]
call fcn.14000bc30
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
mov qword [rsp + 0x20], r14
xor r9d, r9d
mov r8d, dword [rbp + 0x30]
mov rcx, qword [0x14033f820]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rcx, [rbp + 0x20]
call fcn.14000bc30
jmp 0x14006458c
cmp al, 1
jne 0x14006458c
cmp qword [0x140341290], r14
jbe 0x14006458c
inc dword [0x14033fb58]
mov dword [0x14033fb5c], 0xaede7345
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
mov dword [0x14033fb54], eax
movsx eax, si
mov dword [0x14033f7ec], eax
movsx eax, bx
mov dword [0x14033f7f0], eax
movups xmm0, xmmword [0x14033f7e8]
movaps xmmword [0x14033fb60], xmm0
movups xmm1, xmmword [0x14033f7f8]
movaps xmmword [0x14033fb70], xmm1
movups xmm0, xmmword [0x14033f808]
movaps xmmword [0x14033fb80], xmm0
movsd xmm1, qword [0x14033f818]
movsd qword [0x14033fb90], xmm1
mov dword [rsp + 0x28], reloc.WS2_32.dll_recv
lea rax, [0x140340c18]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x48]
lea rdx, [0x14033fb50]
mov rcx, qword [0x140341290]
call qword [sym.imp.WS2_32.dll_sendto]
mov qword [0x14033f7ec], r14
mov dword [rbp + 0x18], reloc.WS2_32.dll_recv
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x400
lea rdx, [0x140340400]
mov rcx, qword [0x140341290]
call qword [sym.imp.WS2_32.dll_recvfrom]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.140114480
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret