Function at 0x1400f1160
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1402fa010]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov qword [rbp - 0x48], rdx
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test eax, eax
jne 0x1400f11b0
mov rbx, 0xffffffffffffffff
jmp 0x1400f1454
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
xor r15d, r15d
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], r15
mov rdx, rsi
xor ecx, ecx
call fcn.140203270
mov rbx, rax
test rax, rax
je 0x1400f13e3
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x28], r15
mov dword [rbp - 0x18], r15d
mov r9, rax
mov r8d, esi
xor edx, edx
mov rcx, qword [rdi]
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
lea r9, [rbp - 0x18]
lea r8, [rbp - 0x28]
lea rdx, str.StringFileInfo000004b0CompanyName
mov rcx, rbx
call qword [sym.imp.VERSION.dll_VerQueryValueA]
test eax, eax
jne 0x1400f12ad
mov qword [rbp - 0x20], r15
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.ERROR_AT_CArchiveMan::IsValidArk_____2__err:_u
lea rcx, [rbp - 0x20]
call fcn.1400283d0
nop
lea rax, [rbp - 0x58]
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x20]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x58]
call fcn.1401ab6b0
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov rbx, 0xffffffffffffffff
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400f1296
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rcx, qword [rbp - 0x40]
call fcn.140203254
nop
mov rcx, rdi
call fcn.1400192d0
jmp 0x1400f1475
mov rax, qword [rbp - 0x28]
test rax, rax
je 0x1400f12e3
movabs rcx, 0x666f7369646e6142
cmp qword [rax], rcx
jne 0x1400f12e3
cmp byte [rax + 8], 0x74
jne 0x1400f12e3
mov rcx, rbx
call fcn.140203254
nop
mov rcx, rdi
call fcn.1400192d0
mov al, 1
jmp 0x1400f1477
mov qword [rbp - 0x20], r15
lea rbx, [0x14028fa46]
test rax, rax
cmovne rbx, rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400f14ab
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp - 0x20], rax
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140018bd0
test al, al
jne 0x1400f1338
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.14003ed90
nop
mov qword [rbp - 0x10], r15
mov r8, qword [rbp - 0x20]
lea rdx, str.ERROR_AT_CArchiveMan::IsValidArk_____3__str:_s
lea rcx, [rbp - 0x10]
call fcn.1400283d0
nop
lea rax, [rbp - 0x60]
mov qword [rbp - 0x50], rax
mov rcx, qword [rbp - 0x10]
add rcx, 0xffffffffffffffe8
call fcn.1400191a0
add rax, 0x18
mov qword [rbp - 0x60], rax
lea rcx, [rbp - 0x60]
call fcn.1401ab6b0
nop
mov rdx, qword [rbp - 0x10]
add rdx, 0xffffffffffffffe8
mov rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400f13a4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400f13c7
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
nop
mov rcx, qword [rbp - 0x40]
test rcx, rcx
je 0x1400f13d6
call fcn.140203254
nop
mov rcx, rdi
call fcn.1400192d0
jmp 0x1400f1475
lea rax, [rbp - 0x20]
mov qword [rbp - 0x50], rax
call fcn.1400195b0
mov rcx, rax
test rax, rax
je 0x1400f14a0
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x140038716.0]
add rax, 0x18
mov qword [rbp - 0x20], rax
lea rsi, str.ERROR_AT_CArchiveMan::IsValidArk_____1
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.140018bd0
mov rbx, 0xffffffffffffffff
test al, al
jne 0x1400f144a
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x1400f1432
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.140018f70
nop
lea rcx, [rbp - 0x20]
call fcn.1401ab6b0
nop
mov rdx, qword [rdi]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400f1475
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x140038716.0]
xor al, al
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1401f3bf0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140019320
int3
mov ecx, 0x80004005
call fcn.140019320
int3