Function at 0x140008a2c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov rax, qword [0x14009c218]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r14, rdx
mov rsi, rcx
mov qword [rbp - 0x59], rcx
and qword [rsp + 0x28], 0
and qword [rsp + 0x38], 0
movdqa xmm0, xmmword [0x14008d8a0]
movdqa xmm1, xmmword [0x14008d840]
movdqa xmm2, xmmword [0x14008d930]
movdqa xmm3, xmmword [0x14008d870]
movdqa xmm4, xmmword [0x14008d810]
mov r12d, 1
mov byte [rbp + 0x17], r12b
movaps xmmword [rbp - 0x39], xmm0
movaps xmmword [rbp - 0x29], xmm1
movaps xmmword [rbp - 0x19], xmm2
movaps xmmword [rbp - 9], xmm3
movaps xmmword [rbp + 7], xmm4
xor edx, edx
movabs r8, 0x1010133a59dbfed
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rbp + rdx - 0x39], al
add rdx, r12
cmp rdx, 0x50
jb 0x140008aba
mov byte [rbp + 0x17], 0
mov dword [rbp - 0x59], 0xd7fcdaaf
mov dword [rbp - 0x55], 0x24217356
mov word [rbp - 0x51], 0xbf9e
mov byte [rbp - 0x3f], r12b
movsd xmm0, qword [rbp - 0x59]
movsd qword [rbp - 0x49], xmm0
movzx eax, word [rbp - 0x51]
mov word [rbp - 0x41], ax
xor edx, edx
mov cl, dl
and cl, 7
shl cl, 3
mov rax, r8
shr rax, cl
xor byte [rbp + rdx - 0x49], al
add rdx, r12
cmp rdx, 0xa
jb 0x140008b05
mov byte [rbp - 0x3f], 0
lea rdx, [rbp - 0x49]
lea rcx, [rsp + 0x40]
call fcn.14001bba0
nop
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x59]
call fcn.14002aa40
mov r9, r12
lea r8, [rbp - 0x59]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.14001ebd0
lea r9, [fcn.14002abf0]
mov r8, r12
mov edx, 0x10
lea rcx, [rbp - 0x59]
call fcn.14005a5ec
nop
xor r9d, r9d
lea r8, [rsp + 0x20]
mov rdx, qword [0x1400a0208]
lea rcx, [rsp + 0x38]
call fcn.140009b1c
lea rcx, [rsp + 0x20]
call fcn.14001bff0
lea rdx, str.downloadFile_start___s__r_n
lea rcx, [rbp - 0x69]
call fcn.14001bba0
lea rdx, [0x14008d38c]
lea rcx, [rsp + 0x40]
call fcn.14003a080
nop
lea rcx, [rsp + 0x20]
call fcn.140042220
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140008c56
call fcn.140042200
cmp eax, 4
jg 0x140008c51
mov rbx, qword [rsp + 0x20]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x60]
mov rdx, r14
lea rcx, [rbp - 0x49]
call fcn.14002a860
mov r9, r12
lea r8, [rbp - 0x49]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.14001ebd0
lea r9, [fcn.14002abf0]
mov r8, r12
mov edx, 0x10
lea rcx, [rbp - 0x49]
call fcn.14005a5ec
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140039f00
nop
lea r9, [rbp - 0x79]
lea r8, [rsp + 0x40]
mov edx, 4
mov rcx, rbx
call rdi
nop
lea rcx, [rbp - 0x79]
call fcn.14003a200
nop
lea rcx, [rbp - 0x59]
call fcn.14001bff0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140008c61
call fcn.140027dd0
nop
lea rcx, [rsp + 0x40]
call fcn.14003a200
mov qword [rbp - 0x49], r12
and word [rbp - 0x3b], 0
lea r9, [rbp - 0x49]
lea r8, [rsp + 0x38]
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.140046250
nop
lea rcx, [rbp - 0x49]
call fcn.14002abf0
mov rcx, qword [rsp + 0x30]
call fcn.140045e50
cmp eax, 0xc8
jne 0x140008e15
lea rdx, [rbp - 0x59]
mov rcx, qword [rsp + 0x30]
call fcn.140045d70
mov rbx, rax
lea rax, [rsp + 0x28]
cmp rax, rbx
je 0x140008cdf
mov rdi, qword [rbx]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140008cd6
call fcn.140027dd0
mov qword [rsp + 0x28], rdi
and qword [rbx], 0
mov rcx, qword [rbp - 0x59]
test rcx, rcx
je 0x140008ced
call fcn.140027dd0
lea rcx, [rsp + 0x28]
call fcn.140012780
mov r14, rax
lea rdx, str.downloadFile___success__d__r_n
lea rcx, [rbp - 0x69]
call fcn.14001bba0
lea rdx, [0x14008d38c]
lea rcx, [rbp - 0x49]
call fcn.14003a080
nop
lea rcx, [rsp + 0x20]
call fcn.140042220
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140008dbf
call fcn.140042200
cmp eax, 4
jg 0x140008dba
mov rbx, qword [rsp + 0x20]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x60]
mov rdx, r14
lea rcx, [rsp + 0x40]
call fcn.14002aae0
mov r9, r12
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.14001ebd0
lea r9, [fcn.14002abf0]
mov r8, r12
mov edx, 0x10
lea rcx, [rsp + 0x40]
call fcn.14005a5ec
nop
lea rdx, [rbp - 0x59]
lea rcx, [rbp - 0x79]
call fcn.140039f00
nop
lea r9, [rbp - 0x79]
lea r8, [rbp - 0x49]
mov edx, 4
mov rcx, rbx
call rdi
nop
lea rcx, [rbp - 0x79]
call fcn.14003a200
nop
lea rcx, [rbp - 0x59]
call fcn.14001bff0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140008dca
call fcn.140027dd0
nop
lea rcx, [rbp - 0x49]
call fcn.14003a200
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140008dff
mov rcx, rax
call fcn.140027dd0
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x28]
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x140008f07
mov rcx, rax
jmp 0x140008ef7
lea rdx, str.downloadFile___failed__r_n
lea rcx, [rbp - 0x69]
call fcn.14001bba0
lea rdx, [0x14008d38c]
lea rcx, [rbp - 0x79]
call fcn.14003a080
nop
lea rcx, [rsp + 0x20]
call fcn.140042220
nop
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140008eaa
call fcn.140042200
cmp eax, 4
jg 0x140008ea5
mov rbx, qword [rsp + 0x20]
mov rax, qword [rbx]
mov rdi, qword [rax + 0x60]
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x59]
call fcn.14001eb80
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140039f00
nop
lea r9, [rsp + 0x40]
lea r8, [rbp - 0x79]
mov edx, 4
mov rcx, rbx
call rdi
nop
lea rcx, [rsp + 0x40]
call fcn.14003a200
nop
lea rcx, [rbp - 0x59]
call fcn.14001bff0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140008eb5
call fcn.140027dd0
nop
lea rcx, [rbp - 0x79]
call fcn.14003a200
mov rax, qword [rsp + 0x28]
mov qword [rsi], rax
xor ecx, ecx
mov qword [rsp + 0x28], rcx
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x140008eea
mov rcx, rax
call fcn.140027dd0
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x38]
test rdx, rdx
je 0x140008f07
mov rcx, rdx
call fcn.140027dd0
and qword [rsp + 0x38], 0
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140008f11
call fcn.140027dd0
mov rax, rsi
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.14005a330
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r14
pop r12
pop rdi
pop rsi
pop rbp
ret