Function at 0x1400387c0
Capabilities:
Get file version info

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xa90
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140129ab8]
xor rax, rsp
mov qword [rsp + 0xa80], rax
mov rsi, rcx
lea rbx, [rcx + 0x50]
cmp qword [rbx + 0x18], 8
jb 0x140038805
mov rdx, qword [rbx]
jmp 0x140038808
mov rdx, rbx
xor r8d, r8d
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoSizeExW]
nop dword [rax + rax]
mov r14d, eax
xor r15d, r15d
test eax, eax
jne 0x140038872
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x280]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x280]
call fcn.140038ae0
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov eax, 0x80004005
test ecx, ecx
cmovns ecx, eax
mov eax, ecx
jmp 0x140038aae
lea rdi, [rsi + 0x70]
mov rdx, r14
mov rcx, rdi
call fcn.140038d48
nop
mov rax, qword [rdi]
cmp qword [rbx + 0x18], 8
jb 0x14003888f
mov rbx, qword [rbx]
mov qword [rsp + 0x20], rax
mov r9d, r14d
xor r8d, r8d
mov rdx, rbx
lea ecx, [r8 + 2]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_GetFileVersionInfoExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400388d8
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x280]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x280]
call fcn.140038b78
jmp 0x140038847
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, str.VarFileInfoTranslation
mov rcx, qword [rdi]
call qword [sym.imp.api_ms_win_core_version_l1_1_0.dll_VerQueryValueW]
nop dword [rax + rax]
test eax, eax
jne 0x14003892d
xor edx, edx
mov r8d, 0x800
lea rcx, [rsp + 0x280]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x280]
call fcn.140038c10
jmp 0x140038847
mov eax, dword [rsp + 0x30]
and eax, 0xfffffffc
cmp eax, 4
jae 0x140038948
call fcn.14003ab58
mov eax, 0x80004005
jmp 0x140038aae
xor edx, edx
mov r8d, 0x200
lea rcx, [rsp + 0x80]
call sub.msvcrt.dll_memset
mov rax, qword [rsp + 0x38]
movzx ecx, word [rax + 2]
movzx r9d, word [rax]
mov dword [rsp + 0x20], ecx
lea r8, str.StringFileInfo_04x_04x_
mov ebx, 0x100
mov edx, ebx
lea rcx, [rsp + 0x80]
call qword [sym.imp.msvcrt.dll_swprintf_s]
nop dword [rax + rax]
lea rax, [rsp + 0x80]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [rax + rcx*2], r15w
jne 0x14003899c
lea rax, [rsp + 0x80]
lea rax, [rax + rcx*2]
mov qword [rsp + 0x60], rax
sub rbx, rcx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x58], rax
lea rdx, [0x1400eba98]
lea rcx, [rsp + 0x40]
call fcn.140038ca8
mov qword [rsi + 0x88], rax
lea rdx, [0x1400ebab0]
lea rcx, [rsp + 0x40]
call fcn.140038ca8
mov qword [rsi + 0x90], rax
lea rdx, [0x1400ebad0]
lea rcx, [rsp + 0x40]
call fcn.140038ca8
mov qword [rsi + 0x98], rax
lea rdx, [0x1400ebae8]
lea rcx, [rsp + 0x40]
call fcn.140038ca8
mov qword [rsi + 0xa0], rax
lea rdx, [0x1400ebb08]
lea rcx, [rsp + 0x40]
call fcn.140038ca8
mov qword [rsi + 0xa8], rax
lea rdx, [0x1400ebb28]
lea rcx, [rsp + 0x40]
call fcn.140038ca8
mov qword [rsi + 0xb0], rax
lea rdx, [0x1400ebb50]
lea rcx, [rsp + 0x40]
call fcn.140038ca8
mov qword [rsi + 0xb8], rax
lea rdx, [0x1400ebb68]
lea rcx, [rsp + 0x40]
call fcn.140038ca8
mov qword [rsi + 0xc0], rax
xor eax, eax
jmp 0x140038aae
mov rcx, qword [rsp + 0xa80]
xor rcx, rsp
call fcn.1400c9030
lea r11, [rsp + 0xa90]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret