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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
mov rdi, qword [rcx]
lea rbx, [rdi + 0x10]
mov rcx, rbx
call fcn.14009ed00
cmp qword [rdi + 0x10], 0
je 0x140092f69
mov rcx, rbx
call fcn.140086220
mov rax, qword [rbx]
lock dec qword [rax]
jne 0x140092f69
mov rcx, qword [rbx]
call fcn.140092fd0
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x140092fa0
mov rcx, qword [rdi + 0x28]
call sub.kernel32.dll_CloseHandle
lock dec qword [rbx]
jne 0x140092f8a
mov rcx, qword [rdi + 0x18]
call fcn.1400d6fb0
mov rax, qword [rdi + 0x20]
lock dec qword [rax]
jne 0x140092fa0
add rdi, 0x20
mov rcx, rdi
call fcn.1400361e0
mov r8, qword [rsi]
cmp r8, 0xffffffffffffffff
je 0x140092fc5
lock dec qword [r8 + 8]
jne 0x140092fc5
mov rcx, qword [0x140205100]
xor edx, edx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp sub.kernel32.dll_HeapFree
nop
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x888
movaps xmmword [rsp + 0x870], xmm8
movaps xmmword [rsp + 0x860], xmm7
movaps xmmword [rsp + 0x850], xmm6
lea rbx, [rdx + 0x138]
mov rbp, qword [rdx]
mov rdi, qword [rdx + 8]
cmp rbp, 2
jne 0x14009fb25
mov qword [rcx + 8], rdi
mov qword [rcx], 3
mov rax, qword [rbx]
lock dec qword [rax]
je 0x1400a0f94
movaps xmm6, xmmword [rsp + 0x850]
movaps xmm7, xmmword [rsp + 0x860]
movaps xmm8, xmmword [rsp + 0x870]
add rsp, 0x888
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rsi, rdx
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x268], rbx
add rdx, 0x10
lea rcx, [rsp + 0x750]
mov r8d, 0x100
call sub.msvcrt.dll_memcpy
mov rbx, qword [rsi + 0x110]
mov rax, qword [rsi + 0x118]
mov qword [rsp + 0x290], rax
mov rax, qword [rsi + 0x120]
mov qword [rsp + 0x288], rax
mov r12, qword [rsi + 0x128]
mov rax, qword [rsi + 0x130]
mov qword [rsp + 0x70], rax
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x14009fbaf
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400a2027
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0xd0
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400a2027
mov r14, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x30], 0
mov qword [rax + 0x38], 4
lock inc qword [rax]
jle 0x1400a2027
mov qword [rsp + 0xc0], rbp
lea r15, [rsp + 0xc8]
mov qword [rsp + 0xc8], rdi
lea rcx, [rsp + 0xd0]
lea rdx, [rsp + 0x750]
mov r8d, 0x100
call sub.msvcrt.dll_memcpy
cmp rbx, 2
mov qword [rsp + 0x78], r14
jne 0x14009fc39
mov edi, 2
jmp 0x14009fe67
test rbx, rbx
je 0x14009fc69
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0x68], rax
mov rbx, qword [rsp + 0x288]
mov r13, r12
mov r14, qword [rsp + 0x70]
mov rdx, r12
mov r12d, 2
jmp 0x14009fd93
lea rcx, [rsp + 0x4f0]
mov rdx, 0xfffffffffffffffe
xor r8d, r8d
call fcn.140039d20
movaps xmm6, xmmword [rsp + 0x4f0]
movaps xmm7, xmmword [rsp + 0x500]
movzx edi, byte [rsp + 0x510]
mov eax, dword [rsp + 0x511]
mov dword [rsp + 0x430], eax
mov eax, dword [rsp + 0x514]
mov dword [rsp + 0x433], eax
movups xmm0, xmmword [rsp + 0x518]
movaps xmmword [rsp + 0x2e0], xmm0
movups xmm0, xmmword [rsp + 0x528]
movaps xmmword [rsp + 0x2f0], xmm0
movups xmm0, xmmword [rsp + 0x538]
movaps xmmword [rsp + 0x300], xmm0
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x14009fd0f
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400a2027
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0x30
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400a2027
mov rbx, rax
mov byte [rsp + 0x27], dil
movaps xmm0, xmmword [rsp + 0x2e0]
movaps xmm1, xmmword [rsp + 0x2f0]
movaps xmm2, xmmword [rsp + 0x300]
movups xmmword [rax + 0x20], xmm2
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
xor eax, eax
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0x430]
mov ecx, dword [rsp + 0x433]
mov dword [rsp + 0x640], eax
mov dword [rsp + 0x643], ecx
lea r13, [0x1401c9920]
mov r14d, 0
mov rdx, qword [rsp + 0x70]
mov edi, 0
test r12, r12
je 0x14009fe24
lea rdi, [rsp + 0xe8]
lea r15, [rsp + 0x4f0]
mov rcx, r15
call fcn.14002e100
movups xmm0, xmmword [0x1401ca538]
movaps xmmword [rsp + 0x440], xmm0
movups xmm0, xmmword [0x1401ca528]
movaps xmmword [rsp + 0x430], xmm0
lea rcx, [rsp + 0x2e0]
lea r8, [rsp + 0x430]
mov rdx, rdi
mov r9, r15
call fcn.140099380
cmp byte [rsp + 0x300], 2
je 0x14009fe11
lea rcx, [rsp + 0x2f8]
mov rax, qword [rsp + 0x2e0]
mov rdx, qword [rsp + 0x2e8]
mov r8, qword [rsp + 0x2f0]
call qword [rax + 0x10]
mov rbp, qword [rsp + 0xc0]
mov rdi, r12
lea r15, [rsp + 0xc8]
test rbp, rbp
je 0x14009fe31
mov rcx, r15
call fcn.14006ebe0
mov qword [rsp + 0xc0], 1
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0xc8], rax
mov qword [rsp + 0xd0], rbx
mov qword [rsp + 0xd8], r13
mov qword [rsp + 0xe0], r14
mov ebp, 1
lea rcx, [rsp + 0x6c8]
mov r8d, 0x88
mov rdx, r15
call sub.msvcrt.dll_memcpy
mov rbx, qword [rsp + 0x150]
mov r12, qword [rsp + 0x158]
mov eax, dword [rsp + 0x160]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x164]
mov dword [rsp + 0x34], eax
mov eax, dword [rsp + 0x168]
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x16c]
mov dword [rsp + 0x3c], eax
movzx eax, word [rsp + 0x170]
mov word [rsp + 0x22], ax
movzx eax, word [rsp + 0x172]
mov word [rsp + 0x24], ax
mov eax, dword [rsp + 0x174]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x178]
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x17c]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x180]
mov dword [rsp + 0x4c], eax
mov r14d, dword [rsp + 0x184]
movzx eax, byte [rsp + 0x198]
mov byte [rsp + 0x2b0], al
movups xmm0, xmmword [rsp + 0x188]
movaps xmmword [rsp + 0x2a0], xmm0
mov eax, dword [rsp + 0x199]
mov ecx, dword [rsp + 0x19c]
mov dword [rsp + 0x8b], ecx
mov dword [rsp + 0x88], eax
mov r13, qword [rsp + 0x1a0]
mov eax, dword [rsp + 0x1cc]
mov dword [rsp + 0x4e0], eax
mov eax, dword [rsp + 0x643]
mov dword [rsp + 0x93], eax
mov eax, dword [rsp + 0x640]
mov dword [rsp + 0x90], eax
mov r15d, dword [rsp + 0x1a8]
movups xmm0, xmmword [rsp + 0x1ac]
movups xmm1, xmmword [rsp + 0x1bc]
movaps xmmword [rsp + 0x4d0], xmm1
movaps xmmword [rsp + 0x4c0], xmm0
test r12, r12
je 0x14009ffe6
js 0x1400a2027
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x14009ffd2
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400a2027
mov rcx, rax
mov qword [0x140205100], rax
xor edx, edx
mov r8, r12
call sub.kernel32.dll_HeapAlloc
test rax, rax
jne 0x14009ffeb
jmp 0x1400a2027
mov eax, 1
mov qword [rsp + 0x80], rax
mov rcx, rax
mov rdx, rbx
mov r8, r12
call sub.msvcrt.dll_memcpy
movzx eax, byte [rsp + 0x2b0]
mov byte [rsp + 0x280], al
movaps xmm0, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0x270], xmm0
mov dword [rsp + 0x28], r15d
mov rax, r13
cmp r15d, 0x3b9aca00
jne 0x1400a0042
mov eax, dword [rsi + 0x148]
mov dword [rsp + 0x28], eax
mov rax, qword [rsi + 0x140]
mov qword [rsp + 0x260], rax
mov rax, qword [rsi + 0x138]
mov qword [rsp + 0x58], rax
mov rsi, qword [rax + 0x10]
test rsi, rsi
je 0x1400a2027
lea rcx, [rsp + 0xc0]
lea rdx, [rsp + 0x6c8]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
movaps xmm0, xmmword [rsp + 0x2a0]
movaps xmmword [rsp + 0x2e0], xmm0
movzx eax, byte [rsp + 0x2b0]
mov byte [rsp + 0x2f0], al
mov eax, dword [rsp + 0x88]
mov ecx, dword [rsp + 0x8b]
mov dword [rsp + 0x430], eax
mov dword [rsp + 0x433], ecx
movaps xmm0, xmmword [rsp + 0x4c0]
movaps xmm1, xmmword [rsp + 0x4d0]
movaps xmmword [rsp + 0x4f0], xmm0
movaps xmmword [rsp + 0x500], xmm1
mov eax, dword [rsp + 0x4e0]
mov dword [rsp + 0x510], eax
mov rax, qword [rsi + 0x1c8]
mov dword [rsp + 0x2c], r14d
mov qword [rsp + 0x50], r12
nop dword [rax + rax]
test al, 1
jne 0x1400a0165
cmp rax, 0xfffffffffffffffe
je 0x1400a1166
lea rcx, [rax + 2]
lock cmpxchg qword [rsi + 0x1c8], rcx
jne 0x1400a0100
mov qword [rsp + 0x428], r13
mov qword [rsp + 0x68], rbx
mov rax, qword [rsp + 0x58]
mov rbx, qword [rax + 0x10]
mov r12d, 1
lock xadd qword [rbx + 0x88], r12
mov rsi, r12
and rsi, 0xffffffffffffffe0
mov r13, qword [rbx + 0x80]
mov rax, rsi
sub rax, qword [r13 + 0x2300]
jne 0x1400a017c
and r12d, 0x1f
jmp 0x1400a030a
cmp rbp, 2
lea r15, [rsp + 0xc8]
je 0x1400a04c9
jmp 0x1400a2027
mov qword [rsp + 0x420], rdi
shr rax, 5
and r12d, 0x1f
cmp rax, r12
seta r14b
xorps xmm8, xmm8
jmp 0x1400a01b2
xor r14d, r14d
pause
cmp qword [r13 + 0x2300], rsi
je 0x1400a02fd
mov rdi, r13
mov r13, qword [r13 + 0x2308]
test r13, r13
jne 0x1400a02a0
mov r13, qword [rdi + 0x2300]
movzx eax, byte [0x140205110]
mov rax, qword [0x140205100]
test rax, rax
jne 0x1400a01f4
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400a2027
mov qword [0x140205100], rax
mov r8d, 0x2320
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400a2027
mov rcx, rax
add r13, 0x20
mov qword [rax + 0x2300], r13
movups xmmword [rax + 0x2308], xmm8
mov qword [rax + 0x2318], 0
xor eax, eax
lock cmpxchg qword [rdi + 0x2308], rcx
jne 0x1400a0240
mov r13, rcx
jmp 0x1400a02a0
mov r13, rax
mov rax, qword [rax + 0x2300]
add rax, 0x20
mov qword [rcx + 0x2300], rax
xor eax, eax
lock cmpxchg qword [r13 + 0x2308], rcx
je 0x1400a02a0
mov rdx, rax
nop word cs:[rax + rax]
pause
mov rax, qword [rdx + 0x2300]
add rax, 0x20
mov qword [rcx + 0x2300], rax
xor eax, eax
lock cmpxchg qword [rdx + 0x2308], rcx
mov rdx, rax
jne 0x1400a0270
nop word cs:[rax + rax]
mov rax, qword [rdi + 0x2310]
cmp eax, 0xffffffff
sete al
test r14b, al
je 0x1400a01a0
mov rax, rdi
lock cmpxchg qword [rbx + 0x80], r13
jne 0x1400a01a0
mfence
mov rax, qword [rbx + 0x88]
mov qword [rdi + 0x2318], rax
movabs rax, 0x100000000
lock or qword [rdi + 0x2310], rax
mov r14b, 1
pause
cmp qword [r13 + 0x2300], rsi
jne 0x1400a01b2
mov r14d, dword [rsp + 0x2c]
mov rdi, qword [rsp + 0x420]
imul rsi, r12, 0x118
mov qword [r13 + rsi], rbp
lea rcx, [rsi + r13]
add rcx, 8
lea rdx, [rsp + 0xc0]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x68]
mov qword [r13 + rsi + 0x90], rax
mov rax, qword [rsp + 0x50]
mov qword [r13 + rsi + 0x98], rax
mov eax, dword [rsp + 0x30]
mov dword [r13 + rsi + 0xa0], eax
mov eax, dword [rsp + 0x34]
mov dword [r13 + rsi + 0xa4], eax
mov eax, dword [rsp + 0x38]
mov dword [r13 + rsi + 0xa8], eax
mov eax, dword [rsp + 0x3c]
mov dword [r13 + rsi + 0xac], eax
movzx eax, word [rsp + 0x22]
mov word [r13 + rsi + 0xb0], ax
movzx eax, word [rsp + 0x24]
mov word [r13 + rsi + 0xb2], ax
mov eax, dword [rsp + 0x40]
mov dword [r13 + rsi + 0xb4], eax
mov eax, dword [rsp + 0x44]
mov dword [r13 + rsi + 0xb8], eax
mov eax, dword [rsp + 0x48]
mov dword [r13 + rsi + 0xbc], eax
mov eax, dword [rsp + 0x4c]
mov dword [r13 + rsi + 0xc0], eax
mov dword [r13 + rsi + 0xc4], r14d
movaps xmm0, xmmword [rsp + 0x2e0]
movups xmmword [r13 + rsi + 0xc8], xmm0
movzx eax, byte [rsp + 0x2f0]
mov byte [r13 + rsi + 0xd8], al
mov eax, dword [rsp + 0x430]
mov ecx, dword [rsp + 0x433]
mov dword [r13 + rsi + 0xd9], eax
mov dword [r13 + rsi + 0xdc], ecx
mov rax, qword [rsp + 0x428]
mov qword [r13 + rsi + 0xe0], rax
mov dword [r13 + rsi + 0xe8], r15d
movaps xmm0, xmmword [rsp + 0x4f0]
movaps xmm1, xmmword [rsp + 0x500]
movups xmmword [r13 + rsi + 0xec], xmm0
movups xmmword [r13 + rsi + 0xfc], xmm1
mov eax, dword [rsp + 0x510]
mov dword [r13 + rsi + 0x10c], eax
mov rax, qword [rsp + 0x78]
mov qword [r13 + rsi + 0x110], rax
mov eax, 1
mov ecx, r12d
shl rax, cl
lock or qword [r13 + 0x2310], rax
mov rax, qword [rbx + 0x110]
nop
mov rcx, rax
or rcx, 2
lock cmpxchg qword [rbx + 0x110], rcx
jne 0x1400a0480
test rax, rax
lea r15, [rsp + 0xc8]
jne 0x1400a04c9
mov rax, qword [rbx + 0x100]
mov rcx, qword [rbx + 0x108]
mov qword [rbx + 0x100], 0
lock and qword [rbx + 0x110], 0xfffffffffffffffd
test rax, rax
je 0x1400a04c9
call qword [rax + 8]
movabs r13, 0x8000000000000000
cmp rdi, 2
jne 0x1400a04ed
cmp dword [rsp + 0x28], 0x3b9aca00
jne 0x1400a0522
mov esi, 0x3b9aca00
jmp 0x1400a06ef
mov eax, dword [rsp + 0x90]
mov ecx, dword [rsp + 0x93]
mov dword [rsp + 0x9b], ecx
mov dword [rsp + 0x98], eax
cmp dword [rsp + 0x28], 0x3b9aca00
jne 0x1400a05ad
mov r12d, 0x3b9aca00
jmp 0x1400a099b
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x1400a239e
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [0x1402050d8]
test rcx, rcx
jne 0x1400a0590
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x1400a239e
mov rcx, qword [rsp + 0xc0]
mov qword [0x1402050d8], rcx
test rcx, rcx
je 0x1400a2027
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1400a0631
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1400a0637
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x1400a239e
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [0x1402050d8]
test rcx, rcx
jne 0x1400a061b
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x1400a239e
mov rcx, qword [rsp + 0xc0]
mov qword [0x1402050d8], rcx
test rcx, rcx
je 0x1400a2027
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1400a065b
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1400a0661
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 0x1400a068c
xor edx, edx
div rcx
mov rsi, rax
jmp 0x1400a0692
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 0x1400a092c
xor edx, edx
div rcx
mov r12, rax
jmp 0x1400a0933
xor edx, edx
div ecx
mov esi, eax
add rsi, r8
mov rax, rsi
shr rax, 9
movabs rcx, 0x44b82fa09b5a53
mul rcx
shr rdx, 0xb
mov rbp, rdx
add rbp, qword [rsp + 0x260]
jb 0x1400a2027
imul rax, rdx, 0x3b9aca00
sub rsi, rax
add esi, dword [rsp + 0x28]
cmp esi, 0x3b9aca00
jb 0x1400a06ef
inc rbp
je 0x1400a2027
add esi, 0xc4653600
cmp esi, 0x3b9aca00
je 0x1400a2027
call fcn.1400db5b0
test rax, rax
je 0x1400a2027
mov rbx, rax
mov rdi, qword [rax]
test rdi, rdi
je 0x1400a10f7
lock inc qword [rdi]
jle 0x1400a2027
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x1400a0741
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400a2027
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400a2027
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
mov qword [rax + 0x10], rdi
lea rax, str.0_v_v_
mov qword [rsp + 0x430], rax
mov qword [rsp + 0x438], rcx
lea rax, [rsp + 0x430]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x2e0], rax
lea r14, [rsp + 0x2e8]
mov byte [rsp + 0x2f0], 0
mov eax, dword [rsp + 0x2b8]
mov ecx, dword [rsp + 0x2bb]
mov dword [rsp + 0x2f1], eax
mov dword [rsp + 0x2f4], ecx
cmp esi, 0x3b9aca00
jne 0x1400a085f
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
lea rcx, [rsp + 0xc0]
lea r8, [rsp + 0xa0]
mov rdx, r14
call fcn.140098fb0
mov rbx, qword [rsp + 0xc0]
cmp rbx, 5
jne 0x1400a0dc1
mov byte [rsp + 0x2f0], 3
lea rsi, [rsp + 0xc0]
lea rdi, [rsp + 0xa0]
nop
call fcn.1400dd530
mov rcx, rsi
mov rdx, r14
mov r8, rdi
call fcn.140098fb0
mov rbx, qword [rsp + 0xc0]
cmp rbx, 5
jne 0x1400a0dc1
mov byte [rsp + 0x2f0], 3
jmp 0x1400a0830
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
lea rcx, [rsp + 0xc0]
lea r8, [rsp + 0xa0]
mov rdx, r14
call fcn.140098fb0
mov rbx, qword [rsp + 0xc0]
cmp rbx, 5
jne 0x1400a0dc1
mov byte [rsp + 0x2f0], 3
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x1400a239e
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [0x1402050d8]
test rcx, rcx
jne 0x1400a090f
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x1400a239e
mov rcx, qword [rsp + 0xc0]
mov qword [0x1402050d8], rcx
test rcx, rcx
je 0x1400a2027
mov rax, rdi
or rax, rcx
shr rax, 0x20
je 0x1400a0b0f
mov rax, rdi
xor edx, edx
div rcx
jmp 0x1400a0b15
xor edx, edx
div ecx
mov r12d, eax
add r12, r8
mov rax, r12
shr rax, 9
movabs rcx, 0x44b82fa09b5a53
mul rcx
shr rdx, 0xb
mov rax, rdx
add rax, qword [rsp + 0x260]
mov qword [rsp + 0x68], rax
jb 0x1400a2027
imul rax, rdx, 0x3b9aca00
sub r12, rax
add r12d, dword [rsp + 0x28]
cmp r12d, 0x3b9aca00
jb 0x1400a099b
inc qword [rsp + 0x68]
je 0x1400a2027
add r12d, 0xc4653600
cmp r12d, 0x3b9aca00
je 0x1400a2027
mov rbx, rdi
call fcn.1400db5b0
test rax, rax
je 0x1400a2027
mov rdi, rax
mov rsi, qword [rax]
test rsi, rsi
je 0x1400a111b
lock inc qword [rsi]
jle 0x1400a2027
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
mov rdi, rbx
jne 0x1400a09f3
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400a2027
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400a2027
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
mov qword [rax + 0x10], rsi
lea rax, str.0_v_v_
mov qword [rsp + 0x2d0], rax
mov qword [rsp + 0x2d8], rcx
lea rax, [rsp + 0x2d0]
mov qword [rsp + 0x298], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0xc0], rax
movups xmmword [rsp + 0xc8], xmm6
movups xmmword [rsp + 0xd8], xmm7
movzx eax, byte [rsp + 0x27]
mov byte [rsp + 0xe8], al
mov eax, dword [rsp + 0x98]
mov ecx, dword [rsp + 0x9b]
mov dword [rsp + 0xe9], eax
mov dword [rsp + 0xec], ecx
mov rax, qword [rsp + 0x290]
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0x288]
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rdi
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x108], rax
mov byte [rsp + 0x111], 0
lea rbp, [rsp + 0x112]
lea rdx, [rsp + 0x4f0]
mov r8d, 0x146
mov rcx, rbp
call sub.msvcrt.dll_memcpy
lea rdi, [rsp + 0x118]
lea r14, [rsp + 0x160]
xor eax, eax
movzx eax, al
lea rcx, [0x140198f00]
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
mov eax, edi
xor edx, edx
div ecx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x1400a0b39
xor edx, edx
div rcx
mov rcx, rax
jmp 0x1400a0b3f
xor edx, edx
div ecx
mov ecx, eax
add rcx, r8
mov rax, rcx
shr rax, 9
movabs rdx, 0x44b82fa09b5a53
mul rdx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub ecx, eax
cmp rdx, rbp
jb 0x1400a0b75
jne 0x1400a0d32
cmp esi, ecx
jbe 0x1400a0d32
mov qword [rsp + 0x4f0], rbp
mov dword [rsp + 0x4f8], esi
mov qword [rsp + 0xc0], rdx
mov dword [rsp + 0xc8], ecx
lea rcx, [rsp + 0x4f0]
lea r12, [rsp + 0xc0]
mov rdx, r12
call fcn.1400e6820
xor r15d, r15d
cmp edx, 0x3b9aca00
cmove edx, r15d
mov ecx, 0
cmovne rcx, rax
call fcn.1400dd650
lea r13, [rsp + 0xa0]
jmp 0x1400a0c16
mov qword [rsp + 0x4f0], rbp
mov dword [rsp + 0x4f8], esi
mov qword [rsp + 0xc0], rdx
mov dword [rsp + 0xc8], ecx
lea rcx, [rsp + 0x4f0]
mov rdx, r12
call fcn.1400e6820
cmp edx, 0x3b9aca00
cmove edx, r15d
mov ecx, 0
cmovne rcx, rax
call fcn.1400dd650
mov rcx, r12
mov rdx, r14
mov r8, r13
call fcn.140098fb0
mov rbx, qword [rsp + 0xc0]
cmp rbx, 5
jne 0x1400a0dc1
mov byte [rsp + 0x2f0], 3
mov qword [rsp + 0xc0], 0
mov rcx, r12
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x1400a239e
mov rdi, qword [rsp + 0xc0]
mov r8, qword [0x1402050d8]
test r8, r8
jne 0x1400a0ca2
mov qword [rsp + 0xc0], 0
mov rcx, r12
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x1400a239e
mov r8, qword [rsp + 0xc0]
mov qword [0x1402050d8], r8
test r8, r8
je 0x1400a2027
mov rax, rdi
or rax, r8
shr rax, 0x20
je 0x1400a0cc0
mov rax, rdi
xor edx, edx
div r8
mov rcx, rax
jmp 0x1400a0cc9
mov eax, edi
xor edx, edx
div r8d
mov ecx, eax
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, r8
shr rdx, 0x20
je 0x1400a0cf0
xor edx, edx
div r8
jmp 0x1400a0cf5
xor edx, edx
div r8d
imul rcx, rcx, 0x3b9aca00
add rcx, rax
mov rax, rcx
shr rax, 9
movabs rdx, 0x44b82fa09b5a53
mul rdx
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub ecx, eax
cmp rdx, rbp
jb 0x1400a0bd0
jne 0x1400a0d32
cmp esi, ecx
ja 0x1400a0bd0
mov rcx, qword [rsp + 0x2e8]
mov ebx, 4
test rcx, rcx
je 0x1400a1146
mov rax, qword [rcx + 0x30]
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
movabs r13, 0x8000000000000000
nop word cs:[rax + rax]
mov rdx, rax
or rdx, 4
lock cmpxchg qword [rcx + 0x30], rdx
jne 0x1400a0d70
and eax, 0xa
cmp eax, 8
jne 0x1400a0d92
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x2e8]
test rax, rax
je 0x1400a113f
lock dec qword [rax]
jne 0x1400a113f
mov rcx, qword [rsp + 0x2e8]
call fcn.140092a60
xor esi, esi
jmp 0x1400a0e76
mov rsi, qword [rsp + 0xc8]
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x4f0]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
mov rcx, qword [rsp + 0x2e8]
test rcx, rcx
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
movabs r13, 0x8000000000000000
je 0x1400a0e52
mov rax, qword [rcx + 0x30]
nop
mov rdx, rax
or rdx, 4
lock cmpxchg qword [rcx + 0x30], rdx
jne 0x1400a0e10
and eax, 0xa
cmp eax, 8
jne 0x1400a0e32
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x2e8]
test rax, rax
je 0x1400a0e52
lock dec qword [rax]
jne 0x1400a0e52
mov rcx, qword [rsp + 0x2e8]
call fcn.140092a60
cmp ebx, 4
je 0x1400a23a5
lea rcx, [rsp + 0x640]
lea rdx, [rsp + 0x4f0]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x438]
call qword [rax + 0x18]
cmp ebx, 3
je 0x1400a2290
cmp ebx, 4
jne 0x1400a0f0f
test rsi, rsi
mov rbx, qword [rsp + 0x268]
je 0x1400a0fc8
movaps xmm0, xmmword [rsp + 0x270]
movaps xmmword [rsp + 0xc0], xmm0
movzx eax, byte [rsp + 0x280]
mov byte [rsp + 0xd0], al
mov eax, dword [rsp + 0x430]
mov ecx, dword [rsp + 0x433]
mov dword [rsp + 0x2e3], ecx
mov dword [rsp + 0x2e0], eax
mov rax, qword [rsi]
cmp rax, r13
je 0x1400a1063
test rax, rax
je 0x1400a1063
mov r8, qword [rsi + 8]
mov rcx, qword [0x140205100]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x1400a1063
lock inc qword [r12]
jle 0x1400a2027
mov qword [r14], rbx
mov qword [r14 + 8], rsi
lea rcx, [r14 + 0x10]
lea rdx, [rsp + 0x640]
mov r8d, 0x88
call sub.msvcrt.dll_memcpy
mov rax, qword [rsp + 0x260]
mov qword [r14 + 0x98], rax
mov eax, dword [rsp + 0x28]
mov dword [r14 + 0xa0], eax
mov qword [r14 + 0xa8], 0
mov qword [r14 + 0xb8], r12
test r15, r15
mov rbx, qword [rsp + 0x268]
je 0x1400a0f87
mov rcx, qword [0x140205100]
xor edx, edx
mov r8, qword [rsp + 0x80]
call sub.kernel32.dll_HeapFree
mov rax, qword [rbx]
lock dec qword [rax]
jne 0x14009faf8
mov rcx, rbx
movaps xmm6, xmmword [rsp + 0x850]
movaps xmm7, xmmword [rsp + 0x860]
movaps xmm8, xmmword [rsp + 0x870]
add rsp, 0x888
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp 0x140092f30
movzx eax, byte [0x140205110]
mov rcx, qword [0x140205100]
test rcx, rcx
jne 0x1400a0ff3
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400a2027
mov rcx, rax
mov qword [0x140205100], rax
mov r8d, 0x70
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400a2027
mov rsi, rax
mov qword [rax], r13
mov qword [rax + 0x58], 1
lea rax, [0x1401cb698]
mov qword [rsi + 0x60], rax
mov word [rsi + 0x68], 1
mov eax, dword [rsp + 0x430]
mov dword [rsp + 0x2e0], eax
mov eax, dword [rsp + 0x433]
mov dword [rsp + 0x2e3], eax
movzx eax, byte [rsp + 0x280]
mov byte [rsp + 0xd0], al
movaps xmm0, xmmword [rsp + 0x270]
movaps xmmword [rsp + 0xc0], xmm0
mov qword [rsi], r15
mov rax, qword [rsp + 0x80]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r15
mov eax, dword [rsp + 0x30]
mov dword [rsi + 0x18], eax
mov eax, dword [rsp + 0x34]
mov dword [rsi + 0x1c], eax
mov eax, dword [rsp + 0x38]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsi + 0x24], eax
movzx eax, word [rsp + 0x22]
mov word [rsi + 0x28], ax
movzx eax, word [rsp + 0x24]
mov word [rsi + 0x2a], ax
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x2c], eax
mov eax, dword [rsp + 0x44]
mov dword [rsi + 0x30], eax
mov eax, dword [rsp + 0x48]
mov dword [rsi + 0x34], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsi + 0x38], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsi + 0x3c], eax
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsi + 0x40], xmm0
movzx eax, byte [rsp + 0xd0]
mov byte [rsi + 0x50], al
mov eax, dword [rsp + 0x2e0]
mov ecx, dword [rsp + 0x2e3]
mov dword [rsi + 0x51], eax
mov dword [rsi + 0x54], ecx
jmp 0x1400a2381
call fcn.1400dce20
cmp qword [rbx], 0
jne 0x1400a2027
mov rdi, rax
mov qword [rbx], rax
lock inc qword [rdi]
jg 0x1400a0716
jmp 0x1400a2027
call fcn.1400dce20
cmp qword [rdi], 0
jne 0x1400a2027
mov rsi, rax
mov qword [rdi], rax
lock inc qword [rsi]
jg 0x1400a09c5
jmp 0x1400a2027
xor esi, esi
jmp 0x1400a0e76
xor esi, esi
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
movabs r13, 0x8000000000000000
jmp 0x1400a0e76
mov ecx, 7
int 0x29
ud2
ud2
movaps xmm0, xmmword [rsp + 0x270]
movaps xmmword [rsp + 0xc0], xmm0
movzx eax, byte [rsp + 0x280]
mov byte [rsp + 0xd0], al
mov eax, dword [rsp + 0x430]
mov ecx, dword [rsp + 0x433]
mov dword [rsp + 0x2e3], ecx
mov dword [rsp + 0x2e0], eax
mov rax, qword [rsi]
cmp rax, r13
je 0x1400a22ea
test rax, rax
je 0x1400a22ea
mov r8, qword [rsi + 8]
mov rcx, qword [0x140205100]
xor edx, edx
call sub.kernel32.dll_HeapFree
mov qword [rsi], r15
mov rax, qword [rsp + 0x80]
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], r15
mov eax, dword [rsp + 0x30]
mov dword [rsi + 0x18], eax
mov eax, dword [rsp + 0x34]
mov dword [rsi + 0x1c], eax
mov eax, dword [rsp + 0x38]
mov dword [rsi + 0x20], eax
mov eax, dword [rsp + 0x3c]
mov dword [rsi + 0x24], eax
movzx eax, word [rsp + 0x22]
mov word [rsi + 0x28], ax
movzx eax, word [rsp + 0x24]
mov word [rsi + 0x2a], ax
mov eax, dword [rsp + 0x40]
mov dword [rsi + 0x2c], eax
mov eax, dword [rsp + 0x44]
mov dword [rsi + 0x30], eax
mov eax, dword [rsp + 0x48]
mov dword [rsi + 0x34], eax
mov eax, dword [rsp + 0x4c]
mov dword [rsi + 0x38], eax
mov eax, dword [rsp + 0x2c]
mov dword [rsi + 0x3c], eax
movaps xmm0, xmmword [rsp + 0xc0]
movups xmmword [rsi + 0x40], xmm0
movzx eax, byte [rsp + 0xd0]
mov byte [rsi + 0x50], al
mov eax, dword [rsp + 0x2e0]
mov ecx, dword [rsp + 0x2e3]
mov dword [rsi + 0x51], eax
mov dword [rsi + 0x54], ecx
mov rbx, qword [rsp + 0x268]
mov qword [r14 + 8], rsi
mov qword [r14], 3
mov rax, qword [rbx]
lock dec qword [rax]
je 0x1400a0f94
jmp 0x14009faf8
call sub.kernel32.dll_GetLastError
ud2
call fcn.140013db0
int3