Function at 0x140002a50
Capabilities:
Download url
Get common file path
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0xe8]
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x140011040]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, rdx
mov r12, rcx
lea rdx, [rbp - 0x80]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x140002d7e
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
lea rax, [rbp - 0x80]
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rax + rbx], 0
jne 0x140002ac3
movabs rdi, 0x7fffffffffffffff
cmp rbx, rdi
ja 0x140002db3
cmp rbx, 0xf
ja 0x140002b0e
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], 0xf
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsp + rbx + 0x30], 0
jmp 0x140002ba8
mov rax, rbx
or rax, 0xf
cmp rax, rdi
jbe 0x140002b43
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.14000ab90
test rax, rax
je 0x140002b6e
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140002b86
mov rdi, rax
mov ecx, 0x16
cmp rax, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x140002b75
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002db9
jmp 0x140002b28
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x140002b84
call fcn.14000ab90
mov rsi, rax
jmp 0x140002b86
xor esi, esi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], rdi
mov r8, rbx
lea rdx, [rbp - 0x80]
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
mov byte [rsi + rbx], 0
mov rcx, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x48]
mov rax, rdx
sub rax, rcx
cmp rax, 0x14
jb 0x140002bf9
lea rax, [rcx + 0x14]
mov qword [rsp + 0x40], rax
lea rbx, [rsp + 0x30]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x30]
add rbx, rcx
mov r8d, 0x14
lea rdx, str.ByDyePos_CatHack.dll
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x14], 0
lea rax, [rsp + 0x30]
jmp 0x140002c18
mov qword [rsp + 0x20], 0x14
lea r9, str.ByDyePos_CatHack.dll
mov edx, 0x14
lea rcx, [rsp + 0x30]
call fcn.14000a0a0
movups xmm7, xmmword [rax]
movups xmmword [rsp + 0x58], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm6
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140002c7c
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002c77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14000aedc
movdqa xmm0, xmmword [0x14000da20]
movdqu xmmword [rsp + 0x40], xmm0
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x58]
cmp r14, rax
je 0x140002cf7
lea r9, [rsp + 0x58]
movq rdi, xmm7
movdqa xmm0, xmm6
psrldq xmm0, 8
movq rsi, xmm0
cmp rsi, 0xf
cmova r9, rdi
mov rax, qword [r14 + 0x18]
movq rbx, xmm6
cmp rbx, rax
ja 0x140002cec
mov r15, r14
cmp rax, 0xf
jbe 0x140002cd3
mov r15, qword [r14]
mov qword [r14 + 0x10], rbx
mov r8, rbx
mov rdx, r9
mov rcx, r15
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + r15], 0
jmp 0x140002d01
mov rdx, rbx
mov rcx, r14
call fcn.14000a4a0
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x70]
cmp qword [r14 + 0x18], 0xf
jbe 0x140002d0b
mov r14, qword [r14]
cmp qword [r12 + 0x18], 0xf
jbe 0x140002d17
mov r12, qword [r12]
mov qword [rsp + 0x20], 0
xor r9d, r9d
mov r8, r14
mov rdx, r12
xor ecx, ecx
call qword [sym.imp.urlmon.dll_URLDownloadToFileA]
mov ebx, eax
test eax, eax
jns 0x140002d3b
xor bl, bl
jmp 0x140002d41
shr ebx, 0x1f
xor bl, 1
cmp rsi, 0xf
jbe 0x140002d7b
lea rdx, [rsi + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140002d73
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140002d73
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14000aedc
movzx eax, bl
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14000ab70
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.140001540
int3
call fcn.1400014a0
int3