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 [0x140019140]
xor ecx, ecx
mov rdi, qword [0x140019178]
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], 0x750050
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], 0x750c
call fcn.140001770
mov rcx, rsi
movsx edx, byte [rax]
call fcn.14000b9e0
xor r12d, r12d
mov dword [rbp + 0xc0], 0x750050
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], 0x750050
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, [0x14001909c]
mov r8, rax
call fcn.14000e0f0
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 [0x140019108]
mov r9d, r15d
mov dword [rsp + 0x28], r12d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], r12
call rax
movsxd r12, eax
xor eax, eax
mov esi, eax
test r12d, r12d
je 0x1400092fb
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 0x1400092e2
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 [0x140019108]
xor r15d, r15d
mov r14d, r15d
cmp word [rsi], r15w
je 0x14000932f
inc r14
cmp word [rsi + r14*2], r15w
jne 0x140009325
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]
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 eax, eax
mov word [r15 + rsi*2], ax
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 0x140009483
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, [0x1400190b0]
mov r8, rax
call fcn.14000e0f0
xor r14d, r14d
mov rbx, rax
mov r12d, r14d
cmp byte [rax], r14b
je 0x1400094df
inc r12
cmp byte [r12 + rax], r14b
jne 0x1400094d6
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
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], 0x7524
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r13], cl
jne 0x140009fd5
mov eax, 0x61
mov dword [rsp + 0x70], 0x180033
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
mov dword [rsp + 0x74], 0x4c0006
mov dword [rsp + 0x78], 0x46
mov dword [rsp + 0x7c], 0x460049
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
xor esi, esi
mov qword [rbp - 0x60], rbx
mov word [rax + rbx*2], si
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
lea edx, [rsi + 8]
mov r8d, 0x200
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, qword [0x140019170]
lea rcx, [rsp + 0x50]
mov rbx, rax
mov dword [rsp + 0x50], 0x300004
mov eax, 0x69
mov dword [rsp + 0x54], 0x3c002f
mov word [rsp + 0x58], ax
call fcn.140002150
mov rcx, rax
mov r8d, 0x100
mov rdx, rbx
call rdi
mov qword [rbp - 0x38], rsi
mov r8d, esi
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rsi
cmp word [rbx], si
je 0x14000964d
inc r8
cmp word [rbx + r8*2], si
jne 0x140009643
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], rsi
jbe 0x140009978
mov dword [rbp + 0xc0], 0x75007e
mov r13, rsi
nop
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 word [rax + rax]
movzx ecx, word [rdx + rbx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x1400096d0
xor eax, eax
mov qword [rsp + 0x68], rsi
lea rcx, [rbp + 0xc0]
mov word [r15 + rsi*2], ax
call fcn.140002490
mov rcx, r15
movzx edx, word [rax]
call fcn.14000b9e0
mov rax, qword [0x140019160]
xor esi, esi
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], pe_nt_image_headers64
xor r8d, r8d
mov edx, 0x40000000
mov dword [rsp + 0x20], 5
mov rcx, r15
call rax
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
je 0x1400097cc
mov edi, esi
lea rbx, [0x140010610]
lea rsi, str.u_DRGSknRUG
movabs r15, 0x84eedd357c1b0085
nop dword [rax + rax]
mov rax, r15
mul rdi
mov rax, rdi
shr rdx, 8
imul rcx, rdx, 0x1ed
sub rax, rcx
movzx eax, byte [rax + rbx]
xor byte [rdi + rsi], al
inc rdi
cmp rdi, 0x71
jb 0x140009760
mov rbx, qword [rsp + 0x50]
xor esi, esi
mov r15, qword [rsp + 0x60]
mov rdi, qword [0x140019188]
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea edx, [rsi + 8]
lea r8d, [rsi + 4]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
lea r8d, [rsi + 0x71]
mov qword [rsp + 0x20], rsi
mov r9, rax
lea rdx, str.u_DRGSknRUG
mov rcx, rbx
call rdi
test eax, eax
jne 0x1400097f9
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 0x140009680
jmp 0x140009971
mov rcx, rbx
call qword [0x140019150]
mov eax, 0x69
mov dword [rsp + 0x50], 0x5007e
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0xa0006
call fcn.140002150
mov r8, rsi
cmp word [rax], si
je 0x14000983a
nop
inc r8
cmp word [rax + r8*2], si
jne 0x140009830
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 rsi, qword [rax]
xor eax, eax
mov ebx, eax
cmp word [rsi], ax
je 0x140009870
inc rbx
cmp word [rsi + rbx*2], ax
jne 0x140009867
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 0x1400098b1
mov rdx, rax
sub rsi, rax
mov rdi, rbx
movzx ecx, word [rsi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x1400098a0
xor esi, esi
mov word [rax + rbx*2], si
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 [0x140019138]
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 0x140009930
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]
mov r13, qword [rbp + 0xd0]
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x180033
mov dword [rsp + 0x54], 0x4c0006
mov dword [rsp + 0x58], 0x46
mov dword [rsp + 0x5c], 0x640049
call fcn.140001f90
mov rsi, rax
xor eax, eax
mov ebx, eax
cmp word [rsi], ax
je 0x1400099b9
nop
inc rbx
cmp word [rsi + rbx*2], ax
jne 0x1400099b0
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 0x140009a01
mov rdx, rax
sub rsi, rax
mov rdi, rbx
nop dword [rax]
movzx ecx, word [rdx + rsi]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub rdi, 1
jne 0x1400099f0
xor edi, edi
mov qword [rbp - 0x70], rbx
mov word [rax + rbx*2], di
lea r14d, [r12 + 1]
mov rax, qword [0x140019108]
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 0x140009a84
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 0x140009a6b
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 [0x140019108]
xor r12d, r12d
mov ebx, r12d
cmp word [rsi], r12w
je 0x140009aba
nop word [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x140009ab0
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 0x140009b02
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 0x140009af0
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 0x140009b5e
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 [0x140019180]
mov rbx, r12
cmp word [rsi], r12w
je 0x140009bea
nop dword [rax + rax]
inc rbx
cmp word [rsi + rbx*2], r12w
jne 0x140009be0
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 0x140009c31
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 0x140009c20
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 0x140009c8d
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], 0x90070
lea rcx, [rbp - 0x58]
mov word [rbp - 0x4c], ax
mov dword [rbp - 0x54], 0xa0042
mov dword [rbp - 0x50], 0x13001d
call fcn.140001df0
mov rsi, rax
mov rbx, r12
cmp word [rax], r12w
je 0x140009cfa
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140009cf0
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 0x140009d41
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 0x140009d30
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 0x140009d9d
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], 0x750072
call fcn.140002490
mov rsi, rax
mov rbx, r12
cmp word [rax], r12w
je 0x140009dfa
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], r12w
jne 0x140009df0
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 0x140009e41
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 0x140009e30
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 0x140009e9a
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 [0x140019158]
xorps xmm0, xmm0
mov dword [rbp], 0x68
xor eax, eax
mov word [rbp + 0xc0], 0x7524
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 0x140009f94
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 [0x140019148]
mov ecx, 0x1388
call qword [0x140019158]
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