Function at 0x1800e7ee0
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, 0x818
movaps xmmword [rsp + 0x800], xmm6
mov rbx, rdx
mov r12, rcx
mov r15, qword [rdx]
mov rsi, qword [rdx + 8]
cmp r15, 2
jne 0x1800e7f4c
mov qword [r12 + 8], rsi
mov qword [r12], 3
mov rcx, qword [rbx + 0x138]
lock dec qword [rcx]
jne 0x1800ea5f1
movaps xmm6, xmmword [rsp + 0x800]
add rsp, 0x818
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp fcn.1800e7dd0
lea rdx, [rbx + 0x10]
lea rcx, [rsp + 0x700]
mov r8d, pe_nt_image_headers64
call fcn.180167370
mov rdi, qword [rbx + 0x110]
mov rax, qword [rbx + 0x118]
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x120]
mov qword [rsp + 0x48], rax
mov rbp, qword [rbx + 0x128]
mov rax, qword [rbx + 0x130]
mov qword [rsp + 0x40], rax
movzx eax, byte [0x1801fea30]
mov rcx, qword [0x1801fe9b8]
test rcx, rcx
jne 0x1800e7fc1
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800e930f
mov rcx, rax
mov qword [0x1801fe9b8], rax
mov r8d, 0xd0
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800e930f
mov r14, rax
mov qword [rsp + 0x58], rbx
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 4
lock inc qword [rax]
jle 0x1800ea3f5
mov qword [rsp + 0xa0], r15
mov qword [rsp + 0xa8], rsi
lea rcx, [rsp + 0xb0]
lea rdx, [rsp + 0x700]
mov r8d, pe_nt_image_headers64
call fcn.180167370
mov r13d, 2
cmp rdi, 2
mov qword [rsp + 0x50], r12
je 0x1800e8273
test rdi, rdi
mov qword [rsp + 0x288], r14
je 0x1800e806d
mov r14, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
mov rdx, rbp
jmp 0x1800e81a1
lea rcx, [rsp + 0x480]
mov rdx, 0xfffffffffffffffe
xor r8d, r8d
call fcn.18004e9e0
mov rax, qword [rsp + 0x4a0]
mov qword [rsp + 0x690], rax
movups xmm0, xmmword [rsp + 0x480]
movups xmm1, xmmword [rsp + 0x490]
movaps xmmword [rsp + 0x680], xmm1
movaps xmmword [rsp + 0x670], xmm0
movups xmm0, xmmword [rsp + 0x4a8]
movaps xmmword [rsp + 0x300], xmm0
movups xmm0, xmmword [rsp + 0x4b8]
movaps xmmword [rsp + 0x310], xmm0
movups xmm0, xmmword [rsp + 0x4c8]
movaps xmmword [rsp + 0x320], xmm0
movzx eax, byte [0x1801fea30]
mov rcx, qword [0x1801fe9b8]
test rcx, rcx
jne 0x1800e8110
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800e99da
mov rcx, rax
mov qword [0x1801fe9b8], rax
mov r8d, 0x30
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800e99da
mov rdi, rax
movaps xmm0, xmmword [rsp + 0x300]
movaps xmm1, xmmword [rsp + 0x310]
movaps xmm2, xmmword [rsp + 0x320]
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
movaps xmm0, xmmword [rsp + 0x670]
movaps xmm1, xmmword [rsp + 0x680]
movaps xmmword [rsp + 0x390], xmm0
movaps xmmword [rsp + 0x3a0], xmm1
mov rax, qword [rsp + 0x690]
mov qword [rsp + 0x3b0], rax
xor r14d, r14d
lea rax, [0x1801c3040]
test rbp, rbp
je 0x1800e8ea7
xor r14d, r14d
mov r13, rbp
mov rbp, rax
xor r12d, r12d
mov rdx, qword [rsp + 0x40]
lea rsi, [rsp + 0xc8]
movups xmm0, xmmword [0x1801c32d0]
movaps xmmword [rsp + 0x680], xmm0
movups xmm0, xmmword [0x1801c32c0]
movaps xmmword [rsp + 0x670], xmm0
lea rbx, [rsp + 0x480]
mov rcx, rbx
call fcn.18004e6b0
lea rcx, [rsp + 0x300]
lea r8, [rsp + 0x670]
mov rdx, rsi
mov r9, rbx
call fcn.1800702f0
cmp byte [rsp + 0x320], 2
je 0x1800e821f
lea rcx, [rsp + 0x318]
mov rax, qword [rsp + 0x300]
mov rdx, qword [rsp + 0x308]
mov r8, qword [rsp + 0x310]
call qword [rax + 0x10]
mov r15, qword [rsp + 0xa0]
test r15, r15
je 0x1800e8239
lea rcx, [rsp + 0xa8]
call fcn.1800797f0
mov qword [rsp + 0xa0], 1
mov qword [rsp + 0xa8], r14
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rbp
mov qword [rsp + 0xc0], r12
mov r15d, 1
mov r14, qword [rsp + 0x288]
lea rax, [rsp + 0xa8]
movups xmm0, xmmword [rax + 0x70]
movaps xmmword [rsp + 0x660], xmm0
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rsp + 0x650], xmm0
movups xmm0, xmmword [rax + 0x50]
movaps xmmword [rsp + 0x640], xmm0
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rsp + 0x630], xmm0
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movups xmm2, xmmword [rax + 0x20]
movups xmm3, xmmword [rax + 0x30]
movaps xmmword [rsp + 0x620], xmm3
movaps xmmword [rsp + 0x610], xmm2
movaps xmmword [rsp + 0x600], xmm1
movaps xmmword [rsp + 0x5f0], 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 rbx, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x140]
mov rdi, qword [rsp + 0x148]
movzx eax, word [rsp + 0x150]
mov word [rsp + 0x26], ax
movzx eax, word [rsp + 0x152]
mov word [rsp + 0x24], 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 + 0x470], eax
mov rax, qword [rsp + 0x3b0]
mov qword [rsp + 0x2b0], rax
mov eax, dword [rsp + 0x158]
mov dword [rsp + 0x70], eax
movaps xmm0, xmmword [rsp + 0x390]
movaps xmm1, xmmword [rsp + 0x3a0]
movaps xmmword [rsp + 0x2a0], xmm1
movaps xmmword [rsp + 0x290], xmm0
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x2b8], rax
mov eax, dword [rsp + 0x15c]
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x2c0], rax
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x68], eax
mov qword [rsp + 0x2c8], r13
mov eax, dword [rsp + 0x164]
mov dword [rsp + 0x64], eax
movups xmm0, xmmword [rsp + 0x168]
movaps xmmword [rsp + 0x250], xmm0
mov rax, qword [rsp + 0x40]
mov qword [rsp + 0x2d0], rax
mov r12, qword [rsp + 0x180]
movups xmm0, xmmword [rsp + 0x19c]
movaps xmmword [rsp + 0x460], xmm0
movups xmm0, xmmword [rsp + 0x18c]
movaps xmmword [rsp + 0x450], xmm0
mov ebp, dword [rsp + 0x188]
test rdi, rdi
mov qword [rsp + 0x98], rcx
je 0x1800e84ae
js 0x1800ea3f5
movzx eax, byte [0x1801fea30]
mov rcx, qword [0x1801fe9b8]
test rcx, rcx
mov rsi, qword [rsp + 0x58]
jne 0x1800e848c
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800e849f
mov rcx, rax
mov qword [0x1801fe9b8], rax
xor edx, edx
mov r8, rdi
call qword [sym.imp.kernel32.dll_HeapAlloc]
mov rcx, rax
test rax, rax
jne 0x1800e84b8
mov ecx, 1
mov rdx, rdi
call fcn.180169390
ud2
mov ecx, 1
mov rsi, qword [rsp + 0x58]
mov qword [rsp + 0x240], rcx
mov rdx, rbx
mov qword [rsp + 0x48], rdi
mov r8, rdi
call fcn.180167370
movzx eax, byte [rsp + 0x260]
mov byte [rsp + 0x2f0], al
movaps xmm0, xmmword [rsp + 0x250]
movaps xmmword [rsp + 0x2e0], xmm0
mov dword [rsp + 0x38], ebp
mov rax, r12
cmp ebp, 0x3b9aca00
jne 0x1800e850f
mov eax, dword [rsi + 0x148]
mov dword [rsp + 0x38], eax
mov rax, qword [rsi + 0x140]
mov qword [rsp + 0x90], rax
mov rax, qword [rsi + 0x138]
mov qword [rsp + 0x30], rax
mov r13, qword [rax + 0x10]
test r13, r13
je 0x1800ea3f5
movaps xmm0, xmmword [rsp + 0x5f0]
movaps xmm1, xmmword [rsp + 0x600]
movaps xmm2, xmmword [rsp + 0x610]
movaps xmm3, xmmword [rsp + 0x620]
movaps xmmword [rsp + 0xa0], xmm0
movaps xmmword [rsp + 0xb0], xmm1
movaps xmmword [rsp + 0xc0], xmm2
movaps xmmword [rsp + 0xd0], xmm3
movaps xmm0, xmmword [rsp + 0x630]
movaps xmmword [rsp + 0xe0], xmm0
movaps xmm0, xmmword [rsp + 0x640]
movaps xmmword [rsp + 0xf0], xmm0
movaps xmm0, xmmword [rsp + 0x650]
movaps xmmword [rsp + 0x100], xmm0
movaps xmm0, xmmword [rsp + 0x660]
movaps xmmword [rsp + 0x110], xmm0
movaps xmm0, xmmword [rsp + 0x250]
movaps xmmword [rsp + 0x300], xmm0
movzx eax, byte [rsp + 0x260]
mov byte [rsp + 0x310], al
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x8b]
mov dword [rsp + 0x673], ecx
mov dword [rsp + 0x670], eax
mov eax, dword [rsp + 0x470]
mov dword [rsp + 0x4a0], eax
movaps xmm0, xmmword [rsp + 0x450]
movaps xmm1, xmmword [rsp + 0x460]
movaps xmmword [rsp + 0x490], xmm1
movaps xmmword [rsp + 0x480], xmm0
mov rax, qword [r13 + 0x1c8]
test al, 1
jne 0x1800e8863
cmp rax, 0xfffffffffffffffe
je 0x1800e9320
lea rcx, [rax + 2]
lock cmpxchg qword [r13 + 0x1c8], rcx
jne 0x1800e8620
lea rcx, [r13 + 0x80]
mov edi, 1
mov esi, 1
lock xadd qword [r13 + 0x88], rsi
mov rdx, rsi
call fcn.180085380
and esi, 0x1f
imul rcx, rsi, 0x118
mov qword [rax + rcx], r15
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], rbx
mov rdx, qword [rsp + 0x98]
mov qword [rax + rcx + 0xa0], rdx
mov rdx, qword [rsp + 0x48]
mov qword [rax + rcx + 0xa8], rdx
movzx edx, word [rsp + 0x26]
mov word [rax + rcx + 0xb0], dx
movzx edx, word [rsp + 0x24]
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 + 0x310]
mov byte [rax + rcx + 0xd8], dl
movaps xmm0, xmmword [rsp + 0x300]
movups xmmword [rax + rcx + 0xc8], xmm0
mov edx, dword [rsp + 0x670]
mov r8d, dword [rsp + 0x673]
mov dword [rax + rcx + 0xd9], edx
mov dword [rax + rcx + 0xdc], r8d
mov qword [rax + rcx + 0xe0], r12
mov dword [rax + rcx + 0xe8], ebp
movaps xmm0, xmmword [rsp + 0x480]
movaps xmm1, xmmword [rsp + 0x490]
movups xmmword [rax + rcx + 0xec], xmm0
movups xmmword [rax + rcx + 0xfc], xmm1
mov edx, dword [rsp + 0x4a0]
mov dword [rax + rcx + 0x10c], edx
mov qword [rax + rcx + 0x110], r14
mov ecx, esi
shl rdi, cl
lock or qword [rax + 0x2310], rdi
mov rax, qword [r13 + 0x110]
nop word [rax + rax]
mov rcx, rax
or rcx, 2
lock cmpxchg qword [r13 + 0x110], rcx
jne 0x1800e8820
test rax, rax
jne 0x1800e886d
mov rax, qword [r13 + 0x100]
mov rcx, qword [r13 + 0x108]
mov qword [r13 + 0x100], 0
lock and qword [r13 + 0x110], 0xfffffffffffffffd
test rax, rax
je 0x1800e886d
call qword [rax + 8]
jmp 0x1800e886d
cmp r15, 2
jne 0x1800ea3f5
mov rdi, qword [rsp + 0x2c8]
cmp rdi, 2
mov qword [rsp + 0x28], rdi
je 0x1800e88e5
mov rax, qword [rsp + 0x2d0]
mov qword [rsp + 0x420], rax
movaps xmm0, xmmword [rsp + 0x290]
movaps xmm1, xmmword [rsp + 0x2a0]
movaps xmm2, xmmword [rsp + 0x2b0]
movaps xmm3, xmmword [rsp + 0x2c0]
movaps xmmword [rsp + 0x410], xmm3
movaps xmmword [rsp + 0x400], xmm2
movaps xmmword [rsp + 0x3f0], xmm1
movaps xmmword [rsp + 0x3e0], xmm0
cmp dword [rsp + 0x38], 0x3b9aca00
jne 0x1800e88fd
mov r12d, 0x3b9aca00
jmp 0x1800e8af6
cmp dword [rsp + 0x38], 0x3b9aca00
jne 0x1800e898a
mov ebx, 0x3b9aca00
jmp 0x1800e8c99
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800ea7bf
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [0x1801fe9d0]
test rcx, rcx
jne 0x1800e896d
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800ea7bf
mov rcx, qword [rsp + 0xa0]
mov qword [0x1801fe9d0], rcx
test rcx, rcx
je 0x1800ea3f5
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1800e8a10
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1800e8a16
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800ea7bf
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [0x1801fe9d0]
test rcx, rcx
jne 0x1800e89fa
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800ea7bf
mov rcx, qword [rsp + 0xa0]
mov qword [0x1801fe9d0], rcx
test rcx, rcx
je 0x1800ea3f5
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1800e8a3a
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1800e8a40
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 0x1800e8a6b
xor edx, edx
div rcx
mov r12, rax
jmp 0x1800e8a72
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 0x1800e8c15
xor edx, edx
div rcx
mov rbx, rax
jmp 0x1800e8c1b
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, qword [rsp + 0x90]
jb 0x1800ea3f5
mov rax, rcx
movabs rcx, 0x44b82fa09b5a53
mul rcx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub r12d, eax
add r12d, dword [rsp + 0x38]
cmp r12d, 0x3b9aca00
jb 0x1800e8adc
inc r15
je 0x1800ea3f5
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.1800f5860
test rax, rax
je 0x1800ea3f5
mov rsi, rax
movzx eax, byte [0x1801fea30]
mov rcx, qword [0x1801fe9b8]
test rcx, rcx
jne 0x1800e8b33
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800ea26c
mov rcx, rax
mov qword [0x1801fe9b8], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800ea26c
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
mov qword [rax + 0x10], rsi
lea rax, fcn.1800dbf70
mov qword [rsp + 0x268], rax
mov qword [rsp + 0x270], rcx
lea rax, [rsp + 0x268]
mov qword [rsp + 0x248], rax
mov qword [rsp + 0xa0], r14
movaps xmm0, xmmword [rsp + 0x3e0]
movaps xmm1, xmmword [rsp + 0x3f0]
movaps xmm2, xmmword [rsp + 0x400]
movaps xmm3, xmmword [rsp + 0x410]
movups xmmword [rsp + 0xa8], xmm0
movups xmmword [rsp + 0xb8], xmm1
movups xmmword [rsp + 0xc8], xmm2
movups xmmword [rsp + 0xd8], xmm3
mov rax, qword [rsp + 0x420]
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, [0x1800ea7d0]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
mov qword [rsp + 0x40], 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, qword [rsp + 0x90]
jb 0x1800ea3f5
mov rax, rcx
movabs rcx, 0x44b82fa09b5a53
mul rcx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub ebx, eax
add ebx, dword [rsp + 0x38]
cmp ebx, 0x3b9aca00
jb 0x1800e8c81
inc r15
je 0x1800ea3f5
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.1800f5860
test rax, rax
je 0x1800ea3f5
mov rsi, rax
movzx eax, byte [0x1801fea30]
mov rcx, qword [0x1801fe9b8]
test rcx, rcx
jne 0x1800e8cd6
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800ea26c
mov rcx, rax
mov qword [0x1801fe9b8], rax
mov r8d, 0x18
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800ea26c
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
mov qword [rax + 0x10], rsi
lea rax, fcn.1800dbf70
mov qword [rsp + 0x390], rax
mov qword [rsp + 0x398], rcx
lea rax, [rsp + 0x390]
mov qword [rsp + 0x3e0], rax
mov qword [rsp + 0x300], r14
mov byte [rsp + 0x310], 0
lea r14, [rsp + 0x308]
cmp ebx, 0x3b9aca00
jne 0x1800e8ddf
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x308], rax
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x3e0]
mov rdx, r14
call fcn.1800e78e0
mov r13, qword [rsp + 0xa0]
cmp r13, 5
jne 0x1800e9127
mov byte [rsp + 0x310], 3
lea rsi, [rsp + 0xa0]
lea rdi, [rsp + 0x3e0]
nop word cs:[rax + rax]
call fcn.1800f5760
mov rcx, rsi
mov rdx, r14
mov r8, rdi
call fcn.1800e78e0
mov r13, qword [rsp + 0xa0]
cmp r13, 5
jne 0x1800e9127
mov byte [rsp + 0x310], 3
jmp 0x1800e8db0
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x308], rax
lea rcx, [rsp + 0xa0]
lea r8, [rsp + 0x3e0]
mov rdx, r14
call fcn.1800e78e0
mov r13, qword [rsp + 0xa0]
cmp r13, 5
jne 0x1800e9127
mov byte [rsp + 0x310], 3
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
test eax, eax
je 0x1800ea7bf
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [0x1801fe9d0]
test rcx, rcx
jne 0x1800e8e91
mov qword [rsp + 0xa0], 0
lea rcx, [rsp + 0xa0]
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800ea7bf
mov rcx, qword [rsp + 0xa0]
mov qword [0x1801fe9d0], rcx
test rcx, rcx
je 0x1800ea3f5
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1800e8ebe
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1800e8ec4
xor r13d, r13d
mov rbp, rax
xor r12d, r12d
test r15, r15
jne 0x1800e822c
jmp 0x1800e8239
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 0x1800e8ee8
xor edx, edx
div rcx
mov r8, rax
jmp 0x1800e8eef
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 0x1800e8f27
jne 0x1800e90bf
cmp ebx, r8d
jbe 0x1800e90bf
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa8], ebx
lea r12, [rsp + 0xa0]
mov rcx, r12
call fcn.1800fb080
xor ecx, ecx
cmp edx, 0x3b9aca00
cmove edx, ecx
mov ecx, 0
cmovne rcx, rax
call fcn.1800f7930
lea rdi, [rsp + 0x3e0]
mov rbp, qword [sym.imp.kernel32.dll_QueryPerformanceCounter]
jmp 0x1800e8fa3
mov qword [rsp + 0xa0], r15
mov dword [rsp + 0xa8], ebx
mov rcx, r12
call fcn.1800fb080
cmp edx, 0x3b9aca00
mov ecx, 0
cmove edx, ecx
mov ecx, 0
cmovne rcx, rax
call fcn.1800f7930
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.1800e78e0
mov r13, qword [rsp + 0xa0]
cmp r13, 5
jne 0x1800e9127
mov byte [rsp + 0x310], 3
mov qword [rsp + 0xa0], 0
mov rcx, r12
call rbp
test eax, eax
je 0x1800ea7bf
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [0x1801fe9d0]
test rcx, rcx
jne 0x1800e902d
mov qword [rsp + 0xa0], 0
mov rcx, r12
call qword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x1800ea7bf
mov rcx, qword [rsp + 0xa0]
mov qword [0x1801fe9d0], rcx
test rcx, rcx
je 0x1800ea3f5
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1800e9050
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1800e9056
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 0x1800e9080
xor edx, edx
div rcx
mov r8, rax
jmp 0x1800e9087
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 0x1800e8f70
jne 0x1800e90bf
cmp ebx, r8d
ja 0x1800e8f70
mov rsi, qword [rsp + 0x308]
mov r13d, 4
test rsi, rsi
je 0x1800e92f9
mov rax, qword [rsi + 0x30]
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x28]
nop dword [rax]
mov rcx, rax
or rcx, 4
lock cmpxchg qword [rsi + 0x30], rcx
jne 0x1800e90f0
and eax, 0xa
cmp eax, 8
jne 0x1800e9112
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x18]
call qword [rax + 0x10]
lock dec qword [rsi]
jne 0x1800e9120
mov rcx, rsi
call fcn.1800dbe40
xor ebx, ebx
jmp 0x1800e91c5
mov rbx, qword [rsp + 0xa8]
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x480]
mov r8d, 0x88
call fcn.180167370
mov rsi, qword [rsp + 0x308]
test rsi, rsi
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x28]
je 0x1800e91a0
mov rax, qword [rsi + 0x30]
nop word [rax + rax]
mov rcx, rax
or rcx, 4
lock cmpxchg qword [rsi + 0x30], rcx
jne 0x1800e9170
and eax, 0xa
cmp eax, 8
jne 0x1800e9192
mov rax, qword [rsi + 0x10]
mov rcx, qword [rsi + 0x18]
call qword [rax + 0x10]
lock dec qword [rsi]
jne 0x1800e91a0
mov rcx, rsi
call fcn.1800dbe40
cmp r13d, 4
je 0x1800ea7c8
lea rcx, [rsp + 0x670]
lea rdx, [rsp + 0x480]
mov r8d, 0x88
call fcn.180167370
mov rax, qword [rsp + 0x390]
mov rcx, qword [rsp + 0x398]
call qword [rax + 0x18]
cmp r13d, 3
je 0x1800ea4b2
cmp r13d, 4
jne 0x1800e9214
test rbx, rbx
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
je 0x1800e9295
cmp dword [rbx], 2
je 0x1800ea4e7
cmp qword [rbx + 0x18], 0
jne 0x1800ea4d4
jmp 0x1800ea4e7
lock inc qword [r14]
jle 0x1800ea3f5
lea rcx, [r15 + 0x10]
lea rdx, [rsp + 0x670]
mov r8d, 0x88
call fcn.180167370
mov qword [r15], r13
mov qword [r15 + 8], rbx
mov rax, qword [rsp + 0x90]
mov qword [r15 + 0x98], rax
mov eax, dword [rsp + 0x38]
mov dword [r15 + 0xa0], eax
mov qword [r15 + 0xa8], 0
mov qword [r15 + 0xb8], r14
cmp qword [rsp + 0x48], 0
mov r14, qword [rsp + 0x58]
je 0x1800ea587
mov rcx, qword [0x1801fe9b8]
xor edx, edx
mov r8, qword [rsp + 0x240]
call qword [sym.imp.kernel32.dll_HeapFree]
jmp 0x1800ea587
movzx eax, byte [0x1801fea30]
mov rcx, qword [0x1801fe9b8]
test rcx, rcx
jne 0x1800e92c1
call qword [sym.imp.kernel32.dll_GetProcessHeap]
test rax, rax
je 0x1800ea239
mov rcx, rax
mov qword [0x1801fe9b8], rax
mov r8d, 0x70
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapAlloc]
test rax, rax
je 0x1800ea239
mov rbx, rax
mov qword [rax + 0x58], 1
lea rax, [0x1801c1c10]
mov qword [rbx + 0x60], rax
mov word [rbx + 0x68], 1
jmp 0x1800ea4e7
xor ebx, ebx
mov r15, qword [rsp + 0x50]
mov r14, qword [rsp + 0x30]
mov r12, qword [rsp + 0x28]
jmp 0x1800e91c5
mov ecx, 8
mov edx, 0xd0
call fcn.180169390
ud2
mov ecx, 7
int 0x29
ud2
mov ecx, 8
mov edx, 0x30
call fcn.180169390
ud2
mov ecx, 8
mov edx, 0x70
call fcn.180169390
ud2
mov ecx, 8
mov edx, 0x18
call fcn.180169390
ud2
ud2
cmp dword [rbx], 2
jne 0x1800ea4c3
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
jmp 0x1800ea4e7
cmp qword [rbx + 0x18], 0
mov r14, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x48]
je 0x1800ea4e7
mov r8, qword [rbx + 0x10]
mov rcx, qword [0x1801fe9b8]
xor edx, edx
call qword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [rsp + 0x84]
mov dword [rbx], eax
mov eax, dword [rsp + 0x78]
mov dword [rbx + 4], eax
mov eax, dword [rsp + 0x80]
mov dword [rbx + 8], eax
mov eax, dword [rsp + 0x74]
mov dword [rbx + 0xc], eax
mov rax, qword [rsp + 0x240]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rsi
mov qword [rbx + 0x20], rsi
movzx eax, word [rsp + 0x26]
mov word [rbx + 0x28], ax
movzx eax, word [rsp + 0x24]
mov word [rbx + 0x2a], ax
mov eax, dword [rsp + 0x7c]
mov dword [rbx + 0x2c], eax
mov eax, dword [rsp + 0x70]
mov dword [rbx + 0x30], eax
mov eax, dword [rsp + 0x6c]
mov dword [rbx + 0x34], eax
mov eax, dword [rsp + 0x68]
mov dword [rbx + 0x38], eax
mov eax, dword [rsp + 0x64]
mov dword [rbx + 0x3c], eax
movaps xmm0, xmmword [rsp + 0x2e0]
movups xmmword [rbx + 0x40], xmm0
movzx eax, byte [rsp + 0x2f0]
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 r12d, 2
jne 0x1800ea5e0
mov rax, qword [rsp + 0x2c8]
cmp eax, 2
je 0x1800ea5e0
mov rsi, qword [rsp + 0x2b8]
mov rdi, qword [rsp + 0x2c0]
mov rcx, rsi
call qword [rdi]
cmp qword [rdi + 8], 0
je 0x1800ea5d3
cmp qword [rdi + 0x10], 0x11
jb 0x1800ea5c1
mov rsi, qword [rsi - 8]
mov rcx, qword [0x1801fe9b8]
xor edx, edx
mov r8, rsi
call qword [sym.imp.kernel32.dll_HeapFree]
lea rcx, [rsp + 0x290]
call fcn.1800a3840
mov rcx, qword [r14 + 0x138]
lock dec qword [rcx]
je 0x1800e7f2c
movaps xmm6, xmmword [rsp + 0x800]
add rsp, 0x818
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
call sub.kernel32.dll_GetLastError
ud2
call 0x180024fd0
ud2