Function at 0x14009abe0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x11f0
call fcn.1400a7800
sub rsp, rax
mov r12, qword [rcx + 8]
mov rdi, rcx
mov r14, r8
mov r13, rdx
lea rcx, [rsp + 0x1f1]
xor esi, esi
xor edx, edx
mov r8d, 0xfff
mov byte [rsp + 0x1f0], sil
call sub.msvcrt.dll_memset
mov eax, dword [r12 + 0x68]
cmp eax, 0xbb8
jae 0x14009afa2
lea rdx, [r12 + 0xa0]
lea rcx, [rsp + 0x1f0]
mov r8, rax
mov qword [rsp + 0x1228], rbx
mov qword [rsp + 0x1230], rbp
call sub.msvcrt.dll_memcpy
xor eax, eax
mov byte [rsp + 0x40], sil
lea rcx, [rsp + 0x40]
mov byte [rsp + 0x53], al
mov qword [rsp + 0x41], rax
mov qword [rsp + 0x49], rax
mov word [rsp + 0x51], ax
mov byte [rsp + 0x60], al
mov qword [rsp + 0x61], rax
mov qword [rsp + 0x69], rax
mov qword [rsp + 0x71], rax
mov qword [rsp + 0x79], rax
mov qword [rsp + 0x81], rax
mov qword [rsp + 0x89], rax
mov qword [rsp + 0x91], rax
mov dword [rsp + 0x99], eax
mov word [rsp + 0x9d], ax
mov byte [rsp + 0x9f], al
mov rax, qword [r12 + 0x84]
lea r9, [rsp + 0x40]
mov r8, r14
mov qword [rcx], rax
mov rax, qword [r12 + 0x8c]
mov qword [rcx + 8], rax
lea rax, [rsp + 0x60]
mov byte [rsp + 0x53], 1
mov edx, dword [r12 + 0x98]
mov qword [rsp + 0x30], rax
mov eax, dword [r12 + 0x94]
mov dword [rsp + 0x28], eax
mov rcx, rdi
mov dword [rsp + 0x20], 0x14
call fcn.14009a160
mov rbx, qword [rdi + 0x20]
mov rbp, qword [rdi]
lea rcx, [rsp + 0x60]
lea rdx, [rsp + 0xac]
mov byte [rsp + 0xa0], 8
mov eax, dword [rcx]
mov dword [rsp + 0xa4], 0x6610
mov byte [rsp + 0xa1], 2
mov dword [rsp + 0xa8], 0x20
mov dword [rdx], eax
mov eax, dword [rcx + 4]
mov dword [rdx + 4], eax
mov eax, dword [rcx + 8]
mov qword [rsp + 0x1238], rsi
mov dword [rdx + 8], eax
mov eax, dword [rcx + 0xc]
mov dword [rdx + 0xc], eax
mov eax, dword [rcx + 0x10]
mov dword [rdx + 0x10], eax
mov eax, dword [rcx + 0x14]
mov dword [rdx + 0x14], eax
mov eax, dword [rcx + 0x18]
mov dword [rdx + 0x18], eax
mov eax, dword [rcx + 0x1c]
mov rcx, rbx
mov dword [rdx + 0x1c], eax
call fcn.14009d390
mov r11, qword [rbx + 0x50]
test r11, r11
je 0x14009adb8
lea rax, [rsp + 0x1238]
lea r8d, [rsi + 0x2c]
lea rdx, [rsp + 0xa0]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov rcx, rbp
mov dword [rsp + 0x20], esi
call r11
mov rbp, qword [rsp + 0x1238]
test rbp, rbp
je 0x14009af80
mov rbx, qword [rdi + 0x20]
mov eax, dword [r12 + 0x68]
mov rcx, rbx
mov dword [rsp + 0x1220], eax
call fcn.14009d390
mov r11, qword [rbx + 0x38]
test r11, r11
je 0x14009ae12
lea rax, [rsp + 0x1220]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x1f0]
xor edx, edx
mov rcx, rbp
mov qword [rsp + 0x20], rax
call r11
mov rbx, qword [rdi + 0x20]
mov rbp, qword [rsp + 0x1238]
mov rcx, rbx
call fcn.14009d390
mov r11, qword [rbx + 0x58]
test r11, r11
je 0x14009ae35
mov rcx, rbp
call r11
mov rcx, rsi
nop
nop
movzx eax, byte [rsp + rcx + 0x80]
add rcx, 4
xor byte [rsp + rcx + 0x1ec], al
movzx eax, byte [rsp + rcx + 0x7d]
xor byte [rsp + rcx + 0x1ed], al
movzx eax, byte [rsp + rcx + 0x7e]
xor byte [rsp + rcx + 0x1ee], al
movzx eax, byte [rsp + rcx + 0x7f]
xor byte [rsp + rcx + 0x1ef], al
cmp rcx, 0x10
jl 0x14009ae40
xor edx, edx
lea rcx, [rsp + 0x171]
mov byte [rsp + 0x170], sil
lea r8d, [rdx + 0x7f]
call sub.msvcrt.dll_memset
xor edx, edx
lea rcx, [rsp + 0xf1]
lea r8d, [rdx + 0x7f]
mov byte [rsp + 0xf0], sil
call sub.msvcrt.dll_memset
mov edx, dword [r12 + 0x98]
lea r11, [rsp + 0x170]
mov qword [rsp + 0x38], r11
lea rax, [rsp + 0x1f0]
mov dword [rsp + 0x30], InitCommonControls
mov qword [rsp + 0x28], rax
mov r9, r14
mov r8d, 0x80
mov rcx, rdi
mov dword [rsp + 0x20], 0x14
call fcn.140099f40
mov edx, dword [r12 + 0x98]
lea r11, [rsp + 0xf0]
mov qword [rsp + 0x38], r11
lea rax, [rsp + 0x240]
mov dword [rsp + 0x30], 0x40
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x170]
mov r8d, 0x80
mov rcx, rdi
mov dword [rsp + 0x20], 0x40
call fcn.140099f40
lea rdx, [rsp + 0x200]
lea rcx, [rsp + 0xf0]
mov r8d, 0x40
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x14009af80
lea r9d, [rax + 0x40]
lea r8, [rsp + 0x240]
mov edx, 0x8004
mov rcx, rdi
mov qword [rsp + 0x20], r13
call fcn.140098f60
mov esi, 1
mov rbp, qword [rsp + 0x1230]
mov rbx, qword [rsp + 0x1228]
mov eax, esi
add rsp, 0x11f0
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov dword [rdi + 0x340], 0xfffffffe
xor eax, eax
add rsp, 0x11f0
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret