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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101089d3
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov ebx, dword [ebp + 8]
call fcn.1001e9a0
mov ecx, ebx
call fcn.100264f0
test al, al
je 0x1001e1b7
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x1001db32
mov eax, dword [ebx]
jmp 0x1001db34
mov eax, ebx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x1001e1b7
push 0x10161b50
push eax
call fcn.10103bc2
add esp, 8
mov edi, eax
test edi, edi
je 0x1001e1b7
cmp dword [ebx + 0x14], 8
jb 0x1001db74
mov ebx, dword [ebx]
push edi
push dword [ebp - 0x164]
push dword [ebp - 0x38]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x1001db98
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x1001e1b7
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
push 0x1012ce8c
push edi
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
call ebx
test eax, eax
je 0x1001dbe2
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001dbe2
cmp dword [ebp - 0x1c], 0x34
jne 0x1001dbe2
push 0x34
push eax
push esi
call sub.MSVCR120.dll_memcpy
add esp, 0xc
mov dword [ebp - 0x160], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
push str.VarFileInfoTranslation
push edi
call ebx
test eax, eax
je 0x1001dcb1
cmp dword [ebp - 0x15c], 0
je 0x1001dcb1
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x1c]
add eax, ecx
cmp ecx, eax
jae 0x1001dc3c
lea esp, [esp]
cmp word [ecx], dx
je 0x1001dca5
add ecx, 4
cmp ecx, eax
jb 0x1001dc30
push 1
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.1001e1e0
test al, al
jne 0x1001dca9
push 1
lea eax, [ebp - 0x160]
push eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.1001e1e0
test al, al
jne 0x1001dca9
push 1
lea eax, [ebp - 0x160]
push eax
push 9
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.1001e1e0
test al, al
jne 0x1001dca9
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
jmp 0x1001dcb3
mov ecx, dword [ecx]
jmp 0x1001dcb3
mov ecx, dword [ebp - 0x160]
jmp 0x1001dcb3
xor ecx, ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
xor eax, eax
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 2
mov eax, ecx
shr eax, 0x10
push eax
movzx eax, cx
push eax
push str.StringFileInfo_04X_04X_
lea eax, [ebp - 0x34]
push eax
call fcn.10021880
push 0x1012d408
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x128]
call fcn.1001eac0
add esp, 0x14
mov byte [ebp - 4], 3
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], 8
cmovae eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001dd48
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001dd48
push eax
lea ecx, [esi + 0x34]
call fcn.1000da90
push 0x1012d420
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x140]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], 8
cmovae eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001dd9c
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001dd9c
push eax
lea ecx, [esi + 0x4c]
call fcn.1000da90
push 0x1012d440
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x158]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x158]
cmp dword [ebp - 0x144], 8
cmovae eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001ddf0
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001ddf0
push eax
lea ecx, [esi + 0x64]
call fcn.1000da90
push 0x1012d458
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x110]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x110]
cmp dword [ebp - 0xfc], 8
cmovae eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001de44
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001de44
push eax
lea ecx, [esi + 0x7c]
call fcn.1000da90
push 0x1012d474
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xe0]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe0]
cmp dword [ebp - 0xcc], 8
cmovae eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001de9b
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001de9b
push eax
lea ecx, [esi + 0x94]
call fcn.1000da90
push str.OriginalFileName
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xb0]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 8
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
cmovae eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001def2
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001def2
push eax
lea ecx, [esi + 0xac]
call fcn.1000da90
push 0x1012d4b8
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x80]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
cmovae eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001df3d
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001df3d
push eax
lea ecx, [esi + 0xc4]
call fcn.1000da90
push 0x1012d4d0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x68]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 8
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001df88
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001df88
push eax
lea ecx, [esi + 0xdc]
call fcn.1000da90
push 0x1012d4f0
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xf8]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xf8]
cmp dword [ebp - 0xe4], 8
cmovae eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001dfdf
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001dfdf
push eax
lea ecx, [esi + 0xf4]
call fcn.1000da90
push str.LegalTrademarks
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001e02a
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001e02a
push eax
lea ecx, [esi + 0x10c]
call fcn.1000da90
push str.PrivateBuild
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xc8]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xc8]
cmp dword [ebp - 0xb4], 8
cmovae eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001e081
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001e081
push eax
lea ecx, [esi + 0x124]
call fcn.1000da90
push str.SpecialBuild
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x98]
call fcn.1001eac0
add esp, 4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
cmovae eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x1001e0d8
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x1001e0d8
push eax
lea ecx, [esi + 0x13c]
call fcn.1000da90
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x98]
call fcn.10003650
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc8]
call fcn.10003650
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50]
call fcn.10003650
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xf8]
call fcn.10003650
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.10003650
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80]
call fcn.10003650
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb0]
call fcn.10003650
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
call fcn.10003650
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x110]
call fcn.10003650
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x158]
call fcn.10003650
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x140]
call fcn.10003650
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.10003650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003650
mov al, 1
jmp 0x1001e1b9
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.10103694
mov esp, ebp
pop ebp
ret 4