Function at 0x14003a4d0
Capabilities:
Check for time delay via queryperformancecounter
Get thread local storage value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x2f8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x260], xmm7
movaps xmmword [rbp + 0x250], xmm6
mov qword [rbp + 0x248], 0xfffffffffffffffe
mov qword [rbp + 0x210], r9
mov qword [rbp + 0x238], r8
mov r12, rdx
mov byte [rbp + 0x1f8], cl
mov ebx, dword [rbp + 0x308]
mov eax, dword [0x1401849f8]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003f9dd
mov esi, dword [rbp + 0x2f0]
test ebx, 0x410
jne 0x14003ca62
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, esi
jne 0x14003ca62
mov eax, dword [0x140184628]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003f964
cmp byte [0x140184624], 0
je 0x14003ca62
lea rcx, [rbp + 0x70]
int3
mov qword [rbp + 0x200], rax
mov qword [rbp + 0x1b0], 0
mov dword [rbp - 0x10], esi
cmp byte [r12], 0
je 0x14003f600
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003a5f9
movsxd rcx, dword [0x140184968]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14018496c]
jne 0x14003a5f9
cmp qword [rax + rcx], 0
jne 0x14003f600
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp eax, esi
jne 0x14003a6e7
mov rax, qword [0x1401880e8]
cmp rax, 1
jbe 0x14003f921
mov eax, dword [0x1401880e0]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003f8e9
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003fb75
movsxd rcx, dword [0x1401880d8]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x1401880dc]
jne 0x14003fb75
mov rsi, qword [rax + rcx]
test rsi, rsi
je 0x14003f801
mov qword [rbp + 0x30], rsi
mov eax, dword [0x140184a10]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003f7b2
mov rdi, qword [0x140184a08]
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003fb7c
movsxd rcx, dword [rdi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rdi + 4]
jne 0x14003fb7c
mov rax, qword [rax + rcx]
test rsi, rsi
je 0x14003a6e7
cmp rsi, rax
jne 0x14003f6e2
mov rax, qword [rbp + 0x300]
test byte [r12], 8
jne 0x14003fb83
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003f850
mov rdi, qword [rbp + 0x2f8]
lea rcx, [0x140184968]
movsxd rdx, dword [0x140184968]
shl rdx, 4
mov qword [rax + rdx], rcx
mov ecx, dword [0x14018496c]
movsxd rdx, dword [0x140184968]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
xor eax, eax
mov r15d, 0
test ebx, 0x800
je 0x14003a758
mov r15, qword [0x1401847f0]
test ebx, 0x180
cmove r15, rax
mov rax, qword [0x140184800]
mov r13, qword [rdi]
movabs rcx, 0x8000000000000001
add rcx, rax
cmp rcx, 2
jae 0x14003a79b
cmp r13, rax
je 0x14003fbb1
sar rax, 0x3f
movabs r13, 0x8000000000000000
add r13, rax
jmp 0x14003a7b7
xor ecx, ecx
cmp r13, rax
setns cl
movabs rdx, 0x7fffffffffffffff
add rdx, rcx
sub r13, rax
cmovo r13, rdx
mov rsi, qword [rbp + 0x2e8]
test ebx, 0x410
jne 0x14003a7cc
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
xor r15, rsi
mov al, byte [r12]
test al, 1
jne 0x14003a895
xor r14d, r14d
xor ecx, ecx
mov qword [rbp + 0x240], r12
xorps xmm0, xmm0
movaps xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], 0
test al, 0x10
jne 0x14003ab2b
xor r12d, r12d
test cl, cl
je 0x14003ad5c
test r14, r14
je 0x14003aee9
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x14003b2ba
cmp qword [rax], 0x40
jne 0x14003b35f
mov rsi, qword [r14 + 0x10]
add rsi, 8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003fa95
mov rbx, qword [r14 + 0x18]
test rbx, rbx
je 0x14003b282
mov rax, qword [r14 + 0x10]
mov rcx, qword [rax + 0x360]
cmp dword [r14 + 0x28], ecx
jne 0x14003b28c
mov rcx, qword [rax + 0x20]
xor edi, edi
mov qword [r14 + 0x18], rdi
lea r8, [rbp + 0x70]
mov qword [r8], rbx
mov rdx, qword [r14 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [r14 + 0x18]
mov qword [r14 + 0x18], rdi
test rbx, rbx
jne 0x14003b294
jmp 0x14003b2a4
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003a8c9
movsxd rcx, dword [0x140184960]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140184964]
jne 0x14003a8c9
cmp qword [rax + rcx], 0
jne 0x14003a9b2
mov eax, dword [0x140189db8]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003f80d
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003a9b2
movsxd rcx, dword [0x140189db0]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x140189db4]
jne 0x14003a9b2
cmp qword [rax + rcx], 0
je 0x14003a9b2
mov rsi, qword [0x140188278]
cmp rsi, 1
jbe 0x14003f878
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003a9b2
movsxd rcx, dword [rsi]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [rsi + 4]
jne 0x14003a9b2
cmp qword [rax + rcx], 0
je 0x14003a9b2
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003fa41
movsxd rcx, dword [0x140184958]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14018495c]
jne 0x14003fa41
mov rsi, qword [rax + rcx]
test rsi, rsi
je 0x14003fa41
mov rax, qword [0x1401849c8]
cmp dword [rsi + 0x28], eax
jne 0x14003fa31
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003fba9
movsxd rcx, dword [0x140184958]
shl rcx, 4
mov edx, dword [rax + rcx + 8]
cmp edx, dword [0x14018495c]
jne 0x14003fba9
mov r14, qword [rax + rcx]
mov al, byte [r12]
test al, 1
je 0x14003a7de
mov rdi, qword [0x1401849d8]
test rdi, rdi
je 0x14003b01a
movaps xmm0, xmmword [0x14015c320]
movups xmmword [rbp + 0xc8], xmm0
movups xmmword [rbp + 0xe8], xmm0
movups xmmword [rbp + 0xf8], xmm0
movups xmmword [rbp + 0xd8], xmm0
mov qword [rbp + 0x70], r13
mov rax, qword [rbp + 0x200]
mov qword [rbp + 0x78], rax
mov qword [rbp + 0x80], 0xffffffffffffffff
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x90], 0xffffffffffffffff
mov qword [rbp + 0x98], 0
lea rsi, [rbp + 0xa0]
mov rax, qword [rbp + 0x210]
mov qword [rbp + 0xa0], rax
mov rax, qword [rbp + 0x2e0]
mov qword [rbp + 0xa8], rax
mov qword [rbp + 0xb0], r12
lea r12, [rbp + 0xb8]
mov rax, qword [rbp + 0x238]
mov qword [rbp + 0xb8], rax
mov qword [rbp + 0xc0], 0
mov byte [rbp + 0xc8], 0
mov eax, dword [rbp + 0x2f0]
mov dword [rbp + 0xf0], eax
mov dword [rbp + 0xf4], ebx
mov qword [rbp + 0xf8], r15
mov al, byte [rbp + 0x1f8]
mov byte [rbp + 0x100], al
mov rdx, qword [rbp + 0x300]
test rdx, rdx
jne 0x14003d411
lea rcx, [rbp + 0xc8]
lea rdx, [rbp + 0xc0]
mov qword [rsp + 0x20], rsi
and bl, 1
mov r8d, ebx
mov r9, r12
call fcn.1400351e0
test r14, r14
setne dl
lea rsi, [rbp + 0x70]
lea r8, [rbp + 0x1b0]
mov rcx, rsi
call rdi
mov rcx, rsi
int3
mov qword [rbp + 0x48], r14
mov ecx, 0x98
int3
movzx edi, byte [rbp + 0x47]
mov r15, rdi
test dil, dil
jns 0x14003ad6c
mov r15, qword [rbp + 0x38]
test r15, r15
je 0x14003b14a
cmp dword [0x1401844f8], 2
jg 0x14003b14a
lea rax, [0x14015b330]
mov qword [rbp + 0x70], rax
mov dword [rbp + 0x78], 2
lea rcx, [rbp + 0x80]
mov edx, 0x10
mov r8d, 1
int3
lea rcx, [0x140184670]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003fa13
mov rax, qword [0x140184998]
test rax, rax
je 0x14003af4d
cmp qword [rax], 0x40
jne 0x14003afd6
mov rcx, qword [0x140184688]
mov qword [0x140184998], 0
lea r8, [rbp + 0x220]
mov qword [r8], rax
mov rdx, qword [0x1401849a0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x140184998]
test rax, rax
jne 0x14003afd6
mov rcx, qword [0x140184688]
mov rax, qword [rcx]
lea r8, [0x1401849a0]
lea rdx, [rbp + 0x70]
call qword [rax + 8]
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x70], 0
mov rsi, qword [0x140184998]
mov qword [0x140184998], rax
test rsi, rsi
je 0x14003afb5
mov rcx, rsi
int3
mov rcx, qword [0x140184688]
mov rax, qword [rcx]
call qword [rax + 0x18]
test al, al
jne 0x14003d42f
mov rax, qword [0x140184998]
test rax, rax
je 0x14003aff4
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
imul rdi, rcx, 0x98
add rdi, rax
add rdi, 0x10
jne 0x14003d34d
mov bl, 1
xor edi, edi
jmp 0x14003b381
mov cl, 1
jmp 0x14003a7e0
test r12, r12
je 0x14003b15f
mov rcx, r12
int3
cmp byte [rbp + 0x47], 0
jns 0x14003b16e
mov rcx, qword [rbp + 0x30]
call fcn.14008d2a8
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003b1a8
movsxd rcx, dword [0x140184968]
shl rcx, 4
mov qword [rax + rcx], 0
mov ecx, dword [0x14018496c]
movsxd rdx, dword [0x140184968]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
mov rax, qword [rbp + 0x1b0]
movaps xmm6, xmmword [rbp + 0x250]
movaps xmm7, xmmword [rbp + 0x260]
add rsp, 0x2f8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov qword [r14 + 0x18], 0
jmp 0x14003b2a4
mov qword [r14 + 0x18], 0
mov rcx, rbx
int3
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [r14 + 0x18]
test rax, rax
jne 0x14003b35f
mov rsi, qword [r14 + 0x10]
add rsi, 8
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003fa24
mov rax, qword [r14 + 0x10]
mov rcx, qword [rax + 0x20]
lea r8, [r14 + 0x20]
mov rax, qword [rcx]
lea rdx, [rbp + 0x70]
call qword [rax + 8]
mov rax, qword [rbp + 0x70]
mov qword [rbp + 0x70], 0
mov rbx, qword [r14 + 0x18]
mov qword [r14 + 0x18], rax
test rbx, rbx
je 0x14003b333
mov rcx, rbx
int3
mov rdi, qword [r14 + 0x10]
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x18]
test al, al
jne 0x14003d2e9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, qword [r14 + 0x18]
test rax, rax
je 0x14003aff4
mov rcx, qword [rax]
lea rdx, [rcx + 1]
mov qword [rax], rdx
imul rdi, rcx, 0x98
add rdi, rax
add rdi, 0x10
jne 0x14003cc37
xor edi, edi
mov bl, 1
mov eax, dword [0x140184808]
test al, 8
je 0x14003ef0b
mov al, byte [rbp + 0x1f8]
cmp al, 0x58
movzx eax, al
mov esi, 0x42
cmovne esi, eax
lea rcx, [0x140184678]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003f9cc
test bl, bl
mov qword [rbp + 0x10], rdi
je 0x14003b3c9
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, eax
jmp 0x14003b3cf
mov edi, dword [rdi + 0x80]
mov qword [rbp + 0x48], r14
mov dword [rbp + 0x1bc], edi
cmp sil, 0x45
mov dword [rbp + 0x1b8], esi
mov dword [rbp + 0x2c], ebx
jne 0x14003b4c4
movsxd r14, edi
mov rbx, qword [0x1401847a0]
test rbx, rbx
je 0x14003bb7b
mov rax, rbx
shr rax, 1
movabs rcx, 0x5555555555555555
and rax, rcx
mov rdx, rbx
sub rdx, rax
mov rax, rdx
movabs rcx, 0x3333333333333333
and rax, rcx
shr rdx, 2
and rdx, rcx
add rdx, rax
mov rcx, rdx
shr rcx, 4
add rcx, rdx
movabs rax, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
cmp rcx, 1
ja 0x14003bf84
lea r15, [rbx - 1]
and r15, r14
mov rax, qword [0x140184798]
mov rsi, qword [rax + r15*8]
test rsi, rsi
je 0x14003bb85
lea r8, [rbx - 1]
jmp 0x14003b49b
and rax, r8
cmp rax, r15
jne 0x14003bb85
cmp dword [rsi + 0x10], edi
je 0x14003bc43
mov rsi, qword [rsi]
test rsi, rsi
je 0x14003bb85
mov rax, qword [rsi + 8]
cmp rax, r14
je 0x14003b492
cmp ecx, 1
jbe 0x14003b486
cmp rax, rbx
jb 0x14003b489
xor edx, edx
div rbx
mov rax, rdx
jmp 0x14003b489
xor eax, eax
mov qword [rbp + 0x20], rax
movabs rbx, 0xaaaaaaaaaaaaaaaa
mov qword [rbp + 0x1e0], rbx
movaps xmm6, xmmword [0x14015c320]
movaps xmmword [rbp + 0x1d0], xmm6
mov r15d, dword [rbp + 0x1bc]
movsxd r14, r15d
mov rdi, qword [0x140184778]
test rdi, rdi
mov qword [rbp + 0x1f8], r12
je 0x14003b590
mov rax, rdi
shr rax, 1
movabs rcx, 0x5555555555555555
and rax, rcx
mov rdx, rdi
sub rdx, rax
mov rax, rdx
movabs rcx, 0x3333333333333333
and rax, rcx
shr rdx, 2
and rdx, rcx
add rdx, rax
mov rcx, rdx
shr rcx, 4
add rcx, rdx
movabs rax, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
cmp rcx, 1
jbe 0x14003ca49
mov rbx, r14
cmp rdi, r14
jbe 0x14003bfbc
mov rax, qword [0x140184770]
mov rsi, qword [rax + rbx*8]
test rsi, rsi
jne 0x14003bea8
mov ecx, 0x30
int3
cmp byte [rsi + 0x2f], 0
js 0x14003b77e
add rsi, 0x18
mov rax, qword [rsi + 0x10]
mov qword [rbp + 0x1e0], rax
movups xmm0, xmmword [rsi]
movaps xmmword [rbp + 0x1d0], xmm0
movzx edi, byte [rbp + 0x1e7]
test dil, dil
mov r11, qword [rbp + 0x1d0]
mov rcx, qword [rbp + 0x1d8]
lea r10, [rbp + 0x1d0]
cmovs r10, r11
mov r12, rdi
cmovs r12, rcx
cmp r12, 0x20
mov qword [rbp + 0x210], r11
mov qword [rbp + 0x238], rdi
mov qword [rbp + 0x200], rcx
ja 0x14003b7e3
cmp r12, 0x10
ja 0x14003bad7
cmp r12, 9
jae 0x14003ba8d
cmp r12, 4
jae 0x14003c095
test r12, r12
je 0x14003f85a
movzx eax, byte [r10]
mov rcx, r12
shr rcx, 1
movzx ecx, byte [r10 + rcx]
movzx edx, byte [r12 + r10 - 1]
shl rcx, 8
or rcx, rax
lea rax, [r12 + rdx*4]
movabs rdx, 0x9ae16a3b2f90404f
imul rcx, rdx
movabs rbx, 0xc949d7c7509e6557
imul rbx, rax
xor rbx, rcx
mov r15, rbx
shr r15, 0x2f
xor r15, rbx
imul r15, rdx
jmp 0x14003b8ea
mov rdi, qword [rsi + 0x18]
mov rsi, qword [rsi + 0x20]
cmp rsi, 0x16
jbe 0x14003d360
cmp rsi, 0xfffffffffffffff0
jae 0x14003feca
lea rbx, [rsi + 0x10]
and rbx, 0xfffffffffffffff0
mov rcx, rbx
int3
add rsi, 1
mov rdx, rdi
mov r8, rsi
call fcn.140091e40
jmp 0x14003b6bc
cmp r12, 0x40
ja 0x14003ccf9
lea rax, [r11 + 0x10]
test dil, dil
lea rbx, [rbp + 0x1e0]
cmovs rbx, rax
lea rsi, [r11 + 8]
test dil, dil
lea rax, [rbp + 0x1d8]
cmovns rsi, rax
lea rax, [r11 + 0x18]
test dil, dil
lea rcx, [rbp + 0x1e8]
cmovs rcx, rax
mov r9, qword [r10 + r12 - 0x10]
lea rdx, [r9 + r12]
movabs r8, 0xc3a5c85c97cb3127
imul rdx, r8
add rdx, qword [r10]
mov rcx, qword [rcx]
mov r14, r10
lea r10, [rdx + rcx]
rol r10, 0xc
mov rdi, rdx
rol rdi, 0x1b
add rdx, qword [rsi]
mov rax, rdx
rol rax, 0x39
add rax, rdi
mov rdi, qword [rbx]
add rdx, rdi
mov rbx, rdx
rol rbx, 0x21
add rax, r10
add rbx, rax
add rdi, qword [r14 + r12 - 0x20]
add rdx, rcx
add rcx, qword [r14 + r12 - 8]
lea r10, [rcx + rdi]
mov rsi, rdi
rol rsi, 0x1b
add rdi, qword [r14 + r12 - 0x18]
mov rax, rdi
add rdi, r9
add rsi, rdx
rol rax, 0x39
add rsi, rax
rol r10, 0xc
add rsi, r10
mov r10, r14
add rcx, rdi
rol rdi, 0x21
add rsi, rdi
movabs rax, 0x9ae16a3b2f90404f
imul rsi, rax
add rcx, rbx
imul rcx, r8
add rcx, rsi
mov rdx, rcx
shr rdx, 0x2f
xor rdx, rcx
imul rdx, r8
add rdx, rbx
mov r15, rdx
shr r15, 0x2f
xor r15, rdx
imul r15, rax
mov r13, qword [0x1401847c8]
test r13, r13
je 0x14003c0e1
mov rax, r13
shr rax, 1
movabs rcx, 0x5555555555555555
and rax, rcx
mov rcx, r13
sub rcx, rax
mov rax, rcx
movabs rdx, 0x3333333333333333
and rax, rdx
shr rcx, 2
and rcx, rdx
add rcx, rax
mov rbx, rcx
shr rbx, 4
add rbx, rcx
movabs rax, 0xf0f0f0f0f0f0f0f
and rbx, rax
movabs rax, 0x101010101010101
imul rbx, rax
shr rbx, 0x38
cmp rbx, 1
ja 0x14003ba71
lea r14, [r13 - 1]
and r14, r15
mov rax, qword [0x1401847c0]
mov rax, qword [rax + r14*8]
test rax, rax
je 0x14003c0e1
mov rdi, qword [rax]
test rdi, rdi
je 0x14003c0e1
lea r8, [r13 - 1]
jmp 0x14003b9a5
and rax, r8
cmp rax, r14
jne 0x14003c0e1
mov rdi, qword [rdi]
test rdi, rdi
je 0x14003c0e1
mov rax, qword [rdi + 8]
cmp rax, r15
jne 0x14003ba10
mov dl, byte [rdi + 0x27]
movzx eax, dl
mov rcx, rax
test dl, dl
jns 0x14003b9bf
mov rcx, qword [rdi + 0x18]
cmp rcx, r12
jne 0x14003b999
lea rcx, [rdi + 0x10]
mov rsi, qword [rcx]
test dl, dl
cmovs rcx, rsi
js 0x14003ba2f
je 0x14003d503
cmp byte [r10], sil
jne 0x14003b999
dec rax
xor ecx, ecx
nop word cs:[rax + rax]
nop dword [rax]
cmp rax, rcx
je 0x14003c0d8
movzx edx, byte [rdi + rcx + 0x11]
lea rsi, [rcx + 1]
cmp dl, byte [r10 + rcx + 1]
mov rcx, rsi
je 0x14003b9f0
jmp 0x14003b999
cmp ebx, 1
jbe 0x14003b98d
cmp rax, r13
jb 0x14003b990
xor edx, edx
div r13
mov rax, rdx
jmp 0x14003b990
test r12, r12
je 0x14003d503
mov rdx, r10
mov qword [rbp + 0x240], r13
mov r13, r8
mov r8, r12
mov rsi, r10
call fcn.140091d40
mov r8, r13
mov r13, qword [rbp + 0x240]
mov r10, rsi
mov r11, qword [rbp + 0x210]
test eax, eax
jne 0x14003b999
jmp 0x14003d503
mov r14, r15
cmp r15, r13
jb 0x14003b967
mov rax, r15
xor edx, edx
div r13
mov r14, rdx
jmp 0x14003b967
mov rax, qword [r10 + r12 - 8]
lea rdx, [rax + r12]
mov ecx, r12d
ror rdx, cl
mov rcx, qword [r10]
xor rcx, rdx
movabs rbx, 0x9ddfea08eb382d69
imul rcx, rbx
mov rdi, rcx
shr rdi, 0x2f
xor rcx, rdx
xor rcx, rdi
imul rcx, rbx
mov r15, rcx
shr r15, 0x2f
xor r15, rcx
imul r15, rbx
xor r15, rax
jmp 0x14003b8ea
movabs rcx, 0xb492b66fbe98f273
imul rcx, qword [r10]
lea rdx, [r11 + 8]
test dil, dil
lea rax, [rbp + 0x1d8]
cmovns rdx, rax
movabs rax, 0x9ae16a3b2f90404f
imul rax, qword [r10 + r12 - 8]
mov rdx, qword [rdx]
movabs rbx, 0xc3a5c85c97cb3127
imul rbx, qword [r10 + r12 - 0x10]
movabs rdi, 0xc949d7c7509e6557
xor rdi, rdx
rol rdi, 0x2c
lea rsi, [rcx + r12]
add rsi, rdi
sub rsi, rax
sub rcx, rdx
rol rcx, 0x15
rol rax, 0x22
add rax, rcx
add rax, rbx
xor rax, rsi
movabs rcx, 0x9ddfea08eb382d69
imul rax, rcx
mov rdx, rax
shr rdx, 0x2f
xor rax, rsi
xor rax, rdx
imul rax, rcx
mov r15, rax
shr r15, 0x2f
xor r15, rax
imul r15, rcx
jmp 0x14003b8ea
movabs r15, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x38
int3
mov rcx, qword [rsi + 0x20]
mov rax, qword [rsi + 0x30]
test rax, rax
cmove rax, rcx
lea rdx, [rax - 1]
cmp rcx, rdx
jb 0x14003fd6d
mov rcx, qword [rsi + 0x18]
mov rdx, qword [rbp + 0x2f8]
mov rsi, qword [rdx]
sub rsi, qword [rcx + rax*8 - 8]
mov ebx, dword [rbp + 0x1bc]
movsxd r14, ebx
mov rdi, qword [0x1401847a0]
test rdi, rdi
mov qword [rbp + 0x20], rsi
je 0x14003bd48
mov rax, rdi
shr rax, 1
movabs rcx, 0x5555555555555555
and rax, rcx
mov rdx, rdi
sub rdx, rax
mov rax, rdx
movabs rcx, 0x3333333333333333
and rax, rcx
shr rdx, 2
and rdx, rcx
add rdx, rax
mov rcx, rdx
shr rcx, 4
add rcx, rdx
movabs rax, 0xf0f0f0f0f0f0f0f
and rcx, rax
movabs rax, 0x101010101010101
imul rcx, rax
shr rcx, 0x38
cmp rcx, 1
ja 0x14003bfa0
lea r15, [rdi - 1]
and r15, r14
mov rax, qword [0x140184798]
mov rsi, qword [rax + r15*8]
test rsi, rsi
je 0x14003bd52
lea r8, [rdi - 1]
jmp 0x14003bd23
and rax, r8
cmp rax, r15
jne 0x14003bd52
cmp dword [rsi + 0x10], ebx
je 0x14003be16
mov rsi, qword [rsi]
test rsi, rsi
je 0x14003bd52
mov rax, qword [rsi + 8]
cmp rax, r14
je 0x14003bd1a
cmp ecx, 1
jbe 0x14003bd12
cmp rax, rdi
jb 0x14003bd15
xor edx, edx
div rdi
mov rax, rdx
jmp 0x14003bd15
movabs r15, 0xaaaaaaaaaaaaaaaa
mov ecx, 0x38
int3
mov rax, qword [rsi + 0x20]
mov rdx, qword [rsi + 0x30]
test rdx, rdx
je 0x14003be9e
lea rcx, [rdx - 1]
mov qword [rsi + 0x30], rcx
cmp rax, rdx
jb 0x14003fed6
cmp rax, rcx
jb 0x14003fd70
cmp rax, 5
jb 0x14003b4ca
lea rbx, [rax - 1]
mov rdi, qword [rsi + 0x28]
xor edx, edx
cmp rcx, rdi
cmovb rdx, rax
sub rdx, rdi
add rdx, rcx
mov rax, rbx
sub rax, rdx
cmp rax, rdx
jb 0x14003b4ca
mov rax, rdx
shr rax, 2
add rax, rdx
cmp rax, 3
mov edx, 3
cmova rdx, rax
cmp rdx, rbx
jae 0x14003b4ca
add rsi, 0x18
mov rcx, rsi
int3
lea rcx, [rax - 1]
mov qword [rsi + 0x30], rcx
jmp 0x14003be34
lea r8, [rdi - 1]
mov rsi, qword [rsi]
test rsi, rsi
je 0x14003b590
mov rax, qword [rsi + 8]
cmp rax, r14
je 0x14003bedc
cmp ecx, 1
jbe 0x14003bee7
cmp rax, rdi
jb 0x14003bed3
xor edx, edx
div rdi
mov rax, rdx
cmp rax, rbx
jne 0x14003b590
cmp dword [rsi + 0x10], r15d
jne 0x14003beac
jmp 0x14003b699
and rax, r8
jmp 0x14003bed3
mov r15, r14
cmp rbx, r14
ja 0x14003b46c
mov rax, r14
xor edx, edx
div rbx
mov r15, rdx
jmp 0x14003b46c
mov r15, r14
cmp rdi, r14
ja 0x14003bcfc
mov rax, r14
xor edx, edx
div rdi
mov r15, rdx
jmp 0x14003bcfc
mov rax, r14
xor edx, edx
div rdi
mov rbx, rdx
jmp 0x14003b57c
mov eax, dword [r10]
mov ecx, dword [r10 + r12 - 4]
shl eax, 3
add rax, r12
xor rax, rcx
movabs rdx, 0x9ddfea08eb382d69
imul rax, rdx
mov rbx, rax
shr rbx, 0x2f
xor rax, rcx
xor rax, rbx
imul rax, rdx
mov r15, rax
shr r15, 0x2f
xor r15, rax
imul r15, rdx
jmp 0x14003b8ea
test rdi, rdi
jne 0x14003d503
mov r15, qword [0x1401847d8]
movabs rcx, 0xaaaaaaaaaaaaaaab
mov rax, r15
mul rcx
mov qword [rbp + 0x1f0], rdx
cmp r12, 0x20
ja 0x14003c189
cmp r12, 0x10
mov rax, qword [rbp + 0x238]
ja 0x14003c592
cmp r12, 9
jae 0x14003c548
cmp r12, 4
jae 0x14003ca06
test r12, r12
je 0x14003f8da
movzx eax, byte [r10]
mov rcx, r12
shr rcx, 1
movzx ecx, byte [r10 + rcx]
movzx edx, byte [r12 + r10 - 1]
shl rcx, 8
or rcx, rax
lea rax, [r12 + rdx*4]
movabs rdx, 0x9ae16a3b2f90404f
imul rcx, rdx
movabs rbx, 0xc949d7c7509e6557
imul rbx, rax
xor rbx, rcx
mov rsi, rbx
shr rsi, 0x2f
xor rsi, rbx
imul rsi, rdx
jmp 0x14003c294
cmp r12, 0x40
mov rcx, qword [rbp + 0x238]
ja 0x14003cfe6
lea rax, [r11 + 0x10]
test cl, cl
lea rbx, [rbp + 0x1e0]
cmovs rbx, rax
lea rsi, [r11 + 8]
test cl, cl
lea rax, [rbp + 0x1d8]
cmovns rsi, rax
lea rax, [r11 + 0x18]
test cl, cl
lea rcx, [rbp + 0x1e8]
cmovs rcx, rax
mov r9, qword [r10 + r12 - 0x10]
lea rdx, [r9 + r12]
movabs r8, 0xc3a5c85c97cb3127
imul rdx, r8
add rdx, qword [r10]
mov rcx, qword [rcx]
mov r11, r10
lea r10, [rdx + rcx]
rol r10, 0xc
mov rdi, rdx
rol rdi, 0x1b
add rdx, qword [rsi]
mov rax, rdx
rol rax, 0x39
add rax, rdi
mov rdi, qword [rbx]
add rdx, rdi
mov rbx, rdx
rol rbx, 0x21
add rax, r10
add rbx, rax
add rdi, qword [r11 + r12 - 0x20]
add rdx, rcx
add rcx, qword [r11 + r12 - 8]
lea r10, [rcx + rdi]
mov rsi, rdi
rol rsi, 0x1b
add rdi, qword [r11 + r12 - 0x18]
mov rax, rdi
add rdi, r9
add rsi, rdx
rol rax, 0x39
add rsi, rax
rol r10, 0xc
add rsi, r10
mov r10, r11
add rcx, rdi
rol rdi, 0x21
add rsi, rdi
movabs rax, 0x9ae16a3b2f90404f
imul rsi, rax
add rcx, rbx
imul rcx, r8
add rcx, rsi
mov rdx, rcx
shr rdx, 0x2f
xor rdx, rcx
imul rdx, r8
add rdx, rbx
mov rsi, rdx
shr rsi, 0x2f
xor rsi, rdx
imul rsi, rax
test r13, r13
mov qword [rbp + 0x240], rsi
je 0x14003c51d
mov qword [rbp + 0x218], r15
mov rax, r13
shr rax, 1
movabs rcx, 0x5555555555555555
and rax, rcx
mov rcx, r13
sub rcx, rax
mov rax, rcx
movabs rdx, 0x3333333333333333
and rax, rdx
shr rcx, 2
and rcx, rdx
add rcx, rax
mov r15, rcx
shr r15, 4
add r15, rcx
movabs rax, 0xf0f0f0f0f0f0f0f
and r15, rax
movabs rax, 0x101010101010101
imul r15, rax
shr r15, 0x38
cmp r15, 1
ja 0x14003c52c
lea r14, [r13 - 1]
and r14, rsi
mov rax, qword [0x1401847c0]
mov rax, qword [rax + r14*8]
test rax, rax
je 0x14003c400
mov rdi, qword [rax]
test rdi, rdi
je 0x14003c400
lea r8, [r13 - 1]
jmp 0x14003c34c
mov rdi, qword [rdi]
test rdi, rdi
je 0x14003c400
mov rax, qword [rdi + 8]
cmp rax, rsi
je 0x14003c367
cmp r15d, 1
ja 0x14003c3ba
and rax, r8
cmp rax, r14
jne 0x14003c400
mov dl, byte [rdi + 0x27]
movzx eax, dl
mov rcx, rax
test dl, dl
jns 0x14003c378
mov rcx, qword [rdi + 0x18]
cmp rcx, r12
jne 0x14003c340
lea rcx, [rdi + 0x10]
mov rbx, qword [rcx]
test dl, dl
cmovs rcx, rbx
js 0x14003c3c9
je 0x14003c3f4
cmp byte [r10], bl
jne 0x14003c340
dec rax
xor ecx, ecx
nop dword [rax + rax]
cmp rax, rcx
je 0x14003c3f4
movzx edx, byte [rdi + rcx + 0x11]
lea rbx, [rcx + 1]
cmp dl, byte [r10 + rcx + 1]
mov rcx, rbx
je 0x14003c3a0
jmp 0x14003c340
cmp rax, r13
jb 0x14003c35e
xor edx, edx
div r13
mov rax, rdx
jmp 0x14003c35e
test r12, r12
je 0x14003c3f4
mov rdx, r10
mov rsi, r8
mov r8, r12
mov rbx, r10
call fcn.140091d40
mov r8, rsi
mov rsi, qword [rbp + 0x240]
mov r10, rbx
test eax, eax
jne 0x14003c340
mov r15, qword [rbp + 0x218]
jmp 0x14003d4e8
mov r15, qword [rbp + 0x218]
mov ecx, 0x30
int3
movabs r14, 0xaaaaaaaaaaaaaaaa
jmp 0x14003c407
mov r14, rsi
cmp rsi, r13
jb 0x14003c318
mov rax, rsi
xor edx, edx
div r13
mov r14, rdx
jmp 0x14003c318
mov rax, qword [r10 + r12 - 8]
lea rdx, [rax + r12]
mov ecx, r12d
ror rdx, cl
mov rcx, qword [r10]
xor rcx, rdx
movabs rbx, 0x9ddfea08eb382d69
imul rcx, rbx
mov rdi, rcx
shr rdi, 0x2f
xor rcx, rdx
xor rcx, rdi
imul rcx, rbx
mov rsi, rcx
shr rsi, 0x2f
xor rsi, rcx
imul rsi, rbx
xor rsi, rax
jmp 0x14003c294
movabs rcx, 0xb492b66fbe98f273
imul rcx, qword [r10]
lea rdx, [r11 + 8]
test al, al
lea rax, [rbp + 0x1d8]
cmovns rdx, rax
movabs rax, 0x9ae16a3b2f90404f
imul rax, qword [r10 + r12 - 8]
mov rdx, qword [rdx]
movabs rbx, 0xc3a5c85c97cb3127
imul rbx, qword [r10 + r12 - 0x10]
movabs rdi, 0xc949d7c7509e6557
xor rdi, rdx
rol rdi, 0x2c
lea rsi, [rcx + r12]
add rsi, rdi
sub rsi, rax
sub rcx, rdx
rol rcx, 0x15
rol rax, 0x22
add rax, rcx
add rax, rbx
xor rax, rsi
movabs rcx, 0x9ddfea08eb382d69
imul rax, rcx
mov rdx, rax
shr rdx, 0x2f
xor rax, rsi
xor rax, rdx
imul rax, rcx
mov rsi, rax
shr rsi, 0x2f
xor rsi, rax
imul rsi, rcx
jmp 0x14003c294
mov eax, dword [r10]
mov ecx, dword [r10 + r12 - 4]
shl eax, 3
add rax, r12
xor rax, rcx
movabs rdx, 0x9ddfea08eb382d69
imul rax, rdx
mov rbx, rax
shr rbx, 0x2f
xor rax, rcx
xor rax, rbx
imul rax, rdx
mov rsi, rax
shr rsi, 0x2f
xor rsi, rax
imul rsi, rdx
jmp 0x14003c294
lea rbx, [rdi - 1]
and rbx, r14
jmp 0x14003b57c
xor eax, eax
jmp 0x14003a5a5
movzx eax, word [r14 + 0x20]
mov rdx, qword [r14 + 0x18]
mov edx, dword [rdx + 0x2610]
mov dword [rbp + 0x1b0], edx
shl ecx, 0x1a
or ecx, eax
mov dword [rbp + 0x1b4], ecx
test r12, r12
jne 0x14003cfd4
mov eax, dword [rbp + 0x308]
mov dword [rsp + 0x60], eax
mov rax, qword [rbp + 0x300]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], r15
mov rax, qword [rbp + 0x2e0]
mov qword [rsp + 0x48], rax
mov rax, qword [rbp + 0x210]
mov qword [rsp + 0x40], rax
mov rax, qword [rbp + 0x238]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x240]
mov qword [rsp + 0x30], rax
mov al, byte [rbp + 0x1f8]
mov byte [rsp + 0x28], al
mov qword [rsp + 0x20], 0xffffffffffffffff
mov rcx, rdi
mov edx, dword [rbp + 0x2f0]
mov r8, r13
mov r9, qword [rbp + 0x200]
int3
mov rax, qword [r10 + r12 - 0x28]
mov rsi, qword [r10 + r12 - 0x10]
mov r9, qword [r10 + r12 - 0x38]
mov rcx, qword [r10 + r12 - 0x30]
lea r8, [r9 + rsi]
mov rbx, qword [r10 + r12 - 0x18]
lea rdi, [rcx + r12]
xor rdi, rbx
movabs r11, 0x9ddfea08eb382d69
imul rdi, r11
mov rdx, rdi
shr rdx, 0x2f
xor rdi, rbx
xor rdi, rdx
imul rdi, r11
mov r15, r10
mov r10, rdi
shr r10, 0x2f
xor r10, rdi
imul r10, r11
mov r11, qword [r15 + r12 - 0x40]
add r11, r12
lea rdi, [r11 + rax]
add rdi, r10
rol rdi, 0x2b
add rcx, r9
add rcx, r11
mov rdx, rcx
rol rdx, 0x14
add rdx, r11
add rdx, rdi
add rcx, rax
mov r9, qword [r15 + r12 - 0x20]
add r9, r8
mov r11, qword [r15 + r12 - 8]
movabs r13, 0xb492b66fbe98f273
add r9, r13
lea r14, [r11 + rax]
add r14, r9
rol r14, 0x2b
add rbx, rsi
add rbx, r9
mov rdi, rbx
rol rdi, 0x14
add rdi, r9
add rdi, r14
add rbx, r11
imul rax, r13
mov qword [rbp + 0x208], r15
mov rsi, qword [r15]
mov qword [rbp + 0x240], rsi
add rax, rsi
lea rsi, [r12 - 1]
and rsi, 0xffffffffffffffc0
mov qword [rbp + 0x1c8], rsi
mov r14d, 0x40
mov r9, qword [rbp + 0x208]
mov rsi, r10
add rax, rcx
add rax, r8
mov r15, qword [r9 + r14 - 0x38]
add r8, rdx
mov r10, qword [r9 + r14 - 0x10]
mov qword [rbp + 0x1f0], r10
add r8, r10
rol r8, 0x16
mov r10, r8
imul r10, r13
mov r11, qword [r9 + r14 - 0x18]
add rcx, r11
mov r8, rcx
add r8, r10
mov r10, r13
mov r13, qword [r9 + r14 - 0x30]
add rax, r15
rol rax, 0x1b
imul rax, r10
mov rcx, rax
xor rcx, rdi
add rsi, rbx
rol rsi, 0x1f
imul rdx, r10
add rdx, qword [rbp + 0x240]
add rbx, rdx
add r15, rdx
add r15, r13
mov rax, r15
rol rax, 0x14
add rdx, rax
mov r10, r14
mov r14, qword [r9 + r14 - 0x28]
add rbx, r14
mov qword [rbp + 0x218], rcx
add rbx, rcx
rol rbx, 0x2b
add rdx, rbx
mov rcx, r15
mov rax, rsi
movabs r15, 0xb492b66fbe98f273
imul rax, r15
add rcx, r14
add r13, r8
add rdi, rax
mov rsi, qword [r9 + r10 - 8]
add rdi, qword [r9 + r10 - 0x20]
add r13, rsi
add r13, rdi
rol r13, 0x2b
add r11, qword [rbp + 0x1f0]
add r11, rdi
mov rbx, r11
rol rbx, 0x14
add rdi, rbx
add rdi, r13
mov rbx, r11
add rbx, rsi
mov rsi, qword [rbp + 0x1c8]
cmp rsi, r10
mov r11, r15
je 0x14003cefe
mov r14, r10
mov rsi, qword [rbp + 0x208]
mov rsi, qword [rsi + r10]
mov qword [rbp + 0x240], rsi
add r14, 0x40
mov r13, r11
mov r10, qword [rbp + 0x218]
jmp 0x14003cde6
xor rdx, rdi
movabs r9, 0x9ddfea08eb382d69
imul rdx, r9
mov rsi, rdx
shr rsi, 0x2f
xor rdx, rdi
xor rdx, rsi
imul rdx, r9
mov rdi, rdx
shr rdi, 0x2f
xor rdi, rdx
imul rdi, r9
add rdi, rax
xor rcx, rbx
imul rcx, r9
mov rax, rcx
shr rax, 0x2f
xor rcx, rbx
xor rcx, rax
imul rcx, r9
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
imul rax, r9
mov rcx, r8
shr rcx, 0x2f
xor rcx, r8
imul rcx, r11
add rcx, qword [rbp + 0x218]
add rcx, rax
xor rcx, rdi
imul rcx, r9
mov rax, rcx
shr rax, 0x2f
xor rcx, rdi
xor rcx, rax
imul rcx, r9
mov r15, rcx
shr r15, 0x2f
xor r15, rcx
imul r15, r9
mov r11, qword [rbp + 0x210]
mov r10, qword [rbp + 0x208]
jmp 0x14003b8ea
mov rcx, rdi
mov rdx, r12
int3
mov qword [rbp + 0x218], r15
mov rax, qword [r10 + r12 - 0x28]
mov rsi, qword [r10 + r12 - 0x10]
mov r9, qword [r10 + r12 - 0x38]
mov rcx, qword [r10 + r12 - 0x30]
lea r8, [r9 + rsi]
mov rbx, qword [r10 + r12 - 0x18]
lea rdi, [rcx + r12]
xor rdi, rbx
movabs r11, 0x9ddfea08eb382d69
imul rdi, r11
mov rdx, rdi
shr rdx, 0x2f
xor rdi, rbx
xor rdi, rdx
imul rdi, r11
mov r15, r10
mov r10, rdi
shr r10, 0x2f
xor r10, rdi
imul r10, r11
mov r11, qword [r15 + r12 - 0x40]
add r11, r12
lea rdi, [r11 + rax]
add rdi, r10
rol rdi, 0x2b
add rcx, r9
add rcx, r11
mov rdx, rcx
rol rdx, 0x14
add rdx, r11
add rdx, rdi
add rcx, rax
mov r9, qword [r15 + r12 - 0x20]
add r9, r8
mov r11, qword [r15 + r12 - 8]
movabs rdi, 0xb492b66fbe98f273
add r9, rdi
lea r14, [r11 + rax]
add r14, r9
rol r14, 0x2b
add rbx, rsi
mov rsi, rdi
add rbx, r9
mov rdi, rbx
rol rdi, 0x14
add rdi, r9
add rdi, r14
add rbx, r11
mov r14, rsi
imul rax, rsi
mov qword [rbp + 0x208], r15
mov rsi, qword [r15]
mov qword [rbp + 0x1c0], rsi
add rax, rsi
lea rsi, [r12 - 1]
and rsi, 0xffffffffffffffc0
mov qword [rbp + 0x18], rsi
mov r9d, 0x40
mov qword [rbp + 0x240], r9
mov qword [rbp + 0x1c8], r10
add rax, rcx
add rax, r8
mov r9, qword [rbp + 0x208]
mov rsi, qword [rbp + 0x240]
mov r11, qword [r9 + rsi - 0x38]
add r8, rdx
mov rsi, qword [rbp + 0x240]
mov rsi, qword [r9 + rsi - 0x10]
mov qword [rbp + 0x50], rsi
add r8, rsi
rol r8, 0x16
mov r10, r8
imul r10, r14
mov rsi, qword [rbp + 0x240]
mov rsi, qword [r9 + rsi - 0x18]
add rcx, rsi
mov r8, rcx
add r8, r10
mov rcx, qword [rbp + 0x240]
mov r15, qword [r9 + rcx - 0x30]
add rax, r11
rol rax, 0x1b
imul rax, r14
mov r10, rax
xor r10, rdi
mov rax, qword [rbp + 0x1c8]
add rax, rbx
rol rax, 0x1f
mov qword [rbp + 0x1c8], rax
imul rdx, r14
add rdx, qword [rbp + 0x1c0]
add rbx, rdx
add r11, rdx
add r11, r15
mov rax, r11
rol rax, 0x14
add rdx, rax
mov rax, qword [rbp + 0x240]
mov r14, qword [r9 + rax - 0x28]
add rbx, r14
add rbx, r10
rol rbx, 0x2b
add rdx, rbx
mov rcx, r11
mov rax, qword [rbp + 0x1c8]
movabs rbx, 0xb492b66fbe98f273
imul rax, rbx
add rcx, r14
add r15, r8
add rdi, rax
mov rbx, qword [rbp + 0x240]
mov r11, qword [r9 + rbx - 8]
mov rbx, qword [rbp + 0x240]
add rdi, qword [r9 + rbx - 0x20]
add r15, r11
add r15, rdi
rol r15, 0x2b
add rsi, qword [rbp + 0x50]
add rsi, rdi
mov rbx, rsi
rol rbx, 0x14
add rdi, rbx
add rdi, r15
mov rbx, rsi
add rbx, r11
mov r9, qword [rbp + 0x240]
mov rsi, qword [rbp + 0x18]
cmp rsi, r9
je 0x14003d22e
mov rsi, qword [rbp + 0x208]
mov rsi, qword [rsi + r9]
mov qword [rbp + 0x1c0], rsi
add r9, 0x40
movabs r14, 0xb492b66fbe98f273
jmp 0x14003d0d6
xor rdx, rdi
movabs r9, 0x9ddfea08eb382d69
imul rdx, r9
mov rsi, rdx
shr rsi, 0x2f
xor rdx, rdi
xor rdx, rsi
imul rdx, r9
mov rdi, rdx
shr rdi, 0x2f
xor rdi, rdx
imul rdi, r9
add rdi, rax
xor rcx, rbx
imul rcx, r9
mov rax, rcx
shr rax, 0x2f
xor rcx, rbx
xor rcx, rax
imul rcx, r9
mov rax, rcx
shr rax, 0x2f
xor rax, rcx
imul rax, r9
mov rcx, r8
shr rcx, 0x2f
xor rcx, r8
movabs rdx, 0xb492b66fbe98f273
imul rcx, rdx
add rcx, r10
add rcx, rax
xor rcx, rdi
imul rcx, r9
mov rax, rcx
shr rax, 0x2f
xor rcx, rdi
xor rcx, rax
imul rcx, r9
mov rsi, rcx
shr rsi, 0x2f
xor rsi, rcx
imul rsi, r9
mov r15, qword [rbp + 0x218]
mov r10, qword [rbp + 0x208]
jmp 0x14003c294
cmp qword [rdi + 0x180], 0
jne 0x14003f5d3
mov rax, qword [0x140181438]
lea rcx, [0x140033180]
lea rbx, [rbp + 0x70]
cmp rax, rcx
jne 0x14003faf1
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af6
cmp rax, rcx
jg 0x14003f554
imul rax, rax, 0xf4240
cqo
idiv qword [0x140184658]
jmp 0x14003f576
movzx eax, word [0x1401849a0]
mov rdx, qword [0x140184998]
jmp 0x14003cc40
lea rcx, [rbp + 0x1d0]
mov byte [rcx + 0x17], sil
jmp 0x14003b7cf
mov r15, r14
lea r14, [rbp + 0xc8]
mov rcx, r14
call fcn.1400355c0
mov ebx, dword [r14 + 0x2c]
mov r14, r15
jmp 0x14003aae7
cmp qword [0x1401847e8], 0
jne 0x14003f686
mov rax, qword [0x140181438]
lea rcx, [0x140033180]
lea rsi, [rbp + 0x70]
cmp rax, rcx
jne 0x14003fb3a
mov qword [rsi], 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsi]
movabs rcx, 0x8637bd05af6
cmp rax, rcx
jg 0x14003f607
imul rax, rax, 0xf4240
cqo
idiv qword [0x140184658]
jmp 0x14003f629
mov rax, qword [rbp + 0x1f0]
shr rax, 2
add eax, eax
lea eax, [rax + rax*2]
sub r15d, eax
add r15d, 1
mov dword [rdi + 0x28], r15d
lea rsi, [rbp + 0x70]
xor eax, eax
add rsi, 8
movups xmmword [rsi], xmm6
movups xmmword [rbp + 0xd8], xmm6
movups xmmword [rbp + 0x108], xmm6
movups xmmword [rbp + 0xf8], xmm6
movups xmmword [rbp + 0x168], xmm6
movups xmmword [rbp + 0x158], xmm6
movups xmmword [rbp + 0x148], xmm6
movups xmmword [rbp + 0x138], xmm6
movups xmmword [rbp + 0x128], xmm6
movups xmmword [rbp + 0x118], xmm6
movups xmmword [rbp + 0xe8], xmm6
movups xmmword [rbp + 0xc8], xmm6
movups xmmword [rbp + 0xb8], xmm6
movups xmmword [rbp + 0xa8], xmm6
movups xmmword [rbp + 0x98], xmm6
movups xmmword [rbp + 0x88], xmm6
lea rcx, [0x14015c6f8]
mov qword [rbp + 0x70], rcx
lea rcx, [0x14015b290]
mov qword [rbp + 0xe0], rcx
mov qword [rbp + 0x108], rsi
sete al
mov dword [rbp + 0x100], eax
mov dword [rbp + 0x104], 0
mov dword [rbp + 0xe8], 0x1002
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0xf0], 6
xorps xmm7, xmm7
movups xmmword [rbp + 0x148], xmm7
movups xmmword [rbp + 0x138], xmm7
movups xmmword [rbp + 0x128], xmm7
movups xmmword [rbp + 0x118], xmm7
movups xmmword [rbp + 0x158], xmm7
mov eax, dword [0x140183750]
mov ecx, dword [0x140181920]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14003f697
mov rax, qword [0x140183748]
mov rax, qword [rax]
mov qword [rbp + 0x110], rax
lock add dword [rax + 8], 1
mov qword [rbp + 0x168], 0
mov dword [rbp + 0x170], 0xffffffff
mov rax, qword [rbp + 0x70]
movsxd rax, dword [rax + 4]
lea rcx, [0x14015b210]
mov qword [rbp + rax + 0x70], rcx
mov rcx, rsi
int3
test r14, r14
jne 0x14003ad5c
lea rcx, [0x140184670]
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
jmp 0x14003ad5c
mov rcx, qword [0x140184658]
cqo
idiv rcx
imul rbx, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, rbx
mov qword [rbp + 0x70], rax
mov rcx, qword [rdi + 0x198]
movabs rdx, 0x8000000000000001
add rdx, rcx
cmp rdx, 2
jae 0x14003f5b0
cmp rax, rcx
je 0x140040314
sar rcx, 0x3f
movabs rax, 0x8000000000000000
add rax, rcx
jmp 0x14003f5cc
xor edx, edx
cmp rax, rcx
setns dl
movabs rbx, 0x7fffffffffffffff
add rbx, rdx
sub rax, rcx
cmovo rax, rbx
mov qword [rdi + 0x180], rax
mov rcx, rdi
call fcn.140042610
jmp 0x14003b349
xor eax, eax
jmp 0x14003b1af
mov rcx, qword [0x140184658]
cqo
idiv rcx
imul rbx, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, rbx
mov qword [rbp + 0x70], rax
mov rcx, qword [0x140184800]
movabs rdx, 0x8000000000000001
add rdx, rcx
cmp rdx, 2
jae 0x14003f663
cmp rax, rcx
je 0x14004043d
sar rcx, 0x3f
movabs rax, 0x8000000000000000
add rax, rcx
jmp 0x14003f67f
xor edx, edx
cmp rax, rcx
setns dl
movabs rbx, 0x7fffffffffffffff
add rbx, rdx
sub rax, rcx
cmovo rax, rbx
mov qword [0x1401847e8], rax
lea rcx, [0x140184668]
call fcn.140042610
jmp 0x14003afca
lea rcx, [0x140183750]
int3
cmp byte [rsi], 0
je 0x14003a6e7
mov rdi, qword [0x140184a08]
mov ecx, dword [0x1401814d8]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
and rax, 0xfffffffffffffffc
je 0x14003fb4c
movsxd rcx, dword [rdi]
shl rcx, 4
mov qword [rax + rcx], rsi
mov ecx, dword [rdi + 4]
movsxd rdx, dword [rdi]
shl rdx, 4
mov dword [rax + rdx + 8], ecx
lea rcx, [0x140184678]
call qword [sym.imp.KERNEL32.dll_TryAcquireSRWLockExclusive]
test al, al
je 0x14003faa2
lea rcx, [0x140184770]
lea rdi, [rbp + 0x70]
lea r14, [rbp - 0x10]
mov rdx, rdi
mov r8, r14
call fcn.1400d2210
mov rax, qword [rdi]
test rax, rax
jne 0x140040440
lea rax, [rbp + 0x58]
mov qword [rax], r14
lea rcx, [rbp + 0x1a8]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [0x140184770]
lea r9, [0x140163c62]
lea rdi, [rbp + 0x70]
mov rdx, rdi
mov r8, r14
int3
lea rcx, [0x140184a10]
int3
lea rsi, [0x140167d7b]
jmp 0x14003a67b
lea rcx, [0x140189db8]
int3
call fcn.1400074b0
jmp 0x14003a70f
movabs r15, 0x9ae16a3b2f90404f
jmp 0x14003b8ea
lea rcx, [0x140188278]
int3
movabs rsi, 0x9ae16a3b2f90404f
jmp 0x14003c294
lea rcx, [0x1401880e0]
int3
lea rcx, [0x1401880e8]
int3
lea rcx, [0x140184628]
int3
lea rcx, [0x140184678]
int3
lea rcx, [0x1401849f8]
int3
lea rcx, [0x140184670]
int3
mov rcx, rsi
int3
mov rcx, rsi
int3
mov ecx, 0x30
int3
mov rcx, rsi
int3
lea rcx, [0x140184678]
int3
mov rcx, rbx
call rax
mov rax, qword [rbx]
jmp 0x14003f57a
mov rcx, rsi
call rax
mov rax, qword [rsi]
jmp 0x14003f62d
call fcn.1400074b0
jmp 0x14003f708
xor esi, esi
jmp 0x14003a672
xor eax, eax
jmp 0x14003a6d9
mov qword [rsp + 0x20], rax
mov cl, byte [rbp + 0x1f8]
mov rdx, r12
mov r8, qword [rbp + 0x238]
mov r9, qword [rbp + 0x2e0]
call fcn.1401144e0
jmp 0x14003a6f9
xor r14d, r14d
jmp 0x14003a9e7
int3
int3
int3
lea rcx, [rbp + 0x1d0]
int3
int3
int3
int3
mov r14d, ebx
movabs rcx, 0xaaaaaaaaaaaaaaaa
lea rbx, [rbp + 0x70]
mov qword [rbx + 0x10], rcx
movaps xmm0, xmmword [0x14015c320]
movaps xmmword [rbx], xmm0
lea rcx, [0x14015c76f]
lea r8, [rbp + 0x220]
mov qword [r8], rcx
mov qword [r8 + 8], 1
lea r15, [rax + 0x18]
movzx ecx, byte [rax + 0x2f]
test cl, cl
mov rdi, qword [rax + 0x18]
cmovns rdi, r15
lea rdx, [rbp + 0x1d0]
mov qword [rdx], rdi
cmovs rcx, qword [rax + 0x20]
mov qword [rdx + 8], rcx
mov dword [rsp + 0x20], 1
mov rcx, rbx
xor r9d, r9d
call fcn.1400077a0
mov rdx, qword [rbx]
mov rbx, qword [rbx + 8]
lea r13, [rbp + 0x58]
lea r9, [rbp + 0x30]
mov rcx, r13
mov r8, rbx
int3