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

Disassembly:
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 - 0x258]
sub rsp, 0x358
mov rax, qword [rcx + 0x150]
mov r14, rcx
mov qword [rbp + 0x78], rax
mov rcx, qword [rax + 0x10]
movsxd rsi, dword [r14 + 0x158]
mov rdi, qword [r14 + 0x148]
mov qword [rbp + 0x80], rcx
lea rbx, [rsi + rsi*8]
shl rbx, 6
lea rcx, [rbx + 8]
call fcn.14005a7bc
mov qword [rax], rbx
lock add qword [rdi], rbx
lea rbx, [rax + 8]
xor edx, edx
lea r8, [rsi + rsi*2]
mov rcx, rbx
shl r8, 3
call fcn.140050400
xor r10d, r10d
mov qword [r14 + 0x168], rbx
mov r13d, r10d
cmp dword [r14 + 0x158], r10d
jle 0x140018840
mov r15d, r10d
mov qword [rbp + 0x2b8], r10
mov r8d, r10d
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r14 + 0x140]
mov eax, r10d
add rcx, 0x10
sub eax, dword [rcx]
movsxd rdx, dword [rcx]
add rdx, rcx
neg eax
sbb rax, rax
and rdx, rax
mov eax, r10d
add r8, rdx
movsxd rdx, dword [r8 + 0x1c]
sub eax, dword [r8 + 0x1c]
lea rcx, [r8 + 0x1c]
movsxd r12, dword [r8 + 0x1c]
lea r9, [r8 + 0x1c]
add rdx, rcx
neg eax
sbb rax, rax
add r12, r9
and rdx, rax
movsxd rax, dword [r8 + 0x18]
lea rcx, [rdx + rax*4]
mov eax, r10d
sub eax, dword [r9]
neg eax
mov qword [rsp + 0x60], rcx
sbb rax, rax
and r12, rax
mov qword [rbp + 0x2b0], r12
cmp r12, rcx
je 0x140018817
mov rcx, qword [r14 + 0x168]
mov r9d, r10d
movsxd rbx, dword [r12]
add rcx, r15
mov r10, qword [rcx + 8]
test r10, r10
je 0x1400186e8
mov r8, qword [rcx]
nop
cmp dword [r8], ebx
je 0x1400187fe
inc r9d
add r8, 4
movsxd rax, r9d
cmp rax, r10
jne 0x1400186d0
mov rdx, qword [r14 + 0x148]
mov r8d, 1
call fcn.140011d20
xor r10d, r10d
mov dword [rax], ebx
mov eax, r10d
mov rcx, qword [r14 + 0x140]
add rcx, 0x10
sub eax, dword [rcx]
movsxd r8, dword [rcx]
add r8, rcx
neg eax
sbb rax, rax
and r8, rax
mov eax, r10d
imul rcx, rbx, 0xa8
add r8, rcx
sub eax, dword [r8 + 0x24]
lea rcx, [r8 + 0x24]
movsxd rdx, dword [rcx]
lea r9, [r8 + 0x24]
movsxd rdi, dword [r9]
add rdx, rcx
neg eax
sbb rax, rax
add rdi, r9
and rdx, rax
movsxd rax, dword [r8 + 0x20]
lea rsi, [rdx + rax*4]
mov eax, r10d
sub eax, dword [r9]
neg eax
sbb rax, rax
and rdi, rax
cmp rdi, rsi
je 0x140018801
xor r12d, r12d
nop dword [rax]
mov rcx, qword [r14 + 0x168]
mov r9d, r12d
movsxd rbx, dword [rdi]
add rcx, r15
mov r10, qword [rcx + 8]
test r10, r10
je 0x1400187a3
mov rax, qword [rcx]
nop dword [rax]
cmp dword [rax], ebx
je 0x1400187ea
inc r9d
add rax, 4
movsxd r8, r9d
cmp r8, r10
jne 0x140018790
mov rdx, qword [r14 + 0x148]
mov r8d, 1
call fcn.140011d20
mov r8d, r13d
mov dword [rax], ebx
mov eax, r12d
mov rcx, qword [r14 + 0x140]
add rcx, 0x10
sub eax, dword [rcx]
movsxd rdx, dword [rcx]
add rdx, rcx
neg eax
sbb rax, rax
imul rcx, rbx, 0xa8
and rdx, rax
add rdx, rcx
mov rcx, r14
call fcn.1400175d0
add rdi, 4
cmp rdi, rsi
jne 0x140018770
mov r12, qword [rbp + 0x2b0]
xor r10d, r10d
add r12, 4
mov qword [rbp + 0x2b0], r12
cmp r12, qword [rsp + 0x60]
jne 0x1400186b1
mov r8, qword [rbp + 0x2b8]
inc r13d
add r8, 0xa8
add r15, 0x18
mov qword [rbp + 0x2b8], r8
cmp r13d, dword [r14 + 0x158]
jl 0x140018640
movsxd rsi, dword [r14 + 0x158]
mov rdi, qword [r14 + 0x148]
lea rbx, [rsi + rsi*8]
shl rbx, 6
lea rcx, [rbx + 8]
call fcn.14005a7bc
mov qword [rax], rbx
lock add qword [rdi], rbx
lea rbx, [rax + 8]
xor edx, edx
lea r8, [rsi + rsi*2]
mov rcx, rbx
shl r8, 3
call fcn.140050400
xor r12d, r12d
mov qword [r14 + 0x170], rbx
mov ebx, r12d
cmp dword [r14 + 0x158], ebx
jle 0x140018926
mov r15d, r12d
nop dword [rax]
mov rdx, qword [r14 + 0x168]
mov rax, qword [rdx + r15]
mov rcx, qword [rdx + r15 + 8]
mov rdi, rax
lea rsi, [rax + rcx*4]
cmp rax, rsi
je 0x140018913
nop dword [rax]
movsxd rax, dword [rdi]
mov r9d, r12d
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 0x170]
mov r10, qword [rax + rcx*8 + 8]
lea rcx, [rax + rcx*8]
test r10, r10
je 0x1400188f6
mov r8, qword [rcx]
cmp dword [r8], ebx
je 0x14001890a
inc r9d
add r8, 4
movsxd rax, r9d
cmp rax, r10
jne 0x1400188e2
mov rdx, qword [r14 + 0x148]
mov r8d, 1
call fcn.140011d20
mov dword [rax], ebx
add rdi, 4
cmp rdi, rsi
jne 0x1400188c0
inc ebx
add r15, 0x18
cmp ebx, dword [r14 + 0x158]
jl 0x1400188a0
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
mov r8d, 4
mov dword [rax], 0xeaeaf2a7
mov rcx, qword [r14 + 0x58]
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
mov r8d, 4
mov dword [rax], ebx
mov rcx, qword [r14 + 0x58]
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x130]
mov dword [rax], ebx
mov rcx, qword [r14 + 0x70]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x130], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x140]
mov dword [rax], ebx
mov rcx, qword [r14 + 0x78]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x140], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x150]
mov dword [rax], ebx
mov rcx, qword [r14 + 0x80]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x150], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x160]
mov dword [rax], ebx
mov rcx, qword [r14 + 0x88]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x160], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x170]
mov dword [rax], ebx
mov rcx, qword [r14 + 0x90]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x170], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x180]
mov dword [rax], ebx
mov rcx, qword [r14 + 0x98]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x180], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x1f0]
mov dword [rax], ebx
mov rcx, qword [r14 + 0xa0]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x1f0], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x190]
mov dword [rax], ebx
mov rcx, qword [r14 + 0xa8]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x190], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
mov dword [rax], ebx
mov rcx, qword [r14 + 0xb0]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
mov rcx, qword [r14 + 0x58]
lea rdx, [rbp + 0x1a0]
movdqa xmmword [rbp + 0x1a0], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x1b0]
mov dword [rax], ebx
mov rcx, qword [r14 + 0xc0]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x1b0], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x1c0]
mov dword [rax], ebx
mov rcx, qword [r14 + 0xb8]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x1c0], xmm0
call fcn.140008870
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov ebx, dword [r14 + 0x158]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x1d0]
mov dword [rax], ebx
mov rcx, qword [r14 + 0xc8]
mov eax, dword [rcx]
mov dword [rsp + 0x30], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x58]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x1d0], xmm0
call fcn.140008870
mov r8, qword [r14 + 0x148]
lea rcx, [r14 + 0xd8]
mov rdx, qword [r14 + 0x140]
call fcn.140016760
mov rbx, qword [r14 + 0x148]
mov ecx, 0x1008
call fcn.14005a7bc
mov qword [rax], 0x1000
lock add qword [rbx], 0x1000
mov rbx, qword [r14 + 0x148]
mov r15d, 0x400
add rax, 8
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x60], rax
mov qword [rsp + 0x60], r15
lea ecx, [r15 + 8]
mov qword [rbp - 0x50], r15
call fcn.14005a7bc
mov qword [rax], r15
lock add qword [rbx], r15
mov rbx, qword [r14 + 0x148]
lea ecx, [r15 + 8]
add rax, 8
mov qword [rsp + 0x58], rax
call fcn.14005a7bc
mov qword [rax], r15
lock add qword [rbx], r15
mov rbx, qword [r14 + 0x148]
add rax, 8
mov ecx, 0x1008
mov qword [rsp + 0x50], rax
mov r12d, r15d
mov qword [rsp + 0x70], r15
call fcn.14005a7bc
mov qword [rax], 0x1000
lock add qword [rbx], 0x1000
mov rbx, qword [r14 + 0x148]
add rax, 8
mov ecx, 0x1008
mov qword [rsp + 0x30], rax
call fcn.14005a7bc
mov qword [rax], 0x1000
lock add qword [rbx], 0x1000
lea r13, [rax + 8]
mov qword [rbp - 0x68], r15
xor eax, eax
mov qword [rsp + 0x48], r13
cmp dword [r14 + 0x158], eax
jle 0x140018f98
mov r12d, eax
mov r15d, eax
nop dword [rax]
mov rdi, qword [r14 + 0x70]
mov r8d, 4
mov rsi, qword [r14 + 0x168]
mov rdx, qword [rdi + 0x10]
lea rcx, [rdi + 0x18]
mov ebx, dword [rsi + r12 + 8]
call fcn.140008e00
mov rcx, rdi
mov dword [rax], ebx
mov rdx, qword [r14 + 0x60]
mov eax, dword [rdx]
mov dword [rbp - 0x40], eax
mov rax, qword [rdx + 0x20]
lea rdx, [rbp + 0x1e0]
mov qword [rbp - 0x38], rax
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rbp + 0x1e0], xmm0
call fcn.140008870
mov rax, qword [rsi + r12]
mov rcx, qword [rsi + r12 + 8]
mov rdi, rax
lea r13, [rax + rcx*4]
cmp rax, r13
je 0x140018ee4
nop word [rax + rax]
mov rcx, qword [r14 + 0x60]
mov r8d, 4
mov ebx, dword [rdi]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
add rdi, 4
mov dword [rax], ebx
cmp rdi, r13
jne 0x140018ec0
mov rdi, qword [r14 + 0x78]
mov r8d, 4
mov rsi, qword [r14 + 0x170]
mov rdx, qword [rdi + 0x10]
lea rcx, [rdi + 0x18]
mov ebx, dword [rsi + r12 + 8]
call fcn.140008e00
mov rcx, rdi
mov dword [rax], ebx
mov rdx, qword [r14 + 0x60]
mov eax, dword [rdx]
mov dword [rbp - 0x30], eax
mov rax, qword [rdx + 0x20]
lea rdx, [rbp + 0x240]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp + 0x240], xmm0
call fcn.140008870
mov rax, qword [rsi + r12]
mov rcx, qword [rsi + r12 + 8]
mov rdi, rax
lea r13, [rax + rcx*4]
cmp rax, r13
je 0x140018f74
nop word [rax + rax]
mov rcx, qword [r14 + 0x60]
mov r8d, 4
mov ebx, dword [rdi]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
add rdi, 4
mov dword [rax], ebx
cmp rdi, r13
jne 0x140018f50
inc r15d
add r12, 0x18
cmp r15d, dword [r14 + 0x158]
jl 0x140018e50
mov r12, qword [rsp + 0x70]
mov r15d, 0x400
mov r13, qword [rsp + 0x48]
lea rcx, [rbp + 0x68]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140019a0d
mov rax, qword [rbp + 0x68]
xor edx, edx
sub rax, qword [0x14009c1f8]
movsxd rsi, dword [r14 + 0x158]
mov rdi, qword [r14 + 0x148]
imul rax, rax, 0xf4240
lea rbx, [rsi*4]
div qword [0x14009c1f0]
lea rcx, [rbx + 8]
add rax, qword [0x14009c200]
mov qword [rbp + 0x2b0], rax
call fcn.14005a7bc
mov qword [rax], rbx
lock add qword [rdi], rbx
lea rcx, [rax + 8]
mov qword [rbp - 0x70], rsi
xor eax, eax
mov qword [rbp - 0x80], rcx
xor esi, esi
mov qword [rbp - 0x78], rax
mov edx, esi
cmp dword [r14 + 0x158], eax
jle 0x14001903a
nop dword [rax + rax]
mov dword [rcx + rax], 0xffffffff
lea rax, [rax + 4]
mov rcx, qword [rbp - 0x80]
inc edx
cmp edx, dword [r14 + 0x158]
jl 0x140019020
mov edi, esi
cmp dword [r14 + 0x158], esi
jle 0x14001910a
lea rsi, [0x14008c230]
lea rax, [rbp - 0x80]
mov qword [rbp + 0xa0], r14
mov qword [rbp + 0x98], rax
lea rdx, [rsp + 0x78]
movups xmm0, xmmword [rbp + 0x98]
lea rax, [rbp + 0xf0]
mov qword [rbp + 0xf0], rsi
mov qword [rbp + 0xa8], rax
lea rcx, [rbp + 0xf0]
movsd xmm1, qword [rbp + 0xa8]
lea rax, [rbp + 0xf0]
movsd qword [rbp + 0x108], xmm1
mov qword [rbp + 0x128], rax
movups xmmword [rbp + 0xf8], xmm0
mov dword [rsp + 0x78], edi
call fcn.14001a310
mov rcx, qword [r14 + 0x80]
mov r8d, 4
mov ebx, eax
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
mov dword [rax], ebx
mov rcx, qword [rbp + 0x128]
test rcx, rcx
je 0x1400190f5
mov rax, qword [rcx]
lea rdx, [rbp + 0xf0]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
inc edi
cmp edi, dword [r14 + 0x158]
jl 0x140019050
mov rcx, qword [rbp - 0x80]
xor esi, esi
test rcx, rcx
je 0x140019136
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [r14 + 0x148]
neg rdx
lock add qword [rax], rdx
call fcn.14005a480
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rsi
mov qword [rbp - 0x70], rsi
lea rcx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140019a1a
mov rax, qword [rbp + 0x40]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
sub rax, qword [rbp + 0x2b0]
add rax, qword [0x14009c200]
lock add qword [0x14009bb98], rax
cmp dword [r14 + 0x158], 0
mov dword [rbp + 0x2b8], esi
jle 0x1400198b8
lea rax, [r14 + 0xd8]
mov rbx, rsi
mov qword [rbp + 0x50], rax
mov qword [rsp + 0x68], rbx
lea rcx, [rbp + 0x48]
mov qword [rbp - 0x58], rsi
mov dword [rbp + 0x2b0], esi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140019a00
mov rax, qword [rbp + 0x48]
xor edx, edx
sub rax, qword [0x14009c1f8]
xor r10d, r10d
mov rdi, qword [r14 + 0x148]
mov ecx, r10d
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
mov rdx, qword [r14 + 0x140]
add rax, qword [0x14009c200]
add rdx, 0x10
mov qword [rbp - 0x40], rax
sub ecx, dword [rdx]
movsxd r8, dword [rdx]
add r8, rdx
neg ecx
sbb rcx, rcx
and r8, rcx
movsxd rbx, dword [r8 + rbx + 0x28]
mov dword [rsp + 0x40], ebx
mov qword [rbp + 0x58], rbx
cmp rbx, r15
jbe 0x140019286
lea rcx, [r15 + r15]
test r15, r15
jne 0x14001922a
mov ecx, 8
mov rax, qword [rsp + 0x58]
cmp rcx, rbx
mov r15, rbx
cmovae r15, rcx
mov qword [rsp + 0x60], r15
lea rdx, [r15 + 8]
test rax, rax
jne 0x140019251
mov rcx, rdx
call fcn.14005a7bc
jmp 0x140019271
lea rsi, [rax - 8]
mov rax, qword [rax - 8]
neg rax
lock add qword [rdi], rax
mov rcx, rsi
call fcn.14005f3d4
test rax, rax
je 0x140019a27
mov qword [rax], r15
lock add qword [rdi], r15
lea r8, [rax + 8]
xor r10d, r10d
mov qword [rsp + 0x58], r8
jmp 0x14001928b
mov r8, qword [rsp + 0x58]
mov rcx, qword [r14 + 0x140]
mov eax, r10d
add rcx, 0x10
mov edi, r10d
sub eax, dword [rcx]
movsxd rsi, dword [rcx]
add rsi, rcx
neg eax
sbb rax, rax
and rsi, rax
add rsi, qword [rsp + 0x68]
test ebx, ebx
je 0x14001938e
lea rcx, [rsi + 0x2c]
mov r15, r8
lea rdx, [rsi + 0x34]
mov r12, r10
mov r13, r10
nop word [rax + rax]
movsxd rbx, dword [rcx]
mov eax, r10d
sub eax, dword [rcx]
add rbx, rcx
movsxd rcx, dword [rdx]
neg eax
sbb rax, rax
add rcx, rdx
and rbx, rax
mov eax, r10d
sub eax, dword [rdx]
add rbx, r13
neg eax
mov rdx, rsi
sbb rax, rax
movsxd r9, dword [rbx]
and rcx, rax
add r9, rbx
cmp dword [rbx], 0
mov eax, dword [rcx + r12]
cmove r9, r10
lea rcx, [r14 + 0xd8]
mov dword [rsp + 0x20], eax
call fcn.140016d10
mov byte [r15], al
lea r9, [rbp + 0x230]
movsxd r8, dword [rbx]
lea rcx, [r14 + 0xd8]
mov edx, dword [rbx + 4]
add r8, rbx
cmp dword [rbx], 0
mov eax, 0
cmove r8, rax
call fcn.140016ad0
test al, al
jne 0x140019364
mov rdx, qword [r14 + 0x148]
lea rcx, [rbp - 0x60]
mov r8d, 1
call fcn.140011d20
mov dword [rax], edi
inc edi
lea rcx, [rsi + 0x2c]
add r13, 8
lea rdx, [rsi + 0x34]
add r12, 4
inc r15
mov r10d, 0
cmp edi, dword [rsp + 0x40]
jne 0x1400192d0
mov r12, qword [rsp + 0x70]
mov rcx, qword [r14 + 0x140]
mov eax, r10d
mov r13, qword [rbp - 0x68]
add rcx, 0x10
mov r15, qword [r14 + 0x148]
sub eax, dword [rcx]
movsxd rdx, dword [rcx]
add rdx, rcx
neg eax
sbb rax, rax
and rdx, rax
mov rax, qword [rsp + 0x68]
movsxd rdi, dword [rdx + rax + 0x40]
mov dword [rsp + 0x40], edi
mov rcx, rdi
cmp rdi, r13
jbe 0x14001943d
lea rax, [r13*2]
test r13, r13
jne 0x1400193df
mov eax, 8
cmp rax, rcx
mov r13, rcx
cmovae r13, rax
mov rax, qword [rsp + 0x48]
mov qword [rbp - 0x68], r13
lea rbx, [r13*4]
lea rdx, [rbx + 8]
test rax, rax
jne 0x14001940d
mov rcx, rdx
call fcn.14005a7bc
jmp 0x14001942d
lea r13, [rax - 8]
mov rax, qword [rax - 8]
neg rax
lock add qword [r15], rax
mov rcx, r13
call fcn.14005f3d4
test rax, rax
je 0x140019a3a
mov qword [rax], rbx
lock add qword [r15], rbx
add rax, 8
mov qword [rsp + 0x48], rax
mov rbx, qword [r14 + 0x148]
mov rcx, rdi
mov qword [rbp - 0x30], rcx
cmp rdi, r12
jbe 0x1400194c8
lea rax, [r12 + r12]
test r12, r12
jne 0x14001945e
mov eax, 8
cmp rax, rcx
mov r12, rcx
cmovae r12, rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x70], r12
lea rdx, [r12 + 8]
test rax, rax
jne 0x140019496
mov rcx, rdx
call fcn.14005a7bc
mov qword [rax], r12
lock add qword [rbx], r12
add rax, 8
mov qword [rsp + 0x50], rax
jmp 0x1400194cd
lea r15, [rax - 8]
mov rax, qword [rax - 8]
neg rax
lock add qword [rbx], rax
mov rcx, r15
call fcn.14005f3d4
test rax, rax
je 0x140019a4c
mov qword [rax], r12
lock add qword [rbx], r12
add rax, 8
mov qword [rsp + 0x50], rax
jmp 0x1400194cd
mov rax, qword [rsp + 0x50]
xor r8d, r8d
mov ebx, r8d
test edi, edi
je 0x14001958e
mov r14d, dword [rbp + 0x2b0]
lea r12, [rsi + 0x4c]
mov r13, rax
mov r15d, r8d
mov rax, qword [rsp + 0x48]
mov edi, r8d
mov qword [rbp - 0x20], rax
nop dword [rax + rax]
movsxd rcx, dword [r12]
mov eax, r8d
sub eax, dword [r12]
add rcx, r12
neg eax
sbb rax, rax
and rcx, rax
test byte [rcx + rdi], 8
je 0x140019570
movsxd rdx, dword [rsi + 0x44]
lea rcx, [rsi + 0x44]
add rdx, rcx
mov dword [rsp + 0x20], r8d
mov eax, r8d
sub eax, dword [rcx]
mov rcx, qword [rbp + 0x50]
neg eax
sbb rax, rax
and rdx, rax
add rdx, r15
movsxd r9, dword [rdx]
add r9, rdx
cmp dword [rdx], 0
mov rdx, rsi
cmove r9, r8
call fcn.140016d10
mov rdx, qword [rbp - 0x20]
inc r14d
mov byte [r13], al
inc r13
mov dword [rdx], ebx
add rdx, 4
mov qword [rbp - 0x20], rdx
xor r8d, r8d
inc ebx
add rdi, 4
add r15, 8
cmp ebx, dword [rsp + 0x40]
jne 0x140019500
mov dword [rbp + 0x2b0], r14d
mov r14, qword [rbp + 0x2a0]
mov rdi, qword [r14 + 0xa0]
mov r8d, 4
mov rdx, qword [rdi + 0x10]
lea rcx, [rdi + 0x18]
call fcn.140008e00
mov rbx, qword [rbp - 0x58]
mov rcx, rdi
mov dword [rax], ebx
mov rdx, qword [r14 + 0x60]
mov eax, dword [rdx]
mov dword [rbp + 0xe0], eax
mov rax, qword [rdx + 0x20]
lea rdx, [rbp - 0x20]
mov qword [rbp + 0xe8], rax
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp - 0x20], xmm0
call fcn.140008870
mov rdi, qword [rbp - 0x60]
lea r15, [rdi + rbx*4]
cmp rdi, r15
je 0x140019614
nop word [rax + rax]
mov rcx, qword [r14 + 0x60]
mov r8d, 4
mov ebx, dword [rdi]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
add rdi, 4
mov dword [rax], ebx
cmp rdi, r15
jne 0x1400195f0
mov rcx, qword [r14 + 0x88]
mov r8d, 4
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
mov rbx, qword [rbp + 0x58]
lea rdx, [rbp + 0x200]
mov dword [rax], ebx
mov rcx, qword [r14 + 0x60]
mov eax, dword [rcx]
mov dword [rbp + 0xb0], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x88]
mov qword [rbp + 0xb8], rax
movaps xmm0, xmmword [rbp + 0xb0]
movdqa xmmword [rbp + 0x200], xmm0
call fcn.140008870
mov rax, qword [rsp + 0x58]
mov rdi, rax
lea r15, [rax + rbx]
cmp rax, r15
je 0x1400196a4
nop
mov rcx, qword [r14 + 0x60]
mov r8d, 1
movzx ebx, byte [rdi]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
inc rdi
mov byte [rax], bl
cmp rdi, r15
jne 0x140019680
mov rcx, qword [r14 + 0x90]
mov r8d, 4
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
movsxd r12, dword [rbp + 0x2b0]
lea rdx, [rbp + 0x210]
mov dword [rax], r12d
mov rcx, qword [r14 + 0x60]
mov eax, dword [rcx]
mov dword [rbp + 0xc0], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x90]
mov qword [rbp + 0xc8], rax
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0x210], xmm0
call fcn.140008870
mov r13, qword [rsp + 0x48]
xor r9d, r9d
mov r15d, r9d
test r12d, r12d
jle 0x1400197a7
lea rdx, [r14 + 0x28]
lea rdi, [rsi + 0x44]
jmp 0x140019723
xor r9d, r9d
movsxd rcx, dword [rdi]
mov eax, r9d
sub eax, dword [rdi]
add rcx, rdi
movsxd rbx, dword [r13 + r15*4]
neg eax
sbb rax, rax
and rcx, rax
mov eax, r9d
sub eax, dword [rcx + rbx*8]
lea rcx, [rcx + rbx*8]
movsxd r8, dword [rcx]
mov r9, rdx
mov rdx, qword [r14 + 0xd0]
add r8, rcx
mov rcx, qword [r14 + 0x60]
neg eax
sbb rax, rax
and r8, rax
call fcn.14001abe0
movsxd rcx, dword [rdi]
xor edx, edx
add rcx, rdi
mov eax, edx
sub eax, dword [rdi]
mov r8d, 4
neg eax
sbb rax, rax
and rcx, rax
mov ebx, dword [rcx + rbx*8 + 4]
mov rcx, qword [r14 + 0x60]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
inc r15
lea rdx, [r14 + 0x28]
mov dword [rax], ebx
cmp r15, r12
jl 0x140019720
mov rcx, qword [r14 + 0x98]
mov r8d, 4
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
lea rdx, [rbp + 0x220]
mov dword [rax], r12d
mov rcx, qword [r14 + 0x60]
mov eax, dword [rcx]
mov dword [rbp + 0xd0], eax
mov rax, qword [rcx + 0x20]
mov rcx, qword [r14 + 0x98]
mov qword [rbp + 0xd8], rax
movaps xmm0, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x220], xmm0
call fcn.140008870
mov r15, qword [rsp + 0x50]
mov rsi, qword [rbp - 0x30]
mov rdi, r15
add rsi, r15
cmp r15, rsi
je 0x140019835
mov rcx, qword [r14 + 0x60]
mov r8d, 1
movzx ebx, byte [rdi]
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
inc rdi
mov byte [rax], bl
cmp rdi, rsi
jne 0x140019811
mov edi, dword [rbp + 0x2b8]
mov rcx, r14
mov edx, edi
call fcn.140017b00
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x140019a5f
mov rax, qword [rbp + 0x60]
xor edx, edx
sub rax, qword [0x14009c1f8]
imul rax, rax, 0xf4240
div qword [0x14009c1f0]
sub rax, qword [rbp - 0x40]
add rax, qword [0x14009c200]
lock add qword [0x14009bb90], rax
mov rbx, qword [rsp + 0x68]
inc edi
add rbx, 0xa8
mov dword [rbp + 0x2b8], edi
mov qword [rsp + 0x68], rbx
cmp edi, dword [r14 + 0x158]
jge 0x1400198bd
mov r15, qword [rsp + 0x60]
xor esi, esi
mov r12, qword [rsp + 0x70]
jmp 0x1400191a0
mov r15, qword [rsp + 0x50]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x1400198e1
mov rdx, qword [rcx - 8]
add rcx, 0xfffffffffffffff8
mov rax, qword [r14 + 0x148]
neg rdx
lock add qword [rax], rdx
call fcn.14005a480
mov rax, qword [rsp + 0x58]
test rax, rax
je 0x140019906
mov rdx, qword [rax - 8]
lea rcx, [rax - 8]
mov rax, qword [r14 + 0x148]
neg rdx
lock add qword [rax], rdx
call fcn.14005a480
test r15, r15
je 0x140019926
mov rdx, qword [r15 - 8]
lea rcx, [r15 - 8]
mov rax, qword [r14 + 0x148]
neg rdx
lock add qword [rax], rdx
call fcn.14005a480
test r13, r13
je 0x140019946
mov rdx, qword [r13 - 8]
lea rcx, [r13 - 8]
mov rax, qword [r14 + 0x148]
neg rdx
lock add qword [rax], rdx
call fcn.14005a480
mov rax, qword [rsp + 0x30]
test rax, rax
je 0x14001996b
mov rdx, qword [rax - 8]
lea rcx, [rax - 8]
mov rax, qword [r14 + 0x148]
neg rdx
lock add qword [rax], rdx
call fcn.14005a480
lea rcx, [r14 + 0xd8]
call fcn.1400172c0
lea rcx, [r14 + 0x108]
call fcn.1400172c0
mov rcx, qword [r14 + 0x58]
mov r8d, 4
mov rdx, qword [rcx + 0x10]
add rcx, 0x18
call fcn.140008e00
mov rdx, qword [rbp + 0x2a8]
mov dword [rax], 0xeaeaf2a7
mov rcx, qword [r14 + 0x20]
call fcn.140008aa0
mov r8, qword [rbp + 0x78]
movzx edx, al
mov r9, qword [rbp + 0x80]
mov rcx, qword [r8 + 8]
mov qword [r8 + 0x10], r9
cmp qword [rcx + 0x20], r9
jbe 0x1400199dd
nop dword [rax]
mov rcx, qword [rcx]
mov qword [r8 + 8], rcx
cmp qword [rcx + 0x20], r9
ja 0x1400199d0
mov rax, qword [r8 + 8]
sub r9, qword [rax + 0x20]
mov qword [rax + 0x18], r9
movzx eax, dl
add rsp, 0x358
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3
mov r8, rsi
lea rcx, str.out_of_memory_reallocating__d_bytes_at__p
mov edx, r15d
call fcn.140014e80
int3
mov r8, r13
lea rcx, str.out_of_memory_reallocating__d_bytes_at__p
mov edx, ebx
call fcn.140014e80
int3
mov r8, r15
lea rcx, str.out_of_memory_reallocating__d_bytes_at__p
mov edx, r12d
call fcn.140014e80
int3
lea rcx, str.QueryPerformanceCounter_failed
call fcn.140014f00
int3