Function at 0x140009470
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], 0x4a0052
call fcn.140002520
movzx ecx, word [rax]
cmp word [r14], cx
je 0x140009540
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 0x140009520
lea rcx, [rbp + 0xd0]
mov word [rbp + 0xd0], 0x4a0e
call fcn.140001850
mov rcx, rsi
movsx edx, byte [rax]
call fcn.14000bc90
xor r13d, r13d
mov dword [rbp + 0xd0], 0x4a0052
lea rcx, [rbp + 0xd0]
mov ebx, r13d
lea rdi, [rax + 2]
call fcn.140002520
movzx ecx, word [rax]
cmp word [rdi], cx
je 0x1400095a8
nop dword [rax + rax]
lea rcx, [rbp + 0xd0]
inc rbx
call fcn.140002520
movzx ecx, word [rax]
cmp word [rdi + rbx*2], cx
jne 0x140009590
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], 0x4a0052
mov word [rax], cx
lea rcx, [rbp + 0xd0]
call fcn.140002520
movzx ecx, word [rax]
cmp word [rdi], cx
je 0x140009610
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 0x1400095f0
mov rsi, r13
cmp word [rdi], r13w
je 0x14000962a
nop dword [rax]
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x140009620
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 0x140009682
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 0x140009670
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.140008d70
mov r14, rax
mov rsi, r13
cmp byte [rax], r13b
je 0x1400096d9
nop dword [rax + rax]
inc rsi
cmp byte [rsi + rax], r13b
jne 0x1400096d0
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 0x140009721
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 0x140009710
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 0x14000974f
inc r14
cmp word [rsi + r14*2], r13w
jne 0x140009745
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 0x1400097a1
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 0x140009790
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 0x1400097da
nop word [rax + rax]
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x1400097d0
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 0x140009821
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 0x140009810
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 0x1400098b0
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.140008d70
mov rsi, rax
mov rdi, r13
cmp byte [rax], r13b
je 0x140009909
nop
inc rdi
cmp byte [rdi + rax], r13b
jne 0x140009900
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 0x140009950
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 0x140009940
lea rcx, [rbp + 0xd0]
mov byte [rdi + rax], r13b
mov qword [rbp - 0x40], rdi
mov word [rbp + 0xd0], 0x4a26
call fcn.140001850
movzx ecx, byte [rax]
cmp byte [r12], cl
jne 0x14000a3e0
mov eax, 0x4b
mov dword [rsp + 0x70], 0x270031
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], ax
mov dword [rsp + 0x74], 0x68002c
mov dword [rsp + 0x78], 0xa006a
mov dword [rsp + 0x7c], 0x520055
call fcn.140002330
mov rsi, rax
mov rdi, r13
cmp word [rax], r13w
je 0x1400099ca
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x1400099c0
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 0x140009a11
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 0x140009a00
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 [0x140010170]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov dword [rsp + 0x50], 0xf0006
mov eax, 0x45
mov dword [rsp + 0x54], 0x180005
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 0x140009a9a
nop word [rax + rax]
inc r8
cmp word [rdi + r8*2], bx
jne 0x140009a90
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 0x140009dd9
mov dword [rbp + 0xd0], 0x4a007c
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 0x140009b31
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 0x140009b20
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.14000bc90
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 0x140009c1d
mov r8d, ebx
lea rsi, section..data
movabs r13, 0x6c80d901b2036407
lea r15, [0x14000e3d0]
nop word [rax + rax]
mov rax, r13
mul r8
mov rax, r8
shr rdx, 7
imul rcx, rdx, 0x12e
sub rax, rcx
movzx eax, byte [rax + r15]
xor byte [r8 + rsi], al
inc r8
cmp r8, 0x71
jb 0x140009bb0
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 0x140009c4a
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 0x140009ad0
jmp 0x140009dd5
mov rcx, rdi
call qword [0x140010150]
mov eax, 0x45
mov dword [rsp + 0x50], 0x3a007c
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0x2e002c
call fcn.1400021e0
xor r12d, r12d
mov r8d, r12d
cmp word [rax], r12w
je 0x140009c8d
inc r8
cmp word [rax + r8*2], r12w
jne 0x140009c83
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 0x140009cca
nop word [rax + rax]
inc rdi
cmp word [rsi + rdi*2], r12w
jne 0x140009cc0
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 0x140009d11
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 0x140009d00
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 0x140009d92
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], 0x270031
mov dword [rsp + 0x54], 0x68002c
mov dword [rsp + 0x58], 0xa006a
mov dword [rsp + 0x5c], 0x700055
call fcn.140002020
mov rsi, rax
mov rdi, rbx
cmp word [rax], 0
je 0x140009e1a
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x140009e10
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 r15, rax
test rdi, rdi
je 0x140009e61
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 0x140009e50
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 0x140009e8c
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x140009e83
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 0x140009ed1
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 0x140009ec0
xor ecx, ecx
mov r8, rdi
mov word [rax + rdi*2], cx
mov rdx, r14
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 0x140009f2e
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 [rbx + 8]
lea rcx, [rbp - 0x78]
mov rdx, qword [rbx]
call fcn.140001b70
mov r15, 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, r14
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 0x140009fb9
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x140009fb0
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 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 [r14 + rdi*2], ax
mov rdx, r14
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, r15
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 r15, 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, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, 0x75
mov dword [rsp + 0x50], 0x360072
lea rcx, [rsp + 0x50]
mov word [rsp + 0x5c], ax
mov dword [rsp + 0x54], 0x2e0068
mov dword [rsp + 0x58], 0x190031
call fcn.140001e80
mov rsi, rax
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x14000a0cd
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x14000a0c4
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 0x14000a111
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 0x14000a100
xor eax, eax
lea rcx, [rsp + 0x70]
mov r8, rdi
mov word [r14 + rdi*2], ax
mov rdx, r14
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 0x14000a16f
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 [rbx + 8]
lea rcx, [rbp - 0x78]
mov rdx, qword [rbx]
call fcn.140001b70
mov r15, 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, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rbp + 0xd0]
mov dword [rbp + 0xd0], 0x4a0070
call fcn.140002520
mov rsi, rax
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x14000a1c9
nop
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x14000a1c0
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 0x14000a211
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 0x14000a200
xor esi, esi
lea rcx, [rsp + 0x70]
mov r8, rdi
mov word [rax + rdi*2], si
mov rdx, r14
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 0x14000a26e
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, r14
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov ecx, 0x3e8
call qword [0x140010158]
xorps xmm0, xmm0
mov word [rbp + 0xd0], 0x4a26
xor eax, eax
lea rcx, [rbp + 0xd0]
mov ebx, 0x68
mov dword [rbp + 0x74], eax
movups xmmword [rbp + 0x14], xmm0
mov qword [rbp], rax
movups xmmword [rbp + 0x24], xmm0
mov dword [rbp + 0x10], ebx
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 0x14000a3a0
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], ebx
xor eax, eax
xor r9d, r9d
mov dword [rbp + 0x74], eax
xor r8d, r8d
mov qword [rbp], rax
mov rdx, r15
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, r15
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