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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10084318
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x100a5c90]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ecx]
mov edi, edx
mov edx, dword [eax + 4]
mov dword [ebp - 0x5c], ecx
call edx
lea eax, [ebp - 0x64]
push eax
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov esi, eax
test esi, esi
je 0x1001ec09
push esi
call fcn.1005f071
mov ebx, eax
add esp, 4
mov dword [ebp - 0x58], ebx
test ebx, ebx
je 0x1001ec09
push ebx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x64]
push esi
push ecx
push edi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1001e55e
push 0x10099a78
lea edx, [ebp - 0x68]
push edx
mov dword [ebp - 0x68], eax
call fcn.1006752f
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x50]
push ecx
push 0x10093c38
push ebx
call esi
test eax, eax
je 0x1001e593
cmp dword [ebp - 0x54], 0x34
jne 0x1001e593
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x5c]
push 0x34
push edx
add eax, 4
push eax
call fcn.10073cd0
add esp, 0xc
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push 0x10093c3c
push ebx
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [ebp - 0x60], 0
call esi
mov ecx, dword [ebp - 0x50]
mov edi, dword [ebp - 0x54]
movzx edx, ax
mov eax, ecx
lea ecx, [ecx]
lea ebx, [ecx + edi]
cmp eax, ebx
jae 0x1001e5d5
cmp word [eax], dx
jne 0x1001e5d0
mov eax, dword [eax]
jmp 0x1001e61c
add eax, 4
jmp 0x1001e5c0
push 1
call esi
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
lea edi, [ebp - 0x60]
call fcn.1001e450
test eax, eax
jne 0x1001e619
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
push 1
call fcn.1001e450
test eax, eax
jne 0x1001e619
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x50]
push 1
mov eax, 9
call fcn.1001e450
test eax, eax
jne 0x1001e619
mov eax, dword [ebp - 0x50]
mov eax, dword [eax]
jmp 0x1001e61c
mov eax, dword [ebp - 0x60]
xor ecx, ecx
mov dword [ebp - 0x38], 7
mov dword [ebp - 0x3c], 0
mov word [ebp - 0x4c], cx
mov edx, eax
shr edx, 0x10
push edx
movzx eax, ax
push eax
push str.StringFileInfo_04X_04X_
push 0x3e8
push 0x100a84b8
mov byte [ebp - 4], 1
call fcn.1006784a
mov eax, 0x100a84b8
add esp, 0x14
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1001e660
sub eax, edx
sar eax, 1
push eax
mov eax, 0x100a84b8
lea esi, [ebp - 0x4c]
call fcn.10003a30
push str.CompanyName
mov ecx, esi
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x1001e699
mov eax, dword [eax]
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov edi, 8
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001e6c6
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001e6f7
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0x38
mov edi, eax
mov byte [ebp - 4], 2
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.FileDescription
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001e713
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001e735
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001e766
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0x54
mov edi, eax
mov byte [ebp - 4], 3
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.FileVersion
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001e782
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001e7a4
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001e7d5
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0x70
mov edi, eax
mov byte [ebp - 4], 4
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.InternalName
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001e7f1
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001e813
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001e847
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0x8c
mov edi, eax
mov byte [ebp - 4], 5
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.LegalCopyright
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001e863
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001e885
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001e8b9
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0xa8
mov edi, eax
mov byte [ebp - 4], 6
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.OriginalFileName
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001e8d5
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001e8f7
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001e92b
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0xc4
mov edi, eax
mov byte [ebp - 4], 7
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.ProductName
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001e947
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001e969
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001e99d
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0xe0
mov edi, eax
mov byte [ebp - 4], 8
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.ProductVersion
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001e9b9
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001e9db
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001ea0f
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0xfc
mov edi, eax
mov byte [ebp - 4], 9
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.Comments
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001ea2b
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001ea4d
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001ea81
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0x118
mov edi, eax
mov byte [ebp - 4], 0xa
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.LegalTrademarks
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001ea9d
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001eabf
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001eaf3
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0x134
mov edi, eax
mov byte [ebp - 4], 0xb
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.PrivateBuild
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001eb0f
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001eb31
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001eb65
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0x150
mov edi, eax
mov byte [ebp - 4], 0xc
call fcn.100037e0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 1
call fcn.10003710
mov edi, 8
push str.SpecialBuild
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10010a60
add esp, 0xc
cmp dword [eax + 0x14], edi
jb 0x1001eb81
mov eax, dword [eax]
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x50]
push edx
push eax
mov eax, dword [ebp - 0x58]
push eax
call ebx
mov esi, eax
cmp dword [ebp - 0x1c], edi
jb 0x1001eba3
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.10066b10
add esp, 4
test esi, esi
je 0x1001ebd3
mov eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x30]
call fcn.100036d0
mov esi, dword [ebp - 0x5c]
add esi, 0x16c
mov edi, eax
mov byte [ebp - 4], 0xd
call fcn.100037e0
lea ecx, [ebp - 0x30]
call fcn.10003710
mov edi, 8
mov edx, dword [ebp - 0x58]
push edx
call fcn.10067956
add esp, 4
cmp dword [ebp - 0x38], edi
jb 0x1001ebf0
mov eax, dword [ebp - 0x4c]
push eax
call fcn.10066b10
add esp, 4
mov eax, 1
jmp 0x1001ec0b
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10066b1b
mov esp, ebp
pop ebp
ret