Function at 0x140008fd0
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 [0x140016140]
xor ecx, ecx
mov rdi, qword [0x140016178]
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], 0x610042
call fcn.140002490
movzx ecx, word [rax]
cmp word [r14], cx
je 0x1400090a0
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 0x140009080
lea rcx, [rbp + 0xc0]
mov word [rbp + 0xc0], 0x611e
call fcn.140001770
mov rcx, rsi
movsx edx, byte [rax]
call fcn.14000d810
xor r12d, r12d
mov dword [rbp + 0xc0], 0x610042
lea rcx, [rbp + 0xc0]
mov edi, r12d
lea rbx, [rax + 2]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx], cx
je 0x140009108
nop dword [rax + rax]
lea rcx, [rbp + 0xc0]
inc rdi
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx + rdi*2], cx
jne 0x1400090f0
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], 0x610042
mov word [rax], cx
lea rcx, [rbp + 0xc0]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx], cx
je 0x140009170
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 0x140009150
mov rsi, r12
cmp word [rbx], r12w
je 0x14000918a
nop dword [rax]
inc rsi
cmp word [rbx + rsi*2], r12w
jne 0x140009180
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 0x1400091e2
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 0x1400091d0
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, [0x14001609c]
mov r8, rax
call fcn.14000ac80
mov r14, rax
mov rsi, r12
cmp byte [rax], r12b
je 0x140009239
nop dword [rax + rax]
inc rsi
cmp byte [rsi + rax], r12b
jne 0x140009230
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 0x140009281
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 0x140009270
mov byte [rsi + rax], r12b
lea r15d, [rsi + 1]
mov rax, qword [0x140016108]
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 0x1400092fa
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 0x1400092e1
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 [0x140016108]
xor r15d, r15d
mov r14d, r15d
cmp word [rsi], r15w
je 0x14000932e
inc r14
cmp word [rsi + r14*2], r15w
jne 0x140009324
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 0x140009382
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 0x140009370
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 0x1400093ae
inc rsi
cmp word [rbx + rsi*2], r15w
jne 0x1400093a4
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 0x1400093f1
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 0x1400093e0
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 0x140009482
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, [0x1400160b0]
mov r8, rax
call fcn.14000ac80
xor r14d, r14d
mov rbx, rax
mov r12d, r14d
cmp byte [rax], r14b
je 0x1400094de
inc r12
cmp byte [r12 + rax], r14b
jne 0x1400094d5
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 0x140009520
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 0x140009510
lea rcx, [rbp + 0xc0]
mov byte [r12 + rax], r14b
mov word [rbp + 0xc0], 0x6136
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r13], cl
jne 0x140009ff5
mov eax, 0x6f
mov dword [rsp + 0x70], 0xc0021
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
mov dword [rsp + 0x74], 0x4b0007
mov dword [rsp + 0x78], 0x110026
mov dword [rsp + 0x7c], 0x6e0043
call fcn.1400022a0
mov rsi, rax
mov rbx, r14
cmp word [rax], r14w
je 0x14000958f
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140009585
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 0x1400095d1
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 0x1400095c0
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 [0x140016170]
lea rcx, [rsp + 0x50]
mov rbx, rax
mov dword [rsp + 0x50], 0x240016
mov eax, 9
mov dword [rsp + 0x54], 0x3b002e
mov word [rsp + 0x58], ax
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 0x140009650
inc r8
cmp word [rbx + r8*2], di
jne 0x140009646
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 0x140009999
mov dword [rbp + 0xc0], 0x61006c
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 0x1400096e1
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 0x1400096d0
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.14000d810
mov rax, qword [0x140016160]
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 0x1400097d8
lea rsi, str.g1__CMem_N9W_n
movabs r15, 0x27350b88127350b9
lea rbx, [0x14000f580]
nop word [rax + rax]
mov rcx, rdi
mov rax, r15
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 8
imul rax, rcx, 0x1bc
mov rcx, rdi
sub rcx, rax
movzx eax, byte [rcx + rbx]
xor byte [rdi + rsi], al
inc rdi
cmp rdi, 0x71
jb 0x140009760
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x60]
mov rdi, 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, rbx
call rdi
test eax, eax
jne 0x140009805
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 0x140009682
jmp 0x140009992
mov rcx, rbx
call qword [0x140016150]
mov eax, 9
mov dword [rsp + 0x50], 0x11006c
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0xd0007
call fcn.140002150
xor r13d, r13d
mov r8d, r13d
cmp word [rax], r13w
je 0x14000984a
nop
inc r8
cmp word [rax + r8*2], r13w
jne 0x140009840
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 0x14000988a
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r13w
jne 0x140009880
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 0x1400098d1
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 0x1400098c0
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 [0x140016138]
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 0x14000994f
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], 0xc0021
mov dword [rsp + 0x54], 0x4b0007
mov dword [rsp + 0x58], 0x110026
mov dword [rsp + 0x5c], 0x4c0043
call fcn.140001f90
mov rsi, rax
mov rbx, rdi
cmp word [rax], 0
je 0x1400099da
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400099d0
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 0x140009a21
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 0x140009a10
xor edi, edi
mov qword [rbp - 0x70], rbx
mov word [rax + rbx*2], di
lea r14d, [r12 + 1]
mov rax, qword [0x140016108]
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 0x140009aa4
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 0x140009a8b
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 [0x140016108]
xor r12d, r12d
mov ebx, r12d
cmp word [rsi], r12w
je 0x140009ada
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x140009ad0
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 0x140009b22
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 0x140009b10
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 0x140009b7e
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 [0x140016180]
mov rbx, r12
cmp word [rsi], r12w
je 0x140009c0a
nop dword [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x140009c00
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 0x140009c51
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 0x140009c40
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 0x140009cad
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, 0x63
mov dword [rbp - 0x58], 0x1d0062
lea rcx, [rbp - 0x58]
mov word [rbp - 0x4c], ax
mov dword [rbp - 0x54], 0xd0043
mov dword [rbp - 0x50], 0x2007d
call fcn.140001df0
mov rsi, rax
mov rbx, r12
cmp word [rax], r12w
je 0x140009d1a
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140009d10
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 0x140009d61
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 0x140009d50
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 0x140009dbd
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], 0x610060
call fcn.140002490
mov rsi, rax
mov rbx, r12
cmp word [rax], r12w
je 0x140009e1a
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140009e10
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 0x140009e61
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 0x140009e50
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 0x140009eba
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 [0x140016158]
xorps xmm0, xmm0
mov dword [rbp], 0x68
xor eax, eax
mov word [rbp + 0xc0], 0x6136
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 0x140009fb4
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 [0x140016148]
mov ecx, 0x1388
call qword [0x140016158]
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