Function at 0x140009160
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 r13d, 8
mov r8d, 0x208
mov rcx, rax
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
mov qword [rbp - 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x208
mov edx, r13d
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], 0x650050
call fcn.140002490
movzx ecx, word [rax]
cmp word [r14], cx
je 0x140009230
mov rbx, rsi
mov rdi, r14
sub rbx, r14
nop dword [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 0x140009210
lea rcx, [rbp + 0xc0]
mov word [rbp + 0xc0], 0x650c
call fcn.140001770
mov rcx, rsi
movsx edx, byte [rax]
call fcn.14000ea00
xor r12d, r12d
mov dword [rbp + 0xc0], 0x650050
lea rcx, [rbp + 0xc0]
mov edi, r12d
lea rbx, [rax + 2]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx], cx
je 0x140009298
nop dword [rax + rax]
lea rcx, [rbp + 0xc0]
inc rdi
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx + rdi*2], cx
jne 0x140009280
add rdi, rdi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, r13d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
movzx ecx, word [rbx]
mov rsi, rax
mov dword [rbp + 0xc0], 0x650050
mov word [rax], cx
lea rcx, [rbp + 0xc0]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx], cx
je 0x140009300
mov rdi, rbx
sub rsi, rbx
nop dword [rax]
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 0x1400092e0
mov rsi, r12
cmp word [rbx], r12w
je 0x14000931a
nop dword [rax]
inc rsi
cmp word [rbx + rsi*2], r12w
jne 0x140009310
lea rdi, [rsi*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, r13d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x48], rax
mov r13, rax
test rsi, rsi
je 0x140009362
mov r8, rbx
mov rdx, rax
sub r8, rax
mov rdi, rsi
nop
movzx ecx, word [rdx + r8]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x140009350
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 r15d, 8
mov r8d, 0x18
mov rcx, rax
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8, rax
lea edx, [r15 - 3]
lea rcx, [0x14001609c]
call fcn.14000e010
mov r14, rax
mov rsi, r12
cmp byte [rax], r12b
je 0x1400093b9
nop dword [rax]
inc rsi
cmp byte [rsi + rax], r12b
jne 0x1400093b0
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [rsi + 1]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xc8], rax
mov r8, rax
test rsi, rsi
je 0x140009401
mov rdx, rax
sub r14, rax
mov rdi, rsi
nop word [rax + rax]
movzx ecx, byte [r14 + rdx]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub rdi, 1
jne 0x1400093f0
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 0x14000947a
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 0x140009461
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 0x1400094ae
inc r14
cmp word [rsi + r14*2], r15w
jne 0x1400094a4
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 0x140009502
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 0x1400094f0
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 0x14000952e
inc rsi
cmp word [rbx + rsi*2], r15w
jne 0x140009524
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 0x140009571
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 0x140009560
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 0x140009602
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 r15d, 8
mov r8d, 0x18
mov rcx, rax
mov edx, r15d
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8, rax
lea edx, [r15 + 0x11]
lea rcx, [0x1400160b0]
call fcn.14000e010
xor r14d, r14d
mov rbx, rax
mov r12d, r14d
cmp byte [rax], r14b
je 0x140009669
nop word [rax + rax]
inc r12
cmp byte [r12 + rax], r14b
jne 0x140009660
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea r8, [r12 + 1]
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp + 0xd0], rax
mov r13, rax
test r12, r12
je 0x1400096b0
mov rdx, rax
sub rbx, rax
mov rdi, r12
nop dword [rax + rax]
movzx ecx, byte [rbx + rdx]
mov byte [rdx], cl
lea rdx, [rdx + 1]
sub rdi, 1
jne 0x1400096a0
lea rcx, [rbp + 0xc0]
mov byte [r12 + rax], r14b
mov word [rbp + 0xc0], 0x6524
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r13], cl
jne 0x14000a175
mov eax, 0x6b
mov dword [rsp + 0x70], 0x80033
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
mov dword [rsp + 0x74], 0x4d0016
mov dword [rsp + 0x78], 0xf004e
mov dword [rsp + 0x7c], 0x4c0049
call fcn.1400022a0
mov rsi, rax
mov rbx, r14
cmp word [rax], r14w
je 0x14000971f
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140009715
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x68], rax
test rbx, rbx
je 0x140009761
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 0x140009750
mov word [rax + rbx*2], r14w
mov qword [rbp - 0x60], rbx
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, 0x200
mov edx, r15d
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], 0x200004
mov eax, 0x61
mov dword [rsp + 0x54], 0x3d003f
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 0x1400097de
inc r8
cmp word [rbx + r8*2], di
jne 0x1400097d4
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 0x140009b1d
mov dword [rbp + 0xc0], 0x65007e
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, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rsp + 0x60], rax
mov r15, rax
test rsi, rsi
je 0x140009861
mov rdx, rax
sub rbx, rax
mov rdi, rsi
movzx ecx, word [rdx + rbx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x140009850
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.14000ea00
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 0x14000994c
lea rsi, str.u56L_GYa
movabs r15, 0x10182436517a3753
lea rbx, [0x14000f640]
nop word [rax + rax]
mov rax, r15
mul rdi
mov rax, rdi
shr rdx, 5
imul rcx, rdx, 0x1fd
sub rax, rcx
movzx eax, byte [rax + rbx]
xor byte [rdi + rsi], al
inc rdi
cmp rdi, 0x71
jb 0x1400098e0
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 0x14000997f
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
mov r15d, 8
cmp rax, qword [rbp - 0x30]
jae 0x140009b16
jmp 0x140009810
mov rcx, rbx
call qword [0x140016150]
mov eax, 0x61
mov dword [rsp + 0x50], 0x15007e
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0xb0016
call fcn.140002150
xor r13d, r13d
mov r8d, r13d
cmp word [rax], r13w
je 0x1400099ca
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x1400099c0
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 0x140009a0a
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r13w
jne 0x140009a00
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 0x140009a51
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 0x140009a40
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 0x140009acf
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
lea r15d, [rdi + 8]
mov r13, qword [rbp + 0xd0]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x80033
mov dword [rsp + 0x54], 0x4d0016
mov dword [rsp + 0x58], 0xf004e
mov dword [rsp + 0x5c], 0x6e0049
call fcn.140001f90
mov rsi, rax
mov rbx, rdi
cmp word [rax], 0
je 0x140009b5d
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140009b53
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbp - 0x78], rax
mov r15, rax
test rbx, rbx
je 0x140009ba1
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 0x140009b90
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 0x140009c24
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 0x140009c0b
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 0x140009c5a
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x140009c50
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 0x140009ca2
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 0x140009c90
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 0x140009cfe
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 r14d, 8
mov r8d, 0x208
mov rcx, rax
mov edx, r14d
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 0x140009d8a
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x140009d80
lea rdi, [rbx*2 + 2]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
mov edx, r14d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r14, rax
test rbx, rbx
je 0x140009dd1
mov rdx, rax
sub rsi, rax
mov rdi, rbx
nop dword [rax + rax]
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x140009dc0
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 0x140009e2d
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, 0x69
mov dword [rbp - 0x58], 0x190070
lea rcx, [rbp - 0x58]
mov word [rbp - 0x4c], ax
mov dword [rbp - 0x54], 0xb0052
mov dword [rbp - 0x50], 0x1c0015
call fcn.140001df0
mov rsi, rax
mov rbx, r12
cmp word [rax], r12w
je 0x140009e9a
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140009e90
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 0x140009ee1
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 0x140009ed0
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 0x140009f3d
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], 0x650072
call fcn.140002490
mov rsi, rax
mov rbx, r12
cmp word [rax], r12w
je 0x140009f9a
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140009f90
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 0x140009fe1
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 0x140009fd0
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 0x14000a03a
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], 0x6524
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 0x14000a134
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