Function at 0x140157a00
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x128
mov rbp, r9
mov r12, r8
mov qword [rsp + 0x50], rdx
mov rdi, rcx
mov rax, qword [0x14029c028]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
mov qword [rsp + 0x88], rcx
cmp rax, rcx
mov qword [rsp + 0x90], rax
je 0x1401586fc
mov rcx, qword [rax]
mov qword [rsp + 0xa0], rcx
mov rsi, qword [rax + 8]
mov r15d, dword [rax + 0x14]
lea r14, [rdi + 0x10]
mov rax, qword [rsp + 0x50]
mov r9, qword [rax + 0x120]
cmp r9, 0xffffffffffffffff
mov qword [rsp + 0x98], r9
je 0x140158890
mov rax, qword [rsp + 0x88]
mov r8, qword [rsp + 0x90]
sub rax, r8
sar rax, 5
cmp rax, r9
jbe 0x140158f59
movabs r10, 0xfffffffc00000000
mov rcx, r9
shl rcx, 5
mov edx, dword [r8 + rcx + 0x10]
mov dword [rsp + 0x84], edx
lea r13, [rdi + 8]
cmp byte [rbp], 0
je 0x140157f9d
mov rbx, qword [rbp + 8]
mov rcx, qword [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov ecx, dword [rbp + 0x18]
mov dword [rsp + 0x4c], ecx
mov ecx, dword [rbp + 0x1c]
mov dword [rsp + 0x30], ecx
mov rdx, qword [rsp + 0x50]
and rdx, r10
mov rcx, r8
mov r8, r9
cmp rdx, qword [0x14029ce48]
je 0x140158d2f
mov qword [rsp + 0x78], r14
cmp rax, r8
jbe 0x140158f5e
mov r9, r8
shl r9, 5
mov rax, qword [rcx + r9 + 0x18]
mov qword [rax + 0x120], 0xffffffffffffffff
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov r14, rax
sub r14, rcx
sar r14, 5
cmp r14, r8
jbe 0x140158f5e
mov rdx, rbx
cmp dword [rsp + 0x30], 0
jne 0x140157b87
movabs rdx, 0x8000000000000001
mov r11, qword [rsp + 0x40]
add rdx, r11
cmp rdx, 2
jb 0x140159080
lea r10, [rbx + r11]
sar r10, 0x3f
btc r10, 0x3f
mov rdx, rbx
add rdx, r11
cmovo rdx, r10
add r9, rcx
cmp dword [r9 + 0x14], 0
jne 0x140158710
mov r10, qword [r9]
mov r9, qword [r9 + 8]
movabs r11, 0x8000000000000001
add r11, r9
cmp r11, 2
jb 0x1401590d2
lea r11, [r10 + r9]
sar r11, 0x3f
btc r11, 0x3f
add r10, r9
cmovo r10, r11
mov r9, r10
cmp rdx, r9
jle 0x140158be2
lea r9, [r8*2 + 1]
cmp r9, r14
jae 0x140157f83
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r12
lea r10, [r8 + r8]
mov r11, qword [rsp + 0x40]
lea rax, [rbx + r11]
sar rax, 0x3f
btc rax, 0x3f
mov r12, rbx
add r12, r11
movabs rdx, 0x8000000000000001
lea rcx, [r11 + rdx - 2]
cmovo r12, rax
lea rax, [rbx + rdx]
add rax, 0xfffffffffffffffe
cmp rax, 0xfffffffffffffffe
setb al
cmp rbx, r11
sete dl
or dl, al
cmp rcx, 0xfffffffffffffffe
setb al
cmovae r12, r11
cmp dword [rsp + 0x30], 0
setne cl
cmovne r12, rbx
or cl, al
or cl, dl
mov byte [rsp + 0x37], cl
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x38], rsi
add r10, 2
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov rdx, rax
sub rdx, rcx
sar rdx, 5
cmp r10, r14
jae 0x140158d27
cmp rdx, r10
jbe 0x140158f5e
cmp rdx, r9
jbe 0x140158f5e
mov rbp, r15
mov r15, r9
shl r15, 5
lea r11, [rcx + r15]
cmp dword [rcx + r15 + 0x14], 0
jne 0x140158d17
mov r15, qword [r11]
mov r11, qword [r11 + 8]
movabs rsi, 0x8000000000000001
lea r13, [r11 + rsi]
cmp r13, 2
jb 0x140159067
lea r13, [r15 + r11]
sar r13, 0x3f
btc r13, 0x3f
add r15, r11
cmovo r15, r13
mov r11, r15
mov r15, r10
shl r15, 5
add r15, rcx
cmp dword [r15 + 0x14], 0
jne 0x140158d1f
mov r13, qword [r15]
mov r15, qword [r15 + 8]
movabs rsi, 0x8000000000000001
add rsi, r15
cmp rsi, 2
jb 0x1401590af
lea rsi, [r15 + r13]
sar rsi, 0x3f
btc rsi, 0x3f
add r13, r15
cmovo r13, rsi
mov r15, r13
cmp r11, r15
jg 0x140157d30
mov r10, r9
mov r13, r10
mov r15, rbp
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x38]
cmp rdx, r13
jbe 0x140158f5e
cmp byte [rsp + 0x37], 0
je 0x140158fb1
mov r9, r13
shl r9, 5
add r9, rcx
cmp dword [r9 + 0x14], 0
jne 0x140157f8b
mov r10, qword [r9]
mov r9, qword [r9 + 8]
movabs r11, 0x8000000000000001
add r11, r9
cmp r11, 2
jb 0x14015910e
lea r11, [r10 + r9]
sar r11, 0x3f
btc r11, 0x3f
add r10, r9
cmovo r10, r11
mov r9, r10
cmp r12, r9
jle 0x140157de0
mov rcx, qword [rsp + 0x58]
mov rdx, r13
call fcn.140159280
lea r10, [r13*2]
lea r9, [r13*2 + 1]
mov r8, r13
cmp r9, r14
jb 0x140157c5d
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov r14, rax
sub r14, rcx
sar r14, 5
jmp 0x140157de6
mov r14, rdx
mov r13, r8
mov r12, qword [rsp + 0x68]
mov qword [rsp + 0xf8], rbx
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x100], rdx
mov r8d, dword [rsp + 0x4c]
mov dword [rsp + 0x108], r8d
mov edx, dword [rsp + 0x30]
mov dword [rsp + 0x10c], edx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x110], rdx
cmp r14, r13
je 0x140158cb5
jbe 0x140158f5e
mov rax, r13
shl rax, 5
lea r14, [rcx + rax]
add r14, 0x18
mov qword [r14 - 0x18], rbx
mov rax, qword [rsp + 0x40]
mov qword [r14 - 0x10], rax
mov dword [r14 - 8], r8d
mov eax, dword [rsp + 0x30]
mov dword [r14 - 4], eax
mov rcx, qword [r14]
mov rax, rcx
movabs rdx, 0xfffffffc00000000
and rax, rdx
cmp rax, qword [0x14029ce48]
je 0x140157f93
mov rax, qword [rsp + 0x110]
mov qword [r14], rax
mov qword [rsp + 0x110], 0
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
sub rcx, rax
sar rcx, 5
cmp rcx, r13
jbe 0x140158f5e
mov rcx, r13
shl rcx, 5
mov rax, qword [rax + rcx + 0x18]
mov qword [rax + 0x120], r13
mov rax, qword [rdi + 0x18]
sub rax, qword [rdi + 0x10]
sar rax, 5
cmp rax, r13
jbe 0x140158f5e
mov rcx, qword [rsp + 0x110]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x14029ce48]
je 0x140158f9f
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
cmp rax, rcx
je 0x140157f79
mov r8, qword [rax]
mov r9, qword [rax + 8]
mov edx, dword [rax + 0x14]
cmp qword [rsp + 0x98], 0xffffffffffffffff
je 0x140157f25
cmp dword [rsp + 0x84], 1
je 0x140158fa9
cmp byte [rbp], 0
je 0x140157f35
cmp dword [rbp + 0x18], 1
je 0x140158f97
mov r10, qword [rsp + 0x88]
cmp qword [rsp + 0x90], r10
je 0x140158011
cmp rax, rcx
je 0x140158011
cmp r8, qword [rsp + 0xa0]
jne 0x140158034
cmp r9, rsi
jne 0x140158034
cmp edx, r15d
jne 0x140158034
jmp 0x140158213
xor r8d, r8d
xor r9d, r9d
xor edx, edx
jmp 0x140157f0c
mov r13, r8
jmp 0x140157deb
mov r9, qword [r9]
jmp 0x140157d9e
call fcn.1400de590
jmp 0x140157e7c
mov rax, qword [r8 + rcx + 0x18]
mov qword [rax + 0x120], 0xffffffffffffffff
mov rax, qword [rdi + 0x10]
mov rbx, qword [rdi + 0x18]
mov rcx, rbx
sub rcx, rax
sar rcx, 5
dec rcx
cmp rcx, r9
jne 0x140158281
cmp rax, rbx
je 0x140159142
mov r14, rbx
add r14, 0xffffffffffffffe0
je 0x14015916e
mov rcx, qword [rbx - 8]
movabs rax, 0xfffffffc00000000
and rax, rcx
cmp rax, qword [0x14029ce48]
jne 0x140158000
call fcn.1400de590
mov qword [rbx - 8], 0
mov qword [rdi + 0x18], r14
jmp 0x140157ef5
cmp rax, rcx
setne dl
mov r8, qword [rsp + 0x88]
cmp qword [rsp + 0x90], r8
setne r8b
cmp r8b, dl
je 0x140158213
cmp rax, rcx
je 0x14015809b
mov rsi, qword [rax]
mov rbx, qword [rax + 8]
mov r14d, dword [rax + 0x14]
mov qword [rsp + 0xd8], rsi
mov qword [rsp + 0xe0], rbx
mov dword [rsp + 0xe8], 0
mov dword [rsp + 0xec], r14d
mov byte [rsp + 0xd0], 1
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
lea rcx, [0x14020b6d0]
cmp rax, rcx
jne 0x14015825b
mov r15, qword [rdi + 0x38]
cmp byte [r12], 0
je 0x1401580e5
mov rax, qword [r12 + 8]
jmp 0x14015814b
xorps xmm0, xmm0
movups xmmword [rsp + 0xd8], xmm0
mov qword [rsp + 0xe8], 0
mov byte [rsp + 0xd0], 0
mov rax, qword [rdi]
mov rax, qword [rax + 0x10]
lea rcx, [0x14020b6d0]
cmp rax, rcx
jne 0x14015825b
mov r15, qword [rdi + 0x38]
mov cl, 1
xor r14d, r14d
xor ebx, ebx
xor esi, esi
xor eax, eax
jmp 0x14015817c
mov rax, qword [fcn.14014f070]
lea rcx, [0x140183600]
cmp rax, rcx
jne 0x140158f40
lea rdi, [rsp + 0xa8]
mov qword [rdi], 0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rdi]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x14015919a
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b7458]
cmp byte [r12], 0
mov qword [r12 + 8], rax
jne 0x14015814b
mov byte [r12], 1
mov rcx, rsi
cmp r14d, 1
je 0x14015900f
cmp rax, rcx
jge 0x140158248
cmp qword [r15 + 0x230], 0
jne 0x1401580d5
test rsi, rsi
je 0x140158248
mov al, 1
xor ecx, ecx
mov rdi, qword [r15 + 0x30]
mov byte [rsp + 0xf8], al
mov eax, 0xaaaaaaaa
mov dword [rsp + 0xf9], eax
mov dword [rsp + 0xfc], eax
mov qword [rsp + 0x100], rsi
mov qword [rsp + 0x108], rbx
mov dword [rsp + 0x110], 0
mov dword [rsp + 0x114], r14d
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x118], rax
mov rax, qword [rdi]
mov rax, qword [rax + 0x20]
lea rdx, [0x140184430]
cmp rax, rdx
jne 0x140158f8a
test cl, cl
jne 0x140158238
cmp r14d, 1
je 0x140158fb7
cmp qword [rdi + 0x178], rsi
je 0x140158213
mov qword [rdi + 0x178], rsi
mov eax, dword [rdi + 0x1a0]
cmp eax, 4
je 0x140158e4a
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1401879f0
nop
add rsp, 0x128
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movabs rax, 0x8000000000000001
lea rsi, [rax - 2]
jmp 0x1401581f4
mov rcx, qword [r15 + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call qword [0x1402ca008]
jmp 0x140158213
lea r8, [rsp + 0xd0]
mov rcx, rdi
mov rdx, r12
call qword [0x1402ca008]
jmp 0x140158213
mov rdx, qword [rdx]
jmp 0x140158390
mov r9, qword [r9]
jmp 0x1401583da
cmp rbx, rax
je 0x140158f5e
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x68], r12
shl rcx, 5
mov rax, qword [rax + rcx + 0x18]
mov qword [rax + 0x120], 0xffffffffffffffff
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x10]
je 0x140158f5e
mov r12, qword [rax - 0x20]
mov rcx, qword [rax - 0x18]
mov qword [rsp + 0x50], rcx
mov ecx, dword [rax - 0x10]
mov dword [rsp + 0x4c], ecx
mov ecx, dword [rax - 0xc]
mov dword [rsp + 0x30], ecx
mov rcx, qword [rax - 8]
mov qword [rsp + 0x40], rcx
mov qword [rax - 8], 0
mov rbx, qword [rdi + 0x18]
sub rbx, qword [rdi + 0x10]
sar rbx, 5
dec rbx
mov r13, qword [rsp + 0x98]
lea rax, [r13*2 + 1]
cmp rax, rbx
jae 0x140158411
mov r8, qword [rsp + 0x98]
lea rcx, [r8 + r8]
add rcx, 2
cmp rcx, rbx
jae 0x1401583e5
mov r9, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
sub rdx, r9
sar rdx, 5
cmp rdx, rcx
jbe 0x140158f5e
cmp rdx, rax
jbe 0x140158f5e
mov r10, rax
shl r10, 5
lea rdx, [r9 + r10]
cmp dword [r9 + r10 + 0x14], 0
jne 0x140158271
mov r10, qword [rdx]
mov rdx, qword [rdx + 8]
movabs r11, 0x8000000000000001
add r11, rdx
cmp r11, 2
jb 0x1401591f0
lea r11, [r10 + rdx]
sar r11, 0x3f
btc r11, 0x3f
add r10, rdx
cmovo r10, r11
mov rdx, r10
mov r10, rcx
shl r10, 5
add r9, r10
cmp dword [r9 + 0x14], 0
jne 0x140158279
mov r10, qword [r9]
mov r9, qword [r9 + 8]
movabs r11, 0x8000000000000001
add r11, r9
cmp r11, 2
jb 0x140159226
lea r11, [r10 + r9]
sar r11, 0x3f
btc r11, 0x3f
add r10, r9
cmovo r10, r11
mov r9, r10
cmp rdx, r9
jg 0x1401583e2
mov rcx, rax
mov rax, rcx
mov r13, rax
mov rcx, qword [rsp + 0x58]
mov rdx, rax
call fcn.140159280
lea rcx, [r13*2]
lea rax, [r13*2 + 1]
mov r8, r13
cmp rax, rbx
jb 0x140158316
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x60], r15
test r13, r13
jne 0x14015859f
xor r15d, r15d
mov r8d, dword [rsp + 0x30]
mov qword [rsp + 0xf8], r12
mov r10, qword [rsp + 0x50]
mov qword [rsp + 0x100], r10
mov r9d, dword [rsp + 0x4c]
mov dword [rsp + 0x108], r9d
mov dword [rsp + 0x10c], r8d
mov rsi, qword [rsp + 0x40]
mov qword [rsp + 0x110], rsi
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov rdx, rax
sub rdx, rcx
sar rdx, 5
cmp rdx, r15
je 0x14015855b
mov rbp, qword [rsp + 0x70]
jbe 0x140158f5e
mov rax, r15
shl rax, 5
lea rbx, [rcx + rax]
add rbx, 0x18
mov qword [rbx - 0x18], r12
mov qword [rbx - 0x10], r10
mov dword [rbx - 8], r9d
mov dword [rbx - 4], r8d
mov rcx, qword [rbx]
mov rax, rcx
movabs rdx, 0xfffffffc00000000
and rax, rdx
cmp rax, qword [0x14029ce48]
je 0x1401586b2
mov qword [rbx], rsi
mov qword [rsp + 0x110], 0
mov r12, qword [rsp + 0x68]
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
sub rcx, rax
sar rcx, 5
cmp rcx, r15
jbe 0x140158f5e
mov rcx, r15
shl rcx, 5
mov rax, qword [rax + rcx + 0x18]
mov qword [rax + 0x120], r15
mov rax, qword [rdi + 0x10]
mov rbx, qword [rdi + 0x18]
mov rcx, rbx
sub rcx, rax
sar rcx, 5
cmp rcx, r15
jbe 0x140158f5e
mov rcx, qword [rsp + 0x110]
mov rdx, rcx
movabs r8, 0xfffffffc00000000
and rdx, r8
cmp rdx, qword [0x14029ce48]
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x38]
jne 0x140157fcb
jmp 0x14015925c
cmp rax, qword [rdi + 0x20]
mov rbp, qword [rsp + 0x70]
jae 0x1401586bc
test rax, rax
je 0x1401591c4
mov qword [rax], r12
mov qword [rax + 8], r10
mov dword [rax + 0x10], r9d
mov dword [rax + 0x14], r8d
mov qword [rax + 0x18], rsi
mov qword [rsp + 0x110], 0
add rax, 0x20
mov qword [rdi + 0x18], rax
jmp 0x1401584dc
mov r8, qword [rsp + 0x50]
lea rax, [r12 + r8]
sar rax, 0x3f
btc rax, 0x3f
mov rbx, r12
add rbx, r8
movabs rdx, 0x8000000000000001
lea rcx, [r8 + rdx - 2]
cmovo rbx, rax
lea rax, [r12 + rdx]
add rax, 0xfffffffffffffffe
cmp rax, 0xfffffffffffffffe
setb al
cmp r12, r8
sete dl
or dl, al
cmp rcx, 0xfffffffffffffffe
setb al
cmovae rbx, r8
mov r8d, dword [rsp + 0x30]
test r8d, r8d
setne bpl
cmovne rbx, r12
or bpl, al
or bpl, dl
mov rsi, r14
lea r14, [r13 - 1]
mov r15, r14
shr r15, 1
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
sub rcx, rax
sar rcx, 5
cmp rcx, r15
jbe 0x140158f5e
mov rcx, r15
shl rcx, 5
lea rdx, [rax + rcx]
cmp dword [rax + rcx + 0x14], 0
jne 0x1401586ad
mov rcx, qword [rdx]
mov rax, qword [rdx + 8]
movabs rdx, 0x8000000000000001
add rdx, rax
cmp rdx, 2
jb 0x1401586d1
lea rdx, [rcx + rax]
sar rdx, 0x3f
btc rdx, 0x3f
add rcx, rax
cmovo rcx, rdx
mov rax, rcx
test bpl, bpl
je 0x14015926e
cmp rax, rbx
jle 0x1401586a2
mov rcx, qword [rsp + 0x58]
mov rdx, r15
mov r8, r13
call fcn.140159280
mov r8d, dword [rsp + 0x30]
mov r13, r15
cmp r14, 1
mov r14, rsi
jbe 0x140158431
jmp 0x140158602
mov r15, r13
mov r14, rsi
jmp 0x140158431
mov rax, qword [rdx]
jmp 0x14015866a
call fcn.1400de590
jmp 0x1401584cd
lea rdx, [rsp + 0xf8]
mov rcx, r14
call fcn.140020b10
jmp 0x1401584dc
cmp rcx, rax
jne 0x1401586dd
mov r8d, dword [rsp + 0x30]
jmp 0x14015866a
movabs rdx, 0x8000000000000001
add rcx, rdx
cmp rcx, 1
mov r8d, dword [rsp + 0x30]
ja 0x14015866a
int3
xor r15d, r15d
xor esi, esi
xor eax, eax
mov qword [rsp + 0xa0], rax
jmp 0x140157a67
mov r9, qword [r9]
jmp 0x140157bca
cmp r8, rdx
je 0x140158822
movabs r9, 0x8000000000000001
add r8, r9
cmp r8, 1
ja 0x140158822
jmp 0x1401590ac
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], rbp
lea rax, [rdi + 8]
mov qword [rsp + 0x40], rax
lea rax, [r15 + r13]
sar rax, 0x3f
btc rax, 0x3f
mov rbx, r15
add rbx, r13
cmovo rbx, rax
sar r12, 5
movabs rcx, 0x8000000000000001
lea rax, [rcx + r13]
add rax, 0xfffffffffffffffe
add rcx, r15
add rcx, 0xfffffffffffffffe
cmp rcx, 0xfffffffffffffffe
setb cl
cmp r15, r13
sete dl
or dl, cl
cmp rax, 0xfffffffffffffffe
setb al
cmovae rbx, r13
test r11d, r11d
setne cl
cmovne rbx, r15
or cl, al
or cl, dl
mov byte [rsp + 0x30], cl
lea r14, [r12 - 1]
mov rbp, r14
shr rbp, 1
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
mov rdx, rcx
sub rdx, rax
sar rdx, 5
cmp rdx, rbp
jbe 0x140158f5e
mov r8, rbp
shl r8, 5
lea rdx, [rax + r8]
cmp dword [rax + r8 + 0x14], 0
jne 0x140158876
mov r8, qword [rdx]
mov rdx, qword [rdx + 8]
movabs r9, 0x8000000000000001
add r9, rdx
cmp r9, 2
jb 0x140158718
lea r9, [r8 + rdx]
sar r9, 0x3f
btc r9, 0x3f
add r8, rdx
cmovo r8, r9
mov rdx, r8
cmp byte [rsp + 0x30], 0
je 0x14015913c
cmp rdx, rbx
jle 0x14015887b
mov rcx, qword [rsp + 0x40]
mov rdx, rbp
mov r8, r12
mov r12, r10
mov dword [rsp + 0x4c], esi
mov esi, r11d
call fcn.140159280
mov r11d, esi
mov esi, dword [rsp + 0x4c]
mov r10, r12
mov r12, rbp
cmp r14, 1
ja 0x1401587b0
mov rdx, qword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
mov rax, rdx
mov rcx, r8
mov r12, rbp
jmp 0x140158881
mov rdx, qword [rdx]
jmp 0x140158822
mov rdx, rax
mov r8, rcx
mov rbp, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
jmp 0x14015891f
mov dword [rsp + 0x84], 0xaaaaaaaa
cmp byte [rbp], 0
je 0x140157ef5
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r12
movabs r10, 0xfffffffc00000000
mov r15, qword [rbp + 8]
mov r13, qword [rbp + 0x10]
mov esi, dword [rbp + 0x18]
mov r11d, dword [rbp + 0x1c]
mov rcx, qword [rsp + 0x50]
mov r8, rcx
and r8, r10
mov rax, qword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
cmp r8, qword [0x14029ce48]
jne 0x14015890a
mov rbx, r10
mov r12d, r11d
call fcn.1400ddc60
mov r11d, r12d
mov r10, rbx
mov rax, qword [rdi + 0x10]
mov rdx, qword [rdi + 0x18]
mov r12, rdx
sub r12, rax
jne 0x14015873d
xor r12d, r12d
mov r8, rdx
mov rcx, rax
sub r8, rdx
mov qword [rsp + 0xf8], r15
mov qword [rsp + 0x100], r13
mov dword [rsp + 0x108], esi
mov dword [rsp + 0x10c], r11d
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x110], rdx
sar r8, 5
cmp r8, r12
je 0x140158a28
jbe 0x140158f5e
mov rcx, r12
shl rcx, 5
lea rbx, [rax + rcx]
add rbx, 0x18
mov qword [rbx - 0x18], r15
mov qword [rbx - 0x10], r13
mov dword [rbx - 8], esi
mov dword [rbx - 4], r11d
mov rcx, qword [rbx]
mov rax, rcx
and rax, r10
cmp rax, qword [0x14029ce48]
je 0x140158a18
mov rax, qword [rsp + 0x110]
mov qword [rbx], rax
mov qword [rsp + 0x110], 0
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x38]
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
sub rcx, rax
sar rcx, 5
cmp rcx, r12
jbe 0x140158f5e
mov rcx, r12
shl rcx, 5
mov rax, qword [rax + rcx + 0x18]
mov qword [rax + 0x120], r12
mov rax, qword [rdi + 0x18]
sub rax, qword [rdi + 0x10]
sar rax, 5
cmp rax, r12
jbe 0x140158f5e
mov rcx, qword [rsp + 0x110]
and r10, rcx
cmp r10, qword [0x14029ce48]
mov r12, qword [rsp + 0x68]
jne 0x140157ef5
jmp 0x140158f9f
mov r14, r10
call fcn.1400de590
mov r10, r14
jmp 0x140158995
cmp rcx, qword [rdi + 0x20]
jae 0x140158a6a
test rcx, rcx
je 0x1401591c4
mov qword [rcx], r15
mov qword [rcx + 8], r13
mov dword [rcx + 0x10], esi
mov dword [rcx + 0x14], r11d
mov rax, qword [rsp + 0x110]
mov qword [rcx + 0x18], rax
mov qword [rsp + 0x110], 0
add rcx, 0x20
mov qword [rdi + 0x18], rcx
jmp 0x1401589ac
lea rdx, [rsp + 0xf8]
mov rcx, r14
mov rbx, r10
call fcn.140020b10
mov r10, rbx
jmp 0x1401589ac
cmp r9, rdx
je 0x140158b89
movabs r10, 0x8000000000000001
add r9, r10
cmp r9, 1
ja 0x140158b89
jmp 0x14015913f
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x60], r15
mov rsi, r12
mov r9, qword [rsp + 0x40]
lea rax, [rbx + r9]
sar rax, 0x3f
btc rax, 0x3f
mov r15, rbx
add r15, r9
movabs rdx, 0x8000000000000001
lea rcx, [r9 + rdx - 2]
cmovo r15, rax
lea rax, [rbx + rdx]
add rax, 0xfffffffffffffffe
cmp rax, 0xfffffffffffffffe
setb al
cmp rbx, r9
sete dl
or dl, al
cmp rcx, 0xfffffffffffffffe
setb al
cmovae r15, r9
cmp dword [rsp + 0x30], 0
setne r11b
cmovne r15, rbx
or r11b, al
or r11b, dl
lea r12, [r8 - 1]
mov r13, r12
shr r13, 1
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov r14, rax
sub r14, rcx
sar r14, 5
cmp r14, r13
jbe 0x140158f5e
mov r9, r13
shl r9, 5
lea rdx, [rcx + r9]
cmp dword [rcx + r9 + 0x14], 0
jne 0x140158bcb
mov r9, qword [rdx]
mov rdx, qword [rdx + 8]
movabs r10, 0x8000000000000001
add r10, rdx
cmp r10, 2
jb 0x140158a85
lea r10, [r9 + rdx]
sar r10, 0x3f
btc r10, 0x3f
add r9, rdx
cmovo r9, r10
mov rdx, r9
test r11b, r11b
je 0x1401591c1
cmp rdx, r15
jle 0x140158bd0
mov rcx, qword [rsp + 0x58]
mov rdx, r13
mov r14d, r11d
call fcn.140159280
mov r11d, r14d
mov r8, r13
cmp r12, 1
ja 0x140158b1c
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
mov r14, rax
sub r14, rcx
sar r14, 5
jmp 0x140158bd3
mov rdx, qword [rdx]
jmp 0x140158b89
mov r13, r8
mov r12, rsi
mov r15, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x38]
jmp 0x140158bee
test r8, r8
jne 0x140158aaa
xor r13d, r13d
mov qword [rsp + 0xf8], rbx
mov rdx, qword [rsp + 0x40]
mov qword [rsp + 0x100], rdx
mov r8d, dword [rsp + 0x4c]
mov dword [rsp + 0x108], r8d
mov edx, dword [rsp + 0x30]
mov dword [rsp + 0x10c], edx
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x110], rdx
cmp r14, r13
je 0x140158c88
jbe 0x140158f5e
mov rax, r13
shl rax, 5
lea r14, [rcx + rax]
add r14, 0x18
mov qword [r14 - 0x18], rbx
mov rax, qword [rsp + 0x40]
mov qword [r14 - 0x10], rax
mov dword [r14 - 8], r8d
mov eax, dword [rsp + 0x30]
mov dword [r14 - 4], eax
mov rcx, qword [r14]
mov rax, rcx
movabs rdx, 0xfffffffc00000000
and rax, rdx
cmp rax, qword [0x14029ce48]
je 0x140158c81
mov rax, qword [rsp + 0x50]
jmp 0x140157e84
call fcn.1400de590
jmp 0x140158c77
cmp rax, qword [rdi + 0x20]
jae 0x140158d00
test rax, rax
je 0x1401591c4
mov qword [rax], rbx
mov rcx, qword [rsp + 0x40]
mov qword [rax + 8], rcx
mov dword [rax + 0x10], r8d
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x14], ecx
mov rcx, qword [rsp + 0x50]
jmp 0x140158ce3
cmp rax, qword [rdi + 0x20]
jae 0x140158d00
test rax, rax
je 0x1401591c4
mov qword [rax], rbx
mov rcx, qword [rsp + 0x40]
mov qword [rax + 8], rcx
mov dword [rax + 0x10], r8d
mov ecx, dword [rsp + 0x30]
mov dword [rax + 0x14], ecx
mov rcx, qword [rsp + 0x110]
mov qword [rax + 0x18], rcx
mov qword [rsp + 0x110], 0
add rax, 0x20
mov qword [rdi + 0x18], rax
jmp 0x140157e93
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0x78]
call fcn.140020b10
jmp 0x140157e93
mov r11, qword [r11]
jmp 0x140157cde
mov r15, qword [r15]
jmp 0x140157d28
mov r13, r9
jmp 0x140157d40
mov qword [rsp + 0x38], rsi
mov rsi, r15
mov r15, r13
mov r13, qword [rsp + 0x50]
mov rcx, r13
call fcn.1400ddc60
mov r8, qword [r13 + 0x120]
mov r13, r15
mov r15, rsi
mov rsi, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rdi + 0x18]
sub rax, rcx
sar rax, 5
jmp 0x140157b0a
mov rcx, qword [0x1402b7458]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140158e03
lea rbx, [rsp + 0xc8]
mov rcx, rbx
call qword [0x1402ca008]
mov rax, qword [rbx]
jmp 0x140158e03
mov rax, qword [r12 + 8]
jmp 0x140158e14
test al, al
jne 0x140158da7
mov rax, qword [fcn.14014f070]
lea rcx, [0x140183600]
cmp rax, rcx
jne 0x140158d91
lea rbx, [rsp + 0xa8]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140158d6d
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b7458]
cmp byte [r12], 0
mov qword [r12 + 8], rax
jne 0x140158e14
mov byte [r12], 1
movabs rcx, 0x141dd76000
add rcx, rax
movabs rdx, 0x7fffffffffffffff
cmovno rdx, rcx
cmp rdx, rsi
cmovge rdx, rsi
mov rdi, qword [rdi + 0x228]
mov qword [rsp + 0xa8], rdx
jmp 0x140158eda
movabs rcx, 0x8000000000000001
add rcx, 0xfffffffffffffffe
mov al, byte [r12]
cmp rsi, rcx
jne 0x140158dae
mov rdi, qword [rdi + 0x228]
mov qword [rsp + 0xa8], rcx
test al, al
jne 0x140158eff
mov rax, qword [fcn.14014f070]
lea rcx, [0x140183600]
cmp rax, rcx
jne 0x140158f06
lea rbx, [rsp + 0xc8]
mov qword [rbx], 0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rbx]
movabs rcx, 0x8637bd05af7
cmp rax, rcx
jge 0x140158f1c
imul rax, rax, 0xf4240
cqo
idiv qword [0x1402b7458]
cmp byte [r12], 0
mov qword [r12 + 8], rax
jne 0x140158eda
mov byte [r12], 1
lea rdx, [rsp + 0xa8]
mov qword [rdx + 8], rax
mov byte [rdx + 0x10], 0
mov rax, qword [rdi]
mov rax, qword [rax + 0x20]
mov rcx, rdi
call qword [0x1402ca008]
jmp 0x140158213
mov rax, qword [r12 + 8]
jmp 0x140158eda
lea rbx, [rsp + 0xc0]
mov rcx, rbx
call qword [0x1402ca008]
mov rax, qword [rbx]
jmp 0x140158ec9
mov rcx, qword [0x1402b7458]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x140158ec9
lea rdi, [rsp + 0xc8]
mov rcx, rdi
call qword [0x1402ca008]
mov rax, qword [rdi]
jmp 0x14015813a
call fcn.14020b800
lea rax, str.vector___index_out_of_bounds
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_vector
lea r9, str.__n___size__
mov r8d, 0x622
call fcn.1401c2f20
lea r8, [rsp + 0xf8]
jmp 0x140158263
inc dword [rdi + 0x28]
jmp 0x140157f35
call fcn.1400de590
jmp 0x140157ef5
dec dword [rdi + 0x28]
jmp 0x140157f25
int3
int3
movabs rax, 0x8000000000000001
add rax, rbx
cmp rax, 2
jae 0x140158feb
cmp rsi, rbx
je 0x140158fb4
shr rbx, 0x3f
not rbx
movabs rax, 0x8000000000000001
add rbx, rax
mov rsi, rbx
jmp 0x1401581f4
xor eax, eax
cmp rsi, rbx
setns al
movabs rcx, 0x7fffffffffffffff
add rcx, rax
sub rsi, rbx
cmovo rsi, rcx
jmp 0x1401581f4
int3
movabs rcx, 0x8000000000000001
add rcx, rbx
cmp rcx, 2
jae 0x140159043
cmp rsi, rbx
je 0x14015900c
mov rcx, rbx
shr rcx, 0x3f
not rcx
movabs rdx, 0x8000000000000001
add rcx, rdx
jmp 0x140158158
xor ecx, ecx
cmp rsi, rbx
setns cl
movabs rdx, 0x7fffffffffffffff
add rdx, rcx
mov rcx, rsi
sub rcx, rbx
cmovo rcx, rdx
jmp 0x140158158
cmp r15, r11
je 0x140157cde
add r15, rsi
cmp r15, 1
ja 0x140157cde
int3
mov rdx, r11
cmp rbx, r11
je 0x140157b87
movabs rdx, 0x8000000000000001
lea r10, [rbx + rdx]
mov rdx, qword [rsp + 0x40]
cmp r10, 1
ja 0x140157b87
int3
int3
cmp r13, r15
je 0x140157d28
movabs rsi, 0x8000000000000001
add r13, rsi
cmp r13, 1
ja 0x140157d28
int3
mov qword [rsp + 0x58], r13
mov r13, rsi
cmp r10, r9
jne 0x1401590ec
mov rsi, r13
mov r13, qword [rsp + 0x58]
jmp 0x140157bca
movabs r11, 0x8000000000000001
add r10, r11
cmp r10, 1
mov rsi, r13
mov r13, qword [rsp + 0x58]
ja 0x140157bca
int3
cmp r10, r9
jne 0x14015911d
mov rsi, qword [rsp + 0x38]
jmp 0x140157d9e
movabs r11, 0x8000000000000001
add r10, r11
cmp r10, 1
mov rsi, qword [rsp + 0x38]
ja 0x140157d9e
int3
int3
int3
lea rax, str.vector::pop_back_called_on_an_empty_vector
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude_vector
lea r9, str._empty__
mov r8d, 0x6be
call fcn.1401c2f20
lea rax, str.null_pointer_given_to_destroy_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__loc___nullptr
mov r8d, 0x41
call fcn.1401c2f20
mov rcx, qword [0x1402b7458]
cqo
idiv rcx
imul r8, rax, 0xf4240
imul rax, rdx, 0xf4240
cqo
idiv rcx
add rax, r8
jmp 0x14015813a
int3
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s_n
lea rdx, str....._third_partylibc_srcinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.1401c2f20
mov r13, r14
mov r14, rsi
cmp r10, rdx
jne 0x140159206
mov rsi, r14
mov r14, r13
jmp 0x140158390
movabs r11, 0x8000000000000001
add r10, r11
cmp r10, 1
mov rsi, r14
mov r14, r13
ja 0x140158390
int3
mov r13, r14
mov r14, rsi
cmp r10, r9
jne 0x14015923c
mov rsi, r14
mov r14, r13
jmp 0x1401583da
movabs r11, 0x8000000000000001
add r10, r11
cmp r10, 1
mov rsi, r14
mov r14, r13
ja 0x1401583da
int3
call fcn.1400de590
mov rax, qword [rdi + 0x10]
mov rbx, qword [rdi + 0x18]
jmp 0x140157fcb
int3