Function at 0x14000a4c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov dword [rax + 0x20], r9d
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1e8]
sub rsp, 0x2c0
movaps xmmword [rax - 0x38], xmm6
mov r14d, r9d
mov r15, r8
mov r12, rdx
mov rdi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, str.old_:___s__ndiff:___s__nout_:___s__n
mov r9, r15
pxor xmm6, xmm6
mov eax, eax
mov r8, r12
mov rdx, rdi
xor r13d, r13d
xor esi, esi
cvtsi2sd xmm6, rax
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mulsd xmm6, qword [0x140022650]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
call fcn.14000eca4
cmp qword [rbp + 8], rbx
jne 0x14000aaba
lea r8, [rbp - 8]
lea rdx, [rbp + 8]
mov rcx, rdi
call fcn.140009630
test eax, eax
je 0x14000aaba
lea rax, [rbp - 0x10]
lea rdi, [fcn.140009710]
mov qword [rbp + 0x10], rbx
mov qword [rbp + 0x18], rbx
mov dword [rbp + 0x20], ebx
mov qword [rbp - 0x10], rax
mov qword [rbp], rdi
cmp qword [rbp - 0x68], rbx
jne 0x14000aab1
lea r8, [rbp - 0x78]
lea rdx, [rbp - 0x68]
mov rcx, r12
call fcn.140009630
test eax, eax
je 0x14000aab1
xor r12d, r12d
lea rax, [rbp - 0x80]
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov dword [rbp - 0x50], r12d
test r14d, r14d
je 0x14000a700
mov r12d, 9
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x80]
mov edi, r12d
cmp qword [rbp - 0x78], rdi
cmovb edi, dword [rbp - 0x78]
xor edx, edx
movsxd r14, edi
lea r9, [rsp + r14 + 0x50]
call fcn.140009710
cmp edi, eax
je 0x14000a64e
lea rcx, str.read_diffFile_ERROR__n
call fcn.14000eca4
mov ebx, 4
jmp 0x14000aad0
cmp r14, 4
jb 0x14000a6ea
movzx eax, byte [rsp + 0x51]
movzx ecx, byte [rsp + 0x52]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x50]
shl ecx, 8
movsxd rdx, ecx
or rdx, rax
movzx eax, byte [rsp + 0x53]
cmp al, 0xff
je 0x14000a68f
movzx eax, al
mov r12d, 4
shl eax, 0x18
movsxd rdi, eax
jmp 0x14000a6cd
cmp r14, r12
jb 0x14000a6ea
movzx eax, byte [rsp + 0x57]
movzx ecx, byte [rsp + 0x58]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x56]
shl ecx, 8
or ecx, eax
movzx eax, byte [rsp + 0x55]
shl ecx, 8
movsxd rdi, ecx
or rdi, rax
movzx eax, byte [rsp + 0x54]
shl eax, 0x18
shl rdi, 0x20
movsxd rcx, eax
or rdi, rcx
mov r14d, dword [rbp + 0x208]
movsxd rax, r12d
or rdi, rdx
sub qword [rbp - 0x78], rax
xor r12d, r12d
mov qword [rbp - 0x58], rax
jmp 0x14000a816
lea rcx, str.read_diffFile_savedNewSize_ERROR__n
call fcn.14000eca4
mov ebx, 6
jmp 0x14000aad0
lea r8, [rbp - 0x80]
lea rdx, [rbp + 0x150]
lea rcx, [rbp + 0x30]
call fcn.14000be60
test eax, eax
jne 0x14000a737
cmp dword [rbp - 0x50], ebx
jne 0x14000a638
lea rcx, str.is_hdiff_file__getCompressedDiffInfo___ERROR__n
call fcn.14000eca4
mov ebx, 9
jmp 0x14000aad0
mov rdx, qword [rbp - 8]
mov r8, qword [rbp + 0x38]
cmp rdx, r8
je 0x14000a75a
lea rcx, str.oldFile_dataSize__I64d___diffFile_saved_oldDataSize__I64d_ERROR__n
call fcn.14000eca4
mov ebx, 6
jmp 0x14000aad0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp + 0x44]
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x14000a7cc
lea r13, [0x1400263b0]
lea rdx, [rbp + 0x30]
mov rcx, r13
call qword [0x1400263b0]
test eax, eax
jne 0x14000a7b6
lea r13, [0x1400263d0]
lea rdx, [rbp + 0x30]
mov rcx, r13
call qword [0x1400263d0]
test eax, eax
jne 0x14000a7b6
lea r13, [0x1400263f0]
lea rdx, [rbp + 0x30]
mov rcx, r13
call qword [0x1400263f0]
test eax, eax
je 0x14000a7cc
mov r8d, dword [rbp + 0x40]
lea rdx, [rbp + 0x44]
lea rcx, str.hpatchz_run_with_decompress_plugin:___s___need_decompress__d__n
call fcn.14000eca4
jmp 0x14000a812
cmp dword [rbp + 0x40], ebx
jle 0x14000a7eb
lea rdx, [rbp + 0x44]
lea rcx, str.can_no_decompress___s__data_ERROR__n
call fcn.14000eca4
mov ebx, 0xa
jmp 0x14000aad0
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rbp + 0x44]
repne scasb al, byte [rdi]
not rcx
dec rcx
je 0x14000a80f
lea rdx, [rbp + 0x44]
lea rcx, str.__diffFile_added_useless_compress_tag___s__n
call fcn.14000eca4
mov r13, r12
mov rdi, qword [rbp + 0x30]
cmp qword [rbp - 0x30], rbx
jne 0x14000aa9e
lea r8, [0x140021f84]
lea rcx, [rsp + 0x60]
mov rdx, r15
mov qword [rsp + 0x60], r12
call fcn.14000dcd8
test eax, eax
jne 0x14000aa9e
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x14000aa9e
mov r8, qword [rbp - 0x78]
mov rdx, qword [rbp - 8]
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x48]
lea rcx, str.oldDataSize_:__I64d_ndiffDataSize:__I64d_nnewDataSize_:__I64d_n
mov r9, rdi
mov qword [rbp - 0x48], rax
lea rax, [0x1400097b0]
mov qword [rbp - 0x40], rdi
mov qword [rbp - 0x28], r12
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x38], rax
call fcn.14000eca4
cmp dword [rbp + 0x210], ebx
je 0x14000a8a2
mov rdi, qword [rbp - 8]
add rdi, 0x200000
jmp 0x14000a8c0
mov rdi, qword [rbp + 0x218]
mov rax, qword [rbp - 8]
add rax, 0x200000
cmp rdi, rax
cmova rdi, rax
nop word [rax + rax]
mov rcx, rdi
call fcn.14000d988
mov rsi, rax
test rax, rax
jne 0x14000a8de
cmp rdi, 0x4000
jb 0x14000a8c0
shr rdi, 1
jmp 0x14000a8c0
mov r8, qword [rbp - 0x40]
add rax, rdi
mov dword [rsp + 0x60], r12d
lea r9, [rbp - 0x80]
test r14d, r14d
je 0x14000a980
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x10]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], r12d
call fcn.14000d2c0
cmp dword [rsp + 0x60], ebx
jne 0x14000aa43
mov rax, qword [rsp + 0x78]
mov r9, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
lea r8, [rbp - 0x80]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x20], rax
call fcn.14000bc70
jmp 0x14000aa0b
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x10]
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x60]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 1
call fcn.14000d2c0
cmp dword [rsp + 0x60], ebx
jne 0x14000aa43
mov rax, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x78]
lea r8, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov r9, r13
mov qword [rsp + 0x20], rax
call fcn.14000c290
test eax, eax
je 0x14000aa43
mov rdx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x40]
cmp rdx, r8
je 0x14000aa32
lea rcx, str.out_newFile_dataSize__I64d___diffFile_saved_newDataSize__I64d_ERROR__n
call fcn.14000eca4
mov ebx, 6
jmp 0x14000aad0
lea rcx, str.__patch_ok__n
call fcn.14000eca4
jmp 0x14000aad0
cmp dword [rbp + 0x20], ebx
je 0x14000aa5b
lea rcx, str.oldFile_read_ERROR__n
call fcn.14000eca4
mov ebx, 4
jmp 0x14000aad0
cmp dword [rbp - 0x50], ebx
je 0x14000aa73
lea rcx, str.diffFile_read_ERROR__n
call fcn.14000eca4
mov ebx, 4
jmp 0x14000aad0
cmp dword [rbp - 0x18], ebx
je 0x14000aa8b
lea rcx, str.out_newFile_write_ERROR__n
call fcn.14000eca4
mov ebx, 5
jmp 0x14000aad0
lea rcx, str.patch_run_ERROR__n
call fcn.14000eca4
mov ebx, 0xb
jmp 0x14000aad0
lea rcx, str.open_out_newFile_for_write_ERROR__n
call fcn.14000eca4
mov ebx, 3
jmp 0x14000aad0
lea rcx, str.open_diffFile_for_read_ERROR__n
jmp 0x14000aac1
lea rcx, str.open_oldFile_for_read_ERROR__n
call fcn.14000eca4
mov ebx, 2
nop dword [rax + rax]
mov rcx, qword [rbp - 0x30]
mov edi, 7
test rcx, rcx
je 0x14000ab00
mov qword [rbp - 0x30], 0
call fcn.14000e3e8
test eax, eax
je 0x14000ab00
lea rcx, str.out_newFile_close_ERROR__n
call fcn.14000eca4
test ebx, ebx
cmove ebx, edi
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14000ab2b
mov qword [rbp - 0x68], 0
call fcn.14000e3e8
test eax, eax
je 0x14000ab2b
lea rcx, str.diffFile_close_ERROR__n
call fcn.14000eca4
test ebx, ebx
cmove ebx, edi
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14000ab56
mov qword [rbp + 8], 0
call fcn.14000e3e8
test eax, eax
je 0x14000ab56
lea rcx, str.oldFile_close_ERROR__n
call fcn.14000eca4
test ebx, ebx
cmove ebx, edi
test rsi, rsi
je 0x14000ab63
mov rcx, rsi
call fcn.14000d948
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea rcx, str._nhpatchz_time:__.3f_s_n
mov edx, eax
pxor xmm1, xmm1
cvtsi2sd xmm1, rdx
mulsd xmm1, qword [0x140022650]
subsd xmm1, xmm6
movq rdx, xmm1
call fcn.14000eca4
lea r11, [rsp + 0x2c0]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret