Function at 0x180025830
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 [0x1800d1eb0]
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 0x1800262df
mov ecx, edi
call fcn.180078408
mov r12, rax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x1800262df
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 0x1800258c9
xor ebx, ebx
mov dword [rsp + 0x40], ebx
lea rdx, [0x1800cc298]
lea rcx, [rsp + 0x40]
call fcn.18007e92c
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [0x1800aafac]
mov rcx, r12
call qword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x180025928
cmp dword [rsp + 0x30], 0x34
jne 0x180025928
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, [0x1800aafb0]
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 0x180025978
cmp word [rdx], di
je 0x180025a48
add rdx, 4
jmp 0x180025960
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 0x1800259ad
cmp word [r8], r11w
jne 0x1800259a7
mov ecx, dword [r8]
jmp 0x180025a4a
add r8, 4
jmp 0x180025990
mov rcx, rdx
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x1800259ce
movzx eax, byte [rcx]
xor al, r11b
jne 0x1800259c8
mov ecx, dword [rcx]
jmp 0x180025a4a
add rcx, 4
jmp 0x1800259b0
mov rcx, rdx
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x1800259ea
cmp word [rcx], 0
jne 0x1800259e4
mov ecx, dword [rcx]
jmp 0x180025a4a
add rcx, 4
jmp 0x1800259d1
mov rcx, rdx
nop dword [rax]
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x180025a08
cmp byte [rcx], 0
jne 0x180025a02
mov ecx, dword [rcx]
jmp 0x180025a4a
add rcx, 4
jmp 0x1800259f0
mov rcx, rdx
nop dword [rax + rax]
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x180025a29
cmp word [rcx], 9
jne 0x180025a23
mov ecx, dword [rcx]
jmp 0x180025a4a
add rcx, 4
jmp 0x180025a10
mov rcx, rdx
nop dword [rax]
lea rax, [rdx + rdi]
cmp rcx, rax
jae 0x180025a48
cmp byte [rcx], 9
jne 0x180025a42
mov ecx, dword [rcx]
jmp 0x180025a4a
add rcx, 4
jmp 0x180025a30
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, [0x1800d5200]
call fcn.18007b670
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1800d5200]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [0x1800d5200]
lea rcx, [rsp + 0x80]
call fcn.180004cc0
lea r8, [0x1800ab020]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x180025adb
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 0x180025b05
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x180025b60
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.180004cc0
nop
lea rcx, [rsi + 0x40]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x180025b60
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, [0x1800ab038]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x180025b83
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 0x180025bad
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x180025c08
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.180004cc0
nop
lea rcx, [rsi + 0x68]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x180025c08
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, [0x1800ab058]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x180025c2b
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 0x180025c55
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x180025cb3
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.180004cc0
nop
lea rcx, [rsi + 0x90]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x180025cb3
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, [0x1800ab070]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x180025cd6
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 0x180025d00
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x180025d5e
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.180004cc0
nop
lea rcx, [rsi + 0xb8]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x180025d5e
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, [0x1800ab090]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x180025d81
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 0x180025dab
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x180025e09
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.180004cc0
nop
lea rcx, [rsi + 0xe0]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x180025e09
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, str.OriginalFileName
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x180025e2c
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 0x180025e56
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x180025eb4
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.180004cc0
nop
lea rcx, [rsi + 0x108]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x180025eb4
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, [0x1800ab0d8]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x180025ed7
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 0x180025f01
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x180025f5f
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.180004cc0
nop
lea rcx, [rsi + 0x130]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x180025f5f
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, [0x1800ab0f0]
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x180025f82
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 0x180025fac
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x18002600a
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.180004cc0
nop
lea rcx, [rsi + 0x158]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x18002600a
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, str.Comments
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x18002602d
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 0x180026057
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x1800260b5
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.180004cc0
nop
lea rcx, [rsi + 0x180]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x1800260b5
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, str.LegalTrademarks
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x1800260d8
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 0x180026102
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x180026160
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.180004cc0
nop
lea rcx, [rsi + 0x1a8]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x180026160
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, str.PrivateBuild
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x180026183
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 0x1800261ad
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x18002620b
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.180004cc0
nop
lea rcx, [rsi + 0x1d0]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x18002620b
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
lea r8, str.SpecialBuild
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x58]
call fcn.180013de0
cmp qword [rax + 0x18], 8
jb 0x18002622e
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 0x180026258
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
test edi, edi
je 0x1800262b6
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.180004cc0
nop
lea rcx, [rsi + 0x1f8]
lea rdx, [rsp + 0x58]
call fcn.180004950
nop
cmp qword [rsp + 0x70], 8
jb 0x1800262b6
mov rcx, qword [rsp + 0x58]
call fcn.18007a7a4
mov rcx, r12
call fcn.18007b7a8
nop
cmp qword [rsp + 0x98], 8
jb 0x1800262d8
mov rcx, qword [rsp + 0x80]
call fcn.18007a7a4
nop
mov eax, 1
jmp 0x1800262e1
xor eax, eax
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.18007a7c0
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop r12
pop rdi
pop rsi
ret