Function at 0x180093540
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, 0x1d8
mov qword [rsp + 0x1d0], r9
mov qword [rsp + 0x28], rdx
mov rdi, rcx
cmp byte [r8 + 0x10], 2
mov qword [rsp + 0x50], rcx
jne 0x1800937dd
cmp qword [rdi + 0x58], 0
je 0x1800937dd
mov qword [rsp + 0x48], r8
mov rcx, qword [rdi + 0x60]
mov rdx, qword [rdi + 0x68]
mov rsi, qword [rsp + 0x28]
mov r8, rsi
call fcn.180094db0
mov rcx, qword [rdi + 0x40]
mov rdx, qword [rdi + 0x48]
mov r8, rax
shr r8, 0x39
movd xmm0, r8d
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
lea r8, [rcx - 0x48]
movzx r9d, byte [rsi + 1]
mov byte [rsp + 0x60], r9b
xor r9d, r9d
mov qword [rsp + 0x40], r9
pcmpeqd xmm1, xmm1
mov qword [rsp + 0x58], rcx
and rax, rdx
movdqu xmm2, xmmword [rcx + rax]
movdqa xmm3, xmm0
pcmpeqb xmm3, xmm2
pmovmskb edi, xmm3
test edi, edi
je 0x1800937a0
mov rcx, qword [rsp + 0x28]
movzx r11d, byte [rcx]
jmp 0x180093616
test bl, bl
je 0x180094d40
lea edi, [rsi - 1]
and edi, esi
test di, di
je 0x1800937a0
mov esi, edi
tzcnt edi, esi
add rdi, rax
and rdi, rdx
neg rdi
lea rdi, [rdi + rdi*8]
lea rdi, [r8 + rdi*8]
cmp r11d, 1
je 0x1800936e0
cmp r11d, 2
jne 0x180094d40
movzx ebx, byte [rdi]
cmp bl, 2
jne 0x180093600
mov rcx, qword [rsp + 0x28]
mov r15, qword [rcx + 8]
mov rbx, qword [r15 + 0x10]
mov r12, qword [rdi + 8]
cmp rbx, qword [r12 + 0x10]
jne 0x180093608
mov r15, qword [r15 + 8]
mov r12, qword [r12 + 8]
mov r13, rbx
neg r13
mov rbp, 0xffffffffffffffff
nop word [rax + rax]
mov rcx, r13
add rcx, rbp
cmp rcx, 0xffffffffffffffff
je 0x180093710
movzx ecx, byte [r15 + rbp + 1]
movzx r10d, byte [r12 + rbp + 1]
lea r9d, [rcx - 0x41]
cmp r9b, 0x1a
setb r9b
shl r9b, 5
lea r14d, [r10 - 0x41]
cmp r14b, 0x1a
setb r14b
shl r14b, 5
or r9b, cl
or r14b, r10b
inc rbp
cmp r9b, r14b
je 0x180093680
cmp rbp, rbx
jb 0x180093608
jmp 0x180093710
movzx ebx, byte [rdi]
cmp bl, 1
jne 0x180093600
movzx ebx, byte [rdi + 1]
cmp byte [rsp + 0x60], 0
je 0x180093700
test bl, bl
jne 0x180093710
jmp 0x180093608
test bl, bl
jne 0x180093608
nop dword [rax + rax]
mov rcx, qword [rsp + 0x28]
mov rbx, qword [rcx + 0x20]
cmp rbx, qword [rdi + 0x20]
jne 0x180093608
mov rcx, qword [rsp + 0x28]
mov r15, qword [rcx + 0x18]
mov rdi, qword [rdi + 0x18]
mov r12, rbx
neg r12
mov r13, 0xffffffffffffffff
nop dword [rax]
lea rcx, [r12 + r13]
cmp rcx, 0xffffffffffffffff
je 0x180093dec
movzx ecx, byte [r15 + r13 + 1]
movzx r9d, byte [rdi + r13 + 1]
lea r10d, [rcx - 0x41]
cmp r10b, 0x1a
setb r10b
shl r10b, 5
lea ebp, [r9 - 0x41]
cmp bpl, 0x1a
setb bpl
shl bpl, 5
or r10b, cl
or bpl, r9b
inc r13
cmp r10b, bpl
je 0x180093740
cmp r13, rbx
jb 0x180093608
jmp 0x180093dec
mov r9, r8
pcmpeqb xmm2, xmm1
pmovmskb r11d, xmm2
test r11d, r11d
mov rdi, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
jne 0x1800937dd
mov rcx, qword [rsp + 0x40]
add rax, rcx
add rax, 0x10
add rcx, 0x10
mov qword [rsp + 0x40], rcx
mov rcx, qword [rsp + 0x58]
mov r8, r9
jmp 0x1800935d9
mov rax, qword [r8 + 0x30]
mov qword [rsp + 0xc0], rax
movdqu xmm0, xmmword [r8]
movdqu xmm1, xmmword [r8 + 0x10]
movdqu xmm2, xmmword [r8 + 0x20]
movdqa xmmword [rsp + 0xb0], xmm2
movdqa xmmword [rsp + 0xa0], xmm1
movdqa xmmword [rsp + 0x90], xmm0
lea rcx, [rdi + 0x70]
mov qword [rsp + 0x178], rcx
mov rdx, qword [rsp + 0x28]
call fcn.180095030
test rax, rax
je 0x180093e2d
mov r15, rax
mov rax, qword [rax + 0x18]
test rax, rax
je 0x180093dfb
xor edi, edi
jmp 0x1800938d2
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x90], rax
mov qword [rsp + 0x98], r14
movzx eax, byte [rsp + 0x48]
mov byte [rsp + 0xa0], al
mov eax, dword [rsp + 0x180]
mov ecx, dword [rsp + 0x183]
lea rdx, [rsp + 0xc2]
mov dword [rdx - 0x1e], ecx
mov dword [rdx - 0x21], eax
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rbx
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0xc0], al
mov byte [rsp + 0xc1], r12b
movzx eax, word [rsp + 0x34]
mov word [rdx + 4], ax
mov eax, dword [rsp + 0x30]
mov dword [rdx], eax
xor edi, edi
mov rax, qword [r15 + 0x18]
test rax, rax
je 0x180093dfb
mov rcx, qword [r15 + 0x10]
mov rdx, qword [r15]
mov r8, qword [r15 + 8]
lea r9, [rcx + 1]
cmp r9, r8
cmovb r8, rdi
neg r8
add r8, rcx
inc r8
mov qword [r15 + 0x10], r8
dec rax
mov qword [r15 + 0x18], rax
mov r13, qword [rdx + rcx*8]
movzx eax, byte [r13 + 0x80]
test al, al
je 0x1800939b0
mov al, 1
xchg byte [r13 + 0x80], al
mov al, 1
xchg byte [r13 + 0x60], al
test al, al
jne 0x180093944
mov rax, qword [r13 + 0x50]
mov rcx, qword [r13 + 0x58]
mov qword [r13 + 0x50], 0
mov edx, 0
xchg byte [r13 + 0x60], dl
test rax, rax
je 0x180093944
call qword [rax + 8]
lea rsi, [r13 + 0x68]
mov al, 1
xchg byte [r13 + 0x78], al
test al, al
je 0x180093990
mov esi, 0
jne 0x180093992
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rsi], 0
test rax, rax
je 0x18009396f
call qword [rax + 0x18]
xor eax, eax
xchg byte [rsi + 0x10], al
lock dec qword [r13]
jne 0x1800938c5
jmp 0x18009399d
je 0x180093959
lock dec qword [r13]
jne 0x1800938c5
mov rcx, r13
call fcn.18008f580
jmp 0x1800938c5
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x80], rbx
mov qword [rsp + 0x58], rbp
movzx r12d, byte [rsp + 0xc1]
mov byte [rsp + 0xc1], 2
cmp r12b, 2
je 0x180094d40
mov r9, qword [rsp + 0x90]
mov r11, qword [rsp + 0x98]
movzx r10d, byte [rsp + 0xa0]
mov rbp, qword [rsp + 0xa8]
mov rdi, qword [rsp + 0xb0]
mov rbx, qword [rsp + 0xb8]
movzx esi, byte [rsp + 0xc0]
cmp r10b, 2
jne 0x180093a5b
mov byte [rsp + 0xc8], sil
mov byte [rsp + 0x68], r10b
test rbp, rbp
je 0x180093abe
mov rcx, rbp
mov esi, r12d
mov r12, r9
mov r14, rbx
mov rbx, r11
call qword [rdi + 0x20]
mov r11, rbx
mov rbx, r14
mov r9, r12
mov r12d, esi
lock inc qword [rbx]
jg 0x180093aca
jmp 0x180094d40
lea rdx, [rsp + 0xc2]
mov eax, dword [rdx - 0x21]
mov ecx, dword [rdx - 0x1e]
mov dword [rsp + 0xd3], ecx
mov dword [rsp + 0xd0], eax
mov eax, dword [rdx]
mov dword [rsp + 0x180], eax
movzx ecx, word [rdx + 4]
mov word [rsp + 0x184], cx
mov edx, dword [rsp + 0xd0]
mov r8d, dword [rsp + 0xd3]
mov dword [rsp + 0x140], edx
mov dword [rsp + 0x143], r8d
mov dword [rsp + 0x88], eax
mov word [rsp + 0x8c], cx
jmp 0x180093b49
xor eax, eax
lock inc qword [rbx]
jle 0x180094d40
lock inc qword [r9]
movzx r10d, byte [rsp + 0x68]
jle 0x180094d40
lock inc qword [r11 + 0x88]
lock inc qword [r11]
movzx esi, byte [rsp + 0xc8]
jle 0x180094d40
lea r8, [rsp + 0xc2]
movzx ecx, word [r8 + 4]
mov word [rsp + 0x184], cx
mov ecx, dword [r8]
mov dword [rsp + 0x180], ecx
mov qword [rsp + 0xa8], rbp
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xb8], rbx
mov byte [rsp + 0xc0], sil
mov byte [rsp + 0xa0], 2
mov byte [rsp + 0xc1], r12b
mov rbp, rax
mov rdi, rdx
mov eax, dword [rsp + 0x140]
mov ecx, dword [rsp + 0x143]
mov dword [rsp + 0xd0], eax
mov dword [rsp + 0xd3], ecx
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x38], eax
movzx eax, word [rsp + 0x8c]
mov word [rsp + 0x3c], ax
movzx eax, byte [r13 + 0x80]
test al, al
jne 0x180093ba5
mov dl, 1
xchg byte [r13 + 0x48], dl
lea rax, [r13 + 0x10]
mov rcx, rax
test dl, dl
je 0x180093b9f
mov ecx, 0
je 0x180093ccf
mov eax, dword [rsp + 0xd0]
mov ecx, dword [rsp + 0xd3]
mov dword [rsp + 0x183], ecx
mov dword [rsp + 0x180], eax
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x30], eax
movzx eax, word [rsp + 0x3c]
mov word [rsp + 0x34], ax
mov byte [rsp + 0x40], sil
mov qword [rsp + 0x60], r9
mov r14, r11
mov byte [rsp + 0x48], r10b
mov al, 1
xchg byte [r13 + 0x80], al
mov al, 1
xchg byte [r13 + 0x60], al
test al, al
jne 0x180093c19
mov rax, qword [r13 + 0x50]
mov rcx, qword [r13 + 0x58]
mov qword [r13 + 0x50], 0
mov edx, 0
xchg byte [r13 + 0x60], dl
test rax, rax
je 0x180093c19
call qword [rax + 8]
lea rsi, [r13 + 0x68]
mov al, 1
xchg byte [r13 + 0x78], al
test al, al
je 0x180093c90
mov esi, 0
jne 0x180093c92
mov rax, qword [rsi]
mov rcx, qword [rsi + 8]
mov qword [rsi], 0
test rax, rax
je 0x180093c44
call qword [rax + 0x18]
xor eax, eax
xchg byte [rsi + 0x10], al
lock dec qword [r13]
je 0x180093c99
movzx ecx, byte [rsp + 0xc1]
cmp r12b, 2
mov qword [rsp + 0x70], rdi
jne 0x180093cb4
mov rax, qword [r15 + 0x18]
cmp cl, 2
je 0x180093df6
test rax, rax
mov edi, 0
jne 0x1800938d2
jmp 0x180093dfb
je 0x180093c2e
lock dec qword [r13]
jne 0x180093c50
mov rcx, r13
call fcn.18008f580
movzx ecx, byte [rsp + 0xc1]
cmp r12b, 2
mov qword [rsp + 0x70], rdi
je 0x180093c63
cmp cl, 2
je 0x18009384b
lea rcx, [rsp + 0x90]
call fcn.18008f5f0
jmp 0x18009384b
cmp byte [rcx + 0x31], 2
jne 0x180094d40
mov qword [rcx], r9
mov qword [rcx + 8], r11
mov byte [rcx + 0x10], r10b
mov edx, dword [rsp + 0xd0]
mov r8d, dword [rsp + 0xd3]
mov dword [rcx + 0x11], edx
mov dword [rcx + 0x14], r8d
mov qword [rcx + 0x18], rbp
mov qword [rcx + 0x20], rdi
mov qword [rcx + 0x28], rbx
mov byte [rcx + 0x30], sil
mov byte [rcx + 0x31], r12b
mov edx, dword [rsp + 0x38]
mov dword [rcx + 0x32], edx
movzx edx, word [rsp + 0x3c]
mov word [rcx + 0x36], dx
xor edx, edx
xchg byte [rcx + 0x38], dl
movzx ecx, byte [r13 + 0x80]
mov r12b, 2
test cl, cl
je 0x180093d7a
mov cl, 1
xchg byte [r13 + 0x48], cl
test cl, cl
je 0x180093d41
mov eax, 0
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
jne 0x180093be5
movzx r12d, byte [rax + 0x31]
mov byte [rax + 0x31], 2
cmp r12b, 2
jne 0x180093d96
xor ecx, ecx
xchg byte [rax + 0x38], cl
mov r12b, 2
jmp 0x180093be5
mov rbp, qword [rsp + 0x58]
mov rdi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x80]
mov r14, qword [rsp + 0x78]
jmp 0x180093be5
mov rcx, qword [rax]
mov qword [rsp + 0x60], rcx
mov r14, qword [rax + 8]
movzx ecx, byte [rax + 0x10]
mov byte [rsp + 0x48], cl
mov ecx, dword [rax + 0x14]
mov dword [rsp + 0x183], ecx
mov ecx, dword [rax + 0x11]
mov dword [rsp + 0x180], ecx
mov rbp, qword [rax + 0x18]
mov rdi, qword [rax + 0x20]
mov rbx, qword [rax + 0x28]
movzx ecx, byte [rax + 0x30]
mov byte [rsp + 0x40], cl
movzx ecx, word [rax + 0x36]
mov word [rsp + 0x34], cx
mov ecx, dword [rax + 0x32]
mov dword [rsp + 0x30], ecx
xor ecx, ecx
xchg byte [rax + 0x38], cl
jmp 0x180093be5
mov rcx, qword [rsp + 0x48]
jmp 0x1800946b4
test rax, rax
jne 0x180093e2d
lea rcx, [rsp + 0xd0]
mov rdx, qword [rsp + 0x178]
mov r8, qword [rsp + 0x28]
call fcn.1800952e0
cmp qword [rsp + 0xd0], 0
je 0x180093e2d
lea rcx, [rsp + 0xd0]
call fcn.18008f370
cmp byte [rsp + 0xc1], 2
je 0x1800946b9
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x1b0], rax
movaps xmm0, xmmword [rsp + 0x90]
movdqa xmm1, xmmword [rsp + 0xa0]
movdqa xmm2, xmmword [rsp + 0xb0]
movdqa xmmword [rsp + 0x1a0], xmm2
movdqa xmmword [rsp + 0x190], xmm1
movaps xmmword [rsp + 0x180], xmm0
mov r8, qword [rsp + 0x28]
movzx eax, byte [r8]
test rax, rax
je 0x180093ea0
cmp eax, 1
mov rdi, qword [rsp + 0x50]
jne 0x180093ea9
movzx ecx, byte [r8 + 1]
mov al, 1
jmp 0x180093f12
xor eax, eax
mov rdi, qword [rsp + 0x50]
jmp 0x180093f12
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
jne 0x180093ed5
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x180094d4d
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x20
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x180094d4d
mov r14, rax
mov rsi, qword [rsp + 0x28]
mov rax, qword [rsi + 8]
lea rdx, [rax + 0x18]
mov r10, qword [rax]
mov r8, qword [rax + 8]
mov r9, qword [rax + 0x10]
mov rcx, r14
call qword [r10]
mov r8, rsi
mov al, 2
lea rdx, [rdi + 0x40]
mov qword [rsp + 0xc8], rdx
mov byte [rsp + 0xd0], al
mov byte [rsp + 0xd1], cl
mov qword [rsp + 0xd8], r14
lea rcx, [rsp + 0xe0]
lea rdx, [r8 + 0x28]
mov rax, qword [r8 + 0x10]
mov r9, r8
mov r8, qword [r8 + 0x18]
mov r9, qword [r9 + 0x20]
call qword [rax]
lea rax, [rdi + 0x60]
mov qword [rsp + 0x1c0], rax
mov rcx, qword [rdi + 0x60]
mov rdx, qword [rdi + 0x68]
lea r8, [rsp + 0xd0]
call fcn.180094db0
mov r8, qword [rdi + 0x40]
mov r9, qword [rdi + 0x48]
mov rcx, rax
shr rcx, 0x39
mov qword [rsp + 0x178], rcx
movd xmm0, ecx
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0
pshufd xmm0, xmm0, 0
lea rdx, [r8 - 0x48]
movzx ecx, byte [rsp + 0xd0]
mov dword [rsp + 0x40], ecx
mov rcx, qword [rsp + 0xd8]
mov qword [rsp + 0x58], rcx
movzx ecx, byte [rsp + 0xd1]
mov byte [rsp + 0x78], cl
mov r11, qword [rsp + 0xe8]
mov rbx, qword [rsp + 0xf0]
mov qword [rsp + 0x80], rbx
neg rbx
xor ecx, ecx
mov qword [rsp + 0x70], rcx
pcmpeqd xmm1, xmm1
mov qword [rsp + 0x1c8], rax
mov rcx, rax
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x68], r8
and rcx, r9
movdqu xmm2, xmmword [r8 + rcx]
movdqa xmm3, xmm0
pcmpeqb xmm3, xmm2
pmovmskb eax, xmm3
test eax, eax
mov qword [rsp + 0x60], rcx
jne 0x18009407c
pcmpeqb xmm2, xmm1
pmovmskb eax, xmm2
test eax, eax
jne 0x180094582
mov rax, qword [rsp + 0x70]
add rcx, rax
add rcx, 0x10
add rax, 0x10
mov qword [rsp + 0x70], rax
mov r8, qword [rsp + 0x68]
jmp 0x180093fff
mov eax, dword [rsp + 0x40]
cmp eax, 1
je 0x180094130
test eax, eax
je 0x180094d40
lea eax, [r12 - 1]
and eax, r12d
test ax, ax
mov r9, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x60]
je 0x18009401d
mov r12d, eax
tzcnt eax, r12d
add rax, rcx
and rax, r9
neg rax
lea r15, [rax + rax*8]
lea rsi, [rdx + r15*8]
movzx eax, byte [rdx + r15*8]
cmp rax, 1
je 0x180094050
cmp eax, 2
jne 0x180094d40
mov eax, dword [rsp + 0x40]
cmp al, 2
jne 0x18009405d
mov rax, qword [rsi + 8]
mov rdi, qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
cmp rdi, qword [rcx + 0x10]
jne 0x180094065
mov r13, qword [rax + 8]
mov rax, qword [rsp + 0x58]
mov r10, qword [rax + 8]
mov rax, rdi
neg rax
mov r9, 0xffffffffffffffff
nop
lea r14, [rax + r9]
cmp r14, 0xffffffffffffffff
je 0x180094150
movzx r14d, byte [r13 + r9 + 1]
movzx ecx, byte [r10 + r9 + 1]
lea r8d, [r14 - 0x41]
cmp r8b, 0x1a
setb r8b
shl r8b, 5
lea ebp, [rcx - 0x41]
cmp bpl, 0x1a
setb bpl
shl bpl, 5
or r8b, r14b
or bpl, cl
inc r9
cmp r8b, bpl
je 0x1800940e0
cmp r9, rdi
jb 0x180094065
jmp 0x180094150
cmp byte [rsi + 1], 0
je 0x180094142
cmp byte [rsp + 0x78], 0
jne 0x180094150
jmp 0x180094065
cmp byte [rsp + 0x78], 0
jne 0x180094065
nop dword [rax]
mov rax, qword [rsp + 0x80]
cmp qword [rsi + 0x20], rax
jne 0x180094065
mov r9, qword [rsi + 0x18]
mov rax, 0xffffffffffffffff
nop dword [rax]
lea rcx, [rbx + rax]
cmp rcx, 0xffffffffffffffff
je 0x1800941c2
movzx ecx, byte [r9 + rax + 1]
movzx r8d, byte [r11 + rax + 1]
lea r10d, [rcx - 0x41]
cmp r10b, 0x1a
setb r10b
shl r10b, 5
lea esi, [r8 - 0x41]
cmp sil, 0x1a
setb sil
shl sil, 5
or r10b, cl
or sil, r8b
inc rax
cmp r10b, sil
je 0x180094170
cmp rax, qword [rsp + 0x80]
jb 0x180094065
mov rax, qword [rsp + 0x68]
lea rsi, [rax + r15*8]
movdqu xmm0, xmmword [rsp + 0xd0]
movdqu xmm1, xmmword [rsp + 0xe0]
movdqu xmm2, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x160], xmm2
movdqa xmmword [rsp + 0x150], xmm1
movdqa xmmword [rsp + 0x140], xmm0
movdqa xmmword [rsp + 0xd0], xmm0
movdqa xmmword [rsp + 0xf0], xmm2
movdqa xmmword [rsp + 0xe0], xmm1
mov qword [rsp + 0x100], rsi
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x108], rax
movzx eax, byte [rsp + 0xd0]
cmp al, 3
mov rdi, qword [rsp + 0x50]
je 0x180094298
cmp al, 2
jb 0x180094275
mov r14, qword [rsp + 0xd8]
lea rcx, [r14 + 0x18]
mov rax, qword [r14]
mov rdx, qword [r14 + 8]
mov r8, qword [r14 + 0x10]
call qword [rax + 0x10]
mov rcx, qword [0x18021e9c0]
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_HeapFree]
lea rcx, [rsp + 0xf8]
mov rax, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xe8]
mov r8, qword [rsp + 0xf0]
call qword [rax + 0x10]
mov rax, qword [rdi + 0xa0]
cmp rax, qword [rsi - 8]
jbe 0x1800946ac
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x100], rax
movdqa xmm0, xmmword [rsp + 0x180]
movdqa xmm1, xmmword [rsp + 0x190]
movdqa xmm2, xmmword [rsp + 0x1a0]
movdqa xmmword [rsp + 0xf0], xmm2
movdqa xmmword [rsp + 0xe0], xmm1
movdqa xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0x140], 0
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180094d44
mov r14, qword [rsp + 0x140]
mov rcx, qword [0x18021e9d8]
test rcx, rcx
jne 0x18009435f
mov qword [rsp + 0x140], 0
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180094d44
mov rcx, qword [rsp + 0x140]
mov qword [0x18021e9d8], rcx
test rcx, rcx
je 0x180094d40
mov rax, r14
or rax, rcx
shr rax, 0x20
je 0x180094375
mov rax, r14
xor edx, edx
div rcx
jmp 0x18009437c
mov eax, r14d
xor edx, edx
div ecx
imul r8, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x1800943a0
xor edx, edx
div rcx
mov r14, rax
jmp 0x1800943a7
xor edx, edx
div ecx
mov r14d, eax
add r14, r8
mov rax, r14
shr rax, 9
movabs rdi, 0x44b82fa09b5a53
mul rdi
mov r15, rdx
shr r15, 0xb
imul eax, r15d, 0x3b9aca00
sub r14d, eax
mov rdx, qword [rsi - 8]
cmp rdx, qword [rsi - 0x10]
jne 0x1800943e6
lea rcx, [rsi - 0x18]
call fcn.18003e8b0
mov rdx, qword [rsi - 8]
mov rax, qword [rsi - 0x18]
lea rcx, [rdx + rdx*8]
mov r8, qword [rsp + 0x100]
mov qword [rax + rcx*8 + 0x30], r8
movdqa xmm0, xmmword [rsp + 0xd0]
movdqa xmm1, xmmword [rsp + 0xe0]
movdqa xmm2, xmmword [rsp + 0xf0]
movdqu xmmword [rax + rcx*8 + 0x20], xmm2
movdqu xmmword [rax + rcx*8 + 0x10], xmm1
movdqu xmmword [rax + rcx*8], xmm0
mov qword [rax + rcx*8 + 0x38], r15
mov dword [rax + rcx*8 + 0x40], r14d
inc rdx
mov qword [rsi - 8], rdx
mov rbx, qword [rsp + 0x50]
cmp qword [rbx + 0xa8], 0
jne 0x1800946b9
mov esi, dword [rbx + 0xb8]
cmp esi, 0x3b9aca00
je 0x1800946b9
mov r13, qword [rbx + 0xb0]
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
jne 0x180094490
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x180094d5e
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x48
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x180094d5e
mov r14, rax
mov qword [rax], 1
mov qword [rax + 8], 1
mov qword [rax + 0x10], 0
mov byte [rax + 0x20], 0
mov qword [rax + 0x28], 0
mov byte [rax + 0x38], 0
mov word [rax + 0x40], 0
lock inc qword [rax]
jle 0x180094d40
mov qword [rbx + 0xa8], r14
test r13, r13
jne 0x1800944f5
test esi, esi
je 0x180094d40
mov qword [rsp + 0xd0], 0
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x180094d44
mov r15, qword [rsp + 0xd0]
mov rcx, qword [0x18021e9d8]
test rcx, rcx
jne 0x180094565
mov qword [rsp + 0xd0], 0
lea rcx, [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x180094d44
mov rcx, qword [rsp + 0xd0]
mov qword [0x18021e9d8], rcx
test rcx, rcx
je 0x180094d40
mov rax, r15
or rax, rcx
shr rax, 0x20
je 0x180094719
mov rax, r15
xor edx, edx
div rcx
jmp 0x180094720
mov rdi, qword [rsp + 0x50]
cmp qword [rdi + 0x50], 0
mov r8, qword [rsp + 0x68]
je 0x180094c4e
movups xmm0, xmmword [rsp + 0xd0]
movdqu xmm1, xmmword [rsp + 0xe0]
movdqu xmm2, xmmword [rsp + 0xf0]
movdqa xmmword [rsp + 0x160], xmm2
movdqa xmmword [rsp + 0x150], xmm1
movaps xmmword [rsp + 0x140], xmm0
mov rcx, qword [rsp + 0x1c8]
and rcx, r9
movdqu xmm0, xmmword [r8 + rcx]
pmovmskb eax, xmm0
test eax, eax
jne 0x180094601
mov edx, 0x10
add rcx, rdx
and rcx, r9
movdqu xmm0, xmmword [r8 + rcx]
pmovmskb eax, xmm0
add rdx, 0x10
test eax, eax
je 0x1800945e9
tzcnt eax, eax
add rax, rcx
and rax, r9
movzx edx, byte [r8 + rax]
test dl, dl
js 0x180094626
movdqa xmm0, xmmword [r8]
pmovmskb eax, xmm0
tzcnt eax, eax
movzx edx, byte [r8 + rax]
lea rcx, [rax - 0x10]
and rcx, r9
mov r9, qword [rsp + 0x178]
mov byte [r8 + rax], r9b
mov byte [rcx + r8 + 0x10], r9b
neg rax
lea rax, [rax + rax*8]
lea rsi, [r8 + rax*8]
and dl, 1
movzx ecx, dl
sub qword [rdi + 0x50], rcx
movdqa xmm0, xmmword [rsp + 0x140]
movdqa xmm1, xmmword [rsp + 0x150]
movdqa xmm2, xmmword [rsp + 0x160]
movdqu xmmword [r8 + rax*8 - 0x28], xmm2
movdqu xmmword [r8 + rax*8 - 0x38], xmm1
movdqu xmmword [r8 + rax*8 - 0x48], xmm0
mov qword [r8 + rax*8 - 0x18], 8
pxor xmm0, xmm0
movdqu xmmword [r8 + rax*8 - 0x10], xmm0
inc qword [rdi + 0x58]
mov rax, qword [rdi + 0xa0]
cmp rax, qword [rsi - 8]
ja 0x1800942a9
lea rcx, [rsp + 0x180]
call fcn.18008f5f0
mov r8, qword [rsp + 0x28]
cmp byte [r8], 2
jb 0x1800946f1
mov rdi, qword [r8 + 8]
lea rcx, [rdi + 0x18]
mov rax, qword [rdi]
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
call qword [rax + 0x10]
mov rcx, qword [0x18021e9c0]
xor edx, edx
mov r8, rdi
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov r8, qword [rsp + 0x28]
lea rcx, [r8 + 0x28]
mov rax, qword [r8 + 0x10]
mov rdx, qword [r8 + 0x18]
mov r8, qword [r8 + 0x20]
call qword [rax + 0x10]
nop
add rsp, 0x1d8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov eax, r15d
xor edx, edx
div ecx
imul r9, rax, 0x3b9aca00
imul rax, rdx, 0x3b9aca00
mov rdx, rax
or rdx, rcx
shr rdx, 0x20
je 0x180094744
xor edx, edx
div rcx
mov r8, rax
jmp 0x18009474b
xor edx, edx
div ecx
mov r8d, eax
add r8, r9
mov rax, r8
shr rax, 9
mul rdi
shr rdx, 0xb
imul eax, edx, 0x3b9aca00
sub r8d, eax
lea rcx, [rsp + 0xd0]
call fcn.18011e750
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
jne 0x18009479e
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x180094d6f
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x70
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x180094d6f
mov r15, rax
movups xmm0, xmmword [rsp + 0x130]
movups xmmword [rax + 0x60], xmm0
movups xmm0, xmmword [rsp + 0x120]
movups xmmword [rax + 0x50], xmm0
movups xmm0, xmmword [rsp + 0x110]
movups xmmword [rax + 0x40], xmm0
movdqu xmm0, xmmword [rsp + 0xd0]
movdqu xmm1, xmmword [rsp + 0xe0]
movdqu xmm2, xmmword [rsp + 0xf0]
movdqu xmm3, xmmword [rsp + 0x100]
movdqu xmmword [rax + 0x30], xmm3
movdqu xmmword [rax + 0x20], xmm2
movdqu xmmword [rax + 0x10], xmm1
movdqu xmmword [rax], xmm0
mov rax, qword [rsp + 0x1d0]
mov rbp, qword [rax]
jmp 0x180094822
pause
mov rax, qword [rbp + 8]
nop word cs:[rax + rax]
cmp rax, 0xffffffffffffffff
je 0x180094820
test rax, rax
js 0x180094d40
lea rcx, [rax + 1]
lock cmpxchg qword [rbp + 8], rcx
jne 0x180094830
mov eax, dword [rsp + 0xd0]
mov ecx, dword [rsp + 0xd3]
mov dword [rsp + 0x143], ecx
mov dword [rsp + 0x140], eax
mov rax, qword [rsp + 0x50]
mov rbx, qword [rax]
test rbx, rbx
je 0x180094910
mov rdi, qword [rax + 8]
mov r12, qword [rdi + 0x10]
movzx eax, byte [0x18021ea38]
mov rcx, qword [0x18021e9c0]
test rcx, rcx
jne 0x1800948ac
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
test rax, rax
je 0x180094d80
mov rcx, rax
mov qword [0x18021e9c0], rax
mov r8d, 0x30
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
je 0x180094d80
dec r12
and r12, 0xfffffffffffffff0
lea rcx, [r12 + rbx]
add rcx, 0x10
mov qword [rax], r13
mov dword [rax + 8], esi
mov qword [rax + 0x10], r15
mov byte [rax + 0x18], 0
mov edx, dword [rsp + 0x140]
mov r8d, dword [rsp + 0x143]
mov dword [rax + 0x19], edx
mov dword [rax + 0x1c], r8d
mov qword [rax + 0x20], r14
mov qword [rax + 0x28], rbp
lea r8, fcn.1800956d0
mov rdx, rax
call qword [rdi + 0x18]
jmp 0x1800946b9
mov ebx, 1
mov r12d, 1
lock xadd qword [0x18021d070], r12
call fcn.18011dd30
mov rdi, rdx
lock xadd qword [rdx], rbx
test rax, rax
je 0x180094a67
test rbx, rbx
js 0x180094d40
movzx eax, byte [0x18021ea38]
mov ecx, 0x80
mov edx, 8
call fcn.180032860
test rax, rax
je 0x180094d91
mov rbx, rax
lea rcx, [rdi + 0x60]
mov qword [rax], 0xcc
mov qword [rax + 8], 0
lea rax, [0x1801e19e8]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x28], r12
mov qword [rbx + 0x30], r13
mov dword [rbx + 0x38], esi
mov rsi, rcx
mov qword [rbx + 0x40], r15
mov byte [rbx + 0x48], 0
mov eax, dword [rsp + 0x140]
mov ecx, dword [rsp + 0x143]
mov dword [rbx + 0x49], eax
mov dword [rbx + 0x4c], ecx
mov qword [rbx + 0x50], r14
mov qword [rbx + 0x58], rbp
pxor xmm0, xmm0
movdqu xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], 0
mov rax, qword [rdi + 0x88]
mov qword [rbx + 0x18], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18021e9f8]
shl rax, 1
test rax, rax
jne 0x180094c70
movzx eax, byte [rdi + 0x68]
cmp byte [rdi + 0x80], 0
je 0x180094b8e
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x180094c92
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, 0xffffffffffffffc0
lock xadd qword [rbx], rax
cmp rax, 0x3f
jbe 0x180094d40
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x180094a58
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax + 0x10]
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x180094bcf
test rbx, rbx
js 0x180094d40
movzx eax, byte [0x18021ea38]
mov ecx, 0x80
mov edx, 8
call fcn.180032860
test rax, rax
je 0x180094d91
mov rbx, rax
lea rcx, [rdi + 0x40]
mov qword [rax], 0xcc
mov qword [rax + 8], 0
lea rax, [0x1801e18f8]
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], 0
mov qword [rbx + 0x20], rdi
mov qword [rbx + 0x28], r12
mov qword [rbx + 0x30], r13
mov dword [rbx + 0x38], esi
mov rsi, rcx
mov qword [rbx + 0x40], r15
mov byte [rbx + 0x48], 0
mov eax, dword [rsp + 0x140]
mov ecx, dword [rsp + 0x143]
mov dword [rbx + 0x49], eax
mov dword [rbx + 0x4c], ecx
mov qword [rbx + 0x50], r14
mov qword [rbx + 0x58], rbp
pxor xmm0, xmm0
movdqu xmmword [rbx + 0x60], xmm0
mov qword [rbx + 0x70], 0
mov rax, qword [rdi + 0x68]
mov qword [rbx + 0x18], rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_AcquireSRWLockExclusive]
mov rax, qword [0x18021e9f8]
shl rax, 1
test rax, rax
jne 0x180094ca8
movzx eax, byte [rdi + 0x48]
cmp byte [rdi + 0x60], 0
je 0x180094bdf
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x180094ce1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rax, 0xffffffffffffffc0
lock xadd qword [rbx], rax
cmp rax, 0x3f
jbe 0x180094d40
and rax, 0xffffffffffffffc0
cmp rax, 0x40
jne 0x180094b7f
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax + 0x10]
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax + 0x30]
jmp 0x180094c1c
lea rcx, [rdi + 0x70]
mov rdx, rbx
call fcn.18008d520
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x180094cf7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rdi
add rcx, 0x10
mov rdx, rbx
xor r8d, r8d
call fcn.18011b3d0
lock dec qword [rdi]
jne 0x180094c2a
mov rcx, rdi
call fcn.180084290
jmp 0x180094c2a
mov rcx, rdi
add rcx, 0x50
mov rdx, rbx
call fcn.18008d520
mov rax, qword [0x18021e9f8]
movabs rcx, 0x7fffffffffffffff
test rax, rcx
jne 0x180094d2a
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReleaseSRWLockExclusive]
mov rcx, rdi
mov rdx, rbx
call fcn.18011a630
lock dec qword [rdi]
jne 0x180094c2a
mov rcx, rdi
call fcn.1800841f0
mov ecx, 0x84
mov eax, 0xcc
lock cmpxchg qword [rbx], rcx
je 0x1800946b9
mov rax, qword [rbx + 0x10]
mov rcx, rbx
call qword [rax + 0x20]
jmp 0x1800946b9
mov rcx, qword [rsp + 0xc8]
mov rdx, qword [rsp + 0x1c0]
call fcn.180187d60
mov r8, qword [rdi + 0x40]
mov r9, qword [rdi + 0x48]
jmp 0x180094597
call fcn.1801898f0
mov ebp, eax
movzx eax, byte [rdi + 0x68]
cmp byte [rdi + 0x80], 0
je 0x180094cc7
test bpl, bpl
jne 0x180094a0b
jmp 0x180094a25
call fcn.1801898f0
test al, al
jne 0x180094a25
mov byte [rdi + 0x68], 1
jmp 0x180094a25
call fcn.1801898f0
mov ebp, eax
movzx eax, byte [rdi + 0x48]
cmp byte [rdi + 0x60], 0
je 0x180094d0d
test bpl, bpl
jne 0x180094b32
jmp 0x180094b4c
lea rcx, [rdi + 0x70]
mov rdx, rbx
call fcn.18008d520
test bpl, bpl
jne 0x180094b9a
jmp 0x180094bb4
call fcn.1801898f0
test al, al
jne 0x180094b4c
mov byte [rdi + 0x48], 1
jmp 0x180094b4c
call fcn.1801898f0
test al, al
jne 0x180094bb4
mov byte [rdi + 0x68], 1
jmp 0x180094bb4
mov rcx, rdi
add rcx, 0x50
mov rdx, rbx
call fcn.18008d520
test bpl, bpl
jne 0x180094bee
jmp 0x180094c08
call fcn.1801898f0
test al, al
jne 0x180094c08
mov byte [rdi + 0x48], 1
jmp 0x180094c08
ud2
call sub.KERNEL32.dll_GetLastError
ud2
mov ecx, 8
mov edx, 0x20
call fcn.1801828e0
ud2
mov ecx, 8
mov edx, 0x48
call fcn.1801828e0
ud2
mov ecx, 8
mov edx, 0x70
call fcn.1801828e0
ud2
mov ecx, 8
mov edx, 0x30
call fcn.1801828e0
ud2
mov ecx, 8
mov edx, 0x80
call fcn.1801828e0
ud2