Function at 0x1400097d0
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 [0x140065ec0]
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 0x14000a27f
mov ecx, edi
call fcn.140026dfc
mov r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14000a27f
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 0x140009869
xor ebx, ebx
mov dword [rsp + 0x40], ebx
lea rdx, [0x140060e00]
lea rcx, [rsp + 0x40]
call fcn.14002a3bc
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x140050ae8]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x1400098c8
cmp dword [rsp + 0x30], 0x34
jne 0x1400098c8
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, [0x140055b58]
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 0x140009918
cmp word [rdx], di
je 0x1400099e8
add rdx, 4
jmp 0x140009900
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 0x14000994d
cmp word [r8], r11w
jne 0x140009947
mov ecx, dword [r8]
jmp 0x1400099ea
add r8, 4
jmp 0x140009930
mov rcx, rdx
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x14000996e
movzx eax, byte [rcx]
xor al, r11b
jne 0x140009968
mov ecx, dword [rcx]
jmp 0x1400099ea
add rcx, 4
jmp 0x140009950
mov rcx, rdx
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x14000998a
cmp word [rcx], 0
jne 0x140009984
mov ecx, dword [rcx]
jmp 0x1400099ea
add rcx, 4
jmp 0x140009971
mov rcx, rdx
nop dword [rax]
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x1400099a8
cmp byte [rcx], 0
jne 0x1400099a2
mov ecx, dword [rcx]
jmp 0x1400099ea
add rcx, 4
jmp 0x140009990
mov rcx, rdx
nop dword [rax + rax]
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x1400099c9
cmp word [rcx], 9
jne 0x1400099c3
mov ecx, dword [rcx]
jmp 0x1400099ea
add rcx, 4
jmp 0x1400099b0
mov rcx, rdx
nop dword [rax]
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x1400099e8
cmp byte [rcx], 9
jne 0x1400099e2
mov ecx, dword [rcx]
jmp 0x1400099ea
add rcx, 4
jmp 0x1400099d0
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, [0x14006d180]
call fcn.140028604
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x14006d180]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [0x14006d180]
lea rcx, [rsp + 0x80]
call fcn.140002b50
lea r8, [0x140055bc8]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x140009a7b
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 0x140009aa5
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x140009b00
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.140002b50
nop
lea rcx, [rsi + 0x40]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x140009b00
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, [0x140055be0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x140009b23
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 0x140009b4d
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x140009ba8
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.140002b50
nop
lea rcx, [rsi + 0x68]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x140009ba8
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, [0x140055c00]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x140009bcb
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 0x140009bf5
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x140009c53
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.140002b50
nop
lea rcx, [rsi + 0x90]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x140009c53
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, [0x140055c18]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x140009c76
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 0x140009ca0
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x140009cfe
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.140002b50
nop
lea rcx, [rsi + 0xb8]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x140009cfe
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, [0x140055c38]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x140009d21
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 0x140009d4b
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x140009da9
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.140002b50
nop
lea rcx, [rsi + 0xe0]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x140009da9
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, str.OriginalFileName
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x140009dcc
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 0x140009df6
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x140009e54
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.140002b50
nop
lea rcx, [rsi + 0x108]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x140009e54
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, [0x140055c80]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x140009e77
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 0x140009ea1
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x140009eff
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.140002b50
nop
lea rcx, [rsi + 0x130]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x140009eff
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, [0x140055c98]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x140009f22
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 0x140009f4c
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x140009faa
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.140002b50
nop
lea rcx, [rsi + 0x158]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x140009faa
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, str.Comments
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x140009fcd
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 0x140009ff7
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x14000a055
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.140002b50
nop
lea rcx, [rsi + 0x180]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000a055
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, str.LegalTrademarks
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x14000a078
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 0x14000a0a2
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x14000a100
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.140002b50
nop
lea rcx, [rsi + 0x1a8]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000a100
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, str.PrivateBuild
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x14000a123
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 0x14000a14d
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x14000a1ab
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.140002b50
nop
lea rcx, [rsi + 0x1d0]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000a1ab
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
lea r8, str.SpecialBuild
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.140003c10
cmp qword [rax + 0x18], 8
jb 0x14000a1ce
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 0x14000a1f8
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
test edi, edi
je 0x14000a256
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.140002b50
nop
lea rcx, [rsi + 0x1f8]
lea rdx, [rsp + 0x58]
call fcn.1400046d0
nop
cmp qword [rsp + 0x70], 8
jb 0x14000a256
mov rcx, qword [rsp + 0x58]
call fcn.14002747c
mov rcx, r12
call fcn.140027b08
nop
cmp qword [rsp + 0x98], 8
jb 0x14000a278
mov rcx, qword [rsp + 0x80]
call fcn.14002747c
nop
mov eax, 1
jmp 0x14000a281
xor eax, eax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400274a0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r12
pop rdi
pop rsi
ret