Function at 0x140009a40
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 [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], 0x780044
call fcn.140002490
movzx ecx, word [rax]
cmp word [r14], cx
je 0x140009b10
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 0x140009af0
lea rcx, [rbp + 0xc0]
mov word [rbp + 0xc0], 0x7818
call fcn.140001770
mov rcx, rsi
movsx edx, byte [rax]
call fcn.14000e3a0
xor r12d, r12d
mov dword [rbp + 0xc0], 0x780044
lea rcx, [rbp + 0xc0]
mov edi, r12d
lea rbx, [rax + 2]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx], cx
je 0x140009b78
nop dword [rax + rax]
lea rcx, [rbp + 0xc0]
inc rdi
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx + rdi*2], cx
jne 0x140009b60
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], 0x780044
mov word [rax], cx
lea rcx, [rbp + 0xc0]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rbx], cx
je 0x140009be0
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 0x140009bc0
mov rsi, r12
cmp word [rbx], r12w
je 0x140009bfa
nop dword [rax]
inc rsi
cmp word [rbx + rsi*2], r12w
jne 0x140009bf0
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 0x140009c42
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 0x140009c30
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, [0x14001709c]
call fcn.14000c140
mov r14, rax
mov rsi, r12
cmp byte [rax], r12b
je 0x140009c99
nop dword [rax]
inc rsi
cmp byte [rsi + rax], r12b
jne 0x140009c90
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 0x140009ce1
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 0x140009cd0
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 0x140009d5a
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 0x140009d41
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 0x140009d8e
inc r14
cmp word [rsi + r14*2], r15w
jne 0x140009d84
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 0x140009de2
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 0x140009dd0
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 0x140009e0e
inc rsi
cmp word [rbx + rsi*2], r15w
jne 0x140009e04
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 0x140009e51
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 0x140009e40
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 0x140009ee2
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, [0x1400170b0]
call fcn.14000c140
xor r14d, r14d
mov rbx, rax
mov r12d, r14d
cmp byte [rax], r14b
je 0x140009f49
nop word [rax + rax]
inc r12
cmp byte [r12 + rax], r14b
jne 0x140009f40
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 0x140009f90
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 0x140009f80
lea rcx, [rbp + 0xc0]
mov byte [r12 + rax], r14b
mov word [rbp + 0xc0], 0x7830
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r13], cl
jne 0x14000aa65
mov eax, 0x6d
mov dword [rsp + 0x70], 0x150027
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
mov dword [rsp + 0x74], 0x47006d
mov dword [rsp + 0x78], 0xc004a
mov dword [rsp + 0x7c], 0x470054
call fcn.1400022a0
mov rsi, rax
mov rbx, r14
cmp word [rax], r14w
je 0x140009fff
inc rbx
cmp word [rax + rbx*2], r14w
jne 0x140009ff5
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 0x14000a041
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 0x14000a030
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 [0x140017170]
lea rcx, [rsp + 0x50]
mov rbx, rax
mov dword [rsp + 0x50], 0x3d0010
mov eax, 0x65
mov dword [rsp + 0x54], 0x370044
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 0x14000a0be
inc r8
cmp word [rbx + r8*2], di
jne 0x14000a0b4
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 0x14000a40d
mov dword [rbp + 0xc0], 0x78006a
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 0x14000a141
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 0x14000a130
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.14000e3a0
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 0x14000a238
lea rsi, str.a_M_HZRgzXADE
movabs r15, 0xcbe6d9601cbe6d97
lea rbx, [0x1400103a0]
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, 0x11d
mov rcx, rdi
sub rcx, rax
movzx eax, byte [rcx + rbx]
xor byte [rdi + rsi], al
inc rdi
cmp rdi, 0x71
jb 0x14000a1c0
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 0x14000a26b
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 0x14000a406
jmp 0x14000a0f0
mov rcx, rbx
call qword [0x140017150]
mov eax, 0x65
mov dword [rsp + 0x50], 0x8006a
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov r14d, 8
mov dword [rsp + 0x54], 0x1006d
call fcn.140002150
xor r13d, r13d
mov r8d, r13d
cmp word [rax], r13w
je 0x14000a2ba
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], r13w
jne 0x14000a2b0
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 0x14000a2fa
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r13w
jne 0x14000a2f0
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 0x14000a341
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 0x14000a330
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 0x14000a3bf
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], 0x150027
mov dword [rsp + 0x54], 0x47006d
mov dword [rsp + 0x58], 0xc004a
mov dword [rsp + 0x5c], 0x650054
call fcn.140001f90
mov rsi, rax
mov rbx, rdi
cmp word [rax], 0
je 0x14000a44d
inc rbx
cmp word [rax + rbx*2], 0
jne 0x14000a443
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 0x14000a491
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 0x14000a480
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 0x14000a514
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 0x14000a4fb
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 0x14000a54a
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x14000a540
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 0x14000a592
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 0x14000a580
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 0x14000a5ee
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 [0x140017180]
mov rbx, r12
cmp word [rsi], r12w
je 0x14000a67a
nop dword [rax]
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x14000a670
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 0x14000a6c1
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 0x14000a6b0
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 0x14000a71d
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, 0x74
mov dword [rbp - 0x58], 0x40064
lea rcx, [rbp - 0x58]
mov word [rbp - 0x4c], ax
mov dword [rbp - 0x54], 0x10029
mov dword [rbp - 0x50], 0x1f0011
call fcn.140001df0
mov rsi, rax
mov rbx, r12
cmp word [rax], r12w
je 0x14000a78a
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x14000a780
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 0x14000a7d1
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 0x14000a7c0
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 0x14000a82d
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], 0x780066
call fcn.140002490
mov rsi, rax
mov rbx, r12
cmp word [rax], r12w
je 0x14000a88a
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x14000a880
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 0x14000a8d1
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 0x14000a8c0
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 0x14000a92a
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], 0x7830
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 0x14000aa24
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