Function at 0x140003c69
Capabilities:
Get file size

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x288
movdqa xmmword [rsp + 0x270], xmm6
mov ebp, ecx
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x3e8
mov dword [0x14001aa40], eax
mov rax, qword [0x14000b058]
mov rdi, qword [rax]
lea rsi, [rdi + 0xd800]
xor ebx, ebx
xor ecx, ecx
mov rdx, rsi
mov r8d, 0x400
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov rcx, rsi
mov edx, 0x80000000
mov r8d, 3
call fcn.140007f38
mov qword [0x140018020], rax
cmp rax, 0xffffffffffffffff
je 0x140003fc7
mov r14, rax
lea r15, [rdi + 0xb800]
mov rcx, r15
mov rdx, rsi
call fcn.140007bae
lea rsi, [rdi + 0xe000]
mov rcx, r15
call fcn.140007bc2
mov rcx, rsi
mov rdx, rax
call fcn.140007bae
mov rcx, r14
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [0x14001aa44], eax
mov r15d, 0
test eax, eax
je 0x140003e2e
mov r12d, eax
xor r15d, r15d
mov esi, 0x200
lea r14, [0x14001aa50]
movdqa xmm6, xmmword [0x14000b090]
xor ebx, ebx
cmp dword [0x140022a50], 0
mov r13d, 0x8000
cmove r13d, esi
cmp r12d, r13d
cmovb r13d, r12d
mov rcx, qword [0x140018020]
mov rdx, r14
mov r8d, r13d
call fcn.14000800f
test eax, eax
je 0x140003fd0
cmp dword [0x140022a50], 0
je 0x140003d94
test bpl, 2
jne 0x140003e06
xor ecx, ecx
call fcn.140003b6d
jmp 0x140003e06
mov r8d, 0x1c
lea rcx, [rsp + 0x40]
mov rdx, r14
call fcn.140007f20
movdqu xmm0, xmmword [rsp + 0x44]
pcmpeqd xmm0, xmm6
movmskps eax, xmm0
cmp eax, 0xf
jne 0x140003e06
mov eax, dword [rsp + 0x40]
cmp eax, 0xf
ja 0x140003e06
or ebp, eax
mov eax, ebp
and eax, 2
mov rcx, qword [0x14000b368]
or dword [rcx + 0x20], eax
mov eax, dword [0x140022a54]
mov dword [0x140022a50], eax
mov eax, dword [rsp + 0x58]
cmp eax, r12d
ja 0x140003fed
mov ecx, ebp
and ecx, 0xc
cmp ecx, 4
je 0x140003e2e
inc r15d
add eax, 0xfffffffc
cmp r13d, eax
cmovae r13d, eax
mov r12d, eax
cmp r12d, dword [0x14001aa44]
jae 0x140003e1e
mov r8d, r13d
mov ecx, ebx
mov rdx, r14
call fcn.1400088d0
mov ebx, eax
add dword [0x140022a54], r13d
sub r12d, r13d
jne 0x140003d4a
mov rcx, qword [0x14001aa38]
test rcx, rcx
je 0x140003e40
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [0x14001aa38], 0
lea rsi, 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
cmp dword [0x140022a50], 0
je 0x140003ffd
test r15d, r15d
je 0x140003ea6
mov edx, dword [0x140022a54]
mov rcx, qword [0x140018020]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov rcx, qword [0x140018020]
lea rdx, [rsp + 0x60]
mov r8d, 4
call fcn.14000800f
test eax, eax
je 0x140003ffd
cmp ebx, dword [rsp + 0x60]
jne 0x140003ffd
movsxd rdx, dword [rsp + 0x54]
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov rbx, rax
lea rcx, [0x140022a58]
call fcn.140008944
add rdi, 0xc800
lea r14, [rsp + 0x60]
mov rcx, r14
mov rdx, rdi
call fcn.140007f83
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000100
mov dword [rsp + 0x20], 2
mov rcx, r14
mov edx, 0xc0000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140018028], rax
cmp rax, 0xffffffffffffffff
je 0x140003ff6
mov edx, dword [0x140022a50]
add edx, 0x1c
mov rcx, qword [0x140018020]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x140022b00], eax
mov ecx, dword [rsp + 0x40]
mov r9d, dword [rsp + 0x54]
or ecx, 0xfffffffb
add eax, dword [rsp + 0x58]
add eax, ecx
add eax, 0xffffffe5
mov dword [0x140022b04], eax
mov ecx, 0xffffffff
xor edx, edx
mov r8, rbx
call fcn.140004044
cmp eax, dword [rsp + 0x54]
jne 0x140003ffd
mov qword [0x14001aa30], rbx
mov eax, dword [rbx]
mov dword [0x140022b08], eax
test byte [rsp + 0x40], 1
je 0x140003f8c
inc dword [0x140022b0c]
mov eax, 0x58
add qword [rbx + rax], rbx
add rax, 0xfffffffffffffff4
cmp rax, 0xfffffffffffffff8
jne 0x140003f91
movsxd rax, dword [0x140022b10]
mov rdx, rbx
add rdx, 4
mov qword [rbx + 0x58], rax
lea rcx, [0x140022b20]
mov r8d, 0x60
call fcn.140007f20
xor esi, esi
jmp 0x140003ffd
lea rsi, [0x14000b110]
jmp 0x140003ffd
mov rcx, qword [0x14001aa38]
test rcx, rcx
je 0x140003fe2
call qword [sym.imp.USER32.dll_DestroyWindow]
mov qword [0x14001aa38], 0
lea rsi, 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 0x140003ffd
lea rsi, [0x14000b2dc]
mov rax, rsi
movaps xmm6, xmmword [rsp + 0x270]
add rsp, 0x288
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret