Function at 0x140009360
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 [0x140010140]
xor ecx, ecx
mov rbx, qword [0x140010178]
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], 0x450065
call fcn.140002520
movzx ecx, word [rax]
cmp word [r14], cx
je 0x140009430
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.140002520
movzx ecx, word [rax]
cmp word [rbx], cx
jne 0x140009410
lea rcx, [rbp + 0xd0]
mov word [rbp + 0xd0], 0x4539
call fcn.140001850
mov rcx, rsi
movsx edx, byte [rax]
call fcn.14000ba20
xor r13d, r13d
mov dword [rbp + 0xd0], 0x450065
lea rcx, [rbp + 0xd0]
mov ebx, r13d
lea rdi, [rax + 2]
call fcn.140002520
movzx ecx, word [rax]
cmp word [rdi], cx
je 0x140009498
nop dword [rax + rax]
lea rcx, [rbp + 0xd0]
inc rbx
call fcn.140002520
movzx ecx, word [rax]
cmp word [rdi + rbx*2], cx
jne 0x140009480
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], 0x450065
mov word [rax], cx
lea rcx, [rbp + 0xd0]
call fcn.140002520
movzx ecx, word [rax]
cmp word [rdi], cx
je 0x140009500
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.140002520
movzx ecx, word [rax]
cmp word [rbx], cx
jne 0x1400094e0
mov rsi, r13
cmp word [rdi], r13w
je 0x14000951a
nop dword [rax]
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x140009510
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 0x140009572
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 0x140009560
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, [0x14001009c]
mov r8, rax
call fcn.14000b1d0
mov r14, rax
mov rsi, r13
cmp byte [rax], r13b
je 0x1400095c9
nop dword [rax + rax]
inc rsi
cmp byte [rsi + rax], r13b
jne 0x1400095c0
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 0x140009611
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 0x140009600
lea rdx, [rbp - 0x20]
mov byte [rax + rsi], r13b
lea rcx, [rbp + 0x80]
mov qword [rbp - 0x18], rsi
call fcn.140001c00
mov r14, r13
mov rsi, qword [rax]
cmp word [rsi], r13w
je 0x14000963f
inc r14
cmp word [rsi + r14*2], r13w
jne 0x140009635
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 0x140009691
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 0x140009680
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 0x1400096ca
nop word [rax + rax]
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x1400096c0
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 0x140009711
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 0x140009700
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.140001b70
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.140001b70
lea r8, [rsp + 0x60]
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x58]
call fcn.140001d20
mov rbx, rax
lea rax, [rbp - 0x58]
cmp rax, rbx
je 0x1400097a0
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.140001b70
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, [0x1400100b0]
mov r8, rax
call fcn.14000b1d0
mov rsi, rax
mov rdi, r13
cmp byte [rax], r13b
je 0x1400097f9
nop
inc rdi
cmp byte [rdi + rax], r13b
jne 0x1400097f0
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 0x140009840
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 0x140009830
lea rcx, [rbp + 0xd0]
mov byte [rdi + rax], r13b
mov qword [rbp - 0x40], rdi
mov word [rbp + 0xd0], 0x4511
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [r12], cl
jne 0x14000a2d3
mov eax, 0x78
mov dword [rsp + 0x70], 0x280006
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
mov dword [rsp + 0x74], 0x72001c
mov dword [rsp + 0x78], 0x340040
mov dword [rsp + 0x7c], 0x4e0056
call fcn.140002330
mov rsi, rax
mov rdi, r13
cmp word [rax], r13w
je 0x1400098ba
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x1400098b0
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 0x140009901
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 0x1400098f0
xor esi, esi
mov qword [rbp - 0x60], rdi
mov word [rax + rdi*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 rbx, qword [0x140010170]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov dword [rsp + 0x50], 0x31
mov eax, 0x6f
mov dword [rsp + 0x54], 0x20035
mov word [rsp + 0x58], ax
call fcn.1400021e0
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 0x14000997f
inc r8
cmp word [rdi + r8*2], bx
jne 0x140009975
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.140001b70
lea rdx, [rbp - 0x38]
lea rcx, [rsp + 0x60]
call fcn.140005260
mov r14d, ebx
cmp qword [rbp - 0x30], rbx
jbe 0x140009cc9
mov dword [rbp + 0xd0], 0x45004b
mov r12, rbx
nop dword [rax]
nop dword [rax + rax]
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 0x140009a21
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 0x140009a10
xor ebx, ebx
mov qword [rsp + 0x68], rsi
lea rcx, [rbp + 0xd0]
mov word [rax + rsi*2], bx
call fcn.140002520
mov rcx, r15
movzx edx, word [rax]
call fcn.14000ba20
mov rax, qword [0x140010160]
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 0x140009b0d
mov r8d, ebx
lea rsi, section..data
movabs r13, 0xd79435e50d79435f
lea r15, [0x14000e400]
nop word [rax + rax]
mov rax, r13
mul r8
mov rax, r8
shr rdx, 8
imul rcx, rdx, 0x130
sub rax, rcx
movzx eax, byte [rax + r15]
xor byte [r8 + rsi], al
inc r8
cmp r8, 0x71
jb 0x140009aa0
mov r15, qword [rsp + 0x60]
mov r13, qword [rbp - 0x68]
mov rbx, qword [0x140010188]
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 0x140009b3a
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 0x1400099c0
jmp 0x140009cc5
mov rcx, rdi
call qword [0x140010150]
mov eax, 0x6f
mov dword [rsp + 0x50], 0x35004b
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0x34001c
call fcn.1400021e0
xor r12d, r12d
mov r8d, r12d
cmp word [rax], r12w
je 0x140009b7d
inc r8
cmp word [rax + r8*2], r12w
jne 0x140009b73
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140001b70
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.140001d20
mov rdi, r12
mov rsi, qword [rax]
cmp word [rsi], r12w
je 0x140009bba
nop word [rax + rax]
inc rdi
cmp word [rsi + rdi*2], r12w
jne 0x140009bb0
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 0x140009c01
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 0x140009bf0
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 [0x140010138]
mov r8, rdi
lea rcx, [rsp + 0x60]
mov rdx, r14
call fcn.140001b70
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x68]
call fcn.140001d20
mov rbx, rax
lea rax, [rbp - 0x68]
cmp rax, rbx
je 0x140009c82
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.140001b70
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], 0x280006
mov dword [rsp + 0x54], 0x72001c
mov dword [rsp + 0x58], 0x340040
mov dword [rsp + 0x5c], 0x6c0056
call fcn.140002020
mov rsi, rax
mov rdi, rbx
cmp word [rax], 0
je 0x140009d0a
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140009d00
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 0x140009d51
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 0x140009d40
xor ebx, ebx
mov qword [rbp - 0x70], rdi
lea rdx, [rbp - 0x48]
mov word [rax + rdi*2], bx
lea rcx, [rsp + 0x50]
call fcn.140001c00
mov edi, ebx
mov rsi, qword [rax]
cmp word [rsi], bx
je 0x140009d7c
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x140009d73
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 0x140009dc1
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 0x140009db0
xor ecx, ecx
mov r8, rdi
mov word [rax + rdi*2], cx
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.140001b70
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140001d20
mov rbx, rax
lea rax, [rbp - 0x78]
cmp rax, rbx
je 0x140009e1e
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.140001b70
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 [0x140010180]
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x140009ea9
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x140009ea0
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 0x140009ef1
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 0x140009ee0
xor eax, eax
lea rcx, [rsp + 0x70]
mov r8, rdi
mov word [r15 + rdi*2], ax
mov rdx, r15
call fcn.140001b70
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140001d20
mov rbx, rax
lea rax, [rbp - 0x78]
cmp rax, rbx
je 0x140009f4f
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.140001b70
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, 0x76
mov dword [rsp + 0x50], 0x390045
lea rcx, [rsp + 0x50]
mov word [rsp + 0x5c], ax
mov dword [rsp + 0x54], 0x340058
mov dword [rsp + 0x58], 0x27001b
call fcn.140001e80
mov rsi, rax
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x140009fbd
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x140009fb4
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 0x14000a001
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 0x140009ff0
xor eax, eax
lea rcx, [rsp + 0x70]
mov r8, rdi
mov word [r15 + rdi*2], ax
mov rdx, r15
call fcn.140001b70
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x78]
call fcn.140001d20
mov rbx, rax
lea rax, [rbp - 0x78]
cmp rax, rbx
je 0x14000a05f
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.140001b70
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], 0x450047
call fcn.140002520
mov rsi, rax
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x14000a0b9
nop
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x14000a0b0
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 0x14000a101
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 0x14000a0f0
xor esi, esi
lea rcx, [rsp + 0x70]
mov r8, rdi
mov word [rax + rdi*2], si
mov rdx, r15
call fcn.140001b70
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x60]
lea rcx, [rbp - 0x68]
call fcn.140001d20
mov rbx, rax
lea rax, [rbp - 0x68]
cmp rax, rbx
je 0x14000a15e
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.140001b70
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 [0x140010158]
xorps xmm0, xmm0
mov dword [rbp + 0x10], 0x68
xor eax, eax
mov word [rbp + 0xd0], 0x4511
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.140001850
movzx ecx, byte [rax]
cmp byte [r12], cl
jne 0x14000a293
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 [0x140010148]
mov ecx, 0x1388
call qword [0x140010158]
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 [0x140010148]
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