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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x328], rbx
mov rax, qword [0x1401c7ef8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r12, r8
mov qword [rbp - 0x68], r8
mov r15, rdx
mov qword [rsp + 0x68], rdx
mov r13, rcx
mov qword [rbp - 0x58], r8
xor ebx, ebx
mov dword [rsp + 0x30], ebx
lea rcx, str._h_r_
mov rax, qword [str._h_r_]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rdx, str.VarFileInfoTranslation
test rdx, 0xffffffffffff0000
jne 0x14000ff15
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.140001110
test rax, rax
je 0x14000ff26
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140004fb0
jmp 0x14000ff26
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
lea rcx, [rsp + 0x48]
call fcn.14000c510
nop
lea rcx, str._h_r_
mov rax, qword [str._h_r_]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x40], rax
lea rdx, str.StringFileInfo040904e4_
test rdx, 0xffffffffffff0000
jne 0x14000ff73
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.140001110
test rax, rax
je 0x14000ff84
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.140004fb0
jmp 0x14000ff84
mov r8d, 0x19
lea rcx, [rsp + 0x40]
call fcn.14000c510
nop
mov rax, qword [r12]
or rsi, 0xffffffffffffffff
cmp dword [rax - 0x10], 0
jne 0x14000ffc8
lea rcx, [rsp + 0x60]
call fcn.1400a3220
nop
mov rdx, rax
mov rcx, r12
call fcn.14000fc40
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14000ffc8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
mov rcx, qword [r12]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
test eax, eax
jne 0x14001004d
lea rdx, [0x140117ea0]
mov rcx, r13
call fcn.14000fdc0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010009
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010029
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r12]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x140010045
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r13
jmp 0x140010481
mov qword [rsp + 0x78], rbx
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov rdx, rdi
lea rcx, [rsp + 0x78]
call fcn.14000fcd0
nop
mov r14, qword [rsp + 0x78]
mov r9, r14
mov r8d, edi
xor edx, edx
mov rcx, qword [r12]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x1400100e5
lea rdx, [0x140117ea0]
mov rcx, r13
call fcn.14000fdc0
nop
test r14, r14
je 0x1400100a0
mov rcx, r14
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400100c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400100e0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140010029
mov qword [rsp + 0x50], rbx
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x48]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140010138
cmp dword [rsp + 0x30], 4
jne 0x140010138
mov rax, qword [rsp + 0x50]
mov ecx, dword [rax]
mov eax, ecx
shr eax, 0x10
movzx r9d, cx
mov dword [rsp + 0x20], eax
lea r8, str.StringFileInfo_04X_04X_
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCR100.dll_swprintf_s]
jmp 0x140010158
call qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx r9d, ax
lea r8, str.StringFileInfo_04X04B0_
mov edx, 0x104
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCR100.dll_swprintf_s]
lea rcx, str._h_r_
mov rax, qword [str._h_r_]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x38], rbx
lea rcx, [rbp - 0x50]
lea rax, [rbp - 0x50]
test rax, 0xffffffffffff0000
jne 0x1400101ac
movzx edi, cx
xor edx, edx
mov ecx, edi
call fcn.140001110
test rax, rax
je 0x1400102b1
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140004fb0
jmp 0x1400102b1
xor eax, eax
mov rcx, rsi
lea rdi, [rbp - 0x50]
repne scasw ax, word [rdi]
not rcx
dec rcx
mov rdi, rcx
test ecx, ecx
jne 0x140010227
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400102b1
cmp dword [rdx + 0x10], eax
jge 0x1400101f5
cmp dword [rbx - 0xc], eax
jge 0x1400101ea
mov ecx, 0x80070057
call fcn.140001000
int3
mov dword [rbx - 0x10], eax
mov word [rbx], ax
jmp 0x1400102b1
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001020b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov r14, qword [rsp + 0x78]
jmp 0x1400102b1
mov r15d, dword [rbx - 0x10]
lea r12, [rbp - 0x50]
sub r12, rbx
sar r12, 1
test ecx, ecx
jns 0x140010244
mov ecx, 0x80070057
call fcn.140001000
int3
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140010266
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.140001b30
mov rbx, qword [rsp + 0x38]
movsxd rax, edi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r12, r15
lea r15, [rax + rax]
mov r9, r15
ja 0x14001028b
lea r8, [rbx + r12*2]
call qword [sym.imp.MSVCR100.dll_memmove_s]
jmp 0x140010295
lea r8, [rbp - 0x50]
call qword [sym.imp.MSVCR100.dll_memcpy_s]
cmp edi, dword [rbx - 0xc]
jg 0x140010476
mov dword [rbx - 0x10], edi
xor eax, eax
mov word [r15 + rbx], ax
mov r12, qword [rbp - 0x68]
mov r15, qword [rsp + 0x68]
mov rdx, qword [r15]
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140005090
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rdx, qword [rsp + 0x38]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x1400103bb
mov r8, r15
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call fcn.14000fac0
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x50]
mov rdx, qword [rax]
mov rcx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
sete dil
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x14001032d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
je 0x1400103bb
lea rdx, [0x140117ea0]
mov rcx, r13
call fcn.14000fdc0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010366
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140010376
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010396
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400103b6
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140010029
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14000fdc0
nop
mov rcx, qword [rsp + 0x58]
add rcx, 0xffffffffffffffe8
call fcn.140001b90
add rax, 0x18
mov qword [r13], rax
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010401
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010421
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x140010431
call sub.MSVCR100.dll_void___cdecl_operator_delete_void____ptr64_
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010451
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140010471
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
jmp 0x140010029
mov ecx, 0x80070057
call fcn.140001000
nop
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1400d6f80
mov rbx, qword [rsp + 0x328]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret