Function at 0x1400296f0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x8c0], rbx
mov rax, qword [0x1401c3e90]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov r15, rdx
mov qword [rsp + 0x20], rdx
mov r12, rcx
mov qword [rsp + 0x50], rcx
xor r14d, r14d
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x40], 0x400
mov word [rsp + 0x60], r14w
xor edx, edx
mov r8d, 0x7fe
lea rcx, [rsp + 0x62]
call fcn.1400d6ac0
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x60]
lea rdi, [rsp + 0x60]
shr rdi, 0x10
mov qword [rsp + 0x38], rdi
or rsi, 0xffffffffffffffff
test rdi, rdi
jne 0x1400297ca
movzx r15d, ax
mov ecx, r15d
call fcn.1400019e0
test rax, rax
je 0x1400298c7
mov r8d, r15d
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400025b0
mov rbx, qword [rsp + 0x30]
jmp 0x1400298c7
lea rax, [rsp + 0x60]
mov rdi, rsi
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400297d2
test edi, edi
jne 0x140029842
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140029838
cmp dword [rdx + 0x10], 0
jge 0x140029816
cmp dword [rbx - 0xc], 0
jge 0x140029804
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
mov rdi, qword [rsp + 0x38]
jmp 0x1400298cc
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140029826
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
mov rdi, qword [rsp + 0x38]
jmp 0x1400298cc
mov r13d, dword [rbx - 0x10]
lea r15, [rsp + 0x60]
sub r15, rbx
sar r15, 1
test edi, edi
jns 0x140029860
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140029882
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400023b0
mov rbx, qword [rsp + 0x30]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r15, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x1400298a6
lea r8, [rbx + r15*2]
call fcn.1400d1ea4
jmp 0x1400298b0
lea r8, [rsp + 0x60]
call fcn.1400d2064
cmp edi, dword [rbx - 0xc]
jg 0x140029bfc
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], r14w
mov rdi, qword [rsp + 0x38]
mov r15, qword [rsp + 0x20]
lea rcx, str.Shlwapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test rax, rax
jne 0x140029916
lea rcx, [rbx - 0x18]
call fcn.140002410
add rax, 0x18
mov qword [r12], rax
mov dword [rsp + 0x28], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x140029c0a
mov rcx, qword [rbx - 0x18]
mov r8, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
jmp 0x140029c0a
lea rdx, str.UrlEscapeW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x140029a32
mov r8d, dword [0x1401cbd80]
mov ecx, r8d
imul ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [rdx + rdx*4]
sub ecx, eax
cmp ecx, 2
jne 0x1400299fe
nop dword [rax + rax]
mov ecx, r14d
and ecx, 1
dec ecx
not ecx
and ecx, r8d
mov eax, r14d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r8d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r8d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, r8d
sar eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
not eax
and eax, r8d
sar ecx, 1
xor eax, ecx
add r8d, eax
inc r14d
cmp r14d, 0x100
jl 0x140029960
mov dword [0x1401cbd80], r8d
lea rcx, [rbx - 0x18]
call fcn.140002410
add rax, 0x18
mov qword [r12], rax
mov dword [rsp + 0x28], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x140029c0a
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
jmp 0x140029c07
mov r9d, 0x2000
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, qword [r15]
call rax
lea rcx, [0x1401c39a8]
mov rax, qword [0x1401c39a8]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x20], rbx
lea rax, [rsp + 0x60]
test rdi, rdi
jne 0x140029a93
movzx ebx, ax
mov ecx, ebx
call fcn.1400019e0
test rax, rax
je 0x140029b83
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.1400025b0
jmp 0x140029b83
lea rax, [rsp + 0x60]
mov rdi, rsi
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140029aa0
test edi, edi
jne 0x140029b07
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140029b83
cmp dword [rdx + 0x10], 0
jge 0x140029ae3
cmp dword [rbx - 0xc], 0
jge 0x140029ad6
mov ecx, 0x80070057
call fcn.140001920
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x140029b83
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140029af3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x20], rax
jmp 0x140029b83
mov r13d, dword [rbx - 0x10]
lea r15, [rsp + 0x60]
sub r15, rbx
sar r15, 1
test edi, edi
jns 0x140029b25
mov ecx, 0x80070057
call fcn.140001920
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140029b47
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.1400023b0
mov rbx, qword [rsp + 0x20]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r15, r13
lea r13, [rax + rax]
mov r9, r13
ja 0x140029b6b
lea r8, [rbx + r15*2]
call fcn.1400d1ea4
jmp 0x140029b75
lea r8, [rsp + 0x60]
call fcn.1400d2064
cmp edi, dword [rbx - 0xc]
jg 0x140029bf1
mov dword [rbx - 0x10], edi
mov word [r13 + rbx], r14w
lea rcx, [rsp + 0x20]
call fcn.14002a860
lea r8, [0x140157718]
lea rdx, [0x140155ed4]
lea rcx, [rsp + 0x20]
call fcn.1400100a0
mov rbx, qword [rsp + 0x20]
lea rcx, [rbx - 0x18]
call fcn.140002410
add rax, 0x18
mov qword [r12], rax
mov dword [rsp + 0x28], 1
lock add dword [rbx - 8], 0xffffffff
jg 0x140029bd9
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140029c0a
mov rcx, qword [rdx]
mov rax, qword [rcx]
jmp 0x140029c07
mov ecx, 0x80070057
call fcn.140001920
nop
mov ecx, 0x80070057
call fcn.140001920
nop
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r12
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.1400d1680
mov rbx, qword [rsp + 0x8c0]
add rsp, 0x870
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret