Function at 0x14000c810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x90]
sub rsp, 0x190
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 + 0xe0], 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 [0x140016140]
xor ecx, ecx
mov rbx, qword [0x140016178]
mov rsi, rax
call rdx
mov rcx, rax
mov r8d, 0x104
mov rdx, r14
call rbx
movzx ecx, word [r14]
mov word [rsi], cx
lea rcx, [rbp + 0xd0]
mov dword [rbp + 0xd0], 0x6f0046
call fcn.140002490
movzx ecx, word [rax]
cmp word [r14], cx
je 0x14000c8e0
mov rdi, rsi
mov rbx, r14
sub rdi, r14
nop
movzx eax, word [rbx + 2]
lea rbx, [rbx + 2]
lea rcx, [rbp + 0xd0]
mov word [rdi + rbx], ax
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx], cx
jne 0x14000c8c0
lea rcx, [rbp + 0xd0]
mov word [rbp + 0xd0], 0x6f1a
call fcn.140001770
mov rcx, rsi
movsx edx, byte [rax]
call fcn.140008fe0
xor r13d, r13d
mov dword [rbp + 0xd0], 0x6f0046
lea rcx, [rbp + 0xd0]
mov ebx, r13d
lea rdi, [rax + 2]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi], cx
je 0x14000c948
nop dword [rax + rax]
lea rcx, [rbp + 0xd0]
inc rbx
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi + rbx*2], cx
jne 0x14000c930
add rbx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
movzx ecx, word [rdi]
mov rsi, rax
mov dword [rbp + 0xd0], 0x6f0046
mov word [rax], cx
lea rcx, [rbp + 0xd0]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi], cx
je 0x14000c9b0
mov rbx, rdi
sub rsi, rdi
nop
movzx eax, word [rbx + 2]
lea rbx, [rbx + 2]
lea rcx, [rbp + 0xd0]
mov word [rsi + rbx], ax
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx], cx
jne 0x14000c990
mov rsi, r13
cmp word [rdi], r13w
je 0x14000c9ca
nop dword [rax]
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x14000c9c0
lea rbx, [rsi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x58], rax
mov r15, rax
test rsi, rsi
je 0x14000ca22
mov r9, rdi
mov rdx, rax
sub r9, rax
mov r8, rsi
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rdx + r9]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000ca10
mov word [rax + rsi*2], r13w
mov word [rdi + rsi*2 - 8], r13w
mov qword [rbp - 0x50], 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, [0x14001609c]
mov r8, rax
call fcn.14000b480
mov r14, rax
mov rsi, r13
cmp byte [rax], r13b
je 0x14000ca79
nop dword [rax + rax]
inc rsi
cmp byte [rsi + rax], r13b
jne 0x14000ca70
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 - 0x20], rax
test rsi, rsi
je 0x14000cac1
mov rdx, rax
sub r14, rax
mov r8, rsi
nop dword [rax]
nop word [rax + rax]
movzx ecx, byte [rdx + r14]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x14000cab0
lea rdx, [rbp - 0x20]
mov byte [rax + rsi], r13b
lea rcx, [rbp + 0x80]
mov qword [rbp - 0x18], rsi
call fcn.140001b20
mov r14, r13
mov rsi, qword [rax]
cmp word [rsi], r13w
je 0x14000caef
inc r14
cmp word [rsi + r14*2], r13w
jne 0x14000cae5
lea rbx, [r14*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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 0x14000cb41
mov rdx, rax
sub rsi, rax
mov r8, r14
nop word [rax + rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000cb30
mov word [rax + r14*2], r13w
mov rbx, qword [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rsi, r13
cmp word [rdi], r13w
je 0x14000cb7a
nop word [rax + rax]
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x14000cb70
lea rbx, [rsi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, rax
test rsi, rsi
je 0x14000cbc1
mov rdx, rax
sub rdi, rax
mov r8, rsi
nop word [rax + rax]
movzx ecx, word [rdi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000cbb0
mov word [rax + rsi*2], r13w
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, rsi
lea rcx, [rbp - 0x58]
mov rdx, rbx
call fcn.140001a90
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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, [rbp - 0x48]
lea rcx, [rbp - 0x58]
call fcn.140001c90
mov rbx, rax
lea rax, [rbp - 0x58]
cmp rax, rbx
je 0x14000cc50
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x58]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbx + 8]
lea rcx, [rbp - 0x58]
mov rdx, qword [rbx]
call fcn.140001a90
mov rbx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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, [0x1400160b0]
mov r8, rax
call fcn.14000b480
mov rsi, rax
mov rdi, r13
cmp byte [rax], r13b
je 0x14000cca9
nop
inc rdi
cmp byte [rdi + rax], r13b
jne 0x14000cca0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rdi + 1]
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x48], rax
mov r12, rax
test rdi, rdi
je 0x14000ccf0
mov rdx, rax
sub rsi, rax
mov r8, rdi
nop word [rax + rax]
movzx ecx, byte [rsi + rdx]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub r8, 1
jne 0x14000cce0
lea rcx, [rbp + 0xd0]
mov byte [rdi + rax], r13b
mov qword [rbp - 0x40], rdi
mov word [rbp + 0xd0], 0x6f32
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
jne 0x14000d780
mov eax, 0x64
mov dword [rsp + 0x70], 0x20025
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
mov dword [rsp + 0x74], 0x44000b
mov dword [rsp + 0x78], 0x10026
mov dword [rsp + 0x7c], 0x4e0049
call fcn.1400022a0
mov rsi, rax
mov rdi, r13
cmp word [rax], r13w
je 0x14000cd6a
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x14000cd60
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x68], rax
mov r13, rax
test rdi, rdi
je 0x14000cdb1
mov rdx, rax
sub rsi, rax
mov r8, rdi
nop
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000cda0
xor ecx, ecx
mov qword [rbp - 0x60], rdi
mov word [rax + rdi*2], cx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov edx, 8
mov r8d, 0x200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rbx, qword [0x140016170]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov dword [rsp + 0x50], 0x2a0012
mov eax, 9
mov dword [rsp + 0x54], 0x340022
mov word [rsp + 0x58], ax
call fcn.140002150
mov rcx, rax
mov r8d, 0x100
mov rdx, rdi
call rbx
xor ebx, ebx
mov qword [rbp - 0x38], rbx
mov r8d, ebx
mov qword [rbp - 0x30], rbx
mov qword [rbp - 0x28], rbx
cmp word [rdi], bx
je 0x14000ce3a
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], bx
jne 0x14000ce30
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140001a90
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x60]
call fcn.1400054c0
mov r14d, ebx
cmp qword [rbp - 0x30], rbx
jbe 0x14000d179
mov dword [rbp + 0xd0], 0x6f0068
mov r12, rbx
nop
mov rax, qword [rbp - 0x38]
mov rsi, qword [rax + r12 + 8]
mov rdi, qword [rax + r12]
lea rbx, [rsi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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 0x14000ced1
mov rdx, rax
sub rdi, rax
mov r8, rsi
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rdi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000cec0
xor ebx, ebx
mov qword [rsp + 0x68], rsi
lea rcx, [rbp + 0xd0]
mov word [rax + rsi*2], bx
call fcn.140002490
mov rcx, r15
movzx edx, word [rax]
call fcn.140008fe0
mov rax, qword [0x140016160]
xor r9d, r9d
mov qword [rsp + 0x30], rbx
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 rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000cfbd
mov r8d, ebx
lea rsi, str.c___SG_ndUCXW_n_v
movabs r13, 0x4b8097012e025c05
lea r15, [0x14000f580]
nop word [rax + rax]
mov rax, r13
mul r8
mov rax, r8
shr rdx, 7
imul rcx, rdx, 0x1b2
sub rax, rcx
movzx eax, byte [rax + r15]
xor byte [r8 + rsi], al
inc r8
cmp r8, 0x71
jb 0x14000cf50
mov r15, qword [rsp + 0x60]
mov r13, qword [rbp - 0x68]
mov rbx, qword [0x140016188]
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, rdi
call rbx
test eax, eax
jne 0x14000cfea
xor ebx, ebx
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 r12, 0x10
movsxd rax, r14d
cmp rax, qword [rbp - 0x30]
jb 0x14000ce70
jmp 0x14000d175
mov rcx, rdi
call qword [0x140016150]
mov eax, 9
mov dword [rsp + 0x50], 0x1f0068
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0x2000b
call fcn.140002150
xor r12d, r12d
mov r8d, r12d
cmp word [rax], r12w
je 0x14000d02d
inc r8
cmp word [rax + r8*2], r12w
jne 0x14000d023
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 rdi, r12
mov rsi, qword [rax]
cmp word [rsi], r12w
je 0x14000d06a
nop word [rax + rax]
inc rdi
cmp word [rsi + rdi*2], r12w
jne 0x14000d060
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rdi, rdi
je 0x14000d0b1
mov rdx, rax
sub rsi, rax
mov r8, rdi
nop word [rax + rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000d0a0
mov word [rax + rdi*2], r12w
mov rbx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rdx, r14
mov rcx, r15
call qword [0x140016138]
mov r8, rdi
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 rbx, rax
lea rax, [rbp - 0x68]
cmp rax, rbx
je 0x14000d132
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, qword [rbx + 8]
lea rcx, [rbp - 0x68]
mov rdx, qword [rbx]
call fcn.140001a90
mov r13, qword [rbp - 0x68]
mov rbx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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 ebx, ebx
mov r12, qword [rbp - 0x48]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x20025
mov dword [rsp + 0x54], 0x44000b
mov dword [rsp + 0x58], 0x10026
mov dword [rsp + 0x5c], 0x6c0049
call fcn.140001f90
mov rsi, rax
mov rdi, rbx
cmp word [rax], 0
je 0x14000d1ba
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x14000d1b0
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x78], rax
mov r14, rax
test rdi, rdi
je 0x14000d201
mov rdx, rax
sub rsi, rax
mov r8, rdi
nop
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000d1f0
xor ebx, ebx
mov qword [rbp - 0x70], rdi
lea rdx, [rbp - 0x48]
mov word [rax + rdi*2], bx
lea rcx, [rsp + 0x50]
call fcn.140001b20
mov edi, ebx
mov rsi, qword [rax]
cmp word [rsi], bx
je 0x14000d22c
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x14000d223
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rdi, rdi
je 0x14000d271
mov rdx, rax
sub rsi, rax
mov r8, rdi
nop dword [rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000d260
xor ecx, ecx
mov r8, rdi
mov word [rax + rdi*2], cx
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.140001a90
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140001c90
mov rbx, rax
lea rax, [rbp - 0x78]
cmp rax, rbx
je 0x14000d2ce
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbx + 8]
lea rcx, [rbp - 0x78]
mov rdx, qword [rbx]
call fcn.140001a90
mov r14, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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]
mov rbx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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 + 0xe0]
mov r8d, 0x104
mov rdx, rax
mov rsi, rax
call qword [0x140016180]
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x14000d359
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x14000d350
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rdi, rdi
je 0x14000d3a1
mov rdx, rax
sub rsi, rax
mov r8, rdi
nop dword [rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000d390
xor eax, eax
lea rcx, [rsp + 0x70]
mov r8, rdi
mov word [r15 + rdi*2], ax
mov rdx, r15
call fcn.140001a90
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140001c90
mov rbx, rax
lea rax, [rbp - 0x78]
cmp rax, rbx
je 0x14000d3ff
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbx + 8]
lea rcx, [rbp - 0x78]
mov rdx, qword [rbx]
call fcn.140001a90
mov r14, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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]
mov eax, 0x69
mov dword [rsp + 0x50], 0x130066
lea rcx, [rsp + 0x50]
mov word [rsp + 0x5c], ax
mov dword [rsp + 0x54], 0x2004f
mov dword [rsp + 0x58], 0x12007d
call fcn.140001df0
mov rsi, rax
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x14000d46d
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x14000d464
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rdi, rdi
je 0x14000d4b1
mov rdx, rax
sub rsi, rax
mov r8, rdi
nop dword [rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000d4a0
xor eax, eax
lea rcx, [rsp + 0x70]
mov r8, rdi
mov word [r15 + rdi*2], ax
mov rdx, r15
call fcn.140001a90
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140001c90
mov rbx, rax
lea rax, [rbp - 0x78]
cmp rax, rbx
je 0x14000d50f
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rbx + 8]
lea rcx, [rbp - 0x78]
mov rdx, qword [rbx]
call fcn.140001a90
mov r14, qword [rbp - 0x78]
mov rbx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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]
lea rcx, [rbp + 0xd0]
mov dword [rbp + 0xd0], 0x6f0064
call fcn.140002490
mov rsi, rax
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x14000d569
nop
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x14000d560
lea rbx, [rdi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r15, rax
test rdi, rdi
je 0x14000d5b1
mov rdx, rax
sub rsi, rax
mov r8, rdi
nop dword [rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x14000d5a0
xor esi, esi
lea rcx, [rsp + 0x70]
mov r8, rdi
mov word [rax + rdi*2], si
mov rdx, r15
call fcn.140001a90
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.140001c90
mov rbx, rax
lea rax, [rbp - 0x68]
cmp rax, rbx
je 0x14000d60e
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, qword [rbx + 8]
lea rcx, [rbp - 0x68]
mov rdx, qword [rbx]
call fcn.140001a90
mov r13, qword [rbp - 0x68]
mov rbx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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]
mov ecx, 0x3e8
call qword [0x140016158]
xorps xmm0, xmm0
mov word [rbp + 0xd0], 0x6f32
xor eax, eax
lea rcx, [rbp + 0xd0]
mov ebx, 0x68
mov dword [rbp + 0x74], eax
movups xmmword [rbp + 0x14], xmm0
mov qword [rbp], rax
movups xmmword [rbp + 0x24], xmm0
mov dword [rbp + 0x10], ebx
movups xmmword [rbp + 0x34], xmm0
movups xmmword [rbp + 0x44], xmm0
movups xmmword [rbp + 0x54], xmm0
movups xmmword [rbp + 0x64], xmm0
movups xmmword [rbp - 0x10], xmm0
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
jne 0x14000d740
lea rax, [rbp - 0x10]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rbp + 0x10]
mov rdx, r13
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], esi
call qword [0x140016148]
mov ecx, 0x1388
call qword [0x140016158]
xorps xmm0, xmm0
mov dword [rbp + 0x10], ebx
xor eax, eax
xor r9d, r9d
mov dword [rbp + 0x74], eax
xor r8d, r8d
mov qword [rbp], rax
mov rdx, r14
lea rax, [rbp - 0x10]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], esi
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 + 0x64], xmm0
movups xmmword [rbp - 0x10], xmm0
call qword [0x140016148]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rbx
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, r12
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 - 0x20]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, qword [rbp - 0x58]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x1e8]
add rsp, 0x190
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret