Function at 0x140009030
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 [0x140016140]
xor ecx, ecx
mov rbx, qword [0x140016178]
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], 0x610050
call fcn.140002490
movzx ecx, word [rax]
cmp word [r14], cx
je 0x140009100
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 0x1400090e0
lea rcx, [rbp + 0xd0]
mov word [rbp + 0xd0], 0x610c
call fcn.140001770
mov rcx, rsi
movsx edx, byte [rax]
call fcn.14000d2d0
xor r13d, r13d
mov dword [rbp + 0xd0], 0x610050
lea rcx, [rbp + 0xd0]
mov ebx, r13d
lea rdi, [rax + 2]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi], cx
je 0x140009168
nop dword [rax + rax]
lea rcx, [rbp + 0xd0]
inc rbx
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi + rbx*2], cx
jne 0x140009150
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], 0x610050
mov word [rax], cx
lea rcx, [rbp + 0xd0]
call fcn.140002490
movzx ecx, word [rax]
cmp word [rdi], cx
je 0x1400091d0
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 0x1400091b0
mov rsi, r13
cmp word [rdi], r13w
je 0x1400091ea
nop dword [rax]
inc rsi
cmp word [rdi + rsi*2], r13w
jne 0x1400091e0
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 0x140009242
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 0x140009230
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, [0x14001609c]
mov r8, rax
call fcn.14000da50
mov r14, rax
mov rsi, r13
cmp byte [rax], r13b
je 0x140009299
nop dword [rax + rax]
inc rsi
cmp byte [rsi + rax], r13b
jne 0x140009290
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 0x1400092e1
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 0x1400092d0
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 0x14000930f
inc r14
cmp word [rsi + r14*2], r13w
jne 0x140009305
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 0x140009361
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 0x140009350
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 0x14000939a
nop word [rax + 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 rbx, rax
test rsi, rsi
je 0x1400093e1
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 0x1400093d0
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 0x140009470
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, [0x1400160b0]
mov r8, rax
call fcn.14000da50
mov rsi, rax
mov rdi, r13
cmp byte [rax], r13b
je 0x1400094c9
nop
inc rdi
cmp byte [rdi + rax], r13b
jne 0x1400094c0
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 0x140009510
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 0x140009500
lea rcx, [rbp + 0xd0]
mov byte [rdi + rax], r13b
mov qword [rbp - 0x40], rdi
mov word [rbp + 0xd0], 0x6124
call fcn.140001770
movzx ecx, byte [rax]
cmp byte [r12], cl
jne 0x140009fa3
mov r14d, 0x73
mov dword [rsp + 0x70], 0xc0033
lea rcx, [rsp + 0x70]
mov word [rbp - 0x80], r14w
mov dword [rsp + 0x74], 0x450003
mov dword [rsp + 0x78], 0x17005c
mov dword [rsp + 0x7c], 0x560041
call fcn.1400022a0
mov rsi, rax
mov rdi, r13
cmp word [rax], r13w
je 0x14000958a
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], r13w
jne 0x140009580
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 0x1400095d1
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 0x1400095c0
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 [0x140016170]
lea rcx, [rsp + 0x50]
mov rdi, rax
mov dword [rsp + 0x50], 0x240004
mov dword [rsp + 0x54], 0x35002a
mov word [rsp + 0x58], r14w
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 0x14000964d
inc r8
cmp word [rdi + r8*2], bx
jne 0x140009643
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 0x140009999
mov dword [rbp + 0xd0], 0x61007e
mov r12, rbx
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 0x1400096e1
mov rdx, rax
sub rdi, rax
mov r8, rsi
nop dword [rax]
nop dword [rax + rax]
movzx ecx, word [rdi + rdx]
mov word [rdx], cx
lea rdx, [rdx + 2]
sub r8, 1
jne 0x1400096d0
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.14000d2d0
mov rax, qword [0x140016160]
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 0x1400097d9
mov r8d, ebx
lea rsi, str.u1EOCy
movabs r13, 0x5c9882b931057263
lea r15, [0x14000f4c0]
nop word [rax + rax]
mov rcx, r8
mov rax, r13
mul r8
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 8
imul rax, rcx, 0x178
mov rcx, r8
sub rcx, rax
movzx eax, byte [rcx + r15]
xor byte [r8 + rsi], al
inc r8
cmp r8, 0x71
jb 0x140009760
mov r15, qword [rsp + 0x60]
mov r13, qword [rbp - 0x68]
mov rbx, qword [0x140016188]
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 0x140009806
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 0x140009682
jmp 0x140009995
mov rcx, rdi
call qword [0x140016150]
mov eax, 0x73
mov dword [rsp + 0x50], 0x11007e
lea rcx, [rsp + 0x50]
mov word [rsp + 0x58], ax
mov dword [rsp + 0x54], 0x30003
call fcn.140002150
xor r12d, r12d
mov r8d, r12d
cmp word [rax], r12w
je 0x14000984a
nop
inc r8
cmp word [rax + r8*2], r12w
jne 0x140009840
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 0x14000988a
nop word [rax + rax]
inc rdi
cmp word [rsi + rdi*2], r12w
jne 0x140009880
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 0x1400098d1
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 0x1400098c0
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 [0x140016138]
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 0x140009952
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], 0xc0033
mov dword [rsp + 0x54], 0x450003
mov dword [rsp + 0x58], 0x17005c
mov dword [rsp + 0x5c], 0x740041
call fcn.140001f90
mov rsi, rax
mov rdi, rbx
cmp word [rax], 0
je 0x1400099da
nop
inc rdi
cmp word [rax + rdi*2], 0
jne 0x1400099d0
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 0x140009a21
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 0x140009a10
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 0x140009a4c
inc rdi
cmp word [rsi + rdi*2], bx
jne 0x140009a43
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 0x140009a91
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 0x140009a80
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 0x140009aee
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 [0x140016180]
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x140009b79
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x140009b70
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 0x140009bc1
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 0x140009bb0
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 0x140009c1f
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, 0x61
mov dword [rsp + 0x50], 0x1d0070
lea rcx, [rsp + 0x50]
mov word [rsp + 0x5c], ax
mov dword [rsp + 0x54], 0x30047
mov dword [rsp + 0x58], 0x40007
call fcn.140001df0
mov rsi, rax
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x140009c8d
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x140009c84
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 0x140009cd1
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 0x140009cc0
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 0x140009d2f
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], 0x610072
call fcn.140002490
mov rsi, rax
xor eax, eax
mov edi, eax
cmp word [rsi], ax
je 0x140009d89
nop
inc rdi
cmp word [rsi + rdi*2], ax
jne 0x140009d80
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 0x140009dd1
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 0x140009dc0
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 0x140009e2e
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 [0x140016158]
xorps xmm0, xmm0
mov dword [rbp + 0x10], 0x68
xor eax, eax
mov word [rbp + 0xd0], 0x6124
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 0x140009f63
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 [0x140016148]
mov ecx, 0x1388
call qword [0x140016158]
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 [0x140016148]
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