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

Disassembly:
push ebp
lea ebp, [esp - 0x610]
sub esp, 0x610
push 0xfffffffffffffffe
push 0x1006f7c0
push 0x100437a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10074bac]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x60c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov edi, dword [ebp + 0x618]
mov eax, dword [ebp + 0x61c]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x38]
push eax
push edi
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
xor ebx, ebx
cmp esi, ebx
jne 0x1003da0d
push str._1._1
jmp 0x1003dbef
mov eax, 0x4e20
cmp esi, eax
jbe 0x1003da18
mov esi, eax
push esi
call fcn.10040c33
mov dword [ebp - 0x20], eax
push esi
push eax
call fcn.100074a5
add esp, 0xc
mov dword [ebp - 4], ebx
push dword [ebp - 0x20]
push esi
push ebx
push edi
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x1003da62
push dword [ebp - 0x20]
call fcn.10040b8d
mov dword [esp], str._1._2
push dword [ebp - 0x24]
call fcn.100074d8
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
jmp 0x1003dbf9
mov esi, 0x1006c368
lea edi, [ebp + 0x600]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov byte [ebp + 0x200], bl
mov esi, 0x1ff
push esi
push ebx
lea eax, [ebp + 0x201]
push eax
call fcn.10040850
mov byte [ebp], bl
push esi
push ebx
lea eax, [ebp + 1]
push eax
call fcn.10040850
mov byte [ebp + 0x400], bl
push esi
push ebx
lea eax, [ebp + 0x401]
push eax
call fcn.10040850
add esp, 0x24
lea eax, [ebp + 0x600]
push eax
push 0x4b0
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
movzx eax, ax
push eax
mov edi, str.StringFileInfo_04X_04X_s
push edi
lea eax, [ebp + 0x200]
push eax
call fcn.10040b98
add esp, 0x14
lea eax, [ebp + 0x600]
push eax
push 0x4e4
call esi
movzx eax, ax
push eax
push edi
lea eax, [ebp]
push eax
call fcn.10040b98
add esp, 0x14
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x2c]
push eax
push str.VarFileInfoTranslation
mov esi, dword [ebp - 0x20]
push esi
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebx
je 0x1003db66
cmp dword [ebp - 0x30], 4
jne 0x1003db66
push 4
push dword [ebp - 0x2c]
lea eax, [ebp - 0x34]
push eax
call fcn.100074bf
lea eax, [ebp + 0x600]
push eax
mov eax, dword [ebp - 0x34]
mov edx, eax
shr edx, 0x10
mov ecx, 0xff
and edx, ecx
push edx
mov edx, eax
shr edx, 0x18
push edx
movzx edx, al
push edx
shr eax, 8
and eax, ecx
push eax
push str.StringFileInfo_02X_02X_02X_02X_s
lea eax, [ebp + 0x400]
push eax
call fcn.10040b98
add esp, 0x28
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x200]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebx
jne 0x1003dbae
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebx
jne 0x1003dbae
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 0x400]
push eax
push esi
call sub.VERSION.dll_VerQueryValueA
cmp eax, ebx
je 0x1003dbd9
cmp dword [ebp - 0x1c], ebx
je 0x1003dbd9
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call fcn.100074d8
push esi
call fcn.10040b8d
add esp, 0xc
mov dword [ebp - 4], 0xfffffffe
mov al, 1
jmp 0x1003dbfb
mov dword [ebp - 4], 0xfffffffe
push dword [ebp - 0x20]
call fcn.10040b8d
mov dword [esp], str._1._3
push dword [ebp - 0x24]
call fcn.100074d8
pop ecx
pop ecx
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 + 0x60c]
xor ecx, ebp
call fcn.1004083f
add ebp, 0x610
leave
ret