Function at 0x14000c428
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x360]
sub rsp, 0x460
mov rax, qword [0x14007d370]
xor rax, rsp
mov qword [rbp + 0x350], rax
and dword [rsp + 0x20], 0
lea rdx, [0x140056e80]
mov rsi, r8
mov qword [rsp + 0x70], r8
xor r8d, r8d
xor r9d, r9d
xor ecx, ecx
call fcn.140002730
xor edx, edx
lea rcx, [rbp + 0x140]
mov r8d, 0x208
call fcn.140022cd0
mov r8d, 0x104
lea rdx, [rbp + 0x140]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov r15d, 1
lea r12, str.wWinMain
lea r13, str.McAWFwk.cpp
lea ebx, [r15 + 4]
test eax, eax
je 0x14000c4f8
mov ecx, r15d
call fcn.1400027b0
test eax, eax
je 0x14000c522
lea rax, [rbp + 0x140]
mov r8, r12
mov qword [rsp + 0x28], rax
lea r9d, [r15 + 0x34]
lea rax, str.GetModuleFileName:__s
mov rdx, r13
mov ecx, r15d
mov qword [rsp + 0x20], rax
call fcn.14000dc00
jmp 0x14000c522
mov ecx, ebx
call fcn.1400027b0
test eax, eax
je 0x14000c522
lea rax, str.Unable_to_acquire_the_path_of_the_module
mov r9d, 0x39
mov r8, r12
mov qword [rsp + 0x20], rax
mov rdx, r13
mov ecx, ebx
call fcn.14000c294
and dword [rsp + 0x58], 0
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x140]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ecx, eax
mov ebx, eax
call fcn.1400210e0
mov edx, dword [rsp + 0x58]
lea rcx, [rbp + 0x140]
and dword [rsp + 0x54], 0
mov r9, rax
mov r8d, ebx
mov rdi, rax
call sub.VERSION.dll_GetFileVersionInfoW
cmp eax, r15d
jne 0x14000c6aa
lea r9, [rsp + 0x54]
mov rcx, rdi
lea r8, [rsp + 0x78]
lea rdx, str.VarFileInfoTranslation
call sub.VERSION.dll_VerQueryValueW
cmp eax, r15d
jne 0x14000c67b
cmp dword [rsp + 0x54], 0
jbe 0x14000c67b
xor edx, edx
lea rcx, [rbp - 0x80]
mov r8d, 0x100
call fcn.140022cd0
mov rax, qword [rsp + 0x78]
lea rdx, str.StringFileInfo_04x_04xFileVersion
lea rcx, [rbp - 0x80]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call fcn.140006010
and qword [rsp + 0x68], 0
lea r9, [rsp + 0x54]
lea r8, [rsp + 0x68]
mov rcx, rdi
lea rdx, [rbp - 0x80]
call sub.VERSION.dll_VerQueryValueW
cmp eax, r15d
jne 0x14000c6eb
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x64]
lea rax, [rsp + 0x60]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea rdx, str._u__u__u__u
call fcn.1400065a0
cmp eax, 4
jne 0x14000c6eb
mov ecx, r15d
call fcn.1400027b0
test eax, eax
je 0x14000c6eb
lea rax, [rsp + 0x5c]
mov r9d, 0x54
mov qword [rsp + 0x40], rax
mov r8, r12
lea rax, [rsp + 0x60]
mov rdx, r13
mov qword [rsp + 0x38], rax
mov ecx, r15d
lea rax, [rsp + 0x64]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, str.Version:__u._u._u._u
mov qword [rsp + 0x20], rax
call fcn.14000c2f0
jmp 0x14000c6eb
mov ebx, 5
mov ecx, ebx
call fcn.1400027b0
test eax, eax
je 0x14000c6eb
lea rax, str.VerQueryValue_failed_acquiring_VarFileInfoTranslation
mov r8, r12
lea r9d, [rbx + 0x55]
mov qword [rsp + 0x20], rax
mov rdx, r13
mov ecx, ebx
call fcn.14000c294
jmp 0x14000c6eb
mov ebx, 5
mov ecx, ebx
call fcn.1400027b0
test eax, eax
je 0x14000c6eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea r9d, [rbx + 0x5a]
lea rax, [rsp + 0x50]
mov r8, r12
mov qword [rsp + 0x28], rax
mov rdx, r13
lea rax, str.Unable_to_acquire_version_information__GetLastError:__d
mov ecx, ebx
mov qword [rsp + 0x20], rax
call fcn.14000c82c
test rdi, rdi
je 0x14000c6f8
mov rcx, rdi
call fcn.1400210e8
mov ecx, r15d
call fcn.1400027b0
test eax, eax
je 0x14000c747
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x50], eax
mov r9d, 0x68
lea rax, [rsp + 0x50]
mov r8, r12
mov qword [rsp + 0x30], rax
mov rdx, r13
lea rax, [rsp + 0x70]
mov ecx, r15d
mov qword [rsp + 0x28], rax
lea rax, str._tWinMain__:_lpCmdLine_s__ThreadID:0x_x__r_n
mov qword [rsp + 0x20], rax
call fcn.14000b788
mov rsi, qword [rsp + 0x70]
cmp dword [0x14007d070], 0xb7
je 0x14000c7c4
lea rcx, [rbp - 0x80]
call fcn.14000d340
lea rdx, [0x14007f600]
lea rcx, [rbp - 0x80]
call fcn.14000d4cc
mov rdx, rsi
lea rcx, [rbp - 0x80]
call fcn.140010268
test eax, eax
je 0x14000c78d
mov rdx, rsi
lea rcx, [0x14007f600]
call fcn.14000ca68
jmp 0x14000c7b9
mov ecx, r15d
call fcn.1400027b0
test eax, eax
je 0x14000c7b9
lea rax, str.Not_a_valid_switch___exiting...
mov r9d, 0x76
mov r8, r12
mov qword [rsp + 0x20], rax
mov rdx, r13
mov ecx, r15d
call fcn.14000c294
lea rcx, [rbp - 0x80]
call fcn.14000d418
jmp 0x14000c7ff
mov ecx, r15d
call fcn.1400027b0
test eax, eax
je 0x14000c7f0
lea rax, str.Another_instance_running__exiting...
mov r9d, 0x7b
mov r8, r12
mov qword [rsp + 0x20], rax
mov rdx, r13
mov ecx, r15d
call fcn.14000c294
mov rdx, rsi
lea rcx, [0x14007f600]
call fcn.14000ca68
xor eax, eax
mov rcx, qword [rbp + 0x350]
xor rcx, rsp
call fcn.140021430
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret