Function at 0x18003f67c
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x478]
sub rsp, 0x540
mov qword [rbp + 0x330], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov r15, rcx
mov eax, 0x6a
mov dword [rbp - 0x48], eax
mov eax, 0x22
mov word [rbp - 0x44], ax
mov eax, 0x21
mov word [rbp - 0x42], ax
lea r10d, [rax + 0xe]
mov word [rbp - 0x40], r10w
lea eax, [r10 + 4]
mov word [rbp - 0x3e], ax
lea edx, [rax + 2]
mov word [rbp - 0x3c], dx
lea r9d, [r10 - 6]
mov word [rbp - 0x3a], r9w
lea ecx, [rax + 0xc]
mov word [rbp - 0x38], cx
lea r11d, [r10 + 9]
mov word [rbp - 0x36], r11w
mov word [rbp - 0x34], r11w
mov word [rbp - 0x32], r10w
lea eax, [rdx - 0x11]
mov word [rbp - 0x30], ax
lea eax, [rdx + 9]
mov word [rbp - 0x2e], ax
mov word [rbp - 0x2c], dx
mov word [rbp - 0x2a], cx
lea eax, [rdx + 4]
mov word [rbp - 0x28], ax
mov word [rbp - 0x26], r10w
mov word [rbp - 0x24], r11w
lea r14d, [r10 + 7]
mov word [rbp - 0x22], r14w
mov word [rbp - 0x20], ax
lea esi, [rdx - 0x30]
mov word [rbp - 0x1e], si
lea eax, [rdx - 0x29]
mov word [rbp - 0x1c], ax
lea ebx, [rdx - 0x17]
mov word [rbp - 0x1a], bx
lea ecx, [rdx - 0x18]
mov word [rbp - 0x18], cx
lea edx, [rsi + 6]
mov word [rbp - 0x16], dx
lea r8d, [r10 - 0x17]
mov word [rbp - 0x14], r8w
lea r12d, [r10 - 0x20]
mov word [rbp - 0x12], r12w
mov word [rbp - 0x10], r14w
lea r13d, [r10 - 8]
mov word [rbp - 0xe], r13w
lea edi, [rsi - 2]
mov word [rbp - 0xc], di
lea edx, [rsi + 4]
mov word [rbp - 0xa], dx
mov word [rbp - 8], r8w
mov word [rbp - 6], si
lea edx, [rsi + 0x14]
mov word [rbp - 4], dx
mov word [rbp - 2], si
mov word [rbp], ax
mov word [rbp + 2], bx
mov word [rbp + 4], r14w
lea eax, [rsi + 0x38]
mov word [rbp + 6], ax
mov word [rbp + 8], di
lea ebx, [rsi - 1]
mov word [rbp + 0xa], bx
lea eax, [rsi + 9]
mov word [rbp + 0xc], ax
mov word [rbp + 0xe], si
mov word [rbp + 0x10], cx
mov word [rbp + 0x12], dx
mov word [rbp + 0x14], r14w
mov word [rbp + 0x16], r9w
lea ecx, [rsi + 0x1a]
mov word [rbp + 0x18], cx
mov word [rbp + 0x1a], r8w
mov word [rbp + 0x1c], r8w
mov word [rbp + 0x1e], r12w
mov word [rbp + 0x20], bx
lea eax, [rsi + 0x19]
mov word [rbp + 0x22], ax
lea eax, [rsi + 0x37]
mov word [rbp + 0x24], ax
mov word [rbp + 0x26], r12w
mov word [rbp + 0x28], r8w
mov word [rbp + 0x2a], dx
mov word [rbp + 0x2c], di
mov word [rbp + 0x2e], si
mov word [rbp + 0x30], bx
mov word [rbp + 0x32], r14w
mov word [rbp + 0x34], r10w
lea eax, [rsi + 0xd]
mov word [rbp + 0x36], ax
lea eax, [rsi + 0x15]
mov word [rbp + 0x38], ax
lea eax, [rsi + 1]
mov word [rbp + 0x3a], ax
mov word [rbp + 0x3c], si
mov word [rbp + 0x3e], r8w
mov word [rbp + 0x40], r12w
mov word [rbp + 0x42], r8w
mov word [rbp + 0x44], r14w
mov word [rbp + 0x46], r11w
mov word [rbp + 0x48], cx
mov word [rbp + 0x4a], bx
mov word [rbp + 0x4c], r13w
mov word [rbp + 0x4e], r11w
lea eax, [rsi + 0x3a]
mov word [rbp + 0x50], ax
xor eax, eax
mov word [rbp + 0x52], ax
movzx eax, word [rbp - 0x44]
xor r13d, r13d
mov edx, r13d
lea esi, [rdi - 2]
lea r8d, [r10 + 0x1c]
movzx eax, word [rbp + rdx*2 - 0x44]
mov ecx, dword [rbp - 0x48]
xor cx, ax
mov word [rbp + rdx*2 - 0x44], cx
add rdx, rsi
cmp rdx, r8
jb 0x18003f882
mov word [rbp + 0x52], r13w
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x300], xmm1
lea rax, [rbp - 0x44]
or r14, 0xffffffffffffffff
mov r8, r14
inc r8
cmp word [rax + r8*2], r13w
jne 0x18003f8bf
lea rdx, [rbp - 0x44]
lea rcx, [rbp + 0x2f0]
call fcn.18000c67c
nop
lea rdx, [rbp + 0x2f0]
mov rcx, r15
call fcn.18003cdf4
mov ebx, eax
lea rcx, [rbp + 0x2f0]
call fcn.18000bd8c
nop
xor edx, edx
mov r8d, 0x98
lea rcx, [rbp - 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rcx, qword [r15 + 0x18]
lea rax, [rcx + rcx*2]
cmp rbx, rax
setae r12b
mov dword [rbp + 0x480], r12d
mov edx, 0x66
lea ebx, [rdx - 6]
lea r9d, [rdx + 1]
lea r8d, [rdx + 0xc]
lea eax, [rdx - 0x64]
lea r11d, [rdx + 0x15]
lea r10d, [rdx + 0x10]
cmp rcx, rax
jb 0x1800406af
mov word [rsp + 0x36], r9w
mov word [rsp + 0x38], r8w
mov word [rsp + 0x3a], dx
mov word [rsp + 0x3c], r11w
mov word [rsp + 0x3e], r13w
movzx eax, word [rsp + 0x36]
mov rcx, r13
lea r12d, [rdx - 0x62]
movzx eax, word [rsp + rcx*2 + 0x36]
sub ax, di
mov word [rsp + rcx*2 + 0x36], ax
add rcx, rsi
cmp rcx, r12
jb 0x18003f96d
xorps xmm0, xmm0
movups xmmword [rbp + 0x340], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x350], xmm1
lea rax, [rsp + 0x36]
mov r8, r14
inc r8
cmp word [rax + r8*2], r13w
jne 0x18003f99f
lea rdx, [rsp + 0x36]
lea rcx, [rbp + 0x340]
call fcn.18000c67c
nop
mov ecx, 0x83
mov word [rsp + 0x2c], cx
lea eax, [rcx - 0xc]
mov word [rsp + 0x2e], ax
lea eax, [rcx - 5]
mov word [rsp + 0x30], ax
mov word [rsp + 0x32], cx
mov word [rsp + 0x34], r13w
movzx eax, word [rsp + 0x2c]
mov rcx, r13
mov edx, 0xb
movzx eax, word [rsp + rcx*2 + 0x2c]
sub ax, dx
mov word [rsp + rcx*2 + 0x2c], ax
add rcx, rsi
cmp rcx, r12
jb 0x18003f9ed
xorps xmm0, xmm0
movups xmmword [rbp + 0x360], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x370], xmm1
lea rax, [rsp + 0x2c]
mov r8, r14
inc r8
cmp word [rax + r8*2], r13w
jne 0x18003fa1f
lea rdx, [rsp + 0x2c]
lea rcx, [rbp + 0x360]
call fcn.18000c67c
nop
mov dword [rsp + 0x20], 0x5f
mov eax, dword [rsp + 0x20]
xor ax, 0x7a
mov word [rsp + 0x24], ax
mov eax, dword [rsp + 0x20]
add ax, si
xor ax, 0x69
mov word [rsp + 0x26], ax
mov eax, dword [rsp + 0x20]
add ax, 2
xor ax, 0x70
mov word [rsp + 0x28], ax
xor eax, eax
mov word [rsp + 0x2a], ax
movzx eax, word [rsp + 0x24]
mov rdx, r13
movzx eax, word [rsp + rdx*2 + 0x24]
mov ecx, dword [rsp + 0x20]
add cx, dx
xor cx, ax
mov word [rsp + rdx*2 + 0x24], cx
add rdx, rsi
cmp rdx, rdi
jb 0x18003fa80
mov word [rsp + 0x2a], r13w
xorps xmm0, xmm0
movups xmmword [rbp + 0x380], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x390], xmm1
lea rax, [rsp + 0x24]
mov r8, r14
inc r8
cmp word [rax + r8*2], r13w
jne 0x18003fabf
lea rdx, [rsp + 0x24]
lea rcx, [rbp + 0x380]
call fcn.18000c67c
nop
mov eax, 0x76
mov word [rbp + 0x490], ax
mov eax, 0x6a
mov word [rbp + 0x492], ax
mov eax, 0x6c
mov word [rbp + 0x494], ax
mov word [rbp + 0x496], r13w
movzx eax, word [rbp + 0x490]
mov rcx, r13
mov r12d, 6
movzx eax, word [rbp + rcx*2 + 0x490]
sub ax, r12w
mov word [rbp + rcx*2 + 0x490], ax
add rcx, rsi
cmp rcx, rdi
jb 0x18003fb17
xorps xmm0, xmm0
movups xmmword [rbp + 0x3a0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3b0], xmm1
lea rax, [rbp + 0x490]
mov r8, r14
inc r8
cmp word [rax + r8*2], r13w
jne 0x18003fb52
lea rdx, [rbp + 0x490]
lea rcx, [rbp + 0x3a0]
call fcn.18000c67c
nop
mov dword [rsp + 0x40], ebx
mov ebx, 0xa
mov word [rsp + 0x44], bx
lea eax, [rbx + 6]
mov word [rsp + 0x46], ax
lea eax, [rbx - 3]
mov word [rsp + 0x48], ax
xor eax, eax
mov word [rsp + 0x4a], ax
movzx eax, word [rsp + 0x44]
mov rdx, r13
movzx eax, word [rsp + rdx*2 + 0x44]
mov ecx, dword [rsp + 0x40]
xor cx, ax
mov word [rsp + rdx*2 + 0x44], cx
add rdx, rsi
cmp rdx, rdi
jb 0x18003fb9d
mov word [rsp + 0x4a], r13w
xorps xmm0, xmm0
movups xmmword [rbp + 0x3c0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3d0], xmm1
lea rax, [rsp + 0x44]
mov r8, r14
inc r8
cmp word [rax + r8*2], r13w
jne 0x18003fbd9
lea rdx, [rsp + 0x44]
lea rcx, [rbp + 0x3c0]
call fcn.18000c67c
nop
mov eax, 0x65
mov word [rbp + 0x488], ax
mov eax, 0x70
mov word [rbp + 0x48a], ax
mov eax, 0x64
mov word [rbp + 0x48c], ax
mov word [rbp + 0x48e], r13w
movzx eax, word [rbp + 0x488]
mov rcx, r13
movzx eax, word [rbp + rcx*2 + 0x488]
sub ax, si
mov word [rbp + rcx*2 + 0x488], ax
add rcx, rsi
cmp rcx, rdi
jb 0x18003fc2b
xorps xmm0, xmm0
movups xmmword [rbp + 0x3e0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x3f0], xmm1
lea rax, [rbp + 0x488]
mov r8, r14
inc r8
cmp word [rax + r8*2], r13w
jne 0x18003fc65
lea rdx, [rbp + 0x488]
lea rcx, [rbp + 0x3e0]
call fcn.18000c67c
nop
lea rax, [rbp + 0x340]
mov qword [rbp + 0x2e0], rax
lea rax, [rbp + 0x400]
mov qword [rbp + 0x2e8], rax
lea rdx, [rbp + 0x2e0]
lea rcx, [rbp + 0x2c0]
call fcn.18006c000
nop
lea r9, [fcn.18000bd8c]
mov r8, r12
mov edx, 0x20
lea rcx, [rbp + 0x340]
call fcn.1801575c4
nop
mov edi, 8
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x488]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0x44]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8d, edi
xor edx, edx
lea rcx, [rbp + 0x490]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8d, edi
xor edx, edx
lea rcx, [rsp + 0x24]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x2c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
nop
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x36]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov r12, r13
mov rbx, qword [rbp + 0x2c0]
mov rdi, qword [rbp + 0x2c8]
cmp rbx, rdi
je 0x18004023d
mov rdx, rbx
lea rcx, [rbp + 0x420]
call fcn.18000be28
nop
mov dword [rbp + 0xf4], 3
mov eax, 0x4b
mov word [rbp + 0xf8], ax
mov eax, 0x48
mov word [rbp + 0xfa], ax
lea edx, [rax - 2]
mov word [rbp + 0xfc], dx
lea eax, [rdx + 0x14]
mov word [rbp + 0xfe], ax
lea r10d, [rdx + 0x16]
mov word [rbp + 0x100], r10w
lea r8d, [rdx - 6]
mov word [rbp + 0x102], r8w
lea ecx, [rdx + 0x10]
mov word [rbp + 0x104], cx
lea r9d, [rdx + 0xb]
mov word [rbp + 0x106], r9w
mov word [rbp + 0x108], r9w
mov word [rbp + 0x10a], dx
lea eax, [rdx + 7]
mov word [rbp + 0x10c], ax
lea eax, [rdx + 0x11]
mov word [rbp + 0x10e], ax
mov word [rbp + 0x110], r10w
mov word [rbp + 0x112], cx
lea eax, [rdx + 0xa]
mov word [rbp + 0x114], ax
mov word [rbp + 0x116], dx
mov word [rbp + 0x118], r9w
lea r11d, [rdx + 0x19]
mov word [rbp + 0x11a], r11w
mov word [rbp + 0x11c], ax
lea eax, [rdx + 0x26]
mov word [rbp + 0x11e], ax
lea eax, [rdx + 0x1f]
mov word [rbp + 0x120], ax
lea eax, [rdx + 0x31]
mov word [rbp + 0x122], ax
lea eax, [rdx + 0x2e]
mov word [rbp + 0x124], ax
lea r9d, [rdx + 0x1c]
mov word [rbp + 0x126], r9w
lea ecx, [rdx + 0x2b]
mov word [rbp + 0x128], cx
lea eax, [rdx + 0x20]
mov word [rbp + 0x12a], ax
mov word [rbp + 0x12c], r11w
lea r10d, [rdx + 8]
mov word [rbp + 0x12e], r10w
lea eax, [rdx + 0x24]
mov word [rbp + 0x130], ax
lea eax, [rdx + 0x1a]
mov word [rbp + 0x132], ax
mov word [rbp + 0x134], cx
lea eax, [rdx + 0x26]
mov word [rbp + 0x136], ax
lea eax, [rdx + 0x2a]
mov word [rbp + 0x138], ax
lea eax, [rdx + 0x26]
mov word [rbp + 0x13a], ax
lea eax, [rdx + 0x1f]
mov word [rbp + 0x13c], ax
lea eax, [rdx + 0x31]
mov word [rbp + 0x13e], ax
mov word [rbp + 0x140], r11w
lea eax, [rdx + 0xe]
mov word [rbp + 0x142], ax
lea eax, [rdx + 0x24]
mov word [rbp + 0x144], ax
lea eax, [rdx + 0x27]
mov word [rbp + 0x146], ax
lea eax, [rdx + 0x21]
mov word [rbp + 0x148], ax
lea eax, [rdx + 0x26]
mov word [rbp + 0x14a], ax
lea eax, [rdx + 0x2e]
mov word [rbp + 0x14c], ax
lea eax, [rdx + 0x2a]
mov word [rbp + 0x14e], ax
mov word [rbp + 0x150], r11w
mov word [rbp + 0x152], r8w
lea eax, [rdx + 0x30]
mov word [rbp + 0x154], ax
mov word [rbp + 0x156], cx
mov word [rbp + 0x158], cx
lea eax, [rdx + 0x20]
mov word [rbp + 0x15a], ax
lea eax, [rdx + 0x27]
mov word [rbp + 0x15c], ax
lea eax, [rdx + 0x31]
mov word [rbp + 0x15e], ax
lea eax, [rdx + 0xf]
mov word [rbp + 0x160], ax
lea eax, [rdx + 0x20]
mov word [rbp + 0x162], ax
mov word [rbp + 0x164], cx
lea eax, [rdx + 0x2a]
mov word [rbp + 0x166], ax
lea eax, [rdx + 0x24]
mov word [rbp + 0x168], ax
lea eax, [rdx + 0x26]
mov word [rbp + 0x16a], ax
lea eax, [rdx + 0x27]
mov word [rbp + 0x16c], ax
mov word [rbp + 0x16e], r11w
mov word [rbp + 0x170], dx
lea eax, [rdx + 0x35]
mov word [rbp + 0x172], ax
lea eax, [rdx + 0x2d]
mov word [rbp + 0x174], ax
lea edx, [rcx - 2]
mov word [rbp + 0x176], dx
lea eax, [rcx - 5]
mov word [rbp + 0x178], ax
mov word [rbp + 0x17a], cx
lea eax, [rcx - 0xb]
mov word [rbp + 0x17c], ax
mov word [rbp + 0x17e], cx
mov word [rbp + 0x180], r11w
mov word [rbp + 0x182], r8w
lea eax, [rcx - 5]
mov word [rbp + 0x184], ax
lea eax, [rcx - 3]
mov word [rbp + 0x186], ax
lea eax, [rcx - 0x2a]
mov word [rbp + 0x188], ax
mov word [rbp + 0x18a], dx
lea eax, [rcx - 0xd]
mov word [rbp + 0x18c], ax
lea eax, [rcx - 0x41]
mov word [rbp + 0x18e], ax
lea eax, [rcx - 0x40]
mov word [rbp + 0x190], ax
mov word [rbp + 0x192], r11w
lea eax, [rcx - 0x25]
mov word [rbp + 0x194], ax
lea eax, [rcx + 2]
mov word [rbp + 0x196], ax
lea eax, [rcx - 0xb]
mov word [rbp + 0x198], ax
lea ecx, [rdx - 2]
mov word [rbp + 0x19a], cx
lea ecx, [rdx - 0x1f]
mov word [rbp + 0x19c], cx
mov word [rbp + 0x19e], r9w
lea ecx, [rdx + 6]
mov word [rbp + 0x1a0], cx
mov word [rbp + 0x1a2], ax
lea eax, [rdx - 0x1c]
mov word [rbp + 0x1a4], ax
lea eax, [rdx - 5]
mov word [rbp + 0x1a6], ax
lea eax, [rdx - 8]
mov word [rbp + 0x1a8], ax
mov word [rbp + 0x1aa], dx
mov word [rbp + 0x1ac], r10w
lea eax, [rdx - 0x1e]
mov word [rbp + 0x1ae], ax
lea eax, [rdx - 0x19]
mov word [rbp + 0x1b0], ax
mov word [rbp + 0x1b2], r11w
xor eax, eax
mov word [rbp + 0x1b4], ax
movzx eax, word [rbp + 0xf8]
mov rdx, r13
movzx eax, word [rbp + rdx*2 + 0xf8]
mov ecx, dword [rbp + 0xf4]
xor cx, ax
mov word [rbp + rdx*2 + 0xf8], cx
add rdx, rsi
cmp rdx, 0x5e
jb 0x1800400fa
mov word [rbp + 0x1b4], r13w
xorps xmm0, xmm0
movups xmmword [rbp + 0x2a0], xmm0
mov qword [rbp + 0x2b0], r13
mov qword [rbp + 0x2b8], r13
lea rax, [rbp + 0xf8]
mov r8, r14
inc r8
cmp word [rax + r8*2], r13w
jne 0x180040146
lea rdx, [rbp + 0xf8]
lea rcx, [rbp + 0x2a0]
call fcn.18000c67c
nop
lea r8, [rbp + 0x420]
lea rdx, [rbp + 0x2a0]
lea rcx, [rbp + 0x400]
call fcn.180093f98
nop
mov rdx, qword [rbp + 0x2b8]
cmp rdx, 8
jb 0x1800401c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x2a0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800401c0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180040c0b
call fcn.180157a14
mov qword [rbp + 0x2b0], r13
mov eax, 7
mov qword [rbp + 0x2b8], rax
mov word [rbp + 0x2a0], r13w
xor edx, edx
mov r8d, 0xbe
lea rcx, [rbp + 0xf8]
call qword [sym.imp.VCRUNTIME140.dll_memset]
lea rdx, [rbp + 0x400]
mov rcx, r15
call fcn.18003cdf4
mov eax, eax
add r12, rax
lea rcx, [rbp + 0x400]
call fcn.18000bd8c
nop
lea rcx, [rbp + 0x420]
call fcn.18000bd8c
add rbx, 0x20
cmp rbx, rdi
jne 0x18003fd57
mov rdi, qword [rbp + 0x2c8]
mov rbx, qword [rbp + 0x2c0]
sub rdi, rbx
sar rdi, 5
shr rdi, 1
imul rdi, qword [r15 + 0x18]
lea rcx, [rdi + rdi*2]
movzx eax, byte [rbp + 0x480]
cmp r12, rcx
cmovae r13d, eax
mov eax, 0x66
mov dword [rbp + 0x1b8], eax
mov eax, 0x2e
mov word [rbp + 0x1bc], ax
mov eax, 0x2d
mov word [rbp + 0x1be], ax
lea r8d, [rax - 0xa]
mov word [rbp + 0x1c0], r8w
lea eax, [r8 + 0x1c]
mov word [rbp + 0x1c2], ax
lea ecx, [rax - 6]
mov word [rbp + 0x1c4], cx
lea r10d, [r8 + 2]
mov word [rbp + 0x1c6], r10w
lea r9d, [r8 + 0x10]
mov word [rbp + 0x1c8], r9w
lea edx, [rax - 0xb]
mov word [rbp + 0x1ca], dx
mov word [rbp + 0x1cc], dx
mov word [rbp + 0x1ce], r8w
lea eax, [rcx - 0x11]
mov word [rbp + 0x1d0], ax
lea eax, [rcx - 7]
mov word [rbp + 0x1d2], ax
mov word [rbp + 0x1d4], cx
mov word [rbp + 0x1d6], r9w
lea eax, [rcx - 4]
mov word [rbp + 0x1d8], ax
mov word [rbp + 0x1da], r8w
mov word [rbp + 0x1dc], dx
lea r9d, [r8 + 0x17]
mov word [rbp + 0x1de], r9w
mov word [rbp + 0x1e0], ax
lea edi, [rcx - 0x30]
mov word [rbp + 0x1e2], di
xor r12d, r12d
mov word [rbp + 0x1e4], r12w
lea eax, [rcx - 0x27]
mov word [rbp + 0x1e6], ax
lea eax, [rcx - 0x28]
mov word [rbp + 0x1e8], ax
lea edx, [rcx - 0x32]
mov word [rbp + 0x1ea], dx
lea ecx, [rdi + 0xb]
mov word [rbp + 0x1ec], cx
lea ebx, [rdi - 6]
mov word [rbp + 0x1ee], bx
mov word [rbp + 0x1f0], r9w
lea r11d, [r8 + 8]
mov word [rbp + 0x1f2], r11w
lea r11d, [r8 - 0x14]
mov word [rbp + 0x1f4], r11w
lea edx, [rdi - 4]
mov word [rbp + 0x1f6], dx
mov word [rbp + 0x1f8], cx
mov word [rbp + 0x1fa], di
lea edx, [rdi + 0xc]
mov word [rbp + 0x1fc], dx
mov word [rbp + 0x1fe], di
mov word [rbp + 0x200], r12w
lea edi, [rax + 1]
mov word [rbp + 0x202], di
mov word [rbp + 0x204], r9w
lea edi, [rax + 0x20]
mov word [rbp + 0x206], di
mov word [rbp + 0x208], r11w
lea edi, [rax - 9]
mov word [rbp + 0x20a], di
lea r11d, [r8 - 0x21]
mov word [rbp + 0x20c], r11w
lea r11d, [r8 - 0x1a]
mov word [rbp + 0x20e], r11w
mov word [rbp + 0x210], ax
mov word [rbp + 0x212], dx
mov word [rbp + 0x214], r9w
mov word [rbp + 0x216], r10w
lea eax, [rcx - 1]
mov word [rbp + 0x218], ax
mov word [rbp + 0x21a], cx
mov word [rbp + 0x21c], cx
mov word [rbp + 0x21e], bx
mov word [rbp + 0x220], di
lea eax, [rcx - 2]
mov word [rbp + 0x222], ax
lea eax, [rcx + 0x1c]
mov word [rbp + 0x224], ax
mov word [rbp + 0x226], bx
mov word [rbp + 0x228], cx
mov word [rbp + 0x22a], dx
lea r11d, [r8 - 0x14]
mov word [rbp + 0x22c], r11w
lea eax, [rcx - 0xb]
mov word [rbp + 0x22e], ax
mov word [rbp + 0x230], di
mov word [rbp + 0x232], r9w
mov word [rbp + 0x234], r8w
lea eax, [rcx + 0xa]
mov word [rbp + 0x236], ax
lea eax, [rcx + 2]
mov word [rbp + 0x238], ax
lea r8d, [r10 - 0x1b]
mov word [rbp + 0x23a], r8w
lea eax, [rcx - 0xb]
mov word [rbp + 0x23c], ax
mov word [rbp + 0x23e], cx
mov word [rbp + 0x240], bx
mov word [rbp + 0x242], cx
mov word [rbp + 0x244], r9w
mov word [rbp + 0x246], r10w
mov word [rbp + 0x248], ax
lea eax, [rcx - 9]
mov word [rbp + 0x24a], ax
lea eax, [rcx + 0xe]
mov word [rbp + 0x24c], ax
mov word [rbp + 0x24e], r8w
mov word [rbp + 0x250], si
lea eax, [rcx + 0x41]
mov word [rbp + 0x252], ax
lea eax, [rcx + 0x40]
mov word [rbp + 0x254], ax
mov word [rbp + 0x256], r9w
lea eax, [rcx + 0x16]
mov word [rbp + 0x258], ax
lea eax, [rcx - 0xd]
mov word [rbp + 0x25a], ax
mov word [rbp + 0x25c], dx
lea ecx, [rbx + 0xf]
mov word [rbp + 0x25e], cx
lea eax, [rbx + 0x2d]
mov word [rbp + 0x260], ax
mov word [rbp + 0x262], r11w
mov word [rbp + 0x264], dx
mov word [rbp + 0x266], r11w
mov word [rbp + 0x268], cx
mov word [rbp + 0x26a], bx
lea eax, [rbx - 1]
mov word [rbp + 0x26c], ax
lea ecx, [rbx + 0x33]
mov word [rbp + 0x26e], cx
mov word [rbp + 0x270], r11w
mov word [rbp + 0x272], ax
mov word [rbp + 0x274], r8w
lea r11d, [r10 + 6]
mov word [rbp + 0x276], r11w
lea eax, [rbx + 0x31]
mov word [rbp + 0x278], ax
lea eax, [rbx + 0x30]
mov word [rbp + 0x27a], ax
xor eax, eax
mov word [rbp + 0x27c], ax
movzx eax, word [rbp + 0x1bc]
mov edx, r12d
lea r12d, [r10 + 0x3b]
movzx eax, word [rbp + rdx*2 + 0x1bc]
mov ecx, dword [rbp + 0x1b8]
xor cx, ax
mov word [rbp + rdx*2 + 0x1bc], cx
add rdx, rsi
cmp rdx, r12
jb 0x1800405e5
xor r12d, r12d
mov word [rbp + 0x27c], r12w
xorps xmm0, xmm0
movups xmmword [rbp + 0x310], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x320], xmm1
lea rax, [rbp + 0x1bc]
mov r8, r14
inc r8
cmp word [rax + r8*2], r12w
jne 0x180040630
lea rdx, [rbp + 0x1bc]
lea rcx, [rbp + 0x310]
call fcn.18000c67c
nop
lea rdx, [rbp + 0x310]
mov rcx, r15
call fcn.18003cdf4
mov edi, eax
lea rcx, [rbp + 0x310]
call fcn.18000bd8c
nop
xor edx, edx
mov r8d, 0xc2
lea rcx, [rbp + 0x1bc]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rax, qword [r15 + 0x18]
lea rbx, [rax + rax*4]
lea rcx, [rbp + 0x2c0]
call fcn.18000d144
movzx eax, r13b
cmp rdi, rbx
cmovae r12d, eax
xor r13d, r13d
lea ebx, [r13 + 0x60]
lea r10d, [r13 + 0x76]
lea r11d, [r13 + 0x7b]
mov eax, 0x4c
mov word [rbp + 0x54], ax
lea r8d, [rax + 3]
mov word [rbp + 0x56], r8w
lea r9d, [rax - 3]
mov word [rbp + 0x58], r9w
lea eax, [r8 + 0xe]
mov word [rbp + 0x5a], ax
lea edx, [rax + 6]
mov word [rbp + 0x5c], dx
lea eax, [rdx - 0x1c]
mov word [rbp + 0x5e], ax
lea ecx, [rdx - 0xa]
mov word [rbp + 0x60], cx
lea r8d, [r9 + 0xd]
mov word [rbp + 0x62], r8w
mov word [rbp + 0x64], r8w
mov word [rbp + 0x66], r9w
lea eax, [rdx - 0x11]
mov word [rbp + 0x68], ax
lea eax, [rdx - 0xb]
mov word [rbp + 0x6a], ax
mov word [rbp + 0x6c], dx
mov word [rbp + 0x6e], cx
lea eax, [rdx - 0xc]
mov word [rbp + 0x70], ax
mov word [rbp + 0x72], r9w
mov word [rbp + 0x74], r8w
mov word [rbp + 0x76], bx
mov word [rbp + 0x78], ax
lea edx, [rcx + 0x1a]
mov word [rbp + 0x7a], dx
lea eax, [rcx + 0x11]
mov word [rbp + 0x7c], ax
lea ecx, [rdx + 5]
mov word [rbp + 0x7e], cx
mov word [rbp + 0x80], r11w
lea r8d, [r9 + 0x1c]
mov word [rbp + 0x82], r8w
mov word [rbp + 0x84], r10w
lea edi, [rdx - 0xa]
mov word [rbp + 0x86], di
mov word [rbp + 0x88], bx
lea r8d, [r9 + 8]
mov word [rbp + 0x8a], r8w
lea r8d, [r9 + 0x24]
mov word [rbp + 0x8c], r8w
lea r8d, [r9 + 0x1e]
mov word [rbp + 0x8e], r8w
mov word [rbp + 0x90], r10w
mov word [rbp + 0x92], dx
lea r8d, [r9 + 0x2e]
mov word [rbp + 0x94], r8w
mov word [rbp + 0x96], dx
mov word [rbp + 0x98], ax
mov word [rbp + 0x9a], cx
mov word [rbp + 0x9c], bx
lea eax, [rdx - 0x18]
mov word [rbp + 0x9e], ax
lea eax, [rdx - 6]
mov word [rbp + 0xa0], ax
lea r8d, [r9 + 0x29]
mov word [rbp + 0xa2], r8w
lea eax, [rdx - 0xb]
mov word [rbp + 0xa4], ax
mov word [rbp + 0xa6], dx
mov word [rbp + 0xa8], r11w
lea r11d, [r9 + 0x2e]
mov word [rbp + 0xaa], r11w
mov word [rbp + 0xac], bx
lea eax, [rdx - 0x2c]
mov word [rbp + 0xae], ax
lea eax, [rdx + 6]
mov word [rbp + 0xb0], ax
mov word [rbp + 0xb2], r10w
mov word [rbp + 0xb4], r10w
mov word [rbp + 0xb6], di
mov word [rbp + 0xb8], r8w
mov word [rbp + 0xba], cx
lea eax, [rdx - 0x19]
mov word [rbp + 0xbc], ax
mov word [rbp + 0xbe], di
mov word [rbp + 0xc0], r10w
mov word [rbp + 0xc2], r11w
lea eax, [rdx - 6]
mov word [rbp + 0xc4], ax
mov word [rbp + 0xc6], dx
mov word [rbp + 0xc8], r8w
mov word [rbp + 0xca], bx
mov word [rbp + 0xcc], r9w
lea eax, [rdx + 9]
mov word [rbp + 0xce], ax
lea eax, [rdx + 1]
mov word [rbp + 0xd0], ax
lea eax, [rdx - 3]
mov word [rbp + 0xd2], ax
mov word [rbp + 0xd4], dx
mov word [rbp + 0xd6], r10w
mov word [rbp + 0xd8], di
mov word [rbp + 0xda], r10w
mov word [rbp + 0xdc], bx
lea eax, [rdx - 0x1d]
mov word [rbp + 0xde], ax
mov word [rbp + 0xe0], di
lea eax, [rdx - 0xc]
mov word [rbp + 0xe2], ax
mov word [rbp + 0xe4], di
mov word [rbp + 0xe6], r8w
mov word [rbp + 0xe8], cx
lea ecx, [rdx - 0x2b]
mov word [rbp + 0xea], cx
mov word [rbp + 0xec], dx
mov word [rbp + 0xee], ax
mov word [rbp + 0xf0], r11w
mov word [rbp + 0xf2], r13w
movzx eax, word [rbp + 0x54]
mov rcx, r13
lea edx, [rdi - 0x65]
lea r8d, [r9 + 6]
movzx eax, word [rbp + rcx*2 + 0x54]
sub ax, dx
mov word [rbp + rcx*2 + 0x54], ax
add rcx, rsi
cmp rcx, r8
jb 0x18004093f
xorps xmm0, xmm0
movups xmmword [rbp + 0x280], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x290], xmm1
lea rax, [rbp + 0x54]
mov r8, r14
inc r8
cmp word [rax + r8*2], r13w
jne 0x180040970
lea rdx, [rbp + 0x54]
lea rcx, [rbp + 0x280]
call fcn.18000c67c
nop
lea rdx, [rbp + 0x280]
mov rcx, r15
call fcn.18003cdf4
mov ebx, eax
lea rcx, [rbp + 0x280]
call fcn.18000bd8c
nop
xor edx, edx
mov r8d, 0xa0
lea rcx, [rbp + 0x54]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rdx, qword [r15 + 0x18]
lea rcx, [rdx + rdx*8]
mov edi, r13d
movzx eax, r12b
cmp rbx, rcx
cmovae edi, eax
mov al, dil
mov r12d, 2
cmp rdx, r12
jb 0x180040c70
lea ecx, [r12 + 0x4d]
mov word [rsp + 0x4c], cx
lea eax, [rcx + 3]
mov word [rsp + 0x4e], ax
lea r10d, [r12 + 0x4a]
mov word [rsp + 0x50], r10w
lea edx, [rcx + 0x11]
mov word [rsp + 0x52], dx
lea r8d, [r12 + 0x64]
mov word [rsp + 0x54], r8w
lea r11d, [r12 + 0x51]
mov word [rsp + 0x56], r11w
lea eax, [rcx + 7]
mov word [rsp + 0x58], ax
lea eax, [rcx - 5]
mov word [rsp + 0x5a], ax
lea r9d, [r12 + 0x46]
mov word [rsp + 0x5c], r9w
mov word [rsp + 0x5e], r11w
mov word [rsp + 0x60], r8w
lea r8d, [r12 + 0x52]
mov word [rsp + 0x62], r8w
mov word [rsp + 0x64], r9w
mov word [rsp + 0x66], ax
mov word [rsp + 0x68], cx
lea ecx, [rdx - 0x10]
mov word [rsp + 0x6a], cx
lea ecx, [rdx - 0xb]
mov word [rsp + 0x6c], cx
mov word [rsp + 0x6e], r10w
lea ecx, [rdx + 3]
mov word [rsp + 0x70], cx
lea r11d, [r12 + 0x58]
mov word [rsp + 0x72], r11w
mov word [rsp + 0x74], dx
mov word [rsp + 0x76], r11w
lea edx, [rax + 0x11]
mov word [rsp + 0x78], dx
mov word [rsp + 0x7a], r10w
mov word [rsp + 0x7c], r8w
mov word [rsp + 0x7e], cx
mov word [rbp - 0x80], ax
lea r8d, [r12 + 0x7a]
mov word [rbp - 0x7e], r8w
lea edx, [rax + 0x2f]
mov word [rbp - 0x7c], dx
mov word [rbp - 0x7a], dx
lea ebx, [rax + 0x22]
mov word [rbp - 0x78], bx
lea r9d, [r12 + 0x73]
mov word [rbp - 0x76], r9w
lea r9d, [r12 + 0x79]
mov word [rbp - 0x74], r9w
mov word [rbp - 0x72], ax
lea eax, [rcx + 0x13]
mov word [rbp - 0x70], ax
lea r12d, [r10 + 0x29]
mov word [rbp - 0x6e], r12w
mov word [rbp - 0x6c], r9w
mov word [rbp - 0x6a], dx
mov word [rbp - 0x68], ax
lea eax, [rcx + 0x10]
mov word [rbp - 0x66], ax
mov word [rbp - 0x64], r11w
mov word [rbp - 0x62], bx
mov word [rbp - 0x60], r9w
mov word [rbp - 0x5e], cx
mov word [rbp - 0x5c], r10w
mov eax, r12d
mov word [rbp - 0x5a], ax
mov word [rbp - 0x58], r8w
lea eax, [rcx + 0x11]
mov word [rbp - 0x56], ax
mov word [rbp - 0x54], cx
lea eax, [rcx - 7]
mov word [rbp - 0x52], ax
mov word [rbp - 0x50], r11w
lea eax, [rcx - 0x1a]
mov word [rbp - 0x4e], ax
mov word [rbp - 0x4c], r13w
movzx eax, word [rsp + 0x4c]
mov rcx, r13
lea edx, [rbx - 0x65]
lea r12d, [r10 - 0x4a]
lea r13d, [r10 - 0x18]
movzx eax, word [rsp + rcx*2 + 0x4c]
sub ax, dx
mov word [rsp + rcx*2 + 0x4c], ax
add rcx, rsi
cmp rcx, r13
jb 0x180040b61
xorps xmm0, xmm0
movups xmmword [rbp + 0x280], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x290], xmm1
lea rax, [rsp + 0x4c]
xor r13d, r13d
inc r14
cmp word [rax + r14*2], r13w
jne 0x180040b93
mov r8, r14
lea rdx, [rsp + 0x4c]
lea rcx, [rbp + 0x280]
call fcn.18000c67c
nop
lea rdx, [rbp + 0x280]
mov rcx, r15
call fcn.18003d6f4
mov ebx, eax
mov rdx, qword [rbp + 0x298]
mov eax, 8
cmp rdx, rax
jb 0x180040c17
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x280]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180040c12
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x180040c12
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.180157a14
movdqa xmm0, xmmword [0x180165920]
movdqu xmmword [rbp + 0x290], xmm0
mov word [rbp + 0x280], r13w
xor edx, edx
lea r8d, [rdx + 0x6a]
lea rcx, [rsp + 0x4c]
call qword [sym.imp.VCRUNTIME140.dll_memset]
mov rcx, qword [r15 + 0x18]
cmp rcx, r12
jb 0x180040c50
test rbx, rbx
setne sil
mov eax, 3
cmp rcx, rax
jae 0x180040c62
mov al, dil
test sil, sil
je 0x180040c70
add rcx, rcx
movzx eax, dil
cmp rbx, rcx
cmovb eax, r13d
mov rbx, qword [rsp + 0x598]
add rsp, 0x540
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret