Function at 0x14000c680
Capabilities:
Get file version info
Identify system language via api

Disassembly:
push rsi
push rdi
push r12
sub rsp, 0xb0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xe0], rbx
mov rax, qword [0x14007bec0]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x44]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test eax, eax
je 0x14000d12f
mov ecx, edi
call fcn.140033654
mov r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000d12f
mov r9, rax
mov r8d, edi
mov edx, dword [rsp + 0x44]
mov rcx, rbx
call qword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x14000c719
xor ebx, ebx
mov dword [rsp + 0x40], ebx
lea rdx, [0x140076ae0]
lea rcx, [rsp + 0x40]
call fcn.140037c7c
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x140063b38]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x14000c778
cmp dword [rsp + 0x30], 0x34
jne 0x14000c778
mov rcx, qword [rsp + 0x38]
mov rax, qword [rcx]
mov qword [rsi + 8], rax
mov rax, qword [rcx + 8]
mov qword [rsi + 0x10], rax
mov rax, qword [rcx + 0x10]
mov qword [rsi + 0x18], rax
mov rax, qword [rcx + 0x18]
mov qword [rsi + 0x20], rax
mov rax, qword [rcx + 0x20]
mov qword [rsi + 0x28], rax
mov rax, qword [rcx + 0x28]
mov qword [rsi + 0x30], rax
mov eax, dword [rcx + 0x30]
mov dword [rsi + 0x38], eax
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x140068f30]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edi, ax
mov rax, qword [rsp + 0x38]
mov rdx, rax
mov r8d, dword [rsp + 0x30]
nop dword [rax + rax]
lea rcx, [rax + r8]
cmp rdx, rcx
jae 0x14000c7c8
cmp word [rdx], di
je 0x14000c898
add rdx, 4
jmp 0x14000c7b0
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx r11d, ax
mov rdx, qword [rsp + 0x38]
mov r8, rdx
mov edi, dword [rsp + 0x30]
nop
lea rcx, [rdx + rdi]
cmp r8, rcx
jae 0x14000c7fd
cmp word [r8], r11w
jne 0x14000c7f7
mov ecx, dword [r8]
jmp 0x14000c89a
add r8, 4
jmp 0x14000c7e0
mov rcx, rdx
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x14000c81e
movzx eax, byte [rcx]
xor al, r11b
jne 0x14000c818
mov ecx, dword [rcx]
jmp 0x14000c89a
add rcx, 4
jmp 0x14000c800
mov rcx, rdx
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x14000c83a
cmp word [rcx], 0
jne 0x14000c834
mov ecx, dword [rcx]
jmp 0x14000c89a
add rcx, 4
jmp 0x14000c821
mov rcx, rdx
nop dword [rax]
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x14000c858
cmp byte [rcx], 0
jne 0x14000c852
mov ecx, dword [rcx]
jmp 0x14000c89a
add rcx, 4
jmp 0x14000c840
mov rcx, rdx
nop dword [rax + rax]
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x14000c879
cmp word [rcx], 9
jne 0x14000c873
mov ecx, dword [rcx]
jmp 0x14000c89a
add rcx, 4
jmp 0x14000c860
mov rcx, rdx
nop dword [rax]
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x14000c898
cmp byte [rcx], 9
jne 0x14000c892
mov ecx, dword [rcx]
jmp 0x14000c89a
add rcx, 4
jmp 0x14000c880
mov ecx, dword [rdx]
mov qword [rsp + 0x98], 7
xor ebx, ebx
mov qword [rsp + 0x90], rbx
mov word [rsp + 0x80], bx
mov eax, ecx
shr eax, 0x10
movzx r9d, cx
mov dword [rsp + 0x20], eax
lea r8, str.StringFileInfo_04X_04X_
mov edx, 0x3e8
lea rcx, [0x140083380]
call fcn.140034eac
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x140083380]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [0x140083380]
lea rcx, [rsp + 0x80]
call fcn.140002b60
lea r8, [0x140068fa0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000c92b
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000c955
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000c9b0
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0x40]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000c9b0
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, [0x140068fb8]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000c9d3
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000c9fd
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000ca58
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0x68]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000ca58
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, [0x140068fd8]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000ca7b
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000caa5
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000cb03
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0x90]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000cb03
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, [0x140068ff0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000cb26
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000cb50
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000cbae
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0xb8]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000cbae
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, [0x140069010]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000cbd1
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000cbfb
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000cc59
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0xe0]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000cc59
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, str.OriginalFileName
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000cc7c
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000cca6
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000cd04
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0x108]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000cd04
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, [0x140069058]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000cd27
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000cd51
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000cdaf
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0x130]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000cdaf
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, [0x140069070]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000cdd2
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000cdfc
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000ce5a
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0x158]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000ce5a
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, str.Comments
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000ce7d
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000cea7
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000cf05
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0x180]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000cf05
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, str.LegalTrademarks
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000cf28
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000cf52
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000cfb0
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0x1a8]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000cfb0
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, str.PrivateBuild
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000cfd3
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000cffd
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000d05b
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0x1d0]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000d05b
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
lea r8, str.SpecialBuild
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c70
cmp qword [rax + 0x18], 8
jb 0x14000d07e
mov rax, qword [rax]
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
mov rdx, rax
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
mov edi, eax
cmp qword [rsp + 0x70], 8
jb 0x14000d0a8
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
test edi, edi
je 0x14000d106
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rbx
mov word [rsp + 0x58], bx
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdx, qword [rsp + 0x38]
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002b60
nop
lea rcx, [rsi + 0x1f8]
lea rdx, [rsp + 0x58]
call fcn.1400046b0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000d106
mov rcx, qword [rsp + 0x58]
call fcn.140033ccc
mov rcx, r12
call fcn.140034358
nop
cmp qword [rsp + 0x98], 8
jb 0x14000d128
mov rcx, qword [rsp + 0x80]
call fcn.140033ccc
nop
mov eax, 1
jmp 0x14000d131
xor eax, eax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.140033cf0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r12
pop rdi
pop rsi
ret