Function at 0x1800ef030
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, 0x808
movaps xmmword [rsp + 0x7f0], xmm6
mov r14, rdx
mov rbp, rcx
mov rsi, qword [rdx]
mov rdi, qword [rdx + 8]
cmp rsi, 2
jne 0x1800ef06f
mov qword [rbp + 8], rdi
mov qword [rbp], 3
jmp 0x1800f1906
lea rdx, [r14 + 0x10]
lea rcx, [rsp + 0x6f0]
mov r8d, 0x100
call fcn.180170ea0
mov rbx, qword [r14 + 0x110]
mov rax, qword [r14 + 0x118]
mov qword [rsp + 0x50], rax
mov rax, qword [r14 + 0x120]
mov qword [rsp + 0x28], rax
mov r13, qword [r14 + 0x128]
mov rax, qword [r14 + 0x130]
mov qword [rsp + 0x38], rax
mov rcx, qword [0x180219958]
test rcx, rcx
jne 0x1800ef0dd
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800f0387
mov rcx, rax
mov qword [0x180219958], rax
mov r8d, 0xd0
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800f0387
mov r12, rax
mov qword [rsp + 0x48], r14
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 4
lock inc qword [rax]
jle 0x1800f1461
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], rdi
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x6f0]
mov r8d, 0x100
call fcn.180170ea0
mov r15d, 2
cmp rbx, 2
mov qword [rsp + 0x240], rbp
je 0x1800ef3a9
test rbx, rbx
je 0x1800ef184
mov rbp, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x28]
mov r14, qword [rsp + 0x38]
mov rdx, r13
jmp 0x1800ef2b0
lea rcx, [rsp + 0x400]
mov rdx, 0xfffffffffffffffe
xor r8d, r8d
call fcn.180052f40
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0x680], rax
movups xmm0, xmmword [rsp + 0x400]
movups xmm1, xmmword [rsp + 0x410]
movaps xmmword [rsp + 0x670], xmm1
movaps xmmword [rsp + 0x660], xmm0
movups xmm0, xmmword [rsp + 0x428]
movaps xmmword [rsp + 0x290], xmm0
movups xmm0, xmmword [rsp + 0x438]
movaps xmmword [rsp + 0x2a0], xmm0
movups xmm0, xmmword [rsp + 0x448]
movaps xmmword [rsp + 0x2b0], xmm0
mov rcx, qword [0x180219958]
test rcx, rcx
jne 0x1800ef220
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800f0a81
mov rcx, rax
mov qword [0x180219958], rax
mov r8d, 0x30
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800f0a81
mov rbx, rax
movaps xmm0, xmmword [rsp + 0x290]
movaps xmm1, xmmword [rsp + 0x2a0]
movaps xmm2, xmmword [rsp + 0x2b0]
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rax, qword [rsp + 0x680]
mov qword [rsp + 0x560], rax
movaps xmm0, xmmword [rsp + 0x660]
movaps xmm1, xmmword [rsp + 0x670]
movaps xmmword [rsp + 0x550], xmm1
movaps xmmword [rsp + 0x540], xmm0
mov r15d, 1
lea rax, [0x1801dcdd0]
xor ebp, ebp
test r13, r13
je 0x1800efffa
mov r13, rax
xor r14d, r14d
mov rdx, qword [rsp + 0x38]
lea rsi, [rsp + 0xc8]
movups xmm0, xmmword [0x1801dd060]
movaps xmmword [rsp + 0x670], xmm0
movups xmm0, xmmword [0x1801dd050]
movaps xmmword [rsp + 0x660], xmm0
lea rdi, [rsp + 0x400]
mov rcx, rdi
call fcn.180052c10
lea rcx, [rsp + 0x290]
lea r8, [rsp + 0x660]
mov rdx, rsi
mov r9, rdi
call fcn.180079aa0
cmp byte [rsp + 0x2b0], 2
je 0x1800ef32e
lea rcx, [rsp + 0x2a8]
mov rax, qword [rsp + 0x290]
mov rdx, qword [rsp + 0x298]
mov r8, qword [rsp + 0x2a0]
call qword [rax + 0x10]
mov rsi, qword [rsp + 0xa0]
test rsi, rsi
je 0x1800ef348
lea rcx, [rsp + 0xa8]
call fcn.180080a40
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rbx
mov qword [rsp + 0xb8], r13
mov qword [rsp + 0xc0], r14
movaps xmm0, xmmword [rsp + 0x540]
movaps xmm1, xmmword [rsp + 0x550]
movaps xmmword [rsp + 0x400], xmm0
movaps xmmword [rsp + 0x410], xmm1
mov rax, qword [rsp + 0x560]
mov qword [rsp + 0x420], rax
mov esi, 1
lea rax, [rsp + 0xa8]
movups xmm0, xmmword [rax + 0x70]
movaps xmmword [rsp + 0x5b0], xmm0
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rsp + 0x5a0], xmm0
movups xmm0, xmmword [rax + 0x50]
movaps xmmword [rsp + 0x590], xmm0
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rsp + 0x580], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x570], xmm3
movaps xmmword [rsp + 0x560], xmm2
movaps xmmword [rsp + 0x550], xmm1
movaps xmmword [rsp + 0x540], xmm0
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x84], eax
mov eax, dword [rsp + 0x12c]
mov dword [rsp + 0x78], eax
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x134]
mov dword [rsp + 0x74], eax
mov r13, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
mov rbx, qword [rsp + 0x148]
movzx eax, word [rsp + 0x150]
mov word [rsp + 0x36], ax
movzx eax, word [rsp + 0x152]
mov word [rsp + 0x34], ax
mov eax, dword [rsp + 0x154]
mov dword [rsp + 0x7c], eax
movzx eax, byte [rsp + 0x178]
mov byte [rsp + 0x260], al
mov eax, dword [rsp + 0x17c]
mov dword [rsp + 0x8b], eax
mov eax, dword [rsp + 0x179]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x1ac]
mov dword [rsp + 0x5e0], eax
mov rax, qword [rsp + 0x420]
mov qword [rsp + 0x340], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x70], eax
movaps xmm0, xmmword [rsp + 0x400]
movaps xmm1, xmmword [rsp + 0x410]
movaps xmmword [rsp + 0x330], xmm1
movaps xmmword [rsp + 0x320], xmm0
mov rax, qword [rsp + 0x50]
mov qword [rsp + 0x348], rax
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x350], rax
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x358], r15
mov eax, dword [rsp + 0x164]
mov dword [rsp + 0x64], eax
movups xmm0, xmmword [rsp + 0x168]
movaps xmmword [rsp + 0x250], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x360], rax
mov r14, qword [rsp + 0x180]
movups xmm0, xmmword [rsp + 0x19c]
movaps xmmword [rsp + 0x5d0], xmm0
movups xmm0, xmmword [rsp + 0x18c]
movaps xmmword [rsp + 0x5c0], xmm0
mov ebp, dword [rsp + 0x188]
test rbx, rbx
mov qword [rsp + 0x98], rcx
je 0x1800ef5d7
js 0x1800f1461
mov rcx, qword [0x180219958]
test rcx, rcx
mov rdi, qword [rsp + 0x48]
jne 0x1800ef5bf
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800f03a1
mov rcx, rax
mov qword [0x180219958], rax
xor edx, edx
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
jne 0x1800ef5e1
jmp 0x1800f03a1
mov ecx, 1
mov rdi, qword [rsp + 0x48]
mov qword [rsp + 0x238], rcx
mov rdx, r13
mov qword [rsp + 0x28], rbx
mov r8, rbx
call fcn.180170ea0
movzx eax, byte [rsp + 0x260]
mov byte [rsp + 0x380], al
movaps xmm0, xmmword [rsp + 0x250]
movaps xmmword [rsp + 0x370], xmm0
mov dword [rsp + 0x50], ebp
mov rax, r14
cmp ebp, 0x3b9aca00
jne 0x1800ef638
mov eax, dword [rdi + 0x148]
mov dword [rsp + 0x50], eax
mov rax, qword [rdi + 0x140]
mov qword [rsp + 0x90], rax
mov rax, qword [rdi + 0x138]
mov qword [rsp + 0x40], rax
mov r15, qword [rax + 0x10]
test r15, r15
je 0x1800f1461
movaps xmm0, xmmword [rsp + 0x540]
movaps xmm1, xmmword [rsp + 0x550]
movaps xmm2, xmmword [rsp + 0x560]
movaps xmm3, xmmword [rsp + 0x570]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xc0], xmm2
movaps xmmword [rsp + 0xd0], xmm3
movaps xmm0, xmmword [rsp + 0x580]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0x590]
movaps xmmword [rsp + 0xf0], xmm0
movaps xmm0, xmmword [rsp + 0x5a0]
movaps xmmword [rsp + 0x100], xmm0
movaps xmm0, xmmword [rsp + 0x5b0]
movaps xmmword [rsp + 0x110], xmm0
movaps xmm0, xmmword [rsp + 0x250]
movaps xmmword [rsp + 0x290], xmm0
movzx eax, byte [rsp + 0x260]
mov byte [rsp + 0x2a0], al
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x8b]
mov dword [rsp + 0x663], ecx
mov dword [rsp + 0x660], eax
mov eax, dword [rsp + 0x5e0]
mov dword [rsp + 0x420], eax
movaps xmm0, xmmword [rsp + 0x5c0]
movaps xmm1, xmmword [rsp + 0x5d0]
movaps xmmword [rsp + 0x410], xmm1
movaps xmmword [rsp + 0x400], xmm0
mov rax, qword [r15 + 0x1c8]
nop dword [rax]
test al, 1
jne 0x1800ef993
cmp rax, 0xfffffffffffffffe
je 0x1800f0398
lea rcx, [rax + 2]
lock cmpxchg qword [r15 + 0x1c8], rcx
jne 0x1800ef750
lea rcx, [r15 + 0x80]
mov ebx, 1
mov edi, 1
lock xadd qword [r15 + 0x88], rdi
mov rdx, rdi
call fcn.18008e210
and edi, 0x1f
imul rcx, rdi, 0x118
mov qword [rax + rcx], rsi
movaps xmm0, xmmword [rsp + 0xa0]
movaps xmm1, xmmword [rsp + 0xb0]
movaps xmm2, xmmword [rsp + 0xc0]
movaps xmm3, xmmword [rsp + 0xd0]
movups xmmword [rax + rcx + 8], xmm0
movups xmmword [rax + rcx + 0x18], xmm1
movups xmmword [rax + rcx + 0x28], xmm2
movups xmmword [rax + rcx + 0x38], xmm3
movaps xmm0, xmmword [rsp + 0xe0]
movups xmmword [rax + rcx + 0x48], xmm0
movaps xmm0, xmmword [rsp + 0xf0]
movups xmmword [rax + rcx + 0x58], xmm0
movaps xmm0, xmmword [rsp + 0x100]
movups xmmword [rax + rcx + 0x68], xmm0
movaps xmm0, xmmword [rsp + 0x110]
movups xmmword [rax + rcx + 0x78], xmm0
mov edx, dword [rsp + 0x84]
mov dword [rax + rcx + 0x88], edx
mov edx, dword [rsp + 0x78]
mov dword [rax + rcx + 0x8c], edx
mov edx, dword [rsp + 0x80]
mov dword [rax + rcx + 0x90], edx
mov edx, dword [rsp + 0x74]
mov dword [rax + rcx + 0x94], edx
mov qword [rax + rcx + 0x98], r13
mov rdx, qword [rsp + 0x98]
mov qword [rax + rcx + 0xa0], rdx
mov rdx, qword [rsp + 0x28]
mov qword [rax + rcx + 0xa8], rdx
movzx edx, word [rsp + 0x36]
mov word [rax + rcx + 0xb0], dx
movzx edx, word [rsp + 0x34]
mov word [rax + rcx + 0xb2], dx
mov edx, dword [rsp + 0x7c]
mov dword [rax + rcx + 0xb4], edx
mov edx, dword [rsp + 0x70]
mov dword [rax + rcx + 0xb8], edx
mov edx, dword [rsp + 0x6c]
mov dword [rax + rcx + 0xbc], edx
mov edx, dword [rsp + 0x68]
mov dword [rax + rcx + 0xc0], edx
mov edx, dword [rsp + 0x64]
mov dword [rax + rcx + 0xc4], edx
movzx edx, byte [rsp + 0x2a0]
mov byte [rax + rcx + 0xd8], dl
movaps xmm0, xmmword [rsp + 0x290]
movups xmmword [rax + rcx + 0xc8], xmm0
mov edx, dword [rsp + 0x660]
mov r8d, dword [rsp + 0x663]
mov dword [rax + rcx + 0xd9], edx
mov dword [rax + rcx + 0xdc], r8d
mov qword [rax + rcx + 0xe0], r14
mov dword [rax + rcx + 0xe8], ebp
movaps xmm0, xmmword [rsp + 0x400]
movaps xmm1, xmmword [rsp + 0x410]
movups xmmword [rax + rcx + 0xec], xmm0
movups xmmword [rax + rcx + 0xfc], xmm1
mov edx, dword [rsp + 0x420]
mov dword [rax + rcx + 0x10c], edx
mov qword [rax + rcx + 0x110], r12
mov ecx, edi
shl rbx, cl
lock or qword [rax + 0x2310], rbx
mov rax, qword [r15 + 0x110]
nop word [rax + rax]
mov rcx, rax
or rcx, 2
lock cmpxchg qword [r15 + 0x110], rcx
jne 0x1800ef950
test rax, rax
jne 0x1800ef99d
mov rax, qword [r15 + 0x100]
mov rcx, qword [r15 + 0x108]
mov qword [r15 + 0x100], 0
lock and qword [r15 + 0x110], 0xfffffffffffffffd
test rax, rax
je 0x1800ef99d
call qword [rax + 8]
jmp 0x1800ef99d
cmp rsi, 2
jne 0x1800f1461
mov rbx, qword [rsp + 0x358]
cmp rbx, 2
mov qword [rsp + 0x58], rbx
je 0x1800efa15
mov rax, qword [rsp + 0x360]
mov qword [rsp + 0x3d0], rax
movaps xmm0, xmmword [rsp + 0x320]
movaps xmm1, xmmword [rsp + 0x330]
movaps xmm2, xmmword [rsp + 0x340]
movaps xmm3, xmmword [rsp + 0x350]
movaps xmmword [rsp + 0x3c0], xmm3
movaps xmmword [rsp + 0x3b0], xmm2
movaps xmmword [rsp + 0x3a0], xmm1
movaps xmmword [rsp + 0x390], xmm0
cmp dword [rsp + 0x50], 0x3b9aca00
jne 0x1800efa2d
mov r15d, 0x3b9aca00
jmp 0x1800efc37
cmp dword [rsp + 0x50], 0x3b9aca00
jne 0x1800efabd
mov edi, 0x3b9aca00
jmp 0x1800efdf5
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800f194f
mov rsi, qword [rsp + 0xa0]
mov r8, qword [0x180219970]
test r8, r8
jne 0x1800efa9d
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800f194f
mov r8, qword [rsp + 0xa0]
mov qword [0x180219970], r8
test r8, r8
je 0x1800f1461
mov rax, rsi
or rax, r8
shr rax, 0x20
je 0x1800efb46
mov rax, rsi
xor edx, edx
div r8
mov rcx, rax
jmp 0x1800efb4f
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800f194f
mov rsi, qword [rsp + 0xa0]
mov r8, qword [0x180219970]
test r8, r8
jne 0x1800efb2d
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800f194f
mov r8, qword [rsp + 0xa0]
mov qword [0x180219970], r8
test r8, r8
je 0x1800f1461
mov rax, rsi
or rax, r8
shr rax, 0x20
je 0x1800efb69
mov rax, rsi
xor edx, edx
div r8
mov rcx, rax
jmp 0x1800efb72
mov eax, esi
xor edx, edx
div r8d
mov ecx, eax
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, r8
shr rdx, 0x20
je 0x1800efb93
xor edx, edx
div r8
jmp 0x1800efb98
mov eax, esi
xor edx, edx
div r8d
mov ecx, eax
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, r8
shr rdx, 0x20
je 0x1800efd57
xor edx, edx
div r8
jmp 0x1800efd5c
xor edx, edx
div r8d
imul r15, rcx, 0x3b9aca00
add r15, rax
mov r8, r15
shr r8, 9
mov rax, r8
movabs rcx, 0x44b82fa09b5a53
mul rcx
mov rcx, rdx
shr rcx, 0xb
add rcx, qword [rsp + 0x90]
jb 0x1800f1461
mov rax, r8
movabs rdx, 0x44b82fa09b5a53
mul rdx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub r15d, eax
add r15d, dword [rsp + 0x50]
cmp r15d, 0x3b9ac9ff
jbe 0x1800efc09
inc rcx
je 0x1800f1461
add r15d, 0xc4653600
mov eax, r15d
shr eax, 9
imul r14, rax, 0x44b83
shr r14, 0x27
add r14, rcx
jb 0x1800f1461
imul rax, rax, 0x44b83
shr rax, 0x27
imul eax, eax, 0x3b9aca00
sub r15d, eax
call fcn.1800fe660
test rax, rax
je 0x1800f1461
mov rsi, rax
mov rcx, qword [0x180219958]
test rcx, rcx
jne 0x1800efc6d
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800f03b0
mov rcx, rax
mov qword [0x180219958], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800f03b0
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
mov qword [rax + 0x10], rsi
lea rax, fcn.1800e2a80
mov qword [rsp + 0x270], rax
mov qword [rsp + 0x278], rcx
lea rax, [rsp + 0x270]
mov qword [rsp + 0x248], rax
mov qword [rsp + 0xa0], r12
movaps xmm0, xmmword [rsp + 0x390]
movaps xmm1, xmmword [rsp + 0x3a0]
movaps xmm2, xmmword [rsp + 0x3b0]
movaps xmm3, xmmword [rsp + 0x3c0]
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm1
movups xmmword [rsp + 0xc8], xmm2
movups xmmword [rsp + 0xd8], xmm3
mov rax, qword [rsp + 0x3d0]
mov qword [rsp + 0xe8], rax
mov byte [rsp + 0xf1], 0
lea r12, [rsp + 0xf8]
lea r13, [rsp + 0x140]
lea rdi, [rsp + 0x1a0]
xor eax, eax
movzx eax, al
lea rcx, [0x1800f1970]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov qword [rsp + 0x38], r14
jmp rax
xor edx, edx
div r8d
imul rdi, rcx, 0x3b9aca00
add rdi, rax
mov r8, rdi
shr r8, 9
mov rax, r8
movabs rcx, 0x44b82fa09b5a53
mul rcx
mov rcx, rdx
shr rcx, 0xb
add rcx, qword [rsp + 0x90]
jb 0x1800f1461
mov rax, r8
movabs rdx, 0x44b82fa09b5a53
mul rdx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub edi, eax
add edi, dword [rsp + 0x50]
cmp edi, 0x3b9ac9ff
jbe 0x1800efdc9
inc rcx
je 0x1800f1461
add edi, 0xc4653600
mov eax, edi
shr eax, 9
imul r14, rax, 0x44b83
shr r14, 0x27
add r14, rcx
jb 0x1800f1461
imul rax, rax, 0x44b83
shr rax, 0x27
imul eax, eax, 0x3b9aca00
sub edi, eax
call fcn.1800fe660
test rax, rax
je 0x1800f1461
mov rsi, rax
mov rcx, qword [0x180219958]
test rcx, rcx
jne 0x1800efe2b
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800f03b0
mov rcx, rax
mov qword [0x180219958], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800f03b0
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
mov qword [rax + 0x10], rsi
lea rax, fcn.1800e2a80
mov qword [rsp + 0x618], rax
mov qword [rsp + 0x620], rcx
lea rax, [rsp + 0x618]
mov qword [rsp + 0x390], rax
mov qword [rsp + 0x290], r12
mov byte [rsp + 0x2a0], 0
lea r15, [rsp + 0x298]
cmp edi, 0x3b9aca00
jne 0x1800eff2f
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x298], rax
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x390]
mov rdx, r15
call fcn.1800ee8b0
mov rbx, qword [rsp + 0xa0]
cmp rbx, 5
jne 0x1800f02a1
mov byte [rsp + 0x2a0], 3
lea rsi, [rsp + 0xa0]
lea rdi, [rsp + 0x390]
nop dword [rax]
call fcn.1800fe490
mov rcx, rsi
mov rdx, r15
mov r8, rdi
call fcn.1800ee8b0
mov rbx, qword [rsp + 0xa0]
cmp rbx, 5
jne 0x1800f02a1
mov byte [rsp + 0x2a0], 3
jmp 0x1800eff00
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x298], rax
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x390]
mov rdx, r15
call fcn.1800ee8b0
mov rbx, qword [rsp + 0xa0]
cmp rbx, 5
jne 0x1800f02a1
mov byte [rsp + 0x2a0], 3
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800f194f
mov rsi, qword [rsp + 0xa0]
mov r8, qword [0x180219970]
test r8, r8
jne 0x1800effe1
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800f194f
mov r8, qword [rsp + 0xa0]
mov qword [0x180219970], r8
test r8, r8
je 0x1800f1461
mov rax, rsi
or rax, r8
shr rax, 0x20
je 0x1800f0011
mov rax, rsi
xor edx, edx
div r8
mov rcx, rax
jmp 0x1800f001a
xor r15d, r15d
mov r13, rax
xor r14d, r14d
test rsi, rsi
jne 0x1800ef33b
jmp 0x1800ef348
mov eax, esi
xor edx, edx
div r8d
mov ecx, eax
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, r8
shr rdx, 0x20
je 0x1800f0034
xor edx, edx
div r8
jmp 0x1800f0039
xor edx, edx
div r8d
imul r8, rcx, 0x3b9aca00
add r8, rax
mov rax, r8
shr rax, 9
movabs rcx, 0x44b82fa09b5a53
mul rcx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub r8d, eax
cmp rdx, r14
jb 0x1800f0078
jne 0x1800f0224
cmp edi, r8d
jbe 0x1800f0224
mov qword [rsp + 0xa0], r14
mov dword [rsp + 0xa8], edi
lea r12, [rsp + 0xa0]
mov rcx, r12
call fcn.180104920
xor ecx, ecx
cmp edx, 0x3b9aca00
cmove edx, ecx
mov ecx, 0
cmovne rcx, rax
call fcn.1801006e0
lea r13, [rsp + 0x390]
mov rbp, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x1800f0103
mov qword [rsp + 0xa0], r14
mov dword [rsp + 0xa8], edi
mov rcx, r12
call fcn.180104920
cmp edx, 0x3b9aca00
mov ecx, 0
cmove edx, ecx
mov ecx, 0
cmovne rcx, rax
call fcn.1801006e0
mov rcx, r12
mov rdx, r15
mov r8, r13
call fcn.1800ee8b0
mov rbx, qword [rsp + 0xa0]
cmp rbx, 5
jne 0x1800f02a1
mov byte [rsp + 0x2a0], 3
mov qword [rsp + 0xa0], 0
mov rcx, r12
call rbp
test eax, eax
je 0x1800f194f
mov rsi, qword [rsp + 0xa0]
mov r8, qword [0x180219970]
test r8, r8
jne 0x1800f018d
mov qword [rsp + 0xa0], 0
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800f194f
mov r8, qword [rsp + 0xa0]
mov qword [0x180219970], r8
test r8, r8
je 0x1800f1461
mov rax, rsi
or rax, r8
shr rax, 0x20
je 0x1800f01b0
mov rax, rsi
xor edx, edx
div r8
mov rcx, rax
jmp 0x1800f01b9
mov eax, esi
xor edx, edx
div r8d
mov ecx, eax
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, r8
shr rdx, 0x20
je 0x1800f01e0
xor edx, edx
div r8
jmp 0x1800f01e5
xor edx, edx
div r8d
imul r8, rcx, 0x3b9aca00
add r8, rax
mov rax, r8
shr rax, 9
movabs rcx, 0x44b82fa09b5a53
mul rcx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub r8d, eax
cmp rdx, r14
jb 0x1800f00d0
jne 0x1800f0224
cmp edi, r8d
ja 0x1800f00d0
mov rcx, qword [rsp + 0x298]
mov ebx, 4
test rcx, rcx
je 0x1800f036f
mov rax, qword [rcx + 0x30]
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x28]
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
nop word cs:[rax + rax]
mov rdx, rax
or rdx, 4
lock cmpxchg qword [rcx + 0x30], rdx
jne 0x1800f0260
and eax, 0xa
cmp eax, 8
jne 0x1800f0282
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x298]
test rcx, rcx
je 0x1800f029a
lock dec qword [rcx]
jne 0x1800f029a
call fcn.1800e2930
xor ebp, ebp
jmp 0x1800f034e
mov rbp, qword [rsp + 0xa8]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x400]
mov r8d, 0x88
call fcn.180170ea0
mov rcx, qword [rsp + 0x298]
test rcx, rcx
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x28]
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
je 0x1800f032a
mov rax, qword [rcx + 0x30]
nop dword [rax]
mov rdx, rax
or rdx, 4
lock cmpxchg qword [rcx + 0x30], rdx
jne 0x1800f02f0
and eax, 0xa
cmp eax, 8
jne 0x1800f0312
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x298]
test rcx, rcx
je 0x1800f032a
lock dec qword [rcx]
jne 0x1800f032a
call fcn.1800e2930
cmp ebx, 4
je 0x1800f1969
lea rcx, [rsp + 0x660]
lea rdx, [rsp + 0x400]
mov r8d, 0x88
call fcn.180170ea0
mov rax, qword [rsp + 0x618]
mov rcx, qword [rsp + 0x620]
call qword [rax + 0x18]
cmp ebx, 3
jne 0x1800f16f1
jmp 0x1800f16ff
xor ebp, ebp
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x28]
mov r15, qword [rsp + 0x40]
mov r13, qword [rsp + 0x58]
jmp 0x1800f034e
mov ecx, 8
mov edx, 0xd0
call fcn.18017ea70
ud2
mov ecx, 7
int 0x29
ud2
mov ecx, 1
mov rdx, rbx
call fcn.18017ea70
ud2
mov ecx, 8
mov edx, 0x18
call fcn.18017ea70
ud2
mov ecx, 8
mov edx, 0x30
call fcn.18017ea70
ud2
ud2
cmp ebx, 4
jne 0x1800f172c
test rbp, rbp
je 0x1800f17ac
cmp dword [rbp], 2
je 0x1800f1804
cmp qword [rbp + 0x18], 0
je 0x1800f1804
mov r8, qword [rbp + 0x10]
mov rcx, qword [0x180219958]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800f1804
lock inc qword [r15]
jle 0x1800f1461
mov rsi, qword [rsp + 0x240]
lea rcx, [rsi + 0x10]
lea rdx, [rsp + 0x660]
mov r8d, 0x88
call fcn.180170ea0
mov qword [rsi], rbx
mov qword [rsi + 8], rbp
mov rax, qword [rsp + 0x90]
mov qword [rsi + 0x98], rax
mov eax, dword [rsp + 0x50]
mov dword [rsi + 0xa0], eax
mov qword [rsi + 0xa8], 0
mov qword [rsi + 0xb8], r15
test rdi, rdi
je 0x1800f18ad
mov rcx, qword [0x180219958]
xor edx, edx
mov r8, qword [rsp + 0x238]
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1800f18ad
mov rcx, qword [0x180219958]
test rcx, rcx
jne 0x1800f17d1
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x1800f1958
mov rcx, rax
mov qword [0x180219958], rax
mov r8d, 0x70
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x1800f1958
mov rbp, rax
mov qword [rax + 0x58], 1
lea rax, [0x1801db940]
mov qword [rbp + 0x60], rax
mov word [rbp + 0x68], 1
mov eax, dword [rsp + 0x84]
mov dword [rbp], eax
mov eax, dword [rsp + 0x78]
mov dword [rbp + 4], eax
mov eax, dword [rsp + 0x80]
mov dword [rbp + 8], eax
mov eax, dword [rsp + 0x74]
mov dword [rbp + 0xc], eax
mov rax, qword [rsp + 0x238]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rdi
mov qword [rbp + 0x20], rdi
movzx eax, word [rsp + 0x36]
mov word [rbp + 0x28], ax
movzx eax, word [rsp + 0x34]
mov word [rbp + 0x2a], ax
mov eax, dword [rsp + 0x7c]
mov dword [rbp + 0x2c], eax
mov eax, dword [rsp + 0x70]
mov dword [rbp + 0x30], eax
mov eax, dword [rsp + 0x6c]
mov dword [rbp + 0x34], eax
mov eax, dword [rsp + 0x68]
mov dword [rbp + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rbp + 0x3c], eax
movaps xmm0, xmmword [rsp + 0x370]
movups xmmword [rbp + 0x40], xmm0
movzx eax, byte [rsp + 0x380]
mov byte [rbp + 0x50], al
mov eax, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xa3]
mov dword [rbp + 0x51], eax
mov dword [rbp + 0x54], ecx
mov rax, qword [rsp + 0x240]
mov qword [rax + 8], rbp
mov qword [rax], 3
cmp r13d, 2
jne 0x1800f1906
mov rax, qword [rsp + 0x358]
cmp eax, 2
je 0x1800f1906
mov rsi, qword [rsp + 0x348]
mov rdi, qword [rsp + 0x350]
mov rcx, rsi
call qword [rdi]
cmp qword [rdi + 8], 0
je 0x1800f18f9
cmp qword [rdi + 0x10], 0x11
jb 0x1800f18e7
mov rsi, qword [rsi - 8]
mov rcx, qword [0x180219958]
xor edx, edx
mov r8, rsi
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rsp + 0x320]
call fcn.1800aa870
mov rcx, qword [r14 + 0x138]
lock dec qword [rcx]
jne 0x1800f1933
movaps xmm6, xmmword [rsp + 0x7f0]
add rsp, 0x808
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1800eef20
movaps xmm6, xmmword [rsp + 0x7f0]
add rsp, 0x808
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call fcn.18016fe79
ud2
mov ecx, 8
mov edx, 0x70
call fcn.18017ea70
ud2
call 0x1800218f0
ud2