Function at 0x14002ef10
Capabilities:
Get file size

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x4b8
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov rax, qword [0x1400b14a0]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
mov rbp, r9
mov r12, r8
mov rsi, rdx
mov rbx, rcx
mov r13, qword [rsp + 0x510]
lea rdx, str.sNeedMoveXul:_check_for
lea rcx, [0x140088f68]
call fcn.140007130
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14000264c
nop
mov rdx, r12
mov rcx, rax
call fcn.140002680
mov rcx, rax
call fcn.1400018c0
mov r8, rax
lea rdx, str.INFO
mov rcx, rbp
call fcn.140018920
nop
lea rcx, [rsp + 0x50]
call fcn.140001624
mov ecx, 0x208
call fcn.14005ba80
mov rdi, rax
lea rdx, str.sZona.jar
lea rcx, [0x140088718]
call fcn.140007130
mov r8, rax
mov r9, rsi
mov edx, 0x104
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov r8, rbp
mov rdx, rdi
mov rcx, rbx
call fcn.14002ee80
mov ebx, eax
mov rcx, rdi
call fcn.14005ba88
cmp ebx, 0x407
ja 0x14002f000
lea rdx, [0x14008b928]
jmp 0x14002f1d6
mov rcx, r12
movzx eax, word [r12]
test ax, ax
je 0x14002f1cf
cmp ax, 0x20
jb 0x14002f02e
cmp ax, 0x7e
ja 0x14002f02e
add rcx, 2
movzx eax, word [rcx]
test ax, ax
jne 0x14002f011
jmp 0x14002f1cf
mov byte [r13], 1
lea rdx, str.spluginszxulrunnerplugin.properties
lea rcx, [0x140088718]
call fcn.140007130
mov r8, rax
mov r9, r12
mov edx, 0x104
lea rcx, [rsp + 0x80]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
lea rdx, str.spluginszxulrunner10plugin.properties
lea rcx, [0x140088718]
call fcn.140007130
mov r8, rax
mov r9, r12
mov edx, 0x104
lea rcx, [rsp + 0x290]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
xor edi, edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rdi + 1]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002f0e1
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x40], rdi
jne 0x14002f14f
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x290]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002f13c
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rsp + 0x40], rdi
jne 0x14002f14f
lea rdx, str.sNeedMoveXul:_XUL_properties_is_empty
jmp 0x14002f1d6
mov byte [r13 + 1], 1
movzx eax, word [rsi]
test ax, ax
je 0x14002f1a6
nop dword [rax]
cmp ax, 0x20
jb 0x14002f17a
cmp ax, 0x7e
ja 0x14002f17a
add rsi, 2
movzx eax, word [rsi]
test ax, ax
jne 0x14002f160
jmp 0x14002f1a6
lea rdx, str.sNeedMoveXul:_App_path_is_good
lea rcx, [0x140088f68]
call fcn.140007130
mov r8, rax
lea rdx, str.INFO
mov rcx, rbp
call fcn.140018920
mov byte [r13 + 2], 1
jmp 0x14002f1f4
lea rdx, str.sNeedMoveXul:_NEED
lea rcx, [0x140088f68]
call fcn.140007130
mov r8, rax
lea rdx, str.INFO
mov rcx, rbp
call fcn.140018920
mov al, 1
jmp 0x14002f1f6
lea rdx, str.sNeedMoveXul:
lea rcx, [0x140088f68]
call fcn.140007130
mov r8, rax
lea rdx, str.INFO
mov rcx, rbp
call fcn.140018920
xor al, al
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.14005ba60
add rsp, 0x4b8
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret