Function at 0x18006409c
Capabilities:
Authenticate hmac
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x58]
sub rsp, 0x158
mov r15, qword [rbp + 0xc0]
lea rax, [r8 + 0x68]
mov qword [rbp - 0x58], rax
mov r14, rcx
mov rax, qword [rcx]
mov r13, rdx
mov rcx, qword [r8 + 8]
xor esi, esi
mov r11, qword [r15 + 0x50]
mov edi, r9d
mov qword [rbp - 0x60], rax
movzx eax, byte [r15 + 0x34]
imul rax, rax, 0x70
mov qword [rbp - 0x40], rcx
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x68], r11
mov qword [rbp - 0x48], rax
mov ebx, dword [rax + rcx + 0x4c]
lea rcx, [r8 + 0x290]
mov edx, ebx
mov dword [rsp + 0x40], ebx
call fcn.180067c0c
mov r10, qword [rbp + 0xb0]
lea r9d, [rsi + 1]
not rax
mov ecx, edi
and rax, qword [rbp + 0xc8]
mov qword [r15 + 0x58], rax
mov r12d, dword [r14 + 0x44]
mov r8, qword [r10 + 0x58]
dec r12d
mov dword [r14 + 0x44], r12d
shr r8, cl
and r8d, r9d
mov dword [r15 + 0x10], r12d
mov dword [r15 + 0xc], r12d
mov eax, dword [r14 + 0x44]
dec eax
mov qword [rsp + 0x70], r8
mov dword [r14 + 0x44], eax
mov dword [rsp + 0x44], r12d
mov dword [rbp - 0x70], eax
mov dword [r15 + 0x18], eax
cmp byte [r15 + 0x34], sil
jbe 0x1800641ba
mov rax, qword [rbp - 0x48]
mov rcx, qword [rbp - 0x40]
test byte [rax + rcx + 0x44], 8
je 0x1800641ba
mov r9d, dword [r14 + 0x38]
lea edx, [rsi + 0x46]
inc r9d
mov dword [rsp + 0x20], esi
mov dword [r14 + 0x38], r9d
xor r8d, r8d
mov rcx, r13
mov dword [r15], r9d
call fcn.180022ce8
mov r11, qword [rsp + 0x68]
lea r9d, [rsi + 1]
mov r8, qword [rsp + 0x70]
mov r10, qword [rbp + 0xb0]
mov edx, edi
test edi, edi
jle 0x1800641db
mov eax, edx
lea rcx, [rax + rax*2]
shl rcx, 5
cmp dword [rcx + r10 + 0x398], esi
jne 0x1800641db
sub edx, r9d
test edx, edx
jg 0x1800641c0
movsxd rax, edx
mov edx, 0x10
lea rcx, [rax + rax*2]
mov rax, qword [rbp - 0x48]
shl rcx, 5
mov r9d, dword [rcx + r10 + 0x3a4]
mov rcx, qword [rbp - 0x40]
test byte [rax + rcx + 0x48], dl
je 0x1800642ac
mov ebx, dword [rax + rcx + 0x3c]
xor r9d, r9d
mov eax, dword [rax + rcx + 0x38]
mov r8d, ebx
mov rcx, r13
mov dword [rsp + 0x20], eax
lea edx, [r9 + 0xd]
call fcn.180022ce8
mov r9d, r12d
mov dword [rsp + 0x20], esi
mov r8d, ebx
mov edx, 0xe
mov rcx, r13
call fcn.180022ce8
mov dword [r15 + 0x3c], eax
mov byte [r15 + 0x35], 0xb
mov r10, qword [rbp + 0xb0]
mov r9d, 1
mov r8, qword [rsp + 0x78]
lea r11, [r10 + 0x68]
mov rax, r8
neg rax
sbb r12d, r12d
add r12d, 2
mov edx, dword [r11 + 0x14]
mov edi, esi
mov rbx, qword [r11 + 0x20]
mov dword [rbp + 0xb8], edx
test edx, edx
jle 0x180065b11
movzx ecx, word [rbx + 0x12]
mov eax, 6
mov dword [rbp + 0xc0], esi
test al, cl
jne 0x180065aec
mov rax, qword [rbx + 0x38]
test qword [r15 + 0x58], rax
je 0x1800659f1
mov byte [r10 + 0x46], r9b
jmp 0x180065aec
mov edx, dword [r11 + 0x28]
bt edx, 0xa
jae 0x180064595
movzx r12d, word [r11 + 0x2c]
mov rcx, r14
lea edx, [r12 + 2]
call fcn.18003af2c
mov ecx, dword [r15 + 0xc]
mov ebx, esi
mov dword [rbp + 0xa0], ecx
mov dword [rbp + 0xb8], eax
test r12d, r12d
je 0x180064369
mov r13, qword [rsp + 0x70]
lea ecx, [rax + 2]
mov dword [rbp + 0xc0], ecx
mov rdi, rsi
mov rax, qword [r11 + 0x38]
mov rdx, qword [rdi + rax]
test rdx, rdx
je 0x180064351
mov eax, 1
lea r8d, [rbx + rcx]
mov rcx, r14
test byte [rdx + 0x14], al
je 0x180064337
mov dword [rsp + 0x28], r8d
mov r9d, ebx
mov r8, r15
mov dword [rsp + 0x20], r13d
call fcn.180063660
mov eax, dword [r15 + 0x10]
mov dword [rbp + 0xa0], eax
jmp 0x180064346
mov rdx, qword [rdx]
mov r9d, eax
mov rdx, qword [rdx + 0x18]
call fcn.180063e30
mov r11, qword [rsp + 0x68]
mov ecx, dword [rbp + 0xc0]
inc ebx
add rdi, 8
cmp ebx, r12d
jl 0x1800642f8
mov r13, qword [rbp + 0xa8]
mov eax, dword [rbp + 0xb8]
mov r8d, dword [r11 + 0x18]
mov ebx, 0x46
mov edx, ebx
mov dword [rsp + 0x20], esi
mov r9d, eax
mov rcx, r13
call fcn.180022ce8
mov r9d, dword [rbp + 0xb8]
mov r8d, r12d
inc r9d
mov dword [rsp + 0x20], esi
mov edx, ebx
mov rcx, r13
call fcn.180022ce8
mov rbx, qword [rsp + 0x68]
mov edx, 9
mov r9d, dword [rbp + 0xa0]
mov rcx, r13
mov r8d, dword [rsp + 0x40]
mov al, byte [rbx + 0x1c]
mov rbx, qword [rbx + 0x20]
neg al
mov eax, dword [rbp + 0xb8]
sbb edi, edi
mov dword [rsp + 0x20], eax
and edi, 0xfffffffa
call fcn.180022ce8
lea r9d, [rdi - 1]
mov r8, rbx
mov edx, eax
mov rcx, r13
call fcn.180023620
mov eax, dword [rsp + 0x40]
lea edi, [r12 - 1]
mov rdx, qword [rsp + 0x68]
mov r10, qword [rbp + 0xb0]
mov byte [rdx + 0x1c], sil
mov dword [r15 + 0x38], eax
mov al, byte [r10 + 0x45]
neg al
sbb cl, cl
and cl, 0x6e
add cl, 0x3c
mov byte [r15 + 0x35], cl
mov eax, dword [r13 + 0x90]
mov dword [r15 + 0x3c], eax
test edi, edi
js 0x18006424a
movsxd rax, dword [r15 + 0x40]
lea r12, [r12*8 - 8]
mov qword [rbp + 0xa0], r12
mov r11d, 1
lea rcx, [rax + rax*4]
mov eax, dword [rbp + 0xb8]
shl rcx, 2
add eax, 2
add eax, edi
mov qword [rbp + 0xc0], rcx
mov dword [rbp + 0xb8], eax
mov rax, qword [rdx + 0x38]
mov r12, qword [r12 + rax]
mov eax, 0x10
cmp edi, eax
jae 0x180064497
movzx eax, word [rdx + 0x1e]
movzx ecx, di
shr ax, cl
test r11b, al
je 0x180064490
mov rdx, r12
mov rcx, r15
call fcn.18006331c
jmp 0x180064562
mov rcx, qword [rbp + 0xc0]
test byte [r12 + 0x14], r11b
je 0x180064567
mov rax, qword [rbp - 0x60]
cmp byte [rax + 0x61], sil
jne 0x1800644e4
mov rdx, qword [r15 + 0x48]
sub rcx, 0x14
mov qword [rbp + 0xc0], rcx
mov edx, dword [rdx + rcx + 4]
mov rcx, r13
call fcn.18002370c
mov r8, rax
mov rcx, r13
movzx edx, byte [rax]
mov r9d, dword [r8 + 8]
mov eax, dword [rax + 0xc]
mov r8d, dword [r8 + 4]
mov dword [rsp + 0x20], eax
call fcn.180022ce8
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
lea edx, [r9 + 0x35]
call fcn.1800353b4
mov rbx, rax
test rax, rax
je 0x18006455c
mov rax, qword [r12]
lea r8, [rbp - 0x18]
mov r12, qword [rbp - 0x60]
xor r9d, r9d
mov edx, 0xab
mov qword [rbp - 0x18], rsi
mov dword [rbp - 0x10], esi
mov rcx, qword [rax + 0x10]
mov qword [rbx + 0x10], rcx
mov rcx, r12
call fcn.180035250
mov qword [rbx + 0x18], rax
test rax, rax
je 0x18006454d
mov ecx, dword [rbp + 0xb8]
xor r9d, r9d
mov dword [rax + 0x2c], ecx
mov rdx, rbx
mov r8d, dword [r15 + 0x18]
mov rcx, r14
call fcn.180039ebc
mov rdx, rbx
mov qword [rbx + 0x10], rsi
mov rcx, r12
call fcn.1800357c0
mov r11d, 1
mov rdx, qword [rsp + 0x68]
mov r12, qword [rbp + 0xa0]
sub dword [rbp + 0xb8], r11d
sub r12, 8
sub edi, r11d
mov rcx, qword [rbp + 0xc0]
mov qword [rbp + 0xa0], r12
jns 0x180064460
jmp 0x180064243
test dl, 5
setne cl
bt edx, 8
setb al
test al, cl
je 0x18006463c
mov rax, qword [r11 + 0x38]
mov r12d, 1
xor r9d, r9d
mov rcx, r14
mov rbx, qword [rax]
add dword [r14 + 0x38], r12d
mov rdx, rbx
mov edi, dword [r14 + 0x38]
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r8d
mov r8, r15
call fcn.180063660
mov ecx, eax
cmp eax, edi
je 0x1800645fb
test edi, edi
je 0x1800645fb
cmp byte [r14 + 0x1f], 8
jae 0x1800645fb
movzx eax, byte [r14 + 0x1f]
mov dword [r14 + rax*4 + 0xcc], edi
add byte [r14 + 0x1f], r12b
mov r9d, dword [r15 + 0x10]
mov edx, 0x1e
mov r8d, dword [rsp + 0x40]
mov dword [rsp + 0x20], ecx
mov rcx, r13
call fcn.180022ce8
mov r10, qword [rbp + 0xb0]
mov r9, r12
mov byte [r15 + 0x35], 0xaa
mov rax, qword [rbx + 0x38]
test qword [r15 + 0x58], rax
jne 0x180064250
or word [rbx + 0x12], 4
jmp 0x180064250
mov ecx, 0x102
mov eax, edx
and eax, ecx
cmp eax, ecx
jne 0x1800648c6
mov dword [rbp + 0xc0], 0xaa
mov rdi, rsi
mov dword [rbp + 0xa0], esi
mov rbx, rsi
test dl, 0x20
je 0x180064676
mov rax, qword [r11 + 0x38]
mov ecx, 8
mov rbx, qword [rax]
jmp 0x180064679
mov rcx, rsi
mov eax, 0x10
test al, dl
je 0x18006468a
mov rax, qword [r11 + 0x38]
mov rdi, qword [rcx + rax]
test r8d, r8d
je 0x180064698
mov rax, rbx
mov rbx, rdi
mov rdi, rax
test rbx, rbx
je 0x180064786
mov r12, qword [rbx]
mov dword [rbp + 0xb8], 0x18161719
mov rcx, qword [r12 + 0x18]
call fcn.180034cb4
mov edx, 1
cmp eax, edx
jle 0x180064716
mov al, byte [r14 + 0x1f]
test al, al
jne 0x1800646d3
add dword [r14 + 0x38], edx
mov ebx, dword [r14 + 0x38]
jmp 0x1800646e4
sub al, dl
movzx eax, al
mov byte [r14 + 0x1f], al
mov ebx, dword [r14 + rax*4 + 0xcc]
mov r9d, edx
mov r8d, ebx
mov rdx, qword [r12 + 0x18]
mov rcx, r14
call fcn.180063e30
movzx eax, byte [r12]
mov ecx, 1
add rax, rcx
mov r11d, ebx
and eax, 2
or rax, rcx
mov cl, byte [rbp + rax + 0xb8]
jmp 0x180064745
mov rdx, rcx
lea r8, [rsp + 0x4c]
mov rcx, r14
call fcn.1800396a0
mov rdx, rbx
mov rcx, r15
mov r11d, eax
call fcn.18006331c
movzx r10d, byte [r12]
mov ebx, dword [rsp + 0x4c]
mov cl, byte [rbp + r10 + 0x82]
mov r12d, dword [rsp + 0x44]
mov r9d, r12d
mov r8d, dword [rsp + 0x40]
movzx edx, cl
mov rcx, r13
mov dword [rsp + 0x20], r11d
call fcn.180022ce8
test ebx, ebx
je 0x1800647a4
cmp byte [r14 + 0x1f], 8
mov r11d, 1
jae 0x1800647aa
movzx eax, byte [r14 + 0x1f]
mov dword [r14 + rax*4 + 0xcc], ebx
add byte [r14 + 0x1f], r11b
jmp 0x1800647aa
mov edx, r8d
mov dword [rsp + 0x20], esi
mov r8d, dword [rsp + 0x40]
xor edx, 1
mov rcx, r13
lea edx, [rdx*4 + 0x20]
call fcn.180022ce8
mov r11d, 1
test rdi, rdi
je 0x18006482b
mov rbx, qword [rdi]
mov r9d, r11d
add dword [r14 + 0x38], r11d
mov rcx, r14
mov eax, dword [r14 + 0x38]
mov r8d, eax
mov dword [rbp + 0xa0], eax
mov rdx, qword [rbx + 0x18]
call fcn.180063e30
mov rcx, qword [rbx + 0x18]
call fcn.180034cb4
mov r11d, 1
cmp eax, r11d
jg 0x180064804
mov al, byte [rbx]
sub al, 0x36
test al, 0xfd
jne 0x180064804
mov eax, dword [rsp + 0x70]
xor eax, r11d
lea edx, [rax*2 + 0x37]
mov dword [rbp + 0xc0], edx
jmp 0x180064816
mov rax, qword [rsp + 0x70]
lea eax, [rax*2 + 0x36]
mov dword [rbp + 0xc0], eax
call fcn.180034cb4
cmp eax, r11d
jg 0x18006482b
mov rdx, rdi
mov rcx, r15
call fcn.18006331c
mov ecx, dword [r13 + 0x90]
neg dword [rsp + 0x70]
mov edi, dword [rbp + 0xc0]
sbb al, al
mov dword [r15 + 0x3c], ecx
add al, 5
mov byte [r15 + 0x35], al
mov eax, dword [rsp + 0x40]
mov dword [r15 + 0x38], eax
cmp edi, 0xaa
je 0x180064243
add dword [r14 + 0x38], r11d
mov r8d, eax
mov ebx, dword [r14 + 0x38]
mov edx, 0x80
mov r9d, ebx
mov dword [rsp + 0x20], esi
mov rcx, r13
call fcn.180022ce8
mov r8d, dword [rbp + 0xa0]
mov r9d, r12d
mov edx, edi
mov dword [rsp + 0x20], ebx
mov rcx, r13
call fcn.180022ce8
movsxd rax, dword [r13 + 0x90]
mov r9d, 1
mov r10, qword [rbp + 0xb0]
test eax, eax
jle 0x180064250
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
mov word [rax + rcx*8 - 0x16], 0x53
jmp 0x180064250
bt edx, 9
jae 0x18006522a
movzx eax, word [r11 + 0x1c]
mov ebx, esi
movzx edi, word [r11 + 0x18]
mov r12, rsi
movzx r10d, word [r11 + 0x1a]
mov r9d, esi
mov word [rsp + 0x64], ax
mov r8d, edi
mov rax, qword [r11 + 0x20]
mov qword [rsp + 0x78], rax
mov eax, dword [r15 + 8]
mov dword [rsp + 0x50], eax
mov word [rsp + 0x60], r10w
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x50], rsi
mov byte [rbp + 0xb8], sil
mov byte [rsp + 0x58], sil
mov dword [rsp + 0x48], ebx
test dl, 0x20
je 0x180064939
mov rax, qword [r11 + 0x38]
inc r8d
mov r9d, r10d
mov r12, qword [rax + rdi*8]
mov qword [rbp - 0x78], r12
mov eax, 0x10
test al, dl
je 0x180064a1b
movzx ebx, word [rsp + 0x64]
mov ecx, 0x100
mov rax, qword [r11 + 0x38]
cmp r9d, ebx
cmova ebx, r9d
mov rax, qword [rax + r8*8]
mov qword [rbp - 0x68], rax
test word [rax + 0x12], cx
je 0x1800649c3
mov r9d, dword [r14 + 0x38]
mov edx, 0x46
inc r9d
mov dword [rsp + 0x20], esi
mov dword [r14 + 0x38], r9d
mov rcx, r13
mov dword [r15 + 0x2c], r9d
lea r8d, [rdx - 0x45]
call fcn.180022ce8
mov eax, dword [r13 + 0x90]
mov edx, esi
shl dword [r15 + 0x2c], 1
mov r8, qword [rsp + 0x78]
mov r11, qword [rsp + 0x68]
movzx r10d, word [rsp + 0x60]
mov dword [r15 + 0x30], eax
mov rax, qword [r8 + 0x38]
cmp byte [rdi + rax], 1
sete dl
xor edx, dword [rsp + 0x70]
or dword [r15 + 0x2c], edx
jmp 0x1800649c8
mov r8, qword [rsp + 0x78]
mov r9d, ebx
test r12, r12
jne 0x180064a14
mov rax, qword [r8 + 8]
movsx r8, word [rax + rdi*2]
test r8d, r8d
js 0x1800649f9
mov rcx, qword [rsp + 0x78]
mov rdx, r8
shl rdx, 5
mov rax, qword [rcx + 0x18]
mov rcx, qword [rax + 8]
cmp byte [rdx + rcx + 0x18], sil
je 0x1800649ff
cmp r8d, 0xfffffffe
jne 0x180064a14
mov ecx, 1
mov r9d, ebx
mov r8b, cl
mov byte [rbp + 0xb8], cl
mov ebx, esi
jmp 0x180064a23
mov ebx, esi
mov r8b, sil
jmp 0x180064a1e
mov r8b, bl
mov ecx, 1
mov eax, dword [r11 + 0x28]
and eax, 0x80030
cmp eax, 0x80000
jne 0x180064a5d
add dword [r14 + 0x38], ecx
mov r9d, ecx
mov ebx, dword [r14 + 0x38]
mov r8b, cl
mov dword [r15 + 0x24], ebx
mov eax, dword [r14 + 0x44]
dec eax
mov byte [rbp + 0xb8], cl
mov dword [r14 + 0x44], eax
mov dword [r15 + 0x28], eax
mov dword [rsp + 0x48], ebx
mov rax, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
cmp di, word [rax + 0x5e]
jae 0x180064a83
mov rax, qword [rax + 0x38]
mov edx, esi
cmp byte [rdi + rax], sil
sete dl
cmp ecx, edx
je 0x180064a8d
mov rax, qword [rsp + 0x78]
test ecx, ecx
je 0x180064abd
cmp word [rax + 0x5e], di
jne 0x180064abd
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x68], r12
mov r12, rax
mov qword [rbp - 0x78], rax
movzx eax, r10b
movzx r10d, word [rsp + 0x64]
mov word [rsp + 0x60], r10w
mov byte [rsp + 0x58], r8b
mov byte [rbp + 0xb8], sil
mov word [rsp + 0x64], ax
lea rax, [rbp - 0x80]
mov r8d, ecx
mov rcx, r14
mov qword [rsp + 0x20], rax
mov rdx, r15
call fcn.180063a9c
mov edx, eax
mov dword [rsp + 0x54], eax
cmp qword [rbp - 0x80], rsi
je 0x180064aff
cmp word [rsp + 0x64], si
je 0x180064aff
mov rcx, qword [rbp - 0x60]
mov rdx, rdi
add rdx, qword [rbp - 0x80]
call fcn.1800071a0
mov edx, dword [rsp + 0x54]
mov qword [rbp - 0x50], rax
test ebx, ebx
je 0x180064b09
mov eax, dword [r15 + 0x28]
jmp 0x180064b0d
mov eax, dword [r15 + 0x10]
mov dword [rsp + 0x5c], eax
test r12, r12
je 0x180064b29
test byte [r12 + 0x14], 0x28
jne 0x180064b29
mov dword [rsp + 0x44], esi
mov ecx, 1
jmp 0x180064b32
mov ecx, 1
mov dword [rsp + 0x44], ecx
mov rax, qword [rbp - 0x68]
test rax, rax
je 0x180064b45
test byte [rax + 0x14], 0x28
mov dword [rsp + 0x4c], esi
je 0x180064b49
mov dword [rsp + 0x4c], ecx
test r12, r12
jne 0x180064b6e
test di, di
jne 0x180064b6e
mov r12d, esi
mov ebx, edi
cmp byte [rbp + 0xb8], sil
je 0x180064c51
mov dword [rsp + 0x44], esi
jmp 0x180064c57
mov rax, qword [rbp - 0x78]
mov ebx, edi
mov r12d, ecx
test rax, rax
je 0x180064b58
mov rax, qword [rax]
mov rcx, r14
movzx r9d, word [rsp + 0x60]
mov r12, qword [rax + 0x18]
lea eax, [rdx + rdi]
mov r8d, eax
mov dword [rbp + 0xb8], eax
mov rdx, r12
call fcn.180063e30
mov rax, qword [rbp - 0x78]
mov ecx, 0x100
test word [rax + 0x12], cx
je 0x180064bd5
or edx, 0xffffffff
mov rcx, r13
call fcn.18002370c
mov r9, rax
mov eax, dword [r15 + 0x2c]
shr eax, 1
mov dword [r9 + 0xc], eax
mov al, byte [r15 + 0x2c]
and al, 1
movzx eax, al
mov word [r9 + 2], ax
mov rcx, r12
call fcn.180036970
test eax, eax
je 0x180064bfe
mov r9d, dword [rsp + 0x5c]
mov edx, 0x32
mov r8d, dword [rbp + 0xb8]
mov rcx, r13
mov dword [rsp + 0x20], esi
call fcn.180022ce8
cmp qword [rbp - 0x80], rsi
je 0x180064c18
movzx edx, word [rsp + 0x60]
mov r8, rdi
add r8, qword [rbp - 0x80]
mov rcx, r12
call fcn.180063410
movzx ecx, word [rsp + 0x60]
add ebx, ecx
mov rcx, r12
call fcn.180034cb4
mov r10d, 1
cmp eax, r10d
jg 0x180064c40
mov rdx, qword [rbp - 0x78]
mov rcx, r15
call fcn.18006331c
jmp 0x180064c45
mov dword [rsp + 0x44], r10d
mov byte [rbp + 0xb8], sil
mov r12d, r10d
jmp 0x180064c78
cmp dword [rsp + 0x48], esi
je 0x180064c78
xor r8d, r8d
mov dword [rsp + 0x20], esi
lea r9d, [rdx + rdi]
mov rcx, r13
lea edx, [r8 + 0x49]
call fcn.180022ce8
mov eax, 1
add ebx, eax
mov r12d, eax
movzx eax, byte [rbp + 0xb8]
mov r8d, ebx
mov r9, qword [rbp - 0x80]
sub r8d, eax
mov edx, dword [rsp + 0x54]
mov rcx, r14
call fcn.18006338c
mov rcx, qword [rsp + 0x68]
cmp word [rcx + 0x2e], si
jbe 0x180064cac
movzx eax, word [rcx + 0x2e]
cmp ebx, eax
je 0x180064d8e
test dword [rcx + 0x28], 0x40000
je 0x180064ccd
mov r8d, dword [rsp + 0x50]
xor r9d, r9d
mov rcx, r13
mov dword [rsp + 0x20], esi
lea edx, [r9 + 0x77]
call fcn.180022ce8
mov eax, dword [rsp + 0x48]
test eax, eax
je 0x180064ced
mov edx, 0x46
mov dword [rsp + 0x20], esi
mov r9d, eax
mov rcx, r13
lea r8d, [rdx - 0x45]
call fcn.180022ce8
mov rcx, qword [rsp + 0x70]
mov eax, dword [rsp + 0x44]
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x28], ebx
lea eax, [rax + r12*2]
lea ecx, [rcx + rax*2]
mov eax, dword [rsp + 0x54]
lea r12, [0x180000000]
mov dword [rsp + 0x20], eax
movzx edx, byte [rcx + r12 + 0x975a0]
mov rcx, r13
call fcn.180023020
cmp dword [rsp + 0x48], esi
je 0x180064d8e
mov r9d, dword [r13 + 0x90]
xor r8d, r8d
add r9d, 2
mov dword [rsp + 0x20], esi
mov rcx, r13
lea edx, [r8 + 0xb]
call fcn.180022ce8
mov r9d, dword [rsp + 0x5c]
mov eax, 2
mov r8d, dword [rsp + 0x50]
mov ecx, ebx
sub ecx, dword [rsp + 0x44]
mov dword [rsp + 0x28], ecx
cmp ebx, 1
lea edx, [rax + 4]
mov rcx, r13
cmova eax, edx
add eax, dword [rsp + 0x70]
movzx edx, byte [rax + r12 + 0x975a0]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
call fcn.180023020
mov rax, qword [rbp - 0x68]
mov ebx, edi
test rax, rax
je 0x180064f14
mov rax, qword [rax]
mov rcx, r14
movzx edx, word [rsp + 0x64]
mov r9d, edx
mov r12, qword [rax + 0x18]
mov eax, edi
add eax, dword [rsp + 0x54]
mov edi, edx
mov r8d, eax
mov dword [rsp + 0x44], eax
mov rdx, r12
call fcn.180063e30
mov rax, qword [rbp - 0x68]
mov ecx, 0x100
test word [rax + 0x12], cx
je 0x180064dfb
or edx, 0xffffffff
mov rcx, r13
call fcn.18002370c
mov r9, rax
mov eax, dword [r15 + 0x2c]
shr eax, 1
mov dword [r9 + 0xc], eax
mov al, byte [r15 + 0x2c]
and al, 1
movzx eax, al
mov word [r9 + 2], ax
mov rcx, r12
call fcn.180036970
test eax, eax
je 0x180064e22
mov r9d, dword [rsp + 0x5c]
mov edx, 0x32
mov r8d, dword [rsp + 0x44]
mov rcx, r13
mov dword [rsp + 0x20], esi
call fcn.180022ce8
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x180064e4b
mov r8, rax
mov edx, edi
mov rcx, r12
call fcn.180063410
mov r9, qword [rbp - 0x50]
mov r8d, edi
mov edx, dword [rsp + 0x44]
mov rcx, r14
call fcn.18006338c
mov rcx, r12
add ebx, edi
call fcn.180034cb4
mov ecx, 1
cmp eax, ecx
jg 0x180064f0d
mov rdx, qword [rbp - 0x68]
mov rcx, r15
call fcn.18006331c
mov edi, dword [rsp + 0x4c]
mov r12d, dword [rsp + 0x48]
cmp qword [rbp - 0x80], rsi
je 0x180064e8a
mov rdx, qword [rbp - 0x80]
mov rcx, qword [rbp - 0x60]
call fcn.180006d68
mov rax, qword [rbp - 0x50]
test rax, rax
je 0x180064e9f
mov rcx, qword [rbp - 0x60]
mov rdx, rax
call fcn.180006d68
mov eax, dword [r13 + 0x90]
mov dword [r15 + 0x3c], eax
test ebx, ebx
je 0x180064f54
test r12d, r12d
je 0x180064ed6
mov r9d, dword [r13 + 0x90]
mov r8d, r12d
add r9d, 3
mov dword [rsp + 0x20], esi
mov edx, 0x14
mov rcx, r13
call fcn.180022ce8
mov rax, qword [rsp + 0x70]
mov rcx, r13
mov r9d, dword [rsp + 0x5c]
mov r8d, dword [rsp + 0x50]
mov dword [rsp + 0x28], ebx
lea eax, [rdi + rax*2]
lea rdi, [0x180000000]
movzx edx, byte [rax + rdi + 0x9c688]
mov eax, dword [rsp + 0x54]
mov dword [rsp + 0x20], eax
call fcn.180023020
jmp 0x180064f5b
mov edi, ecx
jmp 0x180064e72
cmp byte [rsp + 0x58], sil
je 0x180064e6e
mov r12d, dword [rsp + 0x48]
test r12d, r12d
jne 0x180064f49
mov r9d, edi
mov dword [rsp + 0x20], esi
add r9d, dword [rsp + 0x54]
lea edx, [r12 + 0x49]
xor r8d, r8d
mov rcx, r13
call fcn.180022ce8
mov edi, esi
jmp 0x180064f4d
mov edi, dword [rsp + 0x4c]
inc ebx
jmp 0x180064e77
lea rdi, [0x180000000]
test r12d, r12d
je 0x180064fbe
mov r9d, dword [r13 + 0x90]
mov r8d, r12d
add r9d, 2
mov dword [rsp + 0x20], esi
mov edx, 0x12
mov rcx, r13
call fcn.180022ce8
movzx eax, byte [rbp + 0xb8]
mov rcx, qword [rsp + 0x70]
mov r12d, dword [rsp + 0x50]
mov r9d, dword [rsp + 0x5c]
lea r8d, [rbx + rax]
lea ecx, [rax + rcx*2]
mov dword [rsp + 0x28], r8d
movzx edx, byte [rcx + rdi + 0x9c688]
mov r8d, r12d
mov eax, dword [rsp + 0x54]
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.180023020
jmp 0x180064fc3
mov r12d, dword [rsp + 0x50]
mov rbx, qword [rsp + 0x68]
mov edi, 1
test dword [rbx + 0x28], 0x40000
je 0x180064feb
mov r9d, edi
mov dword [rsp + 0x20], esi
mov r8d, r12d
lea edx, [rdi + 0x76]
mov rcx, r13
call fcn.180022ce8
test byte [rbx + 0x28], 0x40
mov rax, qword [rbp + 0xb0]
je 0x18006500c
test byte [rax + 0x40], 0x20
jne 0x18006500c
mov eax, dword [rsp + 0x40]
mov r10, qword [rsp + 0x78]
jmp 0x180065191
mov r10, qword [rsp + 0x78]
mov rbx, qword [r10 + 0x18]
test byte [rbx + 0x40], 0x20
jne 0x18006508a
mov ecx, 0x400
test word [rax + 0x40], cx
jne 0x18006504c
mov ecx, 0x1000
test word [rax + 0x40], cx
je 0x180065037
cmp byte [rax + 0x45], dil
je 0x18006504c
mov r8d, dword [rsp + 0x40]
mov r9d, r12d
mov rdx, r10
mov rcx, rax
call fcn.180063d44
jmp 0x180065083
add dword [r14 + 0x38], edi
mov r8d, r12d
mov ebx, dword [r14 + 0x38]
mov edx, 0x87
mov r9d, ebx
mov dword [rsp + 0x20], esi
mov rcx, r13
call fcn.180022ce8
mov r8d, dword [rsp + 0x40]
xor r9d, r9d
mov rcx, r13
mov dword [rsp + 0x20], ebx
lea edx, [r9 + 0x1f]
call fcn.180022ce8
mov edi, esi
jmp 0x180065183
mov eax, dword [rsp + 0x40]
mov edi, esi
cmp eax, r12d
je 0x18006518c
mov rbx, qword [rbx + 0x10]
mov dword [rbp + 0xb8], esi
test rbx, rbx
je 0x1800650c0
mov dword [rbp + 0xb8], esi
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1800650c0
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800650ae
movzx edx, word [rbx + 0x5e]
mov rcx, r14
call fcn.18003af2c
mov edx, eax
mov dword [rsp + 0x4c], eax
movzx eax, word [rbx + 0x5e]
mov r12d, esi
cmp si, ax
jae 0x180065162
mov r14d, dword [rsp + 0x50]
mov r15d, edx
or edi, 0xffffffff
movzx r8d, word [r10 + 0x60]
mov edx, esi
test r8d, r8d
je 0x18006511a
mov rax, qword [rbx + 8]
mov r9, qword [r10 + 8]
movsxd rcx, r12d
movzx r10d, word [rax + rcx*2]
movsxd rax, edx
cmp r10w, word [r9 + rax*2]
je 0x18006511d
inc edx
cmp edx, r8d
jl 0x180065109
movzx edx, di
lea eax, [r12 + r15]
movsx r9d, dx
mov edx, 0x5a
mov dword [rsp + 0x20], eax
mov r8d, r14d
mov rcx, r13
call fcn.180022ce8
movzx eax, word [rbx + 0x5e]
inc r12d
mov r10, qword [rsp + 0x78]
cmp r12d, eax
jl 0x1800650ed
mov r14, qword [rbp + 0xa0]
mov r15, qword [rbp + 0xc0]
mov edi, dword [rbp + 0xb8]
mov edx, dword [rsp + 0x4c]
mov r9d, dword [rbp - 0x70]
mov rcx, r13
mov r8d, dword [rsp + 0x40]
movzx eax, ax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], edx
mov edx, 0x1c
call fcn.180023020
mov r10, qword [rsp + 0x78]
mov eax, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x68]
mov r12d, dword [rsp + 0x50]
cmp dword [r15], esi
jne 0x1800651b8
mov rcx, qword [rbp + 0xb0]
test byte [rcx + 0x40], 0x20
jne 0x1800651b8
mov r9, rcx
mov r8d, r12d
mov rcx, r10
mov edx, eax
call fcn.180063f30
mov rcx, qword [rsp + 0x78]
mov rcx, qword [rcx + 0x48]
test rcx, rcx
je 0x1800651d3
mov r8, qword [rbp - 0x58]
mov edx, dword [rsp + 0x40]
call fcn.18006400c
mov eax, 0x1000
test dword [rbx + 0x28], eax
je 0x1800651e4
mov byte [r15 + 0x35], 0xaa
jmp 0x1800651f0
neg dword [rsp + 0x70]
sbb al, al
add al, 5
mov byte [r15 + 0x35], al
mov dword [r15 + 0x38], r12d
mov r11d, 1
mov al, byte [rbx + 0x2a]
and al, r11b
mov byte [r15 + 0x36], al
test byte [rbx + 0x28], 0xf
jne 0x18006520e
mov byte [r15 + 0x37], r11b
mov r10, qword [rbp + 0xb0]
mov r9, r11
test edi, edi
je 0x180064250
mov qword [rsp + 0x78], rsi
jmp 0x180064250
mov rcx, qword [rbp - 0x40]
bt edx, 0xd
jae 0x18006598f
mov eax, dword [r14 + 0x34]
mov edx, dword [r14 + 0x38]
mov dword [rsp + 0x64], eax
inc edx
inc eax
mov dword [r14 + 0x38], edx
mov dword [r14 + 0x34], eax
mov eax, dword [r14 + 0x44]
dec eax
mov qword [rbp - 0x38], rsi
mov dword [r14 + 0x44], eax
mov dword [rsp + 0x60], eax
mov rax, qword [rbp - 0x48]
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x44], esi
mov dword [rsp + 0x4c], esi
mov rcx, qword [rax + rcx + 0x28]
mov rax, qword [r11 + 0x38]
mov r11d, 1
mov dword [rsp + 0x54], esi
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x50], rcx
mov rax, qword [rax]
mov qword [rbp - 0x20], rax
mov rax, qword [rax + 0x28]
mov byte [r15 + 0x35], 0x42
mov dword [r15 + 0x38], edx
mov qword [rbp - 0x28], rax
cmp byte [r10 + 0x42], r11b
jbe 0x1800653e8
movzx ebx, byte [r10 + 0x42]
sub ebx, edi
sub ebx, r11d
movsxd rax, ebx
imul rcx, rax, 0x70
mov rax, qword [rbp - 0x60]
add rcx, 0x78
test rax, rax
je 0x1800652da
mov rdx, rcx
mov rcx, rax
call fcn.180007028
jmp 0x1800652df
call fcn.180006bcc
mov qword [rbp - 0x78], rax
mov r12, rax
test rax, rax
jne 0x1800652f7
mov rax, qword [rbp + 0xc8]
jmp 0x180065cbf
mov r10, qword [rbp + 0xb0]
mov r11d, 1
lea eax, [r11 + rbx]
movzx ecx, al
mov rax, qword [rbp - 0x48]
mov dword [r12 + 4], ecx
mov dword [r12], ecx
mov rcx, qword [rbp - 0x40]
movups xmm0, xmmword [rax + rcx + 8]
movups xmmword [r12 + 8], xmm0
movups xmm1, xmmword [rax + rcx + 0x18]
movups xmmword [r12 + 0x18], xmm1
movups xmm0, xmmword [rax + rcx + 0x28]
movups xmmword [r12 + 0x28], xmm0
movups xmm1, xmmword [rax + rcx + 0x38]
movups xmmword [r12 + 0x38], xmm1
movups xmm0, xmmword [rax + rcx + 0x48]
movups xmmword [r12 + 0x48], xmm0
movups xmm1, xmmword [rax + rcx + 0x58]
movups xmmword [r12 + 0x58], xmm1
movups xmm0, xmmword [rax + rcx + 0x68]
movups xmmword [r12 + 0x68], xmm0
mov r8, qword [r10 + 8]
cmp ebx, r11d
jl 0x1800653e2
lea rdx, [r12 + 0x78]
mov r10d, ebx
lea r9, [r15 + 0x94]
movzx eax, byte [r9]
lea r9, [r9 + 0x60]
imul rcx, rax, 0x70
movups xmm0, xmmword [rcx + r8 + 8]
movups xmmword [rdx], xmm0
lea rdx, [rdx + 0x70]
movups xmm1, xmmword [rcx + r8 + 0x18]
movups xmmword [rdx - 0x60], xmm1
movups xmm0, xmmword [rcx + r8 + 0x28]
movups xmmword [rdx - 0x50], xmm0
movups xmm1, xmmword [rcx + r8 + 0x38]
movups xmmword [rdx - 0x40], xmm1
movups xmm0, xmmword [rcx + r8 + 0x48]
movups xmmword [rdx - 0x30], xmm0
movups xmm1, xmmword [rcx + r8 + 0x58]
movups xmmword [rdx - 0x20], xmm1
movups xmm0, xmmword [rcx + r8 + 0x68]
movups xmmword [rdx - 0x10], xmm0
sub r10, r11
jne 0x180065381
mov r10, qword [rbp + 0xb0]
mov rcx, qword [rbp - 0x50]
jmp 0x1800653f0
mov r12, qword [r10 + 8]
mov qword [rbp - 0x78], r12
mov eax, 0x10
test byte [r10 + 0x40], al
jne 0x180065485
test byte [rcx + 0x40], 0x20
jne 0x180065429
add dword [r14 + 0x38], r11d
xor r8d, r8d
mov eax, dword [r14 + 0x38]
mov rcx, r13
mov r9d, eax
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x20], esi
lea edx, [r8 + 0x49]
call fcn.180022ce8
jmp 0x180065474
mov rbx, qword [rcx + 0x10]
jmp 0x18006543c
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x180065441
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x18006542f
mov edi, dword [r14 + 0x34]
mov edx, 0x70
mov r8d, edi
mov dword [rsp + 0x44], edi
mov rcx, r13
mov dword [rsp + 0x20], esi
lea eax, [rdi + 1]
mov dword [r14 + 0x34], eax
movzx r9d, word [rbx + 0x5e]
call fcn.180022ce8
mov rdx, rbx
mov rcx, r14
call fcn.1800236e0
mov eax, 1
add dword [r14 + 0x38], eax
mov eax, dword [r14 + 0x38]
mov dword [rsp + 0x4c], eax
mov r9d, dword [rsp + 0x50]
xor r8d, r8d
mov rcx, r13
mov dword [rsp + 0x20], esi
lea edx, [r8 + 0x46]
call fcn.180022ce8
mov dword [rsp + 0x70], eax
mov rax, qword [rbp - 0x58]
cmp dword [rax + 0x14], 1
jle 0x18006555c
mov r8, qword [rbp - 0x20]
mov edi, esi
mov r15, qword [rbp - 0x60]
mov rbx, rsi
mov r12, rsi
mov r13, rax
mov rcx, qword [r13 + 0x20]
movsxd rax, edi
shl rax, 6
add rax, rcx
mov rdx, qword [rcx + rbx]
cmp rax, r8
je 0x18006551d
mov eax, 6
test byte [rcx + rbx + 0x12], al
jne 0x18006551d
mov eax, 0x1fff
test word [rcx + rbx + 0x14], ax
je 0x18006551d
test rdx, rdx
je 0x180065505
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call fcn.1800359c4
jmp 0x180065508
mov rax, rsi
mov r8, rax
mov rdx, r12
mov rcx, r14
call fcn.180035494
mov r8, qword [rbp - 0x20]
mov r12, rax
inc edi
add rbx, 0x40
cmp edi, dword [r13 + 0x14]
jl 0x1800654c2
mov r15, qword [rbp + 0xc0]
test r12, r12
mov r13, qword [rbp + 0xa8]
mov qword [rbp - 0x80], r12
mov r12, qword [rbp - 0x78]
je 0x18006555c
mov r9, qword [rbp - 0x80]
xor r8d, r8d
mov edx, 0x1002c
mov rcx, r14
call fcn.1800353b4
mov qword [rbp - 0x80], rax
mov rax, qword [rbp + 0xb0]
lea r8, str.MULTI_INDEX_OR
mov ebx, 0x400
mov edx, 1
mov rcx, r14
movzx eax, word [rax + 0x40]
and ax, bx
or ax, 0x20
mov word [rbp + 0xb8], ax
call fcn.180022f04
mov rax, qword [rbp - 0x28]
mov edi, esi
mov dword [rsp + 0x48], esi
cmp dword [rax + 0x14], esi
jle 0x1800658d5
mov edx, dword [rsp + 0x40]
mov rcx, rsi
mov qword [rbp - 0x30], rcx
mov rax, qword [rax + 0x20]
cmp dword [rcx + rax + 0x1c], edx
je 0x1800655c1
test word [rcx + rax + 0x14], bx
je 0x1800658b3
mov rbx, qword [rcx + rax]
mov r15d, esi
mov rax, qword [rbp - 0x80]
mov dword [rsp + 0x68], esi
test rax, rax
je 0x1800655dc
mov qword [rax + 0x10], rbx
mov rbx, rax
lea r9d, [rdi + 1]
mov edx, 1
lea r8, str.INDEX__d
mov rcx, r14
call fcn.180022f04
mov eax, dword [rsp + 0x64]
xor r9d, r9d
mov dword [rsp + 0x30], eax
mov r8, rbx
movzx eax, word [rbp + 0xb8]
mov rdx, r12
mov word [rsp + 0x28], ax
mov rcx, r14
mov qword [rsp + 0x20], rsi
call fcn.18006c5d4
mov qword [rbp - 0x18], rax
mov rbx, rax
test rax, rax
je 0x1800658a6
xor r9d, r9d
lea r8, [rax + 0x398]
mov rdx, r12
mov rcx, r14
call fcn.180062ec4
mov rax, qword [rbp + 0xb0]
mov ecx, 0x10
test byte [rax + 0x40], cl
jne 0x18006578a
mov rax, qword [rbp - 0x28]
mov r12d, edi
mov eax, dword [rax + 0x14]
dec eax
cmp edi, eax
lea eax, [rcx - 0x11]
cmove r12d, eax
mov rax, qword [rbp - 0x50]
mov dword [rbp - 0x68], r12d
test byte [rax + 0x40], 0x20
jne 0x1800656c5
mov r15d, dword [rsp + 0x4c]
neg rax
mov r8d, dword [rsp + 0x40]
mov r9d, r15d
sbb edx, edx
mov dword [rsp + 0x20], esi
and edx, 0x26
mov rcx, r13
add edx, 0x5a
call fcn.180022ce8
mov r8d, dword [rsp + 0x44]
xor r9d, r9d
mov dword [rsp + 0x28], r12d
mov rcx, r13
mov dword [rsp + 0x20], r15d
lea edx, [r9 + 0x2a]
call fcn.180023020
mov r15d, eax
jmp 0x180065786
mov rbx, qword [rax + 0x10]
jmp 0x1800656d8
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1800656dd
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800656cb
movzx edi, word [rbx + 0x5e]
mov rcx, r14
mov edx, edi
call fcn.18003af2c
mov dword [rsp + 0x5c], eax
mov r15, rsi
test edi, edi
je 0x18006573c
mov r12, qword [rbp - 0x50]
mov r14d, eax
mov rax, qword [rbx + 8]
mov rdx, r12
mov r8d, dword [rsp + 0x40]
mov rcx, r13
mov dword [rsp + 0x20], r14d
movsx r9d, word [rax + r15*2]
call fcn.180038338
mov eax, 1
add r14d, eax
add r15, rax
cmp r15, rdi
jl 0x1800656fd
mov r14, qword [rbp + 0xa0]
xor esi, esi
mov r12d, dword [rbp - 0x68]
mov eax, dword [rsp + 0x5c]
test r12d, r12d
je 0x180065820
mov r8d, dword [rsp + 0x44]
xor r9d, r9d
mov dword [rsp + 0x28], edi
mov rcx, r13
mov dword [rsp + 0x20], eax
lea edx, [r9 + 0x1d]
call fcn.180023020
mov r15d, eax
test r12d, r12d
jns 0x180065825
mov ebx, dword [rsp + 0x5c]
mov r8d, edi
mov edx, ebx
mov rcx, r14
call fcn.18003af80
mov edi, dword [rsp + 0x48]
mov rbx, qword [rbp - 0x18]
mov r12, qword [rbp - 0x78]
mov r9d, dword [rsp + 0x60]
mov edx, 0xc
mov r8d, dword [rsp + 0x50]
mov rcx, r13
mov dword [rsp + 0x20], esi
call fcn.180022ce8
test r15d, r15d
je 0x1800657c3
mov edx, r15d
mov rcx, r13
call fcn.18002370c
mov r9, rax
mov eax, dword [r13 + 0x90]
mov dword [r9 + 8], eax
cmp byte [rbx + 0x46], sil
mov ecx, 1
mov eax, dword [rsp + 0x54]
mov rdx, qword [rbx + 0x3e8]
cmovne eax, ecx
mov dword [rsp + 0x54], eax
test dword [rdx + 0x28], 0x200
je 0x180065892
test edi, edi
je 0x1800657fd
mov rax, qword [rbp - 0x38]
cmp qword [rdx + 0x20], rax
jne 0x180065892
mov rax, qword [rbp - 0x50]
test byte [rax + 0x40], 0x20
je 0x180065816
mov rax, qword [rdx + 0x20]
mov ecx, dword [rax + 0x64]
and cl, 3
cmp cl, 2
je 0x180065892
mov r15, qword [rdx + 0x20]
mov qword [rbp - 0x38], r15
jmp 0x180065896
mov r15d, dword [rsp + 0x68]
mov eax, dword [rsp + 0x4c]
mov r9d, edi
mov ebx, dword [rsp + 0x5c]
mov edx, 0x5c
mov r8d, ebx
mov dword [rsp + 0x20], eax
mov rcx, r13
call fcn.180022ce8
mov r9d, dword [rsp + 0x4c]
mov edx, 0x84
mov r8d, dword [rsp + 0x44]
mov rcx, r13
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
call fcn.180023020
test r12d, r12d
je 0x180065771
movsxd rax, dword [r13 + 0x90]
test eax, eax
jle 0x180065771
lea rcx, [rax + rax*2]
mov rax, qword [r13 + 0x88]
mov word [rax + rcx*8 - 0x16], 0x10
jmp 0x180065771
mov qword [rbp - 0x38], rsi
mov rcx, rbx
call fcn.18006d158
mov rcx, r14
call fcn.180022f8c
mov edx, dword [rsp + 0x40]
mov ebx, 0x400
mov rcx, qword [rbp - 0x30]
mov rax, qword [rbp - 0x28]
inc edi
add rcx, 0x40
mov dword [rsp + 0x48], edi
mov qword [rbp - 0x30], rcx
cmp edi, dword [rax + 0x14]
jl 0x1800655ac
mov r15, qword [rbp + 0xc0]
mov rcx, r14
call fcn.180022f8c
mov rax, qword [rbp - 0x38]
mov qword [r15 + 0x40], rax
test rax, rax
je 0x1800658f2
mov eax, dword [rsp + 0x64]
mov dword [r15 + 8], eax
mov rax, qword [rbp - 0x80]
mov rbx, qword [rbp - 0x60]
test rax, rax
je 0x18006590e
mov rdx, rax
mov qword [rax + 0x10], rsi
mov rcx, rbx
call fcn.1800357c0
mov edx, dword [rsp + 0x70]
mov rcx, r13
call fcn.18002370c
mov r9, rax
mov dword [rsp + 0x20], esi
mov eax, dword [r13 + 0x90]
xor r8d, r8d
mov rcx, r13
mov dword [r9 + 4], eax
mov r9d, dword [r15 + 0xc]
lea edx, [r8 + 0xb]
call fcn.180022ce8
mov edx, dword [rsp + 0x60]
mov rcx, r13
call fcn.180023104
mov r10, qword [rbp + 0xb0]
mov eax, 1
cmp byte [r10 + 0x42], al
jbe 0x180065974
test r12, r12
je 0x180065974
mov rdx, r12
mov rcx, rbx
call fcn.180006d68
mov r10, qword [rbp + 0xb0]
cmp dword [rsp + 0x54], esi
jne 0x18006424a
mov rdx, qword [rbp - 0x20]
mov rcx, r15
call fcn.18006331c
jmp 0x18006424a
mov rax, qword [rbp - 0x48]
test byte [rax + rcx + 0x48], 0x20
je 0x1800659a4
mov byte [r15 + 0x35], 0xaa
jmp 0x18006424a
mov ecx, r8d
lea rdx, [0x180000000]
mov r8d, ebx
mov dword [r15 + 0x38], ebx
mov dword [rsp + 0x20], esi
mov al, byte [rcx + rdx + 0x9ad74]
movzx edx, byte [rcx + rdx + 0x9c718]
mov rcx, r13
mov byte [r15 + 0x35], al
call fcn.180022ce8
mov r10, qword [rbp + 0xb0]
mov r9d, 1
add eax, r9d
mov byte [r15 + 0x37], r9b
mov dword [r15 + 0x3c], eax
jmp 0x180064250
mov r9, qword [rbp - 0x48]
mov r10, qword [rbp - 0x40]
mov rax, qword [rbx]
mov qword [rbp + 0xa0], rax
test byte [r9 + r10 + 0x44], 8
mov r9d, 1
je 0x180065a1b
test byte [rax + 4], r9b
je 0x180065aec
cmp r12d, r9d
jne 0x180065a44
mov edx, dword [r15 + 4]
mov rcx, rax
call fcn.18003ab44
mov edx, dword [rbp + 0xb8]
mov r9d, 1
test eax, eax
jne 0x180065a4a
lea edi, [rax + 2]
jmp 0x180065aec
cmp r12d, 3
jge 0x180065a6c
movzx ecx, word [rbx + 0x12]
bt cx, 0xc
jae 0x180065a6c
mov r9d, 1
test edi, edi
jne 0x180065aec
lea edi, [r9 + 2]
jmp 0x180065aec
bt cx, 9
jae 0x180065aa0
mov edx, dword [r15 + 0x2c]
test edx, edx
je 0x180065aa0
mov r8d, edx
mov dword [rsp + 0x20], esi
and edx, r9d
shr r8d, 1
xor r9d, r9d
mov rcx, r13
lea edx, [rdx*2 + 0x12]
call fcn.180022ce8
mov dword [rbp + 0xc0], eax
mov r8d, dword [rbp - 0x70]
mov r9d, 0x10
mov rdx, qword [rbp + 0xa0]
mov rcx, r14
call fcn.180039ebc
mov eax, dword [rbp + 0xc0]
test eax, eax
je 0x180065adb
mov edx, eax
mov rcx, r13
call fcn.18002370c
mov r9, rax
mov eax, dword [r13 + 0x90]
mov dword [r9 + 8], eax
or word [rbx + 0x12], 4
mov r9d, 1
mov edx, dword [rbp + 0xb8]
mov r10, qword [rbp + 0xb0]
sub edx, r9d
mov r8, qword [rsp + 0x78]
add rbx, 0x40
mov dword [rbp + 0xb8], edx
test edx, edx
jg 0x18006427e
mov r11, qword [rbp - 0x58]
mov r10, qword [rbp + 0xb0]
mov r12d, edi
test edi, edi
jg 0x180064266
mov edi, dword [r11 + 0x14]
mov r12d, 1
mov rbx, qword [r11 + 0x20]
test edi, edi
jle 0x180065c48
mov r13d, dword [rsp + 0x40]
lea eax, [r12 + 5]
test byte [rbx + 0x12], al
jne 0x180065c32
movzx eax, word [rbx + 0x14]
mov edx, 0xb
test al, 0x82
setne cl
bt ax, dx
setb al
test al, cl
je 0x180065c2d
cmp dword [rbx + 0x1c], r13d
jne 0x180065c2d
cmp dword [r15], esi
jne 0x180065c2d
mov r9, qword [rbp + 0xc8]
mov edx, r13d
mov r8d, dword [rbx + 0x28]
mov rcx, r11
mov r12, qword [rbx]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x83
call fcn.180067f34
mov rdx, rax
test rax, rax
je 0x180065c23
test byte [rax + 0x12], 4
jne 0x180065c23
mov r8d, 1
test byte [rax + 0x14], r8b
je 0x180065bd8
mov rax, qword [rax]
test dword [rax + 4], 0x800
je 0x180065bd8
mov rax, qword [rax + 0x20]
mov rcx, qword [rax]
cmp dword [rcx], r8d
jg 0x180065cd3
mov rax, qword [rdx]
mov r9d, 0x10
mov r8d, dword [rbp - 0x70]
lea rdx, [rbp]
mov rcx, r14
movups xmm0, xmmword [rax]
movaps xmmword [rbp], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp + 0x30], xmm1
movsd xmm0, qword [rax + 0x40]
movsd qword [rbp + 0x40], xmm0
mov rax, qword [r12 + 0x10]
mov qword [rbp + 0x10], rax
call fcn.180039ebc
mov r12d, 1
mov r11, qword [rbp - 0x58]
mov eax, 6
sub edi, r12d
add rbx, 0x40
test edi, edi
jg 0x180065b43
mov r13, qword [rbp + 0xa8]
cmp dword [r15], esi
je 0x180065cbb
mov eax, dword [r13 + 0x90]
mov r8d, r12d
mov r9d, dword [r15]
mov edx, 0x46
mov rcx, r13
mov dword [r15 + 0x1c], eax
mov dword [rsp + 0x20], esi
call fcn.180022ce8
mov rdi, qword [rbp - 0x58]
mov rbx, qword [rdi + 0x20]
cmp dword [rdi + 0x14], esi
jle 0x180065cbb
mov eax, 6
test byte [rbx + 0x12], al
jne 0x180065caf
mov rax, qword [rbx + 0x38]
test qword [r15 + 0x58], rax
jne 0x180065caa
mov r8d, dword [rbp - 0x70]
mov r9d, 0x10
mov rdx, qword [rbx]
mov rcx, r14
call fcn.180039ebc
or word [rbx + 0x12], 4
mov eax, 6
add esi, r12d
add rbx, 0x40
cmp esi, dword [rdi + 0x14]
jl 0x180065c81
mov rax, qword [r15 + 0x58]
add rsp, 0x158
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov r12, r8
jmp 0x180065c29