Function at 0x1400871f0
Capabilities:
Get file size
Get file version info

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov r14, rdx
mov r8, rdx
lea rdx, [0x1401074b8]
mov r13, rcx
call fcn.140080880
mov rbp, qword [r13 + 0x140]
xor esi, esi
xor edx, edx
mov rcx, r14
mov r15d, esi
mov dword [rsp + 0x80], esi
mov dword [rsp + 0x50], esi
call sub.VERSION.dll_GetFileVersionInfoSizeW
xor ebx, ebx
test eax, eax
mov r12d, eax
je 0x1400872ca
mov rcx, qword [rbp]
lea edx, [rsi + 8]
mov r8, r12
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
test rax, rax
mov rdi, rax
je 0x1400872ca
mov r9, rax
mov r8d, r12d
xor edx, edx
mov rcx, r14
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1400872bb
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x78]
lea rdx, [0x1400fc394]
mov rcx, rdi
mov dword [rsp + 0x58], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1400872bb
mov rax, qword [rsp + 0x78]
movzx esi, word [rax + 0xa]
movzx r15d, word [rax + 8]
movzx eax, word [rax + 0xc]
mov dword [rsp + 0x50], eax
mov rcx, qword [rbp]
mov r8, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [rsp + 0x50]
lea rdx, [0x1401074d8]
mov r9d, r15d
mov r8d, esi
mov rcx, r13
mov dword [rsp + 0x20], eax
call fcn.140080880
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov rcx, r14
mov dword [rsp + 0x28], 0x80
mov rdi, rbx
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x140087361
lea rdx, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
je 0x140087358
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
test eax, eax
je 0x140087358
mov edi, dword [rsp + 0x5c]
mov eax, dword [rsp + 0x58]
shl rdi, 0x20
or rdi, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x70], edi
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x70]
shr rdi, 0x20
mov dword [rsp + 0x74], edi
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
movzx ecx, word [rsp + 0x6a]
movzx edx, word [rsp + 0x66]
movzx r11d, word [rsp + 0x6e]
movzx eax, word [rsp + 0x6c]
movzx r10d, word [rsp + 0x68]
movzx r9d, word [rsp + 0x62]
movzx r8d, word [rsp + 0x60]
mov dword [rsp + 0x40], r11d
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], edx
lea rdx, [0x140107500]
mov rcx, r13
call fcn.140080880
xor r9d, r9d
mov qword [rsp + 0x30], rbx
lea r8d, [r9 + 1]
mov edx, 0x80000000
mov rcx, r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
mov rdi, rax
je 0x140087429
lea rdx, [rsp + 0x50]
mov rcx, rax
mov dword [rsp + 0x50], ebx
call qword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
je 0x140087420
mov ebx, dword [rsp + 0x50]
mov ecx, eax
shl rbx, 0x20
or rbx, rcx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x140107560]
mov r8, rbx
mov rcx, r13
call fcn.140080880
lea rcx, [rsp + 0x90]
mov dword [rsp + 0x90], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
movzx eax, word [rsp + 0x1a6]
movzx edx, word [rsp + reloc.OLEAUT32.dll_OleTranslateColor]
movzx r11d, byte [rsp + 0x1aa]
mov r9d, dword [rsp + 0x98]
mov r8d, dword [rsp + 0x94]
mov dword [rsp + 0x48], r11d
mov dword [rsp + 0x40], eax
mov dword [rsp + 0x38], edx
lea rax, [rsp + 0xa4]
lea rdx, [0x140107590]
mov rcx, r13
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x9c]
mov dword [rsp + 0x20], eax
call fcn.140080880
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.1400cd6e0
mov rbx, qword [rsp + 0x210]
add rsp, 0x1c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret