Function at 0x1400043c0
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x108
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov dword [rsp + 0xd8], 0
lea rcx, [rsp + 0x88]
call fcn.1400084e0
nop
mov dword [rsp + 0x68], 0
mov dword [rsp + 0x6c], 0
mov dword [rsp + 0x70], 0
mov dword [rsp + 0x74], 0
mov dword [rsp + 0x78], 0
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x30]
call fcn.140008540
nop
mov byte [rsp + 0x80], 0
lea rcx, [rsp + 0x38]
call fcn.1400249ec
nop
lea rcx, [rsp + 0x30]
call fcn.140008670
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140024b0c
test eax, eax
je 0x140004699
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140008680
lea rdx, [rsp + 0xa8]
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [rsp + 0x98], eax
mov eax, dword [rsp + 0x98]
mov rcx, rax
call fcn.140022420
mov qword [rsp + 0xc0], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x90], rax
cmp qword [rsp + 0x90], 0
je 0x14000458e
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140008680
mov r9, qword [rsp + 0x90]
mov r8d, dword [rsp + 0x98]
mov edx, dword [rsp + 0xa8]
mov rcx, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000458e
lea r9, [rsp + 0xac]
lea r8, [rsp + 0xa0]
lea rdx, [0x14005cc80]
mov rcx, qword [rsp + 0x90]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14000458e
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
shr rax, 0x10
movzx eax, ax
mov dword [rsp + 0x6c], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 8]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x70], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xc]
shr rax, 0x10
movzx eax, ax
mov dword [rsp + 0x74], eax
mov rax, qword [rsp + 0xb0]
mov eax, dword [rax + 0xc]
and rax, 0xffff
movzx eax, ax
mov dword [rsp + 0x78], eax
mov byte [rsp + 0x80], 1
cmp qword [rsp + 0x90], 0
je 0x1400045b6
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xc8], rax
mov rcx, qword [rsp + 0xc8]
call fcn.140022418
movzx eax, byte [rsp + 0x80]
test eax, eax
je 0x140004623
lea rcx, [rsp + 0xb8]
call fcn.1400084e0
nop
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0x70]
mov r8d, dword [rsp + 0x6c]
lea rdx, str._d._d._d._d
lea rcx, [rsp + 0xb8]
call fcn.140009660
lea rdx, [rsp + 0xb8]
lea rcx, [rsp + 0x88]
call fcn.1400085e0
nop
lea rcx, [rsp + 0xb8]
call fcn.1400085c0
jmp 0x140004697
lea r8, [rsp + 0x30]
lea rdx, str.File_version_couldn
lea rcx, [rsp + 0xd0]
call fcn.140007ae0
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0xf0], rax
mov rcx, qword [rsp + 0xf0]
call fcn.140008670
mov r8, rax
mov edx, 1
lea rcx, [0x14007f0e0]
call fcn.140021a10
nop
lea rcx, [rsp + 0xd0]
call fcn.1400085c0
lea rdx, [0x14005dd80]
lea rcx, [rsp + 0x88]
call fcn.140008610
jmp 0x1400046ca
mov r9, qword [rsp + 0x30]
lea r8, str.GetFileVers:_File_not_found:__s
mov edx, 0xa
lea rcx, [0x14007f0e0]
call fcn.140021a10
lea rdx, [0x14005dd38]
lea rcx, [rsp + 0x88]
call fcn.140008610
lea rdx, [rsp + 0x88]
mov rcx, qword [rsp + 0x110]
call fcn.140008510
mov eax, dword [rsp + 0xd8]
or eax, 1
mov dword [rsp + 0xd8], eax
lea rcx, [rsp + 0x38]
call fcn.140024a44
nop
lea rcx, [rsp + 0x30]
call fcn.1400085c0
nop
lea rcx, [rsp + 0x88]
call fcn.1400085c0
mov rax, qword [rsp + 0x110]
add rsp, 0x108
ret