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

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1003b9f0
push 0x10021290
mov eax, dword fs:[0]
push eax
add esp, 0xfffff7a8
mov eax, dword [0x1003e830]
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 0x1001d167
push str._1._1
mov edx, dword [ebp + 0xc]
push edx
call fcn.10003f20
add esp, 8
xor al, al
jmp 0x1001d49c
cmp dword [ebp - 0x24], 0x4e20
jbe 0x1001d177
mov dword [ebp - 0x24], 0x4e20
mov eax, dword [ebp - 0x24]
push eax
call fcn.1001e3bc
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.10003ed0
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 0x1001d202
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x85c], ecx
mov edx, dword [ebp - 0x85c]
push edx
call fcn.1001d4dc
add esp, 4
push str._1._2
mov eax, dword [ebp + 0xc]
push eax
call fcn.10003f20
add esp, 8
mov byte [ebp - 0x865], 0
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x865]
jmp 0x1001d49c
mov ecx, dword [0x100397bc]
mov dword [ebp - 0x238], ecx
mov edx, dword [0x100397c0]
mov dword [ebp - 0x234], edx
mov eax, dword [0x100397c4]
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.1001d590
add esp, 0xc
mov byte [ebp - 0x228], 0
push 0x1ff
push 0
lea edx, [ebp - 0x227]
push edx
call fcn.1001d590
add esp, 0xc
mov byte [ebp - 0x848], 0
push 0x1ff
push 0
lea eax, [ebp - 0x847]
push eax
call fcn.1001d590
add esp, 0xc
lea ecx, [ebp - 0x238]
push ecx
push 0x4b0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
push edx
push 0x100397c8
lea eax, [ebp - 0x648]
push eax
call fcn.1001d9ee
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.1001d9ee
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 0x1001d387
cmp dword [ebp - 0x854], 4
jne 0x1001d387
push 4
mov ecx, dword [ebp - 0x240]
push ecx
lea edx, [ebp - 0x244]
push edx
call fcn.10003ef0
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.1001d9ee
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 0x1001d3d8
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 0x1001d405
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 0x1001d458
cmp dword [ebp - 0x850], 0
je 0x1001d458
mov eax, dword [ebp - 0x850]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.10003f20
add esp, 8
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x860], edx
mov eax, dword [ebp - 0x860]
push eax
call fcn.1001d4dc
add esp, 4
mov byte [ebp - 0x866], 1
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x866]
jmp 0x1001d49c
mov dword [ebp - 4], 0xfffffffe
jmp 0x1001d471
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x864], ecx
mov edx, dword [ebp - 0x864]
push edx
call fcn.1001d4dc
add esp, 4
push str._1._3
mov eax, dword [ebp + 0xc]
push eax
call fcn.10003f20
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.1001d57b
mov esp, ebp
pop ebp
ret