Function at 0x140003a5b
Capabilities:
Get file size

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x278
mov esi, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r8d, 0x400
xor ecx, ecx
add eax, 0x3e8
mov dword [0x14001c940], eax
mov rax, qword [0x14000c0f0]
mov rdi, qword [rax]
lea r13, [rdi + 0xd800]
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r8d, 3
mov edx, 0x80000000
mov rcx, r13
call fcn.140006f87
mov r12, rax
mov qword [0x14000a028], rax
lea rax, [0x14000b1c0]
cmp r12, 0xffffffffffffffff
je 0x140003d97
lea r14, [rdi + 0xb800]
mov rdx, r13
lea r15, [rsp + 0x4c]
xor ebp, ebp
mov rcx, r14
lea r13, [0x14001c9c0]
call fcn.1400073c7
mov rcx, r14
call fcn.140006d85
lea rcx, [rdi + 0xe000]
mov rdx, rax
call fcn.1400073c7
mov rcx, r12
xor edx, edx
xor r12d, r12d
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x140030a8c], eax
mov r14d, eax
test r14d, r14d
je 0x140003bf0
cmp dword [0x14001c948], 1
mov rcx, r13
sbb ebx, ebx
and ebx, 0xffff8200
add ebx, 0x8000
cmp r14d, ebx
cmovbe ebx, r14d
mov edx, ebx
call fcn.14000372a
test eax, eax
jne 0x140003b61
mov ecx, 1
call fcn.14000363c
jmp 0x140003c75
cmp dword [0x14001c948], 0
jne 0x140003c14
mov r8d, 0x1c
mov rdx, r13
mov rcx, r15
call fcn.140006ee0
mov eax, dword [rsp + 0x4c]
test eax, 0xfffffff0
jne 0x140003c21
cmp dword [rsp + 0x50], 0xdeadbeef
jne 0x140003c21
cmp dword [rsp + 0x5c], 0x74736e49
jne 0x140003c21
cmp dword [rsp + 0x58], 0x74666f73
jne 0x140003c21
cmp dword [rsp + 0x54], 0x6c6c754e
jne 0x140003c21
mov edx, dword [0x140030a88]
or esi, eax
mov eax, esi
mov dword [0x14001c948], edx
mov rdx, qword [0x14000c060]
and eax, 2
or dword [rdx + 0x20], eax
mov eax, dword [rsp + 0x64]
cmp eax, r14d
ja 0x140003c75
test sil, 8
jne 0x140003c05
test sil, 4
je 0x140003c05
mov ecx, 1
call fcn.14000363c
cmp dword [0x14001c948], 0
jne 0x140003c49
jmp 0x140003c75
lea r14d, [rax - 4]
inc ebp
cmp ebx, r14d
cmova ebx, r14d
jmp 0x140003c21
test sil, 2
jne 0x140003c21
xor ecx, ecx
call fcn.14000363c
cmp dword [0x140030a8c], r14d
jbe 0x140003c3b
mov ecx, r12d
mov r8d, ebx
mov rdx, r13
call fcn.140007d20
mov r12d, eax
add dword [0x140030a88], ebx
sub r14d, ebx
jmp 0x140003b1f
test ebp, ebp
lea r13, [rsp + 0x68]
je 0x140003c81
mov ecx, dword [0x140030a88]
call fcn.14000373c
mov edx, 4
mov rcx, r13
call fcn.14000372a
test eax, eax
je 0x140003c75
cmp dword [rsp + 0x68], r12d
je 0x140003c81
lea rax, str.Installer_integrity_check_has_failed._Common_causes_include_nincomplete_download_and_damaged_media._Contact_the_ninstallers_author_to_obtain_a_new_copy._n_nMore_information_at:_nhttp:__nsis.sf.net_NSIS_Error
jmp 0x140003d97
movsxd rdx, dword [rsp + 0x60]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
lea rcx, [0x1400309e0]
mov rbx, rax
call fcn.140007d90
lea rdx, [rdi + 0xc800]
mov rcx, r13
call fcn.140006fd4
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov qword [rsp + 0x30], 0
mov rcx, r13
mov dword [rsp + 0x28], 0x4000100
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x14000a020], rax
inc rax
lea rax, [0x14000b38c]
je 0x140003d97
mov eax, dword [0x14001c948]
lea ecx, [rax + 0x1c]
call fcn.14000373c
xor ecx, ecx
mov edi, dword [rsp + 0x64]
test byte [rsp + 0x4c], 4
sete cl
mov r9d, dword [rsp + 0x60]
mov dword [0x140030a94], eax
mov r8, rbx
shl ecx, 2
lea edx, [rdi - 0x1c]
sub edx, ecx
or ecx, 0xffffffff
add eax, edx
xor edx, edx
mov dword [0x140030a90], eax
call fcn.140003910
cmp eax, dword [rsp + 0x60]
jne 0x140003c75
mov qword [0x14001c950], rbx
mov eax, dword [rbx]
mov dword [0x14001c94c], eax
test byte [rsp + 0x4c], 1
je 0x140003d5d
inc dword [0x14001c944]
mov eax, 8
sub eax, 1
jb 0x140003d74
mov edx, eax
imul rdx, rdx, 0xc
add qword [rbx + rdx + 4], rbx
jmp 0x140003d62
movsxd rax, dword [0x140030a98]
lea rdx, [rbx + 4]
mov r8d, 0x60
lea rcx, [0x14001c960]
mov qword [rbx + 0x58], rax
call fcn.140006ee0
xor eax, eax
add rsp, 0x278
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret