Function at 0x14005a900
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x3730]
mov eax, 0x3830
call fcn.1400f67a0
sub rsp, rax
mov rax, qword [0x1401740a0]
xor rax, rsp
mov qword [rbp + 0x3720], rax
mov rsi, r8
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x50], ebx
call fcn.14003cbe0
mov r13, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x68], r14
mov rcx, qword [rax]
lea rdi, [0x140148370]
cmp dword [rcx], r14d
je 0x14005a9ab
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x28], rdi
lea rax, str._BDREINIT__::_WinMain___
mov qword [rsp + 0x20], rax
lea r9, str._s_s
mov r8, rdi
xor edx, edx
mov rcx, r13
call fcn.14003bea0
lea r8, [rsp + 0x50]
lea rdx, [0x140149554]
mov rcx, rsi
call fcn.14005bbd0
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0x58], rax
call fcn.14003cbe0
mov rcx, qword [rax]
mov rdi, 0xffffffffffffffff
cmp dword [rcx], ebx
je 0x14005aaab
mov rbx, qword [rsp + 0x58]
lea rdx, [rbp - 0x10]
call fcn.14005b4d0
mov rcx, rax
cmp qword [rax + 0x18], 0x10
jb 0x14005a9fa
mov rcx, qword [rax]
mov qword [rsp + 0x30], rsi
mov qword [rbp - 0x20], rbx
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbp - 0x60], xmm1
mov qword [rsp + 0x30], 0xec
lea rax, [rbp - 0x70]
mov qword [rsp + 0x38], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x30], rcx
mov rax, rdi
nop dword [rax + rax]
inc rax
cmp byte [rcx + rax], r14b
jne 0x14005aa40
mov qword [rsp + 0x38], rax
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140044770
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0x10
cmovae rdx, qword [rbp + 0x10]
lea rcx, [rsp + 0x70]
call fcn.140043f20
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rbx, qword [rsp + 0x70]
call fcn.14003cbe0
mov qword [rsp + 0x20], rbx
xor r9d, r9d
lea r8, [0x140149558]
xor edx, edx
mov rcx, rax
call fcn.14003f620
mov ebx, 7
test bl, 4
je 0x14005ab06
and ebx, 0xfffffffb
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14005aaf4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005aaef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4b0
call fcn.1400f5c2c
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
test bl, 2
je 0x14005ab59
and ebx, 0xfffffffd
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x14005ab49
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ab44
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4b0
call fcn.1400f5c2c
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], r14b
test bl, 1
je 0x14005ab99
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x14005ab99
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ab94
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4b0
call fcn.1400f5c2c
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rsp + 0x60], rax
test rax, rax
jne 0x14005ae5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov dword [rbp - 0x70], 0x80728045
mov dword [rbp - 0x6c], 0x806f8072
mov dword [rbp - 0x68], 0x802c8072
mov dword [rbp - 0x64], 0x80638020
mov dword [rbp - 0x60], 0x806c8061
mov dword [rbp - 0x5c], 0x8069806c
mov dword [rbp - 0x58], 0x8067806e
mov dword [rbp - 0x54], 0x804d8020
mov dword [rbp - 0x50], 0x80708061
mov dword [rbp - 0x4c], 0x80698056
mov dword [rbp - 0x48], 0x80778065
mov dword [rbp - 0x44], 0x8066804f
mov dword [rbp - 0x40], 0x80698046
mov dword [rbp - 0x3c], 0x8065806c
mov dword [rbp - 0x38], 0x8020803a
mov dword [rbp - 0x34], 0x807d807b
mov dword [rbp - 0x30], 0x8000
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x10]
call fcn.14001a400
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
mov dword [rbp - 0x20], r15d
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x30], 2
lea rcx, [rbp - 0x20]
mov qword [rsp + 0x38], rcx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x10], xmm0
mov qword [rsp + 0x30], rax
nop dword [rax + rax]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14005ac90
mov qword [rsp + 0x38], rdi
lea r8, [rbp + 0x10]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x70]
call fcn.140022420
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
lea r14, [rbp - 0x70]
mov r12, qword [rbp - 0x58]
cmp r12, 8
setae r13b
mov rdi, qword [rbp - 0x70]
cmovae r14, rdi
mov rsi, qword [rbp - 0x60]
cmp rsi, 8
jae 0x14005acfc
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
lea rsi, [rsp + 0x70]
jmp 0x14005ad51
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x70]
call fcn.140043b70
mov qword [rsp + 0x70], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1400f8070
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rbx
lea rsi, [rsp + 0x70]
cmp rbx, 8
cmovae rsi, qword [rsp + 0x70]
call fcn.14003cbe0
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [0x140149558]
lea edx, [r9 + 8]
mov rcx, rax
call fcn.14003f620
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14005adb2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005adad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4b6
call fcn.1400f5c2c
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
test r13b, r13b
je 0x14005ae01
lea rdx, [r12*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005adf9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4b6
mov rcx, rdi
call fcn.1400f5c2c
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14005ae41
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005ae3c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4b6
call fcn.1400f5c2c
mov qword [rbp], r14
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r14w
mov r13, qword [rsp + 0x40]
jmp 0x14005b3dc
cmp dword [rax], 0x2e130
je 0x14005b06d
lea rdx, [rbp - 0x10]
call fcn.14005b620
cmp qword [rax + 0x18], 8
jb 0x14005ae7b
mov rax, qword [rax]
mov dword [rbp + 0x10], r14d
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x40], rax
nop dword [rax]
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14005aea0
mov qword [rsp + 0x48], rdi
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140022420
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
lea r14, [rbp - 0x70]
mov r15, qword [rbp - 0x58]
cmp r15, 8
setae r12b
mov rdi, qword [rbp - 0x70]
cmovae r14, rdi
mov rsi, qword [rbp - 0x60]
cmp rsi, 8
jae 0x14005af0c
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
lea rsi, [rsp + 0x70]
jmp 0x14005af61
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x70]
call fcn.140043b70
mov qword [rsp + 0x70], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1400f8070
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rbx
lea rsi, [rsp + 0x70]
cmp rbx, 8
cmovae rsi, qword [rsp + 0x70]
call fcn.14003cbe0
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [0x140149558]
lea edx, [r9 + 8]
mov rcx, rax
call fcn.14003f620
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14005afc2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005afbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4bc
call fcn.1400f5c2c
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
test r12b, r12b
je 0x14005b011
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005b009
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4bc
mov rcx, rdi
call fcn.1400f5c2c
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14005b051
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b04c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4bc
call fcn.1400f5c2c
mov qword [rbp], r14
mov qword [rbp + 8], 7
mov word [rbp - 0x10], r14w
mov r15d, 0xa0
jmp 0x14005b3dc
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x30]
call fcn.140076d60
lea rcx, [rbp + 0x30]
call fcn.14007ac10
test al, al
jne 0x14005b2d9
mov dword [rbp - 0x70], 0x80728045
mov dword [rbp - 0x6c], 0x806f8072
mov dword [rbp - 0x68], 0x80208072
mov dword [rbp - 0x64], 0x806e8069
mov dword [rbp - 0x60], 0x80628020
mov dword [rbp - 0x5c], 0x80728064
mov dword [rbp - 0x58], 0x80698065
mov dword [rbp - 0x54], 0x8069806e
mov dword [rbp - 0x50], 0x80208074
mov dword [rbp - 0x4c], 0x80758072
mov dword [rbp - 0x48], 0x8000806e
mov word [rbp - 0x44], r14w
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x10]
call fcn.14001a400
lea rax, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rax, qword [rbp - 0x10]
mov dword [rbp + 0x10], r14d
mov qword [rsp + 0x40], r14
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x48], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x40], rax
nop
inc rdi
cmp word [rax + rdi*2], r14w
jne 0x14005b120
mov qword [rsp + 0x48], rdi
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140022420
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], r14
lea r14, [rbp - 0x70]
mov r15, qword [rbp - 0x58]
cmp r15, 8
setae r12b
mov rdi, qword [rbp - 0x70]
cmovae r14, rdi
mov rsi, qword [rbp - 0x60]
cmp rsi, 8
jae 0x14005b18c
movups xmm0, xmmword [r14]
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], 7
lea rsi, [rsp + 0x70]
jmp 0x14005b1e1
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rsp + 0x70]
call fcn.140043b70
mov qword [rsp + 0x70], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1400f8070
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x78], rbx
lea rsi, [rsp + 0x70]
cmp rbx, 8
cmovae rsi, qword [rsp + 0x70]
call fcn.14003cbe0
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [0x140149558]
lea edx, [r9 + 8]
mov rcx, rax
call fcn.14003f620
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14005b242
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b23d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4aa
call fcn.1400f5c2c
xor r14d, r14d
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r14w
test r12b, r12b
je 0x14005b291
lea rdx, [r15*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14005b289
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4aa
mov rcx, rdi
call fcn.1400f5c2c
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x14005b2d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b2cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b4aa
call fcn.1400f5c2c
mov r15d, 0x306
jmp 0x14005b2dc
mov r15d, r14d
mov rbx, qword [rbp + 0x3710]
test rbx, rbx
je 0x14005b305
call qword [rbx + 0x118]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edx, 0x120
mov rcx, rbx
call fcn.1400f5c2c
nop
lea rcx, [rbp + 0x36f0]
call fcn.140043eb0
lea rcx, [rbp + 0x36d0]
call fcn.140043eb0
nop
cmp byte [rbp + 0x35e1], 0
jne 0x14005b333
lea rcx, [rbp + 0x35d8]
call fcn.14005a880
mov rcx, qword [rbp + 0x35d8]
test rcx, rcx
je 0x14005b346
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop
lea rcx, [rbp + 0x35b8]
call fcn.140043eb0
mov rcx, qword [rbp + 0x35b0]
mov qword [rbp + 0x35b0], r14
test rcx, rcx
je 0x14005b36b
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rbp + 0x35a8]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005b382
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x35a0]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005b399
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x3598]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005b3b0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x3590]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005b3c7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbp + 0x3530]
call fcn.14005b890
lea rcx, [rbp + 0x30]
call fcn.14005b730
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x60], r14
test rcx, rcx
je 0x14005b3f1
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsp + 0x58]
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x14005b407
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [r13]
cmp dword [rax], 0
je 0x14005b477
mov rbx, qword [0x14017ade0]
mov qword [rsp + 0x30], r14
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x30]
sub rax, qword [rsp + 0x68]
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rbx]
divsd xmm1, xmm0
cvtpd2ps xmm1, xmm1
cvtps2pd xmm2, xmm1
movsd qword [rsp + 0x28], xmm2
lea rax, [0x140148370]
mov qword [rsp + 0x20], rax
lea r9, str._s_n____.6f___
lea r8, [0x140149518]
xor edx, edx
mov rcx, r13
call fcn.14003bea0
nop
mov eax, r15d
mov rcx, qword [rbp + 0x3720]
xor rcx, rsp
call fcn.1400f5be0
lea r11, [rsp + 0x3830]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400fcb20
int3
call fcn.1400fcb20
int3
call fcn.1400fcb20
int3
call fcn.1400fcb20
int3