Function at 0x14000bdd0
Capabilities:
Check for time delay via gettickcount
Check for time delay via queryperformancecounter

Disassembly:
mov rax, rsp
push rbp
push rdi
lea rbp, [rax - 0x448]
sub rsp, 0x538
movaps xmmword [rax - 0x38], xmm6
mov qword [rax + 0x10], rbx
mov rbx, rcx
mov qword [rax + 0x18], rsi
lea rcx, [rsp + 0x60]
mov qword [rax + 0x20], r12
xor esi, esi
mov qword [rax - 0x20], r14
mov r12, r8
mov qword [rax - 0x28], r15
mov r14d, r9d
mov r15, rdx
mov edi, esi
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
je 0x14000be43
lea rcx, [rbp + 0x450]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm6, xmm6
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x60]
cvtsi2sd xmm6, qword [rbp + 0x450]
divsd xmm6, xmm0
jmp 0x14000be5b
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm6, xmm6
mov eax, eax
cvtsi2sd xmm6, rax
mulsd xmm6, qword [0x1400619a8]
xor edx, edx
lea rcx, [rbp + 0x110]
mov r8d, 0x300
call fcn.14004bf90
xorps xmm0, xmm0
lea rcx, str.old_:__
xorps xmm1, xmm1
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rsp + 0x70], xmm1
movups xmmword [rbp - 0x80], xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
call fcn.140007140
test rbx, rbx
je 0x14000bec3
mov rcx, rbx
call fcn.140007400
lea rcx, str.__ndiff:__
call fcn.140007140
mov rcx, r15
call fcn.140007400
lea rcx, str.__nout_:__
call fcn.140007140
mov rcx, r12
call fcn.140007400
lea rcx, [0x140060060]
call fcn.140007140
test rbx, rbx
je 0x14000bf45
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], sil
jne 0x14000bf03
test rax, rax
je 0x14000bf45
mov rdx, rbx
lea rcx, [rbp - 0x50]
call fcn.140006b10
test eax, eax
jne 0x14000bf50
lea ecx, [rax + 2]
call fcn.1400313a0
mov rcx, rax
lea rdx, str.open_oldFile_for_read_ERROR__n
call fcn.140002780
xor r12d, r12d
mov edi, 2
jmp 0x14000c240
lea rax, [0x14000e170]
mov qword [rbp - 0x40], rax
mov rdx, r15
lea rcx, [rsp + 0x70]
call fcn.140006b10
test eax, eax
jne 0x14000bf85
lea ecx, [rax + 2]
call fcn.1400313a0
mov rcx, rax
lea rdx, str.open_diffFile_for_read_ERROR__n
call fcn.140002780
xor r12d, r12d
mov edi, 2
jmp 0x14000c240
mov rcx, qword [rbp + 0x478]
test rcx, rcx
je 0x14000c04a
mov rax, qword [rsp + 0x78]
cmp rax, rcx
jae 0x14000c007
call fcn.1400335c8
mov edi, 0x1b
mov dword [rax], edi
mov eax, dword [rbp - 0x58]
cmp eax, edi
je 0x14000bfe1
test eax, eax
mov ecx, edi
cmove eax, edi
mov dword [rbp - 0x58], eax
call fcn.140033668
lea ecx, [rdi - 0x19]
mov rbx, rax
call fcn.1400313a0
mov rcx, rax
lea rdx, str.call_import_system_api_error__errno:__d__errmsg:__s._n
mov r9, rbx
mov r8d, edi
call fcn.140002780
mov ecx, 2
call fcn.1400313a0
mov rcx, rax
lea rdx, str.readed_sfx_diffFile_offset_ERROR__n
call fcn.140002780
xor r12d, r12d
mov edi, 0xcd
jmp 0x14000c240
add qword [rbp - 0x60], rcx
sub rax, rcx
mov rcx, qword [rbp + 0x480]
mov qword [rsp + 0x78], rax
cmp rax, rcx
jae 0x14000c045
mov ecx, 2
call fcn.1400313a0
mov rcx, rax
lea rdx, str.readed_sfx_diffFile_size_ERROR__n
call fcn.140002780
xor r12d, r12d
mov edi, 0xcd
jmp 0x14000c240
mov qword [rsp + 0x78], rcx
mov rdx, qword [rbp - 0x48]
lea rcx, str.__input_oldDataSize:__I64u_n
call fcn.140007140
mov rdx, qword [rsp + 0x78]
lea rcx, str._______diffDataSize:__I64u_n
call fcn.140007140
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x110]
call fcn.14000b320
mov ebx, eax
test eax, eax
je 0x14000c091
cmp eax, 0xa
je 0x14000c091
mov edi, eax
xor r12d, r12d
jmp 0x14000c240
xor edx, edx
lea rcx, [rbp + 0x110]
call fcn.14000b6e0
lea rcx, [0x140060260]
call fcn.140007140
test ebx, ebx
je 0x14000c0b9
mov edi, ebx
xor r12d, r12d
jmp 0x14000c240
cmp qword [rbp + 0x3e8], rsi
mov rax, rsi
mov qword [rsp + 0x530], r13
lea r13, [rbp + 0x3e0]
cmove r13, rax
mov rax, qword [rbp + 0x128]
cmp qword [rbp - 0x48], rax
je 0x14000c11a
cmp rax, 0xffffffffffffffff
je 0x14000c11a
mov ecx, 2
call fcn.1400313a0
mov r9, qword [rbp + 0x128]
lea rdx, str.input_oldFile_oldDataSize__I64u___diffFile_saved_oldDataSize__I64u_ERROR__n
mov r8, qword [rbp - 0x48]
mov rcx, rax
call fcn.140002780
xor r12d, r12d
mov edi, 6
jmp 0x14000c235
mov r8, qword [rbp + 0x120]
lea rcx, [rbp - 0x10]
mov rdx, r12
call fcn.140007020
test eax, eax
jne 0x14000c155
lea ecx, [rax + 2]
call fcn.1400313a0
mov rcx, rax
lea rdx, str.open_out_newFile_for_write_ERROR__n
call fcn.140002780
xor r12d, r12d
mov edi, 3
jmp 0x14000c235
mov eax, dword [rbp + 0x118]
mov r10d, 1
test eax, eax
je 0x14000c169
mov dword [rbp + 0x2c], r10d
mov rcx, qword [rbp - 0x48]
mov r9, rcx
test eax, eax
je 0x14000c1a7
mov rdx, qword [rbp + 0x3c8]
mov rcx, qword [rbp + 0x3d0]
mov r8d, dword [rbp + 0x3bc]
add rcx, rdx
test r8d, r8d
jne 0x14000c19d
lea rax, [r9 + 0x4000000]
cmp rcx, rax
jbe 0x14000c1a0
mov rcx, rdx
test r8d, r8d
cmove r14d, r10d
xor r12d, r12d
mov edx, 0x8000
cmp dword [rbp + 0x110], esi
mov r15d, r12d
cmovne r15, qword [rbp + 0x268]
add rcx, 0x200000
test r14d, r14d
jne 0x14000c1e1
mov rax, qword [rbp + 0x470]
cmp rax, rdx
cmovb rax, rdx
cmp rax, rcx
cmovb rcx, rax
mov rbx, r15
not rbx
cmp rcx, rbx
cmovbe rbx, rcx
cmp rbx, rdx
jb 0x14000c217
lea r14, [rbx + r15]
mov rcx, r14
call fcn.140033708
mov rsi, rax
test rax, rax
jne 0x14000c430
shr rbx, 1
cmp rbx, 0x8000
jae 0x14000c1f3
mov ecx, 2
call fcn.1400313a0
lea rdx, str.alloc_cache_memory_ERROR__n
mov rcx, rax
call fcn.140002780
mov edi, 8
mov r13, qword [rsp + 0x530]
nop dword [rax]
mov rcx, qword [rbp + 0x10]
mov r15d, 7
test rcx, rcx
je 0x14000c2c2
mov qword [rbp + 0x10], r12
call fcn.14003457c
test eax, eax
je 0x14000c2c2
call fcn.1400335c8
mov r14d, dword [rax]
mov eax, dword [rbp + 0x28]
cmp eax, r14d
je 0x14000c2a3
test r14d, r14d
je 0x14000c2a3
test eax, eax
mov ecx, r14d
cmove eax, r14d
mov dword [rbp + 0x28], eax
call fcn.140033668
lea ecx, [r15 - 5]
mov rbx, rax
call fcn.1400313a0
mov rcx, rax
lea rdx, str.call_import_system_api_error__errno:__d__errmsg:__s._n
mov r9, rbx
mov r8d, r14d
call fcn.140002780
mov ecx, 2
call fcn.1400313a0
mov rcx, rax
lea rdx, str.out_newFile_close_ERROR__n
call fcn.140002780
test edi, edi
cmove edi, r15d
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x14000c33f
mov qword [rbp - 0x70], r12
call fcn.14003457c
test eax, eax
je 0x14000c33f
call fcn.1400335c8
mov r14d, dword [rax]
mov eax, dword [rbp - 0x58]
cmp eax, r14d
je 0x14000c320
test r14d, r14d
je 0x14000c320
test eax, eax
mov ecx, r14d
cmove eax, r14d
mov dword [rbp - 0x58], eax
call fcn.140033668
mov ecx, 2
mov rbx, rax
call fcn.1400313a0
mov rcx, rax
lea rdx, str.call_import_system_api_error__errno:__d__errmsg:__s._n
mov r9, rbx
mov r8d, r14d
call fcn.140002780
mov ecx, 2
call fcn.1400313a0
mov rcx, rax
lea rdx, str.diffFile_close_ERROR__n
call fcn.140002780
test edi, edi
cmove edi, r15d
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14000c3bc
mov qword [rbp - 0x30], r12
call fcn.14003457c
test eax, eax
je 0x14000c3bc
call fcn.1400335c8
mov r14d, dword [rax]
mov eax, dword [rbp - 0x18]
cmp eax, r14d
je 0x14000c39d
test r14d, r14d
je 0x14000c39d
test eax, eax
mov ecx, r14d
cmove eax, r14d
mov dword [rbp - 0x18], eax
call fcn.140033668
mov ecx, 2
mov rbx, rax
call fcn.1400313a0
mov rcx, rax
lea rdx, str.call_import_system_api_error__errno:__d__errmsg:__s._n
mov r9, rbx
mov r8d, r14d
call fcn.140002780
mov ecx, 2
call fcn.1400313a0
mov rcx, rax
lea rdx, str.oldFile_close_ERROR__n
call fcn.140002780
test edi, edi
cmove edi, r15d
mov r15, qword [rsp + 0x520]
mov r14, qword [rsp + 0x528]
mov r12, qword [rsp + 0x568]
mov rbx, qword [rsp + 0x558]
test rsi, rsi
je 0x14000c3e9
mov rcx, rsi
call fcn.1400335e8
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov rsi, qword [rsp + 0x560]
test eax, eax
je 0x14000c7da
lea rcx, [rbp + 0x450]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
xorps xmm1, xmm1
xorps xmm0, xmm0
cvtsi2sd xmm1, qword [rbp + 0x450]
cvtsi2sd xmm0, qword [rsp + 0x60]
divsd xmm1, xmm0
jmp 0x14000c7f2
cmp dword [rbp + 0x110], edi
je 0x14000c4b0
mov rcx, qword [rbp + 0x268]
lea rax, [rcx + 0x3000]
cmp r14, rax
jb 0x14000c217
mov r9, qword [rbp + 0x258]
lea rax, [r14 + rsi]
mov qword [rsp + 0x50], rax
lea r8, [rsp + 0x70]
mov rax, qword [rbp + 0x260]
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rcx
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x38], rax
mov rax, qword [rbp + 0x250]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x248]
mov qword [rsp + 0x20], rax
call fcn.140010a80
test eax, eax
mov ebx, 0x10
jmp 0x14000c5fa
add rax, r14
cmp dword [rbp + 0x114], edi
je 0x14000c4e6
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x70]
mov r9, r13
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140002270
test eax, eax
mov ebx, 0x11
jmp 0x14000c5fa
cmp dword [rbp + 0x118], edi
je 0x14000c63b
lea rdx, [rsp + 0x70]
mov qword [rbp + 0xa8], r12
lea rcx, [rbp + 0x40]
mov qword [rbp + 0xd8], r12
mov rbx, r13
mov qword [rbp + 0x108], r12
call fcn.140011610
test eax, eax
jne 0x14000c524
mov r14d, r12d
jmp 0x14000c5f2
cmp dword [rbp + 0x60], edi
je 0x14000c536
test rbx, rbx
jne 0x14000c539
mov r14d, r12d
jmp 0x14000c5f2
mov rbx, r12
mov eax, dword [rbp + 0x488]
lea r8, [rsp + 0x70]
mov qword [rsp + 0x50], r14
lea rdx, [rbp - 0x50]
mov qword [rsp + 0x48], rsi
lea rcx, [rbp - 0x10]
mov dword [rsp + 0x40], eax
mov r9, rbx
mov eax, dword [rbp + 0x58]
mov dword [rsp + 0x38], eax
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x20], rax
call fcn.140012c60
mov rdx, qword [rbp + 0xa8]
mov r14d, eax
test rdx, rdx
je 0x14000c5af
mov rcx, rbx
call qword [rbx + 0x10]
mov ecx, r12d
mov qword [rbp + 0xa8], r12
test eax, eax
cmovne ecx, r14d
mov r14d, ecx
mov rdx, qword [rbp + 0xd8]
test rdx, rdx
je 0x14000c5d4
mov rcx, rbx
call qword [rbx + 0x10]
mov ecx, r12d
mov qword [rbp + 0xd8], r12
test eax, eax
cmovne ecx, r14d
mov r14d, ecx
mov rdx, qword [rbp + 0x108]
test rdx, rdx
je 0x14000c5f2
mov rcx, rbx
call qword [rbx + 0x10]
test eax, eax
mov ecx, r12d
cmovne ecx, r14d
mov r14d, ecx
mov ebx, 0x12
test r14d, r14d
cmovne ebx, r12d
test ebx, ebx
jne 0x14000c661
mov rax, qword [rbp - 8]
cmp qword [rbp + 0x38], rax
je 0x14000c7c9
mov ecx, 2
call fcn.1400313a0
mov r9, qword [rbp - 8]
lea rdx, str.out_newFile_dataSize__I64u___diffFile_saved_newDataSize__I64u_ERROR__n
mov r8, qword [rbp + 0x38]
mov rcx, rax
call fcn.140002780
mov edi, 6
jmp 0x14000c235
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x70]
mov r9, r13
mov qword [rsp + 0x20], rsi
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x10]
call fcn.140010990
test eax, eax
jne 0x14000c602
lea ebx, [rax + 0xb]
cmp dword [rbp - 0x18], edi
je 0x14000c689
mov ecx, 2
call fcn.1400313a0
mov rcx, rax
lea rdx, str.oldFile_read_ERROR__n
call fcn.140002780
mov edi, 4
jmp 0x14000c235
cmp dword [rbp - 0x58], edi
je 0x14000c6b1
mov ecx, 2
call fcn.1400313a0
mov rcx, rax
lea rdx, str.diffFile_read_ERROR__n
call fcn.140002780
mov edi, 4
jmp 0x14000c235
mov eax, dword [rbp + 0x28]
test eax, eax
je 0x14000c6fe
mov ecx, 2
cmp eax, 0x1c
jne 0x14000c6e0
call fcn.1400313a0
mov rcx, rax
lea rdx, str.out_newFile_write_ERROR__n
call fcn.140002780
mov edi, 0x18
jmp 0x14000c235
call fcn.1400313a0
mov rcx, rax
lea rdx, str.out_newFile_write_ERROR__n
call fcn.140002780
mov edi, 5
jmp 0x14000c235
test r13, r13
je 0x14000c7a9
mov ecx, dword [r13 + 0x28]
test ecx, ecx
je 0x14000c7a9
sub ecx, 1
je 0x14000c786
sub ecx, 1
je 0x14000c763
cmp ecx, 2
mov ecx, 2
je 0x14000c745
call fcn.1400313a0
mov rcx, rax
lea rdx, str.decompressPlugin_decompress_ERROR__n
call fcn.140002780
mov edi, 0x17
jmp 0x14000c235
call fcn.1400313a0
mov rcx, rax
lea rdx, str.decompressPlugin_close_ERROR__n
call fcn.140002780
mov edi, 0x15
jmp 0x14000c235
mov ecx, 2
call fcn.1400313a0
mov rcx, rax
lea rdx, str.decompressPlugin_open_ERROR__n
call fcn.140002780
mov edi, 0x14
jmp 0x14000c235
mov ecx, 2
call fcn.1400313a0
mov rcx, rax
lea rdx, str.decompressPlugin_alloc_memory_ERROR__n
call fcn.140002780
mov edi, 0x16
jmp 0x14000c235
mov ecx, 2
call fcn.1400313a0
mov rcx, rax
lea rdx, str.patch_run_ERROR__n
call fcn.140002780
mov edi, ebx
jmp 0x14000c235
lea rcx, str.__patch_ok__n
call fcn.140007140
jmp 0x14000c235
call qword [sym.imp.KERNEL32.dll_GetTickCount]
xorps xmm1, xmm1
mov ecx, eax
cvtsi2sd xmm1, rcx
mulsd xmm1, qword [0x1400619a8]
subsd xmm1, xmm6
lea rcx, str._ntime:__.3f_s_n
movq rdx, xmm1
call fcn.140007140
movaps xmm6, xmmword [rsp + 0x510]
mov eax, edi
add rsp, 0x538
pop rdi
pop rbp
ret