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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x100648b0
push 0x100405f0
mov eax, dword fs:[0]
push eax
add esp, 0xfffff7a8
mov eax, dword [0x10067bf0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x28], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1003e077
push str._1._1
mov edx, dword [ebp + 0xc]
push edx
call fcn.10008420
add esp, 8
xor al, al
jmp 0x1003e3ac
cmp dword [ebp - 0x24], 0x4e20
jbe 0x1003e087
mov dword [ebp - 0x24], 0x4e20
mov eax, dword [ebp - 0x24]
push eax
call fcn.100400ac
add esp, 4
mov dword [ebp - 0x858], eax
mov ecx, dword [ebp - 0x858]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call fcn.100083d0
add esp, 8
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x1003e112
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x85c], ecx
mov edx, dword [ebp - 0x85c]
push edx
call fcn.1003e3ec
add esp, 4
push str._1._2
mov eax, dword [ebp + 0xc]
push eax
call fcn.10008420
add esp, 8
mov byte [ebp - 0x865], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x865]
jmp 0x1003e3ac
mov ecx, dword [0x10061304]
mov dword [ebp - 0x238], ecx
mov edx, dword [0x10061308]
mov dword [ebp - 0x234], edx
mov eax, dword [0x1006130c]
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x648], 0
push 0x1ff
push 0
lea ecx, [ebp - 0x647]
push ecx
call fcn.1003e4a0
add esp, 0xc
mov byte [ebp - 0x228], 0
push 0x1ff
push 0
lea edx, [ebp - 0x227]
push edx
call fcn.1003e4a0
add esp, 0xc
mov byte [ebp - 0x848], 0
push 0x1ff
push 0
lea eax, [ebp - 0x847]
push eax
call fcn.1003e4a0
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
push 0x4b0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
push edx
push 0x10061310
lea eax, [ebp - 0x648]
push eax
call fcn.1003e8fe
add esp, 0x14
lea ecx, [ebp - 0x238]
push ecx
push 0x4e4
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
push edx
push str.StringFileInfo_04X_04X_s
lea eax, [ebp - 0x228]
push eax
call fcn.1003e8fe
add esp, 0x14
mov dword [ebp - 0x240], 0
lea ecx, [ebp - 0x854]
push ecx
lea edx, [ebp - 0x240]
push edx
push str.VarFileInfoTranslation
mov eax, dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
je 0x1003e297
cmp dword [ebp - 0x854], 4
jne 0x1003e297
push 4
mov ecx, dword [ebp - 0x240]
push ecx
lea edx, [ebp - 0x244]
push edx
call fcn.100083f0
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
mov ecx, dword [ebp - 0x244]
and ecx, 0xff0000
shr ecx, 0x10
push ecx
mov edx, dword [ebp - 0x244]
and edx, 0xff000000
shr edx, 0x18
push edx
mov eax, dword [ebp - 0x244]
and eax, 0xff
push eax
mov ecx, dword [ebp - 0x244]
and ecx, 0xff00
shr ecx, 8
push ecx
push str.StringFileInfo_02X_02X_02X_02X_s
lea edx, [ebp - 0x848]
push edx
call fcn.1003e8fe
add esp, 0x1c
lea eax, [ebp - 0x84c]
push eax
lea ecx, [ebp - 0x850]
push ecx
lea edx, [ebp - 0x648]
push edx
mov eax, dword [ebp - 0x1c]
push eax
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x1003e2e8
lea ecx, [ebp - 0x84c]
push ecx
lea edx, [ebp - 0x850]
push edx
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
jne 0x1003e315
lea edx, [ebp - 0x84c]
push edx
lea eax, [ebp - 0x850]
push eax
lea ecx, [ebp - 0x848]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call sub.VERSION.dll_VerQueryValueA
mov dword [ebp - 0x22c], eax
cmp dword [ebp - 0x22c], 0
je 0x1003e368
cmp dword [ebp - 0x850], 0
je 0x1003e368
mov eax, dword [ebp - 0x850]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10008420
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x860], edx
mov eax, dword [ebp - 0x860]
push eax
call fcn.1003e3ec
add esp, 4
mov byte [ebp - 0x866], 1
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x866]
jmp 0x1003e3ac
mov dword [ebp - 4], 0xfffffffe
jmp 0x1003e381
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x864], ecx
mov edx, dword [ebp - 0x864]
push edx
call fcn.1003e3ec
add esp, 4
push str._1._3
mov eax, dword [ebp + 0xc]
push eax
call fcn.10008420
add esp, 8
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x28]
xor ecx, ebp
call fcn.1003e48b
mov esp, ebp
pop ebp
ret