Function at 0x1400091e0
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 [0x140015140]
xor ecx, ecx
mov rbx, qword [0x140015178]
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], 0x61004d
call fcn.140002490
movzx ecx, word [rax]
cmp word [r14], cx
je 0x1400092b0
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 0x140009290
lea rcx, [rbp + 0xd0]
mov word [rbp + 0xd0], 0x6111
call fcn.140001770
mov rcx, rsi
movsx edx, byte [rax]
call fcn.14000d510
xor r13d, r13d
mov dword [rbp + 0xd0], 0x61004d
lea rcx, [rbp + 0xd0]
mov ebx, r13d
lea rdi, [rax + 2]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi], cx
je 0x140009318
nop dword [rax + rax]
lea rcx, [rbp + 0xd0]
inc rbx
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi + rbx*2], cx
jne 0x140009300
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], 0x61004d
mov word [rax], cx
lea rcx, [rbp + 0xd0]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi], cx
je 0x140009380
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 0x140009360
mov rsi, r13
cmp word [rdi], r13w
je 0x14000939a
nop dword [rax]
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x140009390
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 0x1400093f2
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 0x1400093e0
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, [0x14001509c]
mov r8, rax
call fcn.14000a390
mov r14, rax
mov rsi, r13
cmp byte [rax], r13b
je 0x140009449
nop dword [rax + rax]
inc rsi
cmp byte [rsi + rax], r13b
jne 0x140009440
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 0x140009491
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 0x140009480
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 0x1400094bf
inc r14
cmp word [rsi + r14*2], r13w
jne 0x1400094b5
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 0x140009511
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 0x140009500
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 0x14000954a
nop word [rax + rax]
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x140009540
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 0x140009591
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 0x140009580
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 0x140009620
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, [0x1400150b0]
mov r8, rax
call fcn.14000a390
mov rsi, rax
mov rdi, r13
cmp byte [rax], r13b
je 0x140009679
nop
inc rdi
cmp byte [rdi + rax], r13b
jne 0x140009670
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 0x1400096c0
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 0x1400096b0
lea rcx, [rbp + 0xd0]
mov byte [rdi + rax], r13b
mov qword [rbp - 0x40], rdi
mov word [rbp + 0xd0], 0x6139
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
jne 0x14000a153
mov eax, 0x75
mov dword [rsp + 0x70], 0xc002e
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
mov dword [rsp + 0x74], 0x540017
mov dword [rsp + 0x78], 0x11004a
mov dword [rsp + 0x7c], 0x520029
call fcn.1400022a0
mov rsi, rax
mov rdi, r13
cmp word [rax], r13w
je 0x14000973a
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x140009730
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 0x140009781
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 0x140009770
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 [0x140015170]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov dword [rsp + 0x50], 0x240019
mov eax, 0x65
mov dword [rsp + 0x54], 0x24003e
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 0x14000980a
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], bx
jne 0x140009800
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 0x140009b49
mov dword [rbp + 0xd0], 0x610063
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 0x1400098a1
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 0x140009890
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.14000d510
mov rax, qword [0x140015160]
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 0x14000998c
mov r8d, ebx
lea rsi, str.h172HCG
movabs r13, 0x14d843bedc2c4b9
lea r15, [0x14000f4f0]
nop word [rax + rax]
mov rax, r13
mul r8
mov rax, r8
shr rdx, 1
imul rcx, rdx, 0x189
sub rax, rcx
movzx eax, byte [rax + r15]
xor byte [r8 + rsi], al
inc r8
cmp r8, 0x71
jb 0x140009920
mov r15, qword [rsp + 0x60]
mov r13, qword [rbp - 0x68]
mov rbx, qword [0x140015188]
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 0x1400099b9
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 0x140009840
jmp 0x140009b45
mov rcx, rdi
call qword [0x140015150]
mov eax, 0x65
mov dword [rsp + 0x50], 0x110063
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0x120017
call fcn.140002150
xor r12d, r12d
mov r8d, r12d
cmp word [rax], r12w
je 0x1400099fc
inc r8
cmp word [rax + r8*2], r12w
jne 0x1400099f2
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 0x140009a3a
nop dword [rax]
inc rdi
cmp word [rsi + rdi*2], r12w
jne 0x140009a30
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 0x140009a81
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 0x140009a70
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 [0x140015138]
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 0x140009b02
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], 0xc002e
mov dword [rsp + 0x54], 0x540017
mov dword [rsp + 0x58], 0x11004a
mov dword [rsp + 0x5c], 0x700029
call fcn.140001f90
mov rsi, rax
mov rdi, rbx
cmp word [rax], 0
je 0x140009b8a
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140009b80
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 0x140009bd1
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 0x140009bc0
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 0x140009bfc
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x140009bf3
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 0x140009c41
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 0x140009c30
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 0x140009c9e
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 [0x140015180]
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x140009d29
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x140009d20
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 0x140009d71
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 0x140009d60
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 0x140009dcf
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, 9
mov dword [rsp + 0x50], 0x1d006d
lea rcx, [rsp + 0x50]
mov word [rsp + 0x5c], ax
mov dword [rsp + 0x54], 0x120053
mov dword [rsp + 0x58], 0x20011
call fcn.140001df0
mov rsi, rax
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x140009e3d
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x140009e34
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 0x140009e81
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 0x140009e70
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 0x140009edf
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], 0x61006f
call fcn.140002490
mov rsi, rax
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x140009f39
nop
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x140009f30
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 0x140009f81
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 0x140009f70
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 0x140009fde
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 [0x140015158]
xorps xmm0, xmm0
mov dword [rbp + 0x10], 0x68
xor eax, eax
mov word [rbp + 0xd0], 0x6139
lea rcx, [rbp + 0xd0]
mov dword [rbp + 0x74], eax
movups xmmword [rbp + 0x14], xmm0
mov qword [rbp], rax
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 fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
jne 0x14000a113
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 [0x140015148]
mov ecx, 0x1388
call qword [0x140015158]
xorps xmm0, xmm0
mov dword [rbp + 0x10], 0x68
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 [0x140015148]
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