Function at 0x1800e4010
Capabilities:
Check for time delay via queryperformancecounter
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x858
movaps xmmword [rsp + 0x840], xmm6
mov r13, rdx
mov r15, rcx
mov rbx, qword [rdx]
mov rsi, qword [rdx + 8]
cmp rbx, 2
jne 0x1800e407a
mov qword [r15 + 8], rsi
mov qword [r15], 3
mov rcx, qword [r13 + 0x138]
lock dec qword [rcx]
jne 0x1800e6a0b
movaps xmm6, xmmword [rsp + 0x840]
add rsp, 0x858
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1800e3f00
lea rdx, [r13 + 0x10]
lea rcx, [rsp + 0x740]
mov r8d, 0x100
call fcn.18015ab20
mov rdi, qword [r13 + 0x110]
mov rax, qword [r13 + 0x118]
mov qword [rsp + 0x40], rax
mov rax, qword [r13 + 0x120]
mov qword [rsp + 0x60], rax
mov r12, qword [r13 + 0x128]
mov rax, qword [r13 + 0x130]
mov qword [rsp + 0x28], rax
movzx eax, byte [0x1801fd9d8]
mov rcx, qword [0x1801fd960]
test rcx, rcx
jne 0x1800e40ef
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800e5434
mov rcx, rax
mov qword [0x1801fd960], rax
mov r8d, 0xd0
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800e5434
mov r14, rax
mov qword [rsp + 0x38], r15
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 4
lock inc qword [rax]
jle 0x1800e6803
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0xa8], rsi
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x740]
mov r8d, 0x100
call fcn.18015ab20
mov ebp, 2
cmp rdi, 2
mov qword [rsp + 0x68], r13
je 0x1800e4391
test rdi, rdi
je 0x1800e4192
mov r13, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x60]
mov r15, qword [rsp + 0x28]
mov rdx, r12
jmp 0x1800e42c3
lea rcx, [rsp + 0x490]
mov rdx, 0xfffffffffffffffe
xor r8d, r8d
call fcn.18004c820
mov rax, qword [rsp + 0x4b0]
mov qword [rsp + 0x6d0], rax
movups xmm0, xmmword [rsp + 0x490]
movups xmm1, xmmword [rsp + 0x4a0]
movaps xmmword [rsp + 0x6c0], xmm1
movaps xmmword [rsp + 0x6b0], xmm0
movups xmm0, xmmword [rsp + 0x4b8]
movaps xmmword [rsp + 0x360], xmm0
movups xmm0, xmmword [rsp + 0x4c8]
movaps xmmword [rsp + 0x370], xmm0
movups xmm0, xmmword [rsp + 0x4d8]
movaps xmmword [rsp + 0x380], xmm0
movzx eax, byte [0x1801fd9d8]
mov rcx, qword [0x1801fd960]
test rcx, rcx
jne 0x1800e4235
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800e5b2a
mov rcx, rax
mov qword [0x1801fd960], rax
mov r8d, 0x30
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800e5b2a
mov rsi, rax
movaps xmm0, xmmword [rsp + 0x360]
movaps xmm1, xmmword [rsp + 0x370]
movaps xmm2, xmmword [rsp + 0x380]
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
movaps xmm0, xmmword [rsp + 0x6b0]
movaps xmm1, xmmword [rsp + 0x6c0]
movaps xmmword [rsp + 0x3f0], xmm0
movaps xmmword [rsp + 0x400], xmm1
mov rax, qword [rsp + 0x6d0]
mov qword [rsp + 0x410], rax
xor r13d, r13d
lea rax, [0x1801c20d0]
test r12, r12
je 0x1800e4fc7
mov rbp, r12
mov r12, rax
xor r15d, r15d
mov rdx, qword [rsp + 0x28]
lea rdi, [rsp + 0xc8]
movups xmm0, xmmword [0x1801c2360]
movaps xmmword [rsp + 0x6c0], xmm0
movups xmm0, xmmword [0x1801c2350]
movaps xmmword [rsp + 0x6b0], xmm0
lea rbx, [rsp + 0x490]
mov rcx, rbx
call fcn.18004c4f0
lea rcx, [rsp + 0x360]
lea r8, [rsp + 0x6b0]
mov rdx, rdi
mov r9, rbx
call fcn.18006e6f0
cmp byte [rsp + 0x380], 2
je 0x1800e4341
lea rcx, [rsp + 0x378]
mov rax, qword [rsp + 0x360]
mov rdx, qword [rsp + 0x368]
mov r8, qword [rsp + 0x370]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0xa0]
test rbx, rbx
je 0x1800e435b
lea rcx, [rsp + 0xa8]
call fcn.180077ba0
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], r13
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], r12
mov qword [rsp + 0xc0], r15
mov ebx, 1
mov r13, qword [rsp + 0x68]
lea rax, [rsp + 0xa8]
movups xmm0, xmmword [rax + 0x70]
movaps xmmword [rsp + 0x6a0], xmm0
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rsp + 0x690], xmm0
movups xmm0, xmmword [rax + 0x50]
movaps xmmword [rsp + 0x680], xmm0
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rsp + 0x670], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x660], xmm3
movaps xmmword [rsp + 0x650], xmm2
movaps xmmword [rsp + 0x640], xmm1
movaps xmmword [rsp + 0x630], xmm0
mov eax, dword [rsp + 0x128]
mov dword [rsp + 0x8c], eax
mov eax, dword [rsp + 0x12c]
mov dword [rsp + 0x80], eax
mov eax, dword [rsp + 0x130]
mov dword [rsp + 0x88], eax
mov eax, dword [rsp + 0x134]
mov dword [rsp + 0x7c], eax
mov rsi, qword [rsp + 0x138]
mov rdi, qword [rsp + 0x140]
mov rcx, 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 + 0x84], eax
movzx eax, byte [rsp + 0x178]
mov byte [rsp + 0x2b0], al
mov eax, dword [rsp + 0x17c]
mov dword [rsp + 0x93], eax
mov eax, dword [rsp + 0x179]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0x1ac]
mov dword [rsp + 0x5f0], eax
mov rax, qword [rsp + 0x410]
mov qword [rsp + 0x310], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x78], eax
movaps xmm0, xmmword [rsp + 0x3f0]
movaps xmm1, xmmword [rsp + 0x400]
movaps xmmword [rsp + 0x300], xmm1
movaps xmmword [rsp + 0x2f0], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x318], rax
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x320], rax
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x328], rbp
mov eax, dword [rsp + 0x164]
mov dword [rsp + 0x70], eax
movups xmm0, xmmword [rsp + 0x168]
movaps xmmword [rsp + 0x2a0], xmm0
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x330], rax
mov r15, qword [rsp + 0x180]
movups xmm0, xmmword [rsp + 0x19c]
movaps xmmword [rsp + 0x5e0], xmm0
movups xmm0, xmmword [rsp + 0x18c]
movaps xmmword [rsp + 0x5d0], xmm0
mov r12d, dword [rsp + 0x188]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x1800e45cf
js 0x1800e6803
movzx eax, byte [0x1801fd9d8]
mov rcx, qword [0x1801fd960]
test rcx, rcx
jne 0x1800e45a9
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800e45be
mov rcx, rax
mov qword [0x1801fd960], rax
xor edx, edx
mov r8, qword [rsp + 0x40]
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
jne 0x1800e45d4
mov ecx, 1
mov rdx, qword [rsp + 0x40]
call fcn.180168710
ud2
mov ecx, 1
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x290], rcx
mov rdx, rsi
mov r8, qword [rsp + 0x40]
call fcn.18015ab20
movzx eax, byte [rsp + 0x2b0]
mov byte [rsp + 0x350], al
movaps xmm0, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0x340], xmm0
mov edi, r12d
mov r14, r15
cmp r12d, 0x3b9aca00
jne 0x1800e4632
mov edi, dword [r13 + 0x148]
mov r14, qword [r13 + 0x140]
mov rax, qword [r13 + 0x138]
mov qword [rsp + 0x48], rax
mov r13, qword [rax + 0x10]
test r13, r13
je 0x1800e6803
movaps xmm0, xmmword [rsp + 0x630]
movaps xmm1, xmmword [rsp + 0x640]
movaps xmm2, xmmword [rsp + 0x650]
movaps xmm3, xmmword [rsp + 0x660]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xc0], xmm2
movaps xmmword [rsp + 0xd0], xmm3
movaps xmm0, xmmword [rsp + 0x670]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0x680]
movaps xmmword [rsp + 0xf0], xmm0
movaps xmm0, xmmword [rsp + 0x690]
movaps xmmword [rsp + 0x100], xmm0
movaps xmm0, xmmword [rsp + 0x6a0]
movaps xmmword [rsp + 0x110], xmm0
movaps xmm0, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0x360], xmm0
movzx eax, byte [rsp + 0x2b0]
mov byte [rsp + 0x370], al
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x93]
mov dword [rsp + 0x6b3], ecx
mov dword [rsp + 0x6b0], eax
mov eax, dword [rsp + 0x5f0]
mov dword [rsp + 0x4b0], eax
movaps xmm0, xmmword [rsp + 0x5d0]
movaps xmm1, xmmword [rsp + 0x5e0]
movaps xmmword [rsp + 0x4a0], xmm1
movaps xmmword [rsp + 0x490], xmm0
mov rax, qword [r13 + 0x68]
mov qword [rsp + 0x280], r14
test al, 1
jne 0x1800e4985
cmp rax, 0xfffffffffffffffe
je 0x1800e5445
lea rcx, [rax + 2]
lock cmpxchg qword [r13 + 0x68], rcx
jne 0x1800e4740
mov r14d, edi
lea rcx, [r13 + 0x30]
mov ebp, 1
mov edi, 1
lock xadd qword [r13 + 0x38], rdi
mov rdx, rdi
call fcn.1800d78d0
and edi, 0x1f
imul rcx, rdi, 0x118
mov qword [rax + rcx], rbx
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 + 0x8c]
mov dword [rax + rcx + 0x88], edx
mov edx, dword [rsp + 0x80]
mov dword [rax + rcx + 0x8c], edx
mov edx, dword [rsp + 0x88]
mov dword [rax + rcx + 0x90], edx
mov edx, dword [rsp + 0x7c]
mov dword [rax + rcx + 0x94], edx
mov qword [rax + rcx + 0x98], rsi
mov rdx, qword [rsp + 0x98]
mov qword [rax + rcx + 0xa0], rdx
mov rdx, qword [rsp + 0x40]
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 + 0x84]
mov dword [rax + rcx + 0xb4], edx
mov edx, dword [rsp + 0x78]
mov dword [rax + rcx + 0xb8], edx
mov edx, dword [rsp + 0x74]
mov dword [rax + rcx + 0xbc], edx
mov edx, dword [rsp + 0x60]
mov dword [rax + rcx + 0xc0], edx
mov edx, dword [rsp + 0x70]
mov dword [rax + rcx + 0xc4], edx
movzx edx, byte [rsp + 0x370]
mov byte [rax + rcx + 0xd8], dl
movaps xmm0, xmmword [rsp + 0x360]
movups xmmword [rax + rcx + 0xc8], xmm0
mov edx, dword [rsp + 0x6b0]
mov r8d, dword [rsp + 0x6b3]
mov dword [rax + rcx + 0xd9], edx
mov dword [rax + rcx + 0xdc], r8d
mov qword [rax + rcx + 0xe0], r15
mov dword [rax + rcx + 0xe8], r12d
movaps xmm0, xmmword [rsp + 0x490]
movaps xmm1, xmmword [rsp + 0x4a0]
movups xmmword [rax + rcx + 0xec], xmm0
movups xmmword [rax + rcx + 0xfc], xmm1
mov edx, dword [rsp + 0x4b0]
mov dword [rax + rcx + 0x10c], edx
mov rdx, qword [rsp + 0x28]
mov qword [rax + rcx + 0x110], rdx
mov ecx, edi
shl rbp, cl
lock or qword [rax + 0x2310], rbp
mov rax, qword [r13 + 0x80]
nop dword [rax]
mov rcx, rax
or rcx, 2
lock cmpxchg qword [r13 + 0x80], rcx
jne 0x1800e4940
test rax, rax
mov edi, r14d
jne 0x1800e497b
mov rax, qword [r13 + 0x70]
mov rcx, qword [r13 + 0x78]
mov qword [r13 + 0x70], 0
lock and qword [r13 + 0x80], 0xfffffffffffffffd
test rax, rax
je 0x1800e497b
call qword [rax + 8]
mov r14, qword [rsp + 0x280]
jmp 0x1800e498f
cmp rbx, 2
jne 0x1800e6803
mov r13, qword [rsp + 0x328]
cmp r13, 2
mov dword [rsp + 0x24], edi
mov qword [rsp + 0x58], r13
je 0x1800e4a09
mov rax, qword [rsp + 0x330]
mov qword [rsp + 0x480], rax
movaps xmm0, xmmword [rsp + 0x2f0]
movaps xmm1, xmmword [rsp + 0x300]
movaps xmm2, xmmword [rsp + 0x310]
movaps xmm3, xmmword [rsp + 0x320]
movaps xmmword [rsp + 0x470], xmm3
movaps xmmword [rsp + 0x460], xmm2
movaps xmmword [rsp + 0x450], xmm1
movaps xmmword [rsp + 0x440], xmm0
cmp edi, 0x3b9aca00
jne 0x1800e4a1f
mov r12d, 0x3b9aca00
jmp 0x1800e4c11
cmp edi, 0x3b9aca00
jne 0x1800e4aac
mov ebx, 0x3b9aca00
jmp 0x1800e4db2
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800e6bce
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [0x1801fd978]
test rcx, rcx
jne 0x1800e4a8f
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800e6bce
mov rcx, qword [rsp + 0xa0]
mov qword [0x1801fd978], rcx
test rcx, rcx
je 0x1800e6803
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1800e4b32
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1800e4b38
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800e6bce
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [0x1801fd978]
test rcx, rcx
jne 0x1800e4b1c
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800e6bce
mov rcx, qword [rsp + 0xa0]
mov qword [0x1801fd978], rcx
test rcx, rcx
je 0x1800e6803
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1800e4b5c
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1800e4b62
mov eax, esi
xor edx, edx
div ecx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x1800e4b8d
xor edx, edx
div rcx
mov r12, rax
jmp 0x1800e4b94
mov eax, esi
xor edx, edx
div ecx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x1800e4d35
xor edx, edx
div rcx
mov rbx, rax
jmp 0x1800e4d3b
xor edx, edx
div ecx
mov r12d, eax
add r12, r8
mov rcx, r12
shr rcx, 9
mov rax, rcx
movabs rdx, 0x44b82fa09b5a53
mul rdx
mov r15, rdx
shr r15, 0xb
add r15, r14
jb 0x1800e6803
mov rax, rcx
movabs rcx, 0x44b82fa09b5a53
mul rcx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub r12d, eax
add r12d, edi
cmp r12d, 0x3b9aca00
jb 0x1800e4bf7
inc r15
je 0x1800e6803
add r12d, 0xc4653600
mov eax, r12d
shr eax, 9
imul rax, rax, 0x44b83
shr rax, 0x27
imul eax, eax, 0x3b9aca00
sub r12d, eax
call fcn.1800f1be0
test rax, rax
je 0x1800e6803
mov rsi, rax
movzx eax, byte [0x1801fd9d8]
mov rcx, qword [0x1801fd960]
test rcx, rcx
jne 0x1800e4c4e
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800e6669
mov rcx, rax
mov qword [0x1801fd960], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800e6669
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
mov qword [rax + 0x10], rsi
lea rax, fcn.1800d7f50
mov qword [rsp + 0x2c0], rax
mov qword [rsp + 0x2c8], rcx
lea rax, [rsp + 0x2c0]
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [rsp + 0x440]
movaps xmm1, xmmword [rsp + 0x450]
movaps xmm2, xmmword [rsp + 0x460]
movaps xmm3, xmmword [rsp + 0x470]
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm1
movups xmmword [rsp + 0xc8], xmm2
movups xmmword [rsp + 0xd8], xmm3
mov rax, qword [rsp + 0x480]
mov qword [rsp + 0xe8], rax
mov byte [rsp + 0xf1], 0
lea rbp, [rsp + 0xf8]
lea r14, [rsp + 0x140]
xor eax, eax
movzx eax, al
lea rcx, [0x1800e6be0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov qword [rsp + 0x28], r15
jmp rax
xor edx, edx
div ecx
mov ebx, eax
add rbx, r8
mov rcx, rbx
shr rcx, 9
mov rax, rcx
movabs rdx, 0x44b82fa09b5a53
mul rdx
mov r15, rdx
shr r15, 0xb
add r15, r14
jb 0x1800e6803
mov rax, rcx
movabs rcx, 0x44b82fa09b5a53
mul rcx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub ebx, eax
add ebx, edi
cmp ebx, 0x3b9aca00
jb 0x1800e4d9a
inc r15
je 0x1800e6803
add ebx, 0xc4653600
mov eax, ebx
shr eax, 9
imul rax, rax, 0x44b83
shr rax, 0x27
imul eax, eax, 0x3b9aca00
sub ebx, eax
call fcn.1800f1be0
test rax, rax
je 0x1800e6803
mov rsi, rax
movzx eax, byte [0x1801fd9d8]
mov rcx, qword [0x1801fd960]
test rcx, rcx
jne 0x1800e4def
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800e6669
mov rcx, rax
mov qword [0x1801fd960], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800e6669
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
mov qword [rax + 0x10], rsi
lea rax, fcn.1800d7f50
mov qword [rsp + 0x3f0], rax
mov qword [rsp + 0x3f8], rcx
lea rax, [rsp + 0x3f0]
mov qword [rsp + 0x440], rax
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x360], rax
mov byte [rsp + 0x370], 0
lea r14, [rsp + 0x368]
cmp ebx, 0x3b9aca00
jne 0x1800e4eff
mov rax, qword [rsp + 0x360]
mov qword [rsp + 0x368], rax
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x440]
mov rdx, r14
call fcn.1800e3b00
mov r13, qword [rsp + 0xa0]
cmp r13, 5
jne 0x1800e5247
mov byte [rsp + 0x370], 3
lea rsi, [rsp + 0xa0]
lea rdi, [rsp + 0x440]
nop word cs:[rax + rax]
call fcn.1800f1ae0
mov rcx, rsi
mov rdx, r14
mov r8, rdi
call fcn.1800e3b00
mov r13, qword [rsp + 0xa0]
cmp r13, 5
jne 0x1800e5247
mov byte [rsp + 0x370], 3
jmp 0x1800e4ed0
mov rax, qword [rsp + 0x360]
mov qword [rsp + 0x368], rax
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x440]
mov rdx, r14
call fcn.1800e3b00
mov r13, qword [rsp + 0xa0]
cmp r13, 5
jne 0x1800e5247
mov byte [rsp + 0x370], 3
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800e6bce
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [0x1801fd978]
test rcx, rcx
jne 0x1800e4fb1
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800e6bce
mov rcx, qword [rsp + 0xa0]
mov qword [0x1801fd978], rcx
test rcx, rcx
je 0x1800e6803
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1800e4fdd
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1800e4fe3
xor ebp, ebp
mov r12, rax
xor r15d, r15d
test rbx, rbx
jne 0x1800e434e
jmp 0x1800e435b
mov eax, esi
xor edx, edx
div ecx
imul r9, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x1800e5007
xor edx, edx
div rcx
mov r8, rax
jmp 0x1800e500e
xor edx, edx
div ecx
mov r8d, eax
add r8, r9
mov rax, r8
shr rax, 9
movabs rcx, 0x44b82fa09b5a53
mul rcx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub r8d, eax
cmp rdx, r15
jb 0x1800e5046
jne 0x1800e51df
cmp ebx, r8d
jbe 0x1800e51df
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa8], ebx
lea rsi, [rsp + 0xa0]
mov rcx, rsi
call fcn.1800f7690
xor ecx, ecx
cmp edx, 0x3b9aca00
cmove edx, ecx
mov ecx, 0
cmovne rcx, rax
call fcn.1800f3cb0
lea rdi, [rsp + 0x440]
mov rbp, qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
jmp 0x1800e50c3
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa8], ebx
mov rcx, rsi
call fcn.1800f7690
cmp edx, 0x3b9aca00
mov ecx, 0
cmove edx, ecx
mov ecx, 0
cmovne rcx, rax
call fcn.1800f3cb0
mov rcx, rsi
mov rdx, r14
mov r8, rdi
call fcn.1800e3b00
mov r13, qword [rsp + 0xa0]
cmp r13, 5
jne 0x1800e5247
mov byte [rsp + 0x370], 3
mov qword [rsp + 0xa0], 0
mov rcx, rsi
call rbp
test eax, eax
je 0x1800e6bce
mov r12, qword [rsp + 0xa0]
mov rcx, qword [0x1801fd978]
test rcx, rcx
jne 0x1800e514d
mov qword [rsp + 0xa0], 0
mov rcx, rsi
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800e6bce
mov rcx, qword [rsp + 0xa0]
mov qword [0x1801fd978], rcx
test rcx, rcx
je 0x1800e6803
mov rax, r12
or rax, rcx
shr rax, 0x20
je 0x1800e5170
mov rax, r12
xor edx, edx
div rcx
jmp 0x1800e5177
mov eax, r12d
xor edx, edx
div ecx
imul r9, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x1800e51a0
xor edx, edx
div rcx
mov r8, rax
jmp 0x1800e51a7
xor edx, edx
div ecx
mov r8d, eax
add r8, r9
mov rax, r8
shr rax, 9
movabs rcx, 0x44b82fa09b5a53
mul rcx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub r8d, eax
cmp rdx, r15
jb 0x1800e5090
jne 0x1800e51df
cmp ebx, r8d
ja 0x1800e5090
mov rsi, qword [rsp + 0x368]
mov r13d, 4
test rsi, rsi
je 0x1800e541f
mov rax, qword [rsi + 0x30]
mov r15, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x24]
mov r14, qword [rsp + 0x48]
nop dword [rax + rax]
mov rcx, rax
or rcx, 4
lock cmpxchg qword [rsi + 0x30], rcx
jne 0x1800e5210
and eax, 0xa
cmp eax, 8
jne 0x1800e5232
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x18]
call qword [rax + 0x10]
lock dec qword [rsi]
jne 0x1800e5240
mov rcx, rsi
call fcn.1800d7e20
xor ebx, ebx
jmp 0x1800e52e5
mov rbx, qword [rsp + 0xa8]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x490]
mov r8d, 0x88
call fcn.18015ab20
mov rsi, qword [rsp + 0x368]
test rsi, rsi
mov r15, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x24]
mov r14, qword [rsp + 0x48]
je 0x1800e52c0
mov rax, qword [rsi + 0x30]
nop dword [rax]
mov rcx, rax
or rcx, 4
lock cmpxchg qword [rsi + 0x30], rcx
jne 0x1800e5290
and eax, 0xa
cmp eax, 8
jne 0x1800e52b2
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x18]
call qword [rax + 0x10]
lock dec qword [rsi]
jne 0x1800e52c0
mov rcx, rsi
call fcn.1800d7e20
cmp r13d, 4
je 0x1800e6bd7
lea rcx, [rsp + 0x6b0]
lea rdx, [rsp + 0x490]
mov r8d, 0x88
call fcn.18015ab20
mov rax, qword [rsp + 0x3f0]
mov rcx, qword [rsp + 0x3f8]
call qword [rax + 0x18]
cmp r13d, 3
je 0x1800e68c2
cmp r13d, 4
jne 0x1800e5334
test rbx, rbx
mov r14, qword [rsp + 0x68]
je 0x1800e53b6
cmp dword [rbx], 2
mov rsi, qword [rsp + 0x58]
je 0x1800e68f7
cmp qword [rbx + 0x18], 0
jne 0x1800e68e4
jmp 0x1800e68f7
lock inc qword [r14]
jle 0x1800e6803
lea rcx, [r15 + 0x10]
lea rdx, [rsp + 0x6b0]
mov r8d, 0x88
call fcn.18015ab20
mov qword [r15], r13
mov qword [r15 + 8], rbx
mov rax, qword [rsp + 0x280]
mov qword [r15 + 0x98], rax
mov dword [r15 + 0xa0], ebp
mov qword [r15 + 0xa8], 0
mov qword [r15 + 0xb8], r14
cmp qword [rsp + 0x40], 0
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x58]
je 0x1800e69a2
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, qword [rsp + 0x290]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800e69a2
movzx eax, byte [0x1801fd9d8]
mov rcx, qword [0x1801fd960]
test rcx, rcx
mov rsi, qword [rsp + 0x58]
jne 0x1800e53e7
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800e6647
mov rcx, rax
mov qword [0x1801fd960], rax
mov r8d, 0x70
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800e6647
mov rbx, rax
mov qword [rax + 0x58], 1
lea rax, [0x1801c0c60]
mov qword [rbx + 0x60], rax
mov word [rbx + 0x68], 1
jmp 0x1800e68f7
xor ebx, ebx
mov r15, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x24]
mov r14, qword [rsp + 0x48]
jmp 0x1800e52e5
mov ecx, 8
mov edx, 0xd0
call fcn.180168710
ud2
mov ecx, 7
int 0x29
ud2
mov ecx, 8
mov edx, 0x30
call fcn.180168710
ud2
mov ecx, 8
mov edx, 0x70
call fcn.180168710
ud2
mov ecx, 8
mov edx, 0x18
call fcn.180168710
ud2
ud2
cmp dword [rbx], 2
jne 0x1800e68d3
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x58]
jmp 0x1800e68f7
cmp qword [rbx + 0x18], 0
mov r14, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x58]
je 0x1800e68f7
mov r8, qword [rbx + 0x10]
mov rcx, qword [0x1801fd960]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [rsp + 0x8c]
mov dword [rbx], eax
mov eax, dword [rsp + 0x80]
mov dword [rbx + 4], eax
mov eax, dword [rsp + 0x88]
mov dword [rbx + 8], eax
mov eax, dword [rsp + 0x7c]
mov dword [rbx + 0xc], eax
mov rax, qword [rsp + 0x290]
mov qword [rbx + 0x10], rax
mov rax, qword [rsp + 0x40]
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x20], rax
movzx eax, word [rsp + 0x36]
mov word [rbx + 0x28], ax
movzx eax, word [rsp + 0x34]
mov word [rbx + 0x2a], ax
mov eax, dword [rsp + 0x84]
mov dword [rbx + 0x2c], eax
mov eax, dword [rsp + 0x78]
mov dword [rbx + 0x30], eax
mov eax, dword [rsp + 0x74]
mov dword [rbx + 0x34], eax
mov eax, dword [rsp + 0x60]
mov dword [rbx + 0x38], eax
mov eax, dword [rsp + 0x70]
mov dword [rbx + 0x3c], eax
movaps xmm0, xmmword [rsp + 0x340]
movups xmmword [rbx + 0x40], xmm0
movzx eax, byte [rsp + 0x350]
mov byte [rbx + 0x50], al
mov eax, dword [rsp + 0xa0]
mov ecx, dword [rsp + 0xa3]
mov dword [rbx + 0x51], eax
mov dword [rbx + 0x54], ecx
mov qword [r15 + 8], rbx
mov qword [r15], 3
cmp esi, 2
jne 0x1800e69fa
mov rax, qword [rsp + 0x328]
cmp eax, 2
je 0x1800e69fa
mov rsi, qword [rsp + 0x318]
mov rdi, qword [rsp + 0x320]
mov rcx, rsi
call qword [rdi]
cmp qword [rdi + 8], 0
je 0x1800e69ed
cmp qword [rdi + 0x10], 0x11
jb 0x1800e69db
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1801fd960]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
lea rcx, [rsp + 0x2f0]
call fcn.1800a25c0
mov rcx, qword [r14 + 0x138]
lock dec qword [rcx]
je 0x1800e405a
movaps xmm6, xmmword [rsp + 0x840]
add rsp, 0x858
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.kernel32.dll_GetLastError
ud2
call 0x180022d80
ud2