Function at 0x14002b320
Capabilities:
Check for time delay via gettickcount
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r14
lea rbp, [rax - 0x438]
sub rsp, 0x510
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov rdi, rcx
lea rdx, str.doInstall
lea rcx, [rbp + 0x130]
call fcn.14000264c
nop
mov rbx, qword [rdi + 8]
lea rcx, [rbx + 0xc58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbx + 0xc58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea r12, [rbx + 0xc80]
lea rdx, [rbp + 0x130]
mov rcx, r12
call fcn.14004ad80
or rsi, 0xffffffffffffffff
xor r13d, r13d
cmp qword [rax], r13
jne 0x14002b40c
lea ecx, [rsi + 0x31]
call fcn.14005baec
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b3f7
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140001678
nop
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp + 0x130]
mov rcx, rbx
call fcn.1400028b0
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x2c], eax
mov dword [rbx + 0x28], eax
jmp 0x14002b3fa
mov rbx, r13
lea rdx, [rbp + 0x130]
mov rcx, r12
call fcn.14004ad80
mov qword [rax], rbx
lea rcx, [rbp + 0x130]
call fcn.140001624
mov rcx, qword [rdi + 0x80]
call fcn.14002ce40
test al, al
je 0x14002baff
mov ecx, 0x418
call fcn.14005baec
mov rbx, rax
mov qword [rsp + 0x30], rax
lea r14, vtable.CommandWithOneArg.0
test rax, rax
je 0x14002b486
mov rcx, qword [rdi + 8]
lea r12, [rcx + 0x744]
cmp word [r12], 0
jne 0x14002b462
mov rax, qword [rcx]
call qword [rax]
mov qword [rbx], r14
lea rcx, [rbx + 8]
mov word [rcx], r13w
mov r8, r12
mov edx, 0x208
call fcn.14005c0fc
lea r11, vtable.CreateFolderCommand.0
mov qword [rbx], r11
jmp 0x14002b489
mov rbx, r13
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x8e50]
mov rax, qword [rcx]
mov r9d, 0x100
lea r8, [rbp + 0x200]
mov rdx, rbx
call qword [rax]
mov rcx, rbx
call fcn.14005ba88
cmp word [rbp + 0x200], 0x30
je 0x14002b55f
lea rcx, [rbp - 0x20]
call fcn.1400082d0
nop
lea rdx, str.reateDir_
lea rcx, [0x1400884c0]
call fcn.140007130
mov rdx, rax
lea rcx, [rbp - 0x10]
call fcn.14000cf40
mov rcx, rax
lea rdx, [rbp + 0x200]
call fcn.14000cf40
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp - 0x20]
call fcn.140008470
nop
mov rcx, qword [rdi + 8]
add rcx, 0x8fb0
mov r9, rsi
xor r8d, r8d
lea rdx, [rbp + 0x1a8]
call fcn.14000272c
mov rcx, rax
lea rdx, [0x14008a1a0]
call fcn.140002680
nop
lea rcx, [rbp + 0x1a8]
call fcn.140001624
nop
lea rcx, [rbp + 0x78]
call fcn.1400083a0
lea r11, vtable.std::ios_base.0
mov qword [rbp + 0x78], r11
lea rcx, [rbp + 0x78]
call fcn.140074548
mov rcx, qword [rdi + 8]
lea rbx, [rcx + 0x744]
cmp word [rbx], 0
jne 0x14002b575
mov rax, qword [rcx]
call qword [rax]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002b587
test al, 0x10
jne 0x14002b5c6
mov rcx, qword [rdi + 8]
lea rbx, [rcx + 0x744]
cmp word [rbx], 0
jne 0x14002b59d
mov rax, qword [rcx]
call qword [rax]
mov rdx, rbx
lea rcx, [rbp + 0x1d0]
call fcn.14000264c
nop
mov rdx, rax
mov rcx, qword [rdi + 8]
call fcn.140022180
nop
lea rcx, [rbp + 0x1d0]
call fcn.140001624
mov ecx, 0x418
call fcn.14005baec
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b60a
mov rcx, qword [rdi + 8]
call fcn.140022b70
mov qword [rbx], r14
lea rcx, [rbx + 8]
mov word [rcx], r13w
mov r8, rax
mov edx, 0x208
call fcn.14005c0fc
lea r11, vtable.ExtractUtilsJarCommand.0
mov qword [rbx], r11
jmp 0x14002b60d
mov rbx, r13
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 0x8e50]
mov rax, qword [rcx]
mov r9d, 0x100
lea r8, [rbp + 0x200]
mov rdx, rbx
call qword [rax]
mov rcx, rbx
call fcn.14005ba88
mov r11, qword [rdi + 8]
mov rbx, qword [r11 + 0x8e40]
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x58], rbx
mov dword [rdi + 0x78], 3
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.14002ad40
mov r12, rax
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x158]
call fcn.140001678
nop
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x108]
call fcn.140001678
nop
mov rcx, qword [rdi + 8]
call fcn.140022bf0
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.14000264c
nop
lea rdx, [0x14008a950]
lea rcx, [0x1400887bc]
call fcn.140007130
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140002680
mov r11, qword [rdi + 8]
mov rbx, qword [r11 + 0x8e40]
lea rdx, str.ona.ebz
lea rcx, [0x14008a0f8]
call fcn.140007130
mov rdx, rax
mov r9, rbx
lea r8, [rbp + 0x158]
lea rcx, [rbp + 0xe0]
call fcn.140006990
mov r11, qword [rdi + 8]
mov rbx, qword [r11 + 0x8e40]
lea rdx, str.ppdata.ebz
lea rcx, [0x14008a980]
call fcn.140007130
mov rdx, rax
mov r9, rbx
lea r8, [rbp + 0x108]
lea rcx, [rbp + 0xe0]
call fcn.140006990
mov ecx, 0x68
call fcn.14005baec
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b76d
lea rcx, [rbp + 0x158]
call fcn.1400018c0
mov rdx, rax
mov rcx, rbx
call fcn.140055fc0
jmp 0x14002b770
mov rax, r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x40], r13
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.14002c5c0
nop
mov ecx, 0x68
call fcn.14005baec
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14002b7b8
lea rcx, [rbp + 0x108]
call fcn.1400018c0
mov rdx, rax
mov rcx, rbx
call fcn.140055fc0
jmp 0x14002b7bb
mov rax, r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14002c5c0
nop
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14002b828
mov eax, dword [rdx + 8]
test eax, eax
je 0x14002b828
nop dword [rax + rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14002b813
mov eax, dword [rdx + 8]
test eax, eax
jne 0x14002b800
jmp 0x14002b828
mov r8, qword [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x58]
call fcn.14002c720
nop
mov qword [rsp + 0x68], r13
mov qword [rsp + 0x70], r13
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14002b86a
mov eax, dword [rdx + 8]
test eax, eax
je 0x14002b86a
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x14002b856
mov eax, dword [rdx + 8]
test eax, eax
jne 0x14002b843
jmp 0x14002b86a
mov r8, qword [rsp + 0x40]
mov rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x68]
call fcn.14002c720
mov rax, qword [rdi]
lea r9, [rdi + 0x28]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
lea r8, [rbp - 0x80]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x48]
mov r11, qword [rdi + 8]
lea r8, str.Wait_for_download_packs...
lea rdx, str.INFO
mov rcx, qword [r11 + 0x8e40]
call fcn.140018920
test r12, r12
je 0x14002b8cf
mov edx, 0x36ee80
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002b8d6
mov dword [rdi + 0x78], 2
mov edx, 0x36ee80
lea rcx, [rbp - 0x80]
call fcn.1400504d0
test al, al
je 0x14002b9a6
mov rax, qword [rdi + 8]
lea r8, str.Zona_packs_are_downloaded
lea rdx, str.INFO
mov rcx, qword [rax + 0x8e40]
call fcn.140018920
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14002b929
mov rax, qword [rcx]
movss xmm3, dword [0x14009219c]
mov edx, 2
lea r8d, [rdx - 1]
call qword [rax]
mov rax, qword [rdi]
mov rdx, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x40]
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x30]
test al, al
je 0x14002b968
mov rax, qword [rdi]
lea rcx, [rbp + 0x108]
mov qword [rsp + 0x20], rcx
lea r9, [rbp + 0x158]
mov r8, rdi
mov rdx, qword [rdi + 8]
mov rcx, rdi
call qword [rax + 0x50]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14002b987
mov rax, qword [rcx]
movss xmm3, dword [0x140091d40]
mov edx, 3
lea r8d, [rdx + 0x61]
call qword [rax]
mov rcx, qword [rdi + 8]
call fcn.14002a030
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14002b9f3
mov rax, qword [rcx]
mov edx, 0x5a
call qword [rax + 0x18]
jmp 0x14002b9f3
mov rax, qword [0x1400b7490]
lea rdx, str.ZONA_COMPONENT_DOWNLOAD_FAILED
mov rcx, qword [rax + 0x20]
call fcn.14001dd90
mov r9d, 0x10
lea r8, str.Zona
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxW]
mov r11, qword [rdi + 8]
lea r8, str.Zona_packs_are_FAILED
lea rdx, str.INFO
mov rcx, qword [r11 + 0x8e40]
call fcn.140018920
lea rdx, str.doInstall
lea rcx, [rbp + 0x180]
call fcn.14000264c
nop
mov rbx, qword [rdi + 8]
lea rcx, [rbx + 0xc58]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, [rbx + 0xc58]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rcx, [rbx + 0xc80]
lea rdx, [rbp + 0x180]
call fcn.14004ad80
mov rbx, qword [rax]
test rbx, rbx
je 0x14002ba49
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [rbx + 0x2c], eax
lea rcx, [rbp + 0x180]
call fcn.140001624
nop
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14002ba85
lock dec dword [rdx + 8]
jne 0x14002ba85
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x14002ba85
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
mov rdx, qword [rsp + 0x40]
test rdx, rdx
je 0x14002bab4
lock dec dword [rdx + 8]
jne 0x14002bab4
mov rbx, qword [rsp + 0x40]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock dec dword [rbx + 0xc]
jne 0x14002bab4
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
nop
lea rcx, [rbp + 0xe0]
call fcn.140001624
nop
lea rcx, [rbp + 0x108]
call fcn.140001624
nop
lea rcx, [rbp + 0x158]
call fcn.140001624
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14002bae9
call fcn.14005ba88
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov qword [rbp - 0x40], r13
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.14005ba60
lea r11, [rsp + 0x510]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rbp
ret