Function at 0x140009910
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x78]
sub rsp, 0x178
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdx, qword [0x140017140]
xor ecx, ecx
mov rdi, qword [0x140017178]
mov rsi, rax
call rdx
mov rcx, rax
mov r8d, 0x104
mov rdx, r14
call rdi
movzx ecx, word [r14]
mov word [rsi], cx
lea rcx, [rbp + 0xc0]
mov dword [rbp + 0xc0], 0x6f0043
call fcn.140002490
movzx ecx, word [rax]
cmp word [r14], cx
je 0x1400099e0
mov rbx, rsi
mov rdi, r14
sub rbx, r14
nop word [rax + rax]
movzx eax, word [rdi + 2]
lea rdi, [rdi + 2]
lea rcx, [rbp + 0xc0]
mov word [rbx + rdi], ax
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi], cx
jne 0x1400099c0
lea rcx, [rbp + 0xc0]
mov word [rbp + 0xc0], 0x6f1f
call fcn.140001770
mov rcx, rsi
movsx edx, byte [rax]
call fcn.140009720
xor r12d, r12d
mov dword [rbp + 0xc0], 0x6f0043
lea rcx, [rbp + 0xc0]
mov edi, r12d
lea rbx, [rax + 2]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx], cx
je 0x140009a48
nop dword [rax + rax]
lea rcx, [rbp + 0xc0]
inc rdi
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx + rdi*2], cx
jne 0x140009a30
add rdi, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
movzx ecx, word [rbx]
mov rsi, rax
mov dword [rbp + 0xc0], 0x6f0043
mov word [rax], cx
lea rcx, [rbp + 0xc0]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx], cx
je 0x140009ab0
mov rdi, rbx
sub rsi, rbx
nop
movzx eax, word [rdi + 2]
lea rdi, [rdi + 2]
lea rcx, [rbp + 0xc0]
mov word [rsi + rdi], ax
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi], cx
jne 0x140009a90
mov rsi, r12
cmp word [rbx], r12w
je 0x140009aca
nop dword [rax]
inc rsi
cmp word [rbx + rsi*2], r12w
jne 0x140009ac0
lea rdi, [rsi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x48], rax
mov r13, rax
test rsi, rsi
je 0x140009b22
mov r8, rbx
mov rdx, rax
sub r8, rax
mov rdi, rsi
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rdx + r8]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x140009b10
mov word [rax + rsi*2], r12w
mov word [rbx + rsi*2 - 8], r12w
mov qword [rbp - 0x40], rsi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, 5
lea rcx, [0x14001709c]
mov r8, rax
call fcn.14000b0f0
mov r14, rax
mov rsi, r12
cmp byte [rax], r12b
je 0x140009b79
nop dword [rax + rax]
inc rsi
cmp byte [rsi + rax], r12b
jne 0x140009b70
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi + 1]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xc8], rax
mov r8, rax
test rsi, rsi
je 0x140009bc1
mov rdx, rax
sub r14, rax
mov rdi, rsi
nop dword [rax]
movzx ecx, byte [r14 + rdx]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub rdi, 1
jne 0x140009bb0
mov byte [rsi + rax], r12b
lea r15d, [rsi + 1]
mov rax, qword [0x140017108]
mov r9d, r15d
mov dword [rsp + 0x28], r12d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r12
call rax
xor ecx, ecx
movsxd r12, eax
mov esi, ecx
test eax, eax
je 0x140009c3a
lea rdi, [r12*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
lea edx, [rsi + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor edx, edx
mov rsi, rax
cmp rdx, r12
jae 0x140009c21
movzx eax, dx
mov rdi, rsi
mov rcx, r12
rep stosw word [rdi], ax
mov word [rsi + r12*2], dx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbp + 0xc8]
mov r9d, r15d
mov dword [rsp + 0x28], r12d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rsi
call qword [0x140017108]
xor r15d, r15d
mov r14d, r15d
cmp word [rsi], r15w
je 0x140009c6e
inc r14
cmp word [rsi + r14*2], r15w
jne 0x140009c64
lea rdi, [r14*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xd8], rax
mov r12, rax
test r14, r14
je 0x140009cc2
mov r8, rsi
mov rdx, rax
sub r8, rax
mov rdi, r14
nop dword [rax + rax]
movzx ecx, word [r8 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x140009cb0
mov word [rax + r14*2], r15w
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, r15
cmp word [rbx], r15w
je 0x140009cee
inc rsi
cmp word [rbx + rsi*2], r15w
jne 0x140009ce4
lea rdi, [rsi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rsi, rsi
je 0x140009d31
mov rdx, rax
sub rbx, rax
mov rdi, rsi
nop
movzx ecx, word [rbx + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x140009d20
xor ecx, ecx
mov word [rax + rsi*2], cx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, rsi
lea rcx, [rbp - 0x48]
mov rdx, r15
call fcn.140001a90
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, r14
lea rcx, [rsp + 0x60]
mov rdx, r12
call fcn.140001a90
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.140001c90
mov rdi, rax
lea rax, [rbp - 0x48]
cmp rax, rdi
je 0x140009dc2
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rdi + 8]
lea rcx, [rbp - 0x48]
mov rdx, qword [rdi]
call fcn.140001a90
mov rdi, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx + 0x10]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, 0x19
lea rcx, [0x1400170b0]
mov r8, rax
call fcn.14000b0f0
xor r14d, r14d
mov rbx, rax
mov r12d, r14d
cmp byte [rax], r14b
je 0x140009e1e
inc r12
cmp byte [r12 + rax], r14b
jne 0x140009e15
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [r12 + 1]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xd0], rax
mov r13, rax
test r12, r12
je 0x140009e60
mov rdx, rax
sub rbx, rax
mov rdi, r12
nop
movzx ecx, byte [rbx + rdx]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub rdi, 1
jne 0x140009e50
lea rcx, [rbp + 0xc0]
mov byte [r12 + rax], r14b
mov word [rbp + 0xc0], 0x6f37
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r13], cl
jne 0x14000a925
mov eax, 9
mov dword [rsp + 0x70], 0x20020
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
mov dword [rsp + 0x74], 0x43000a
mov dword [rsp + 0x78], 0x110040
mov dword [rsp + 0x7c], 0x4d0053
call fcn.1400022a0
mov rsi, rax
mov rbx, r14
cmp word [rax], r14w
je 0x140009ecf
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140009ec5
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x68], rax
test rbx, rbx
je 0x140009f11
mov rdx, rax
sub rsi, rax
mov rdi, rbx
movzx ecx, word [rdx + rsi]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x140009f00
mov word [rax + rbx*2], r14w
mov qword [rbp - 0x60], rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, qword [0x140017170]
lea rcx, [rsp + 0x50]
mov esi, 0x6f
mov dword [rsp + 0x50], 0x2a0017
mov rbx, rax
mov word [rsp + 0x58], si
mov dword [rsp + 0x54], 0x330023
call fcn.140002150
mov rcx, rax
mov r8d, 0x100
mov rdx, rbx
call rdi
xor edi, edi
mov qword [rbp - 0x38], rdi
mov r8d, edi
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x28], rdi
cmp word [rbx], di
je 0x140009f90
inc r8
cmp word [rbx + r8*2], di
jne 0x140009f86
mov rdx, rbx
lea rcx, [rsp + 0x60]
call fcn.140001a90
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x60]
call fcn.1400054c0
cmp qword [rbp - 0x30], rdi
jbe 0x14000a2c9
mov dword [rbp + 0xc0], 0x6f006d
mov r13, rdi
mov rax, qword [rbp - 0x38]
mov rsi, qword [rax + r13 + 8]
mov rbx, qword [rax + r13]
lea rdi, [rsi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x60], rax
mov r15, rax
test rsi, rsi
je 0x14000a021
mov rdx, rax
sub rbx, rax
mov rdi, rsi
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rdx + rbx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x14000a010
xor edi, edi
mov qword [rsp + 0x68], rsi
lea rcx, [rbp + 0xc0]
mov word [rax + rsi*2], di
call fcn.140002490
mov rcx, r15
movzx edx, word [rax]
call fcn.140009720
mov rax, qword [0x140017160]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], pe_nt_image_headers64
mov edx, 0x40000000
mov rcx, r15
mov dword [rsp + 0x20], 5
call rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x14000a10c
lea rsi, str.f__BC_X
movabs r15, 0x3e88cb3c9484e2b
lea rbx, [0x14000f670]
nop word [rax + rax]
mov rax, r15
mul rdi
mov rax, rdi
shr rdx, 3
imul rcx, rdx, 0x20c
sub rax, rcx
movzx eax, byte [rax + rbx]
xor byte [rdi + rsi], al
inc rdi
cmp rdi, 0x71
jb 0x14000a0a0
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x60]
mov rdi, qword [0x140017188]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov rcx, rax
lea r8d, [rdx - 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor ecx, ecx
mov rdx, rsi
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8d, [rcx + 0x71]
mov rcx, rbx
call rdi
test eax, eax
jne 0x14000a139
xor edi, edi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
inc r14d
add r13, 0x10
movsxd rax, r14d
cmp rax, qword [rbp - 0x30]
jb 0x140009fc2
jmp 0x14000a2c2
mov rcx, rbx
call qword [0x140017150]
mov eax, 0x6f
mov dword [rsp + 0x50], 0x1f006d
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0x5000a
call fcn.140002150
xor r13d, r13d
mov r8d, r13d
cmp word [rax], r13w
je 0x14000a17c
inc r8
cmp word [rax + r8*2], r13w
jne 0x14000a172
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001a90
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.140001c90
mov rbx, r13
mov rsi, qword [rax]
cmp word [rsi], r13w
je 0x14000a1ba
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], r13w
jne 0x14000a1b0
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rbx, rbx
je 0x14000a201
mov rdx, rax
sub rsi, rax
mov rdi, rbx
nop word [rax + rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x14000a1f0
mov word [rax + rbx*2], r13w
mov rdi, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdx, r14
mov rcx, r15
call qword [0x140017138]
mov r8, rbx
lea rcx, [rsp + 0x60]
mov rdx, r14
call fcn.140001a90
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.140001c90
mov rdi, rax
lea rax, [rbp - 0x68]
cmp rax, rdi
je 0x14000a27f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x68]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rdi + 8]
lea rcx, [rbp - 0x68]
mov rdx, qword [rdi]
call fcn.140001a90
mov rdi, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
xor edi, edi
mov r13, qword [rbp + 0xd0]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x20020
mov dword [rsp + 0x54], 0x43000a
mov dword [rsp + 0x58], 0x110040
mov dword [rsp + 0x5c], 0x6f0053
call fcn.140001f90
mov rsi, rax
mov rbx, rdi
cmp word [rax], 0
je 0x14000a30a
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000a300
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x78], rax
mov r15, rax
test rbx, rbx
je 0x14000a351
mov rdx, rax
sub rsi, rax
mov rdi, rbx
nop
movzx ecx, word [rdx + rsi]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x14000a340
xor edi, edi
mov qword [rbp - 0x70], rbx
mov word [rax + rbx*2], di
lea r14d, [r12 + 1]
mov rax, qword [0x140017108]
mov r9d, r14d
mov dword [rsp + 0x28], edi
mov r8, r13
xor edx, edx
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call rax
movsxd r12, eax
mov esi, edi
mov rbx, r12
test eax, eax
je 0x14000a3d4
lea rdi, [r12*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
lea edx, [rsi + 8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
xor edx, edx
mov rsi, rax
cmp rdx, rbx
jae 0x14000a3bb
movzx eax, dx
mov rdi, rsi
mov rcx, rbx
rep stosw word [rdi], ax
mov word [rsi + r12*2], dx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov dword [rsp + 0x28], r12d
mov r9d, r14d
mov r8, r13
mov qword [rsp + 0x20], rsi
xor edx, edx
xor ecx, ecx
call qword [0x140017108]
xor r12d, r12d
mov ebx, r12d
cmp word [rsi], r12w
je 0x14000a40a
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x14000a400
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rbx, rbx
je 0x14000a452
mov r8, rsi
mov rdx, rax
sub r8, rax
mov rdi, rbx
nop dword [rax]
movzx ecx, word [r8 + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x14000a440
mov r8, rbx
mov word [rax + rbx*2], r12w
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140001a90
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140001c90
mov rdi, rax
lea rax, [rbp - 0x78]
cmp rax, rdi
je 0x14000a4ae
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rdi + 8]
lea rcx, [rbp - 0x78]
mov rdx, qword [rdi]
call fcn.140001a90
mov r15, qword [rbp - 0x78]
mov rdi, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rsi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x208
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, qword [rbp - 0x58]
mov r8d, 0x104
mov rdx, rax
mov rsi, rax
call qword [0x140017180]
mov rbx, r12
cmp word [rsi], r12w
je 0x14000a53a
nop dword [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x14000a530
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rbx, rbx
je 0x14000a581
mov rdx, rax
sub rsi, rax
mov rdi, rbx
nop word [rax + rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x14000a570
mov r8, rbx
mov word [rax + rbx*2], r12w
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140001a90
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140001c90
mov rdi, rax
lea rax, [rbp - 0x78]
cmp rax, rdi
je 0x14000a5dd
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rdi + 8]
lea rcx, [rbp - 0x78]
mov rdx, qword [rdi]
call fcn.140001a90
mov r15, qword [rbp - 0x78]
mov rdi, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x73
mov dword [rbp - 0x58], 0x130063
lea rcx, [rbp - 0x58]
mov word [rbp - 0x4c], ax
mov dword [rbp - 0x54], 0x5004e
mov dword [rbp - 0x50], 0x2001b
call fcn.140001df0
mov rsi, rax
mov rbx, r12
cmp word [rax], r12w
je 0x14000a64a
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x14000a640
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rbx, rbx
je 0x14000a691
mov rdx, rax
sub rsi, rax
mov rdi, rbx
nop word [rax + rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x14000a680
mov r8, rbx
mov word [rax + rbx*2], r12w
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140001a90
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140001c90
mov rdi, rax
lea rax, [rbp - 0x78]
cmp rax, rdi
je 0x14000a6ed
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rdi + 8]
lea rcx, [rbp - 0x78]
mov rdx, qword [rdi]
call fcn.140001a90
mov r15, qword [rbp - 0x78]
mov rdi, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp + 0xc0]
mov dword [rbp + 0xc0], 0x6f0061
call fcn.140002490
mov rsi, rax
mov rbx, r12
cmp word [rax], r12w
je 0x14000a74a
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x14000a740
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rbx, rbx
je 0x14000a791
mov rdx, rax
sub rsi, rax
mov rdi, rbx
nop word [rax + rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x14000a780
mov r8, rbx
mov word [rax + rbx*2], r12w
mov rdx, r14
lea rcx, [rsp + 0x70]
call fcn.140001a90
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.140001c90
mov rdi, rax
lea rax, [rbp - 0x68]
cmp rax, rdi
je 0x14000a7ea
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x68]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rdi + 8]
lea rcx, [rbp - 0x68]
mov rdx, qword [rdi]
call fcn.140001a90
mov rdi, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, 0x3e8
call qword [0x140017158]
xorps xmm0, xmm0
mov dword [rbp], 0x68
xor eax, eax
mov word [rbp + 0xc0], 0x6f37
lea rcx, [rbp + 0xc0]
mov dword [rbp + 0x64], eax
movups xmmword [rbp + 4], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rbp + 0x14], xmm0
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
movups xmmword [rbp - 0x20], xmm0
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r13], cl
jne 0x14000a8e4
mov rdx, qword [rbp - 0x68]
lea rax, [rbp - 0x20]
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rbp]
xor r8d, r8d
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r12d
call qword [0x140017148]
mov ecx, 0x1388
call qword [0x140017158]
xorps xmm0, xmm0
mov dword [rbp], 0x68
xor eax, eax
movups xmmword [rbp + 4], xmm0
mov dword [rbp + 0x64], eax
movups xmmword [rbp + 0x14], xmm0
mov qword [rbp - 0x10], rax
movups xmmword [rbp + 0x24], xmm0
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
movups xmmword [rbp - 0x20], xmm0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r15
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdi, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x68]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r13
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xd8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp + 0xc8]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x48]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
add rsp, 0x178
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret