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

Disassembly:
push 0x134
mov eax, 0x1039b1c
call fcn.0103738d
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 0x1013fc3
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013fb9
test byte [eax + 0x1c], 1
je 0x1013fb9
push 0x1002f90
push 0x43
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
mov eax, 0x80070057
jmp 0x1014248
lea ecx, [ebp - 0x130]
push ecx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x138], eax
cmp eax, ebx
jne 0x1014011
mov eax, dword [section..data]
cmp eax, section..data
je 0x1013ffe
test byte [eax + 0x1c], 1
je 0x1013ffe
push 0x1002f90
push 0x44
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100968c
mov ebx, eax
jmp 0x1014246
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 0x1014033
cmp dword [ebp - 0x118], ebx
jne 0x1014069
mov eax, dword [section..data]
cmp eax, section..data
je 0x101405f
test byte [eax + 0x1c], 1
je 0x101405f
push 0x1002f90
push 0x45
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
mov ebx, 0x8007000e
jmp 0x1014246
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 0x10140c1
mov eax, dword [section..data]
cmp eax, section..data
je 0x10140ae
test byte [eax + 0x1c], 1
je 0x10140ae
push 0x1002f90
push 0x46
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100968c
mov ebx, eax
jmp 0x101423a
mov edi, dword [ebp - 0x13c]
cmp edi, ebx
je 0x10140f8
lea eax, [ebp - 0x120]
push eax
lea eax, [ebp - 0x128]
push eax
push 0x1001648
push dword [ebp - 0x118]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1014147
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 0x10034e4
push dword [ebp - 0x118]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x101418b
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 0x1014143
cmp dx, word [ecx + eax*4]
je 0x1014186
inc eax
cmp eax, esi
jb 0x1014138
mov eax, dword [ecx]
jmp 0x1014194
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.0100968c
mov ebx, eax
mov eax, dword [section..data]
cmp eax, section..data
je 0x101423a
test byte [eax + 0x1c], 1
je 0x101423a
push 0x1002f90
push 0x47
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.010078b5
jmp 0x101423a
mov eax, dword [ecx + eax*4]
jmp 0x1014194
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
cmp dword [ebp - 0x134], ebx
je 0x101423a
cmp dword [ebp - 0x11c], ebx
je 0x101423a
xor esi, esi
cmp dword [ebp + 0x18], ebx
jbe 0x101423a
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 0x10034ac
lea eax, [ebp - 0x114]
push 0x80
push eax
call fcn.0100878d
add esp, 0x18
test eax, eax
jl 0x101422b
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 0x101422b
push dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x11c]
call fcn.01014c4a
add dword [ebp - 0x11c], 0xc
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x10141cb
xor ebx, ebx
push dword [ebp - 0x118]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
mov eax, ebx
call fcn.010373f8
ret 0x14