Function at 0x1400bc560
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.1400bb7c0
cmp qword [rdi + 0x10], 0
je 0x1400a21c9
mov rcx, rbx
call fcn.1400898d0
mov rax, qword [rbx]
lock dec qword [rax]
jne 0x1400a21c9
mov rcx, qword [rbx]
call fcn.1400a1f60
mov rbx, qword [rdi + 0x18]
test rbx, rbx
je 0x1400a2200
mov rcx, qword [rdi + 0x28]
call sub.kernel32.dll_CloseHandle
lock dec qword [rbx]
jne 0x1400a21ea
mov rcx, qword [rdi + 0x18]
call fcn.1400dafd0
mov rax, qword [rdi + 0x20]
lock dec qword [rax]
jne 0x1400a2200
add rdi, 0x20
mov rcx, rdi
call fcn.1400a2230
mov r8, qword [rsi]
cmp r8, 0xffffffffffffffff
je 0x1400a2225
lock dec qword [r8 + 8]
jne 0x1400a2225
mov rcx, qword [0x140206128]
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 0x1400bc5e5
mov qword [rcx + 8], rdi
mov qword [rcx], 3
mov rax, qword [rbx]
lock dec qword [rax]
je 0x1400bda54
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 [0x140206138]
mov rcx, qword [0x140206128]
test rcx, rcx
jne 0x1400bc66f
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400beae7
mov rcx, rax
mov qword [0x140206128], rax
mov r8d, 0xd0
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400beae7
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 0x1400beae7
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 0x1400bc6f9
mov edi, 2
jmp 0x1400bc927
test rbx, rbx
je 0x1400bc729
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 0x1400bc853
lea rcx, [rsp + 0x4f0]
mov rdx, 0xfffffffffffffffe
xor r8d, r8d
call fcn.14003c7a0
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 [0x140206138]
mov rcx, qword [0x140206128]
test rcx, rcx
jne 0x1400bc7cf
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400beae7
mov rcx, rax
mov qword [0x140206128], rax
mov r8d, 0x30
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400beae7
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, [0x1401caa98]
mov r14d, 0
mov rdx, qword [rsp + 0x70]
mov edi, 0
test r12, r12
je 0x1400bc8e4
lea rdi, [rsp + 0xe8]
lea r15, [rsp + 0x4f0]
mov rcx, r15
call fcn.140031500
movups xmm0, xmmword [0x1401cc110]
movaps xmmword [rsp + 0x440], xmm0
movups xmm0, xmmword [0x1401cc100]
movaps xmmword [rsp + 0x430], xmm0
lea rcx, [rsp + 0x2e0]
lea r8, [rsp + 0x430]
mov rdx, rdi
mov r9, r15
call fcn.1400b5e40
cmp byte [rsp + 0x300], 2
je 0x1400bc8d1
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 0x1400bc8f1
mov rcx, r15
call fcn.140072240
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 0x1400bcaa6
js 0x1400beae7
movzx eax, byte [0x140206138]
mov rcx, qword [0x140206128]
test rcx, rcx
jne 0x1400bca92
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400beae7
mov rcx, rax
mov qword [0x140206128], rax
xor edx, edx
mov r8, r12
call sub.kernel32.dll_HeapAlloc
test rax, rax
jne 0x1400bcaab
jmp 0x1400beae7
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 0x1400bcb02
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 0x1400beae7
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 0x1400bcc25
cmp rax, 0xfffffffffffffffe
je 0x1400bdc26
lea rcx, [rax + 2]
lock cmpxchg qword [rsi + 0x1c8], rcx
jne 0x1400bcbc0
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 0x1400bcc3c
and r12d, 0x1f
jmp 0x1400bcdca
cmp rbp, 2
lea r15, [rsp + 0xc8]
je 0x1400bcf89
jmp 0x1400beae7
mov qword [rsp + 0x420], rdi
shr rax, 5
and r12d, 0x1f
cmp rax, r12
seta r14b
xorps xmm8, xmm8
jmp 0x1400bcc72
xor r14d, r14d
pause
cmp qword [r13 + 0x2300], rsi
je 0x1400bcdbd
mov rdi, r13
mov r13, qword [r13 + 0x2308]
test r13, r13
jne 0x1400bcd60
mov r13, qword [rdi + 0x2300]
movzx eax, byte [0x140206138]
mov rax, qword [0x140206128]
test rax, rax
jne 0x1400bccb4
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400beae7
mov qword [0x140206128], rax
mov r8d, 0x2320
mov rcx, rax
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400beae7
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 0x1400bcd00
mov r13, rcx
jmp 0x1400bcd60
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 0x1400bcd60
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 0x1400bcd30
nop word cs:[rax + rax]
mov rax, qword [rdi + 0x2310]
cmp eax, 0xffffffff
sete al
test r14b, al
je 0x1400bcc60
mov rax, rdi
lock cmpxchg qword [rbx + 0x80], r13
jne 0x1400bcc60
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 0x1400bcc72
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 0x1400bcf40
test rax, rax
lea r15, [rsp + 0xc8]
jne 0x1400bcf89
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 0x1400bcf89
call qword [rax + 8]
movabs r13, 0x8000000000000000
cmp rdi, 2
jne 0x1400bcfad
cmp dword [rsp + 0x28], 0x3b9aca00
jne 0x1400bcfe2
mov esi, 0x3b9aca00
jmp 0x1400bd1af
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 0x1400bd06d
mov r12d, 0x3b9aca00
jmp 0x1400bd45b
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x1400bee5e
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [0x140206100]
test rcx, rcx
jne 0x1400bd050
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x1400bee5e
mov rcx, qword [rsp + 0xc0]
mov qword [0x140206100], rcx
test rcx, rcx
je 0x1400beae7
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1400bd0f1
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1400bd0f7
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x1400bee5e
mov rsi, qword [rsp + 0xc0]
mov rcx, qword [0x140206100]
test rcx, rcx
jne 0x1400bd0db
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x1400bee5e
mov rcx, qword [rsp + 0xc0]
mov qword [0x140206100], rcx
test rcx, rcx
je 0x1400beae7
mov rax, rsi
or rax, rcx
shr rax, 0x20
je 0x1400bd11b
mov rax, rsi
xor edx, edx
div rcx
jmp 0x1400bd121
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 0x1400bd14c
xor edx, edx
div rcx
mov rsi, rax
jmp 0x1400bd152
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 0x1400bd3ec
xor edx, edx
div rcx
mov r12, rax
jmp 0x1400bd3f3
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 0x1400beae7
imul rax, rdx, 0x3b9aca00
sub rsi, rax
add esi, dword [rsp + 0x28]
cmp esi, 0x3b9aca00
jb 0x1400bd1af
inc rbp
je 0x1400beae7
add esi, 0xc4653600
cmp esi, 0x3b9aca00
je 0x1400beae7
call fcn.1400df5d0
test rax, rax
je 0x1400beae7
mov rbx, rax
mov rdi, qword [rax]
test rdi, rdi
je 0x1400bdbb7
lock inc qword [rdi]
jle 0x1400beae7
movzx eax, byte [0x140206138]
mov rcx, qword [0x140206128]
test rcx, rcx
jne 0x1400bd201
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400beae7
mov rcx, rax
mov qword [0x140206128], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400beae7
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
mov qword [rax + 0x10], rdi
lea rax, fcn.140096040
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 0x1400bd31f
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
lea rcx, [rsp + 0xc0]
lea r8, [rsp + 0xa0]
mov rdx, r14
call fcn.14009f900
mov rbx, qword [rsp + 0xc0]
cmp rbx, 5
jne 0x1400bd881
mov byte [rsp + 0x2f0], 3
lea rsi, [rsp + 0xc0]
lea rdi, [rsp + 0xa0]
nop
call fcn.1400e1930
mov rcx, rsi
mov rdx, r14
mov r8, rdi
call fcn.14009f900
mov rbx, qword [rsp + 0xc0]
cmp rbx, 5
jne 0x1400bd881
mov byte [rsp + 0x2f0], 3
jmp 0x1400bd2f0
mov rax, qword [rsp + 0x2e0]
mov qword [rsp + 0x2e8], rax
lea rcx, [rsp + 0xc0]
lea r8, [rsp + 0xa0]
mov rdx, r14
call fcn.14009f900
mov rbx, qword [rsp + 0xc0]
cmp rbx, 5
jne 0x1400bd881
mov byte [rsp + 0x2f0], 3
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x1400bee5e
mov rdi, qword [rsp + 0xc0]
mov rcx, qword [0x140206100]
test rcx, rcx
jne 0x1400bd3cf
mov qword [rsp + 0xc0], 0
lea rcx, [rsp + 0xc0]
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x1400bee5e
mov rcx, qword [rsp + 0xc0]
mov qword [0x140206100], rcx
test rcx, rcx
je 0x1400beae7
mov rax, rdi
or rax, rcx
shr rax, 0x20
je 0x1400bd5cf
mov rax, rdi
xor edx, edx
div rcx
jmp 0x1400bd5d5
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 0x1400beae7
imul rax, rdx, 0x3b9aca00
sub r12, rax
add r12d, dword [rsp + 0x28]
cmp r12d, 0x3b9aca00
jb 0x1400bd45b
inc qword [rsp + 0x68]
je 0x1400beae7
add r12d, 0xc4653600
cmp r12d, 0x3b9aca00
je 0x1400beae7
mov rbx, rdi
call fcn.1400df5d0
test rax, rax
je 0x1400beae7
mov rdi, rax
mov rsi, qword [rax]
test rsi, rsi
je 0x1400bdbdb
lock inc qword [rsi]
jle 0x1400beae7
movzx eax, byte [0x140206138]
mov rcx, qword [0x140206128]
test rcx, rcx
mov rdi, rbx
jne 0x1400bd4b3
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400beae7
mov rcx, rax
mov qword [0x140206128], rax
mov r8d, 0x18
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400beae7
mov qword [rax], 1
mov qword [rax + 8], 1
mov rcx, rax
add rcx, 0x10
mov qword [rax + 0x10], rsi
lea rax, fcn.140096040
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, [0x14019a0d0]
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 0x1400bd5f9
xor edx, edx
div rcx
mov rcx, rax
jmp 0x1400bd5ff
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 0x1400bd635
jne 0x1400bd7f2
cmp esi, ecx
jbe 0x1400bd7f2
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.1400eadc0
xor r15d, r15d
cmp edx, 0x3b9aca00
cmove edx, r15d
mov ecx, 0
cmovne rcx, rax
call fcn.1400e1a50
lea r13, [rsp + 0xa0]
jmp 0x1400bd6d6
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.1400eadc0
cmp edx, 0x3b9aca00
cmove edx, r15d
mov ecx, 0
cmovne rcx, rax
call fcn.1400e1a50
mov rcx, r12
mov rdx, r14
mov r8, r13
call fcn.14009f900
mov rbx, qword [rsp + 0xc0]
cmp rbx, 5
jne 0x1400bd881
mov byte [rsp + 0x2f0], 3
mov qword [rsp + 0xc0], 0
mov rcx, r12
call sub.kernel32.dll_QueryPerformanceCounter
test eax, eax
je 0x1400bee5e
mov rdi, qword [rsp + 0xc0]
mov r8, qword [0x140206100]
test r8, r8
jne 0x1400bd762
mov qword [rsp + 0xc0], 0
mov rcx, r12
call sub.kernel32.dll_QueryPerformanceFrequency
test eax, eax
je 0x1400bee5e
mov r8, qword [rsp + 0xc0]
mov qword [0x140206100], r8
test r8, r8
je 0x1400beae7
mov rax, rdi
or rax, r8
shr rax, 0x20
je 0x1400bd780
mov rax, rdi
xor edx, edx
div r8
mov rcx, rax
jmp 0x1400bd789
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 0x1400bd7b0
xor edx, edx
div r8
jmp 0x1400bd7b5
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 0x1400bd690
jne 0x1400bd7f2
cmp esi, ecx
ja 0x1400bd690
mov rcx, qword [rsp + 0x2e8]
mov ebx, 4
test rcx, rcx
je 0x1400bdc06
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 0x1400bd830
and eax, 0xa
cmp eax, 8
jne 0x1400bd852
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x2e8]
test rax, rax
je 0x1400bdbff
lock dec qword [rax]
jne 0x1400bdbff
mov rcx, qword [rsp + 0x2e8]
call fcn.1400a3760
xor esi, esi
jmp 0x1400bd936
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 0x1400bd912
mov rax, qword [rcx + 0x30]
nop
mov rdx, rax
or rdx, 4
lock cmpxchg qword [rcx + 0x30], rdx
jne 0x1400bd8d0
and eax, 0xa
cmp eax, 8
jne 0x1400bd8f2
mov rax, qword [rcx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [rax + 0x10]
mov rax, qword [rsp + 0x2e8]
test rax, rax
je 0x1400bd912
lock dec qword [rax]
jne 0x1400bd912
mov rcx, qword [rsp + 0x2e8]
call fcn.1400a3760
cmp ebx, 4
je 0x1400bee65
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 0x1400bed50
cmp ebx, 4
jne 0x1400bd9cf
test rsi, rsi
mov rbx, qword [rsp + 0x268]
je 0x1400bda88
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 0x1400bdb23
test rax, rax
je 0x1400bdb23
mov r8, qword [rsi + 8]
mov rcx, qword [0x140206128]
xor edx, edx
call sub.kernel32.dll_HeapFree
jmp 0x1400bdb23
lock inc qword [r12]
jle 0x1400beae7
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 0x1400bda47
mov rcx, qword [0x140206128]
xor edx, edx
mov r8, qword [rsp + 0x80]
call sub.kernel32.dll_HeapFree
mov rax, qword [rbx]
lock dec qword [rax]
jne 0x1400bc5b8
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 0x1400a2190
movzx eax, byte [0x140206138]
mov rcx, qword [0x140206128]
test rcx, rcx
jne 0x1400bdab3
call sub.kernel32.dll_GetProcessHeap
test rax, rax
je 0x1400beae7
mov rcx, rax
mov qword [0x140206128], rax
mov r8d, 0x70
xor edx, edx
call sub.kernel32.dll_HeapAlloc
test rax, rax
je 0x1400beae7
mov rsi, rax
mov qword [rax], r13
mov qword [rax + 0x58], 1
lea rax, [0x1401cc6a0]
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 0x1400bee41
call fcn.1400e1220
cmp qword [rbx], 0
jne 0x1400beae7
mov rdi, rax
mov qword [rbx], rax
lock inc qword [rdi]
jg 0x1400bd1d6
jmp 0x1400beae7
call fcn.1400e1220
cmp qword [rdi], 0
jne 0x1400beae7
mov rsi, rax
mov qword [rdi], rax
lock inc qword [rsi]
jg 0x1400bd485
jmp 0x1400beae7
xor esi, esi
jmp 0x1400bd936
xor esi, esi
mov r14, qword [rsp + 0x60]
mov r15, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
movabs r13, 0x8000000000000000
jmp 0x1400bd936
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 0x1400bedaa
test rax, rax
je 0x1400bedaa
mov r8, qword [rsi + 8]
mov rcx, qword [0x140206128]
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 0x1400bda54
jmp 0x1400bc5b8
call sub.kernel32.dll_GetLastError
ud2
call fcn.140017ce0
int3