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

Disassembly:
push 0x134
mov eax, 0x101a1bd
call fcn.010125bd
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x13c], ecx
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x134], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x130], ebx
mov dword [ebp - 0x118], ebx
mov dword [ebp - 0x120], ebx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x12c], ebx
mov dword [ebp - 0x128], ebx
cmp eax, ebx
jne 0x1015f9c
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x1015f92
test byte [eax + 0x1c], 1
je 0x1015f92
push 0x1002c38
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010043b6
mov eax, 0x80070057
jmp 0x1016221
lea ecx, [ebp - 0x130]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x138], eax
cmp eax, ebx
jne 0x1015fea
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x1015fd7
test byte [eax + 0x1c], 1
je 0x1015fd7
push 0x1002c38
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010043b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100629e
mov ebx, eax
jmp 0x101621f
push eax
mov dword [ebp - 4], ebx
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
or dword [ebp - 4], 0xffffffff
pop ecx
mov dword [ebp - 0x118], eax
jmp 0x101600c
cmp dword [ebp - 0x118], ebx
jne 0x1016042
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x1016038
test byte [eax + 0x1c], 1
je 0x1016038
push 0x1002c38
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010043b6
mov ebx, 0x8007000e
jmp 0x101621f
push dword [ebp - 0x118]
push dword [ebp - 0x138]
push dword [ebp - 0x130]
push dword [ebp - 0x140]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x101609a
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x1016087
test byte [eax + 0x1c], 1
je 0x1016087
push 0x1002c38
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010043b6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100629e
mov ebx, eax
jmp 0x1016213
mov edi, dword [ebp - 0x13c]
cmp edi, ebx
je 0x10160d1
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x128]
push eax
push 0x1001380
push dword [ebp - 0x118]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1016120
mov esi, dword [ebp - 0x128]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x124]
push eax
push 0x1002ec8
push dword [ebp - 0x118]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1016164
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
mov esi, dword [ebp - 0x120]
mov ecx, dword [ebp - 0x124]
movzx edx, ax
shr esi, 2
xor eax, eax
cmp esi, ebx
jbe 0x101611c
cmp dx, word [ecx + eax*4]
je 0x101615f
inc eax
cmp eax, esi
jb 0x1016111
mov eax, dword [ecx]
jmp 0x101616d
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100629e
mov ebx, eax
mov eax, dword [0x101d014]
cmp eax, 0x101d014
je 0x1016213
test byte [eax + 0x1c], 1
je 0x1016213
push 0x1002c38
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010043b6
jmp 0x1016213
mov eax, dword [ecx + eax*4]
jmp 0x101616d
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
cmp dword [ebp - 0x134], ebx
je 0x1016213
cmp dword [ebp - 0x11c], ebx
je 0x1016213
xor esi, esi
cmp dword [ebp + 0x18], ebx
jbe 0x1016213
mov ebx, eax
movzx edi, ax
mov eax, dword [ebp - 0x11c]
shr ebx, 0x10
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x134]
push dword [eax + esi*4]
movzx eax, bx
push eax
push edi
push 0x1002e90
lea eax, [ebp - 0x114]
push 0x80
push eax
call fcn.0100937b
add esp, 0x18
test eax, eax
jl 0x1016204
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp - 0x118]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1016204
push dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x11c]
call fcn.01012cbe
add dword [ebp - 0x11c], 0xc
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x10161a4
xor ebx, ebx
push dword [ebp - 0x118]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, ebx
call fcn.01012628
ret 0x14