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

Disassembly:
push 0xffffffffffffffff
push 0x100ae89b
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x100d3020]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100d3020]
xor eax, esp
push eax
lea eax, [esp + 0x19c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x24], esi
xor ebx, ebx
mov dword [esp + 0x1a4], ebx
call fcn.1008afc0
lea eax, [esp + 0x1ac]
push eax
call fcn.1007fe50
add esp, 4
test al, al
jne 0x1008a884
cmp dword [esp + 0x1c4], 8
jb 0x1008a87d
mov ecx, dword [esp + 0x1b0]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x1008af34
mov eax, dword [esp + 0x1b0]
mov edi, 8
cmp dword [esp + 0x1c4], edi
mov dword [esp + 0x28], ebx
jae 0x1008a8a4
lea eax, [esp + 0x1b0]
lea edx, [esp + 0x28]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
jne 0x1008a8d5
cmp dword [esp + 0x1c4], edi
jb 0x1008a87d
mov eax, dword [esp + 0x1b0]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
jmp 0x1008af34
push esi
call fcn.100a4484
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x1008a8f0
cmp dword [esp + 0x1c4], edi
jmp 0x1008a86b
cmp dword [esp + 0x1c4], edi
mov eax, dword [esp + 0x1b0]
jae 0x1008a907
lea eax, [esp + 0x1b0]
mov edx, dword [esp + 0x28]
push ebp
push esi
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x1008a934
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x1ac]
call fcn.10002160
xor eax, eax
jmp 0x1008af34
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x100b705c
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008a973
cmp dword [esp + 0x1c], 0x34
jne 0x1008a973
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x24]
push 0x34
push edx
add eax, 4
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push str.VarFileInfoTranslation
push ebp
call sub.VERSION.dll_VerQueryValueW
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [esp + 0x20], ebx
call esi
mov ecx, dword [esp + 0x1c]
movzx edx, ax
mov eax, dword [esp + 0x18]
add ecx, eax
cmp eax, ecx
jae 0x1008a9b1
cmp word [eax], dx
je 0x1008a9fd
add eax, 4
cmp eax, ecx
jb 0x1008a9a5
push 1
call esi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x24]
call fcn.1008a7a0
test eax, eax
jne 0x1008aa01
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
call fcn.1008a7a0
test eax, eax
jne 0x1008aa01
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
mov eax, 9
call fcn.1008a7a0
test eax, eax
jne 0x1008aa01
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
jmp 0x1008aa05
mov eax, dword [eax]
jmp 0x1008aa05
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
mov ecx, eax
shr ecx, 0x10
push ecx
movzx edx, ax
push edx
push str.StringFileInfo_04X_04X_
lea ecx, [esp + 0x38]
mov byte [esp + 0x1b0], 1
call fcn.1007f4f0
lea eax, [esp + 0x38]
add esp, 0xc
push eax
mov ebx, 0x100ba308
lea esi, [esp + 0x180]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 2
cmp dword [esp + 0x194], 8
mov eax, dword [esp + 0x180]
jae 0x1008aa72
lea eax, [esp + 0x180]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
mov edi, dword [esp + 0x24]
je 0x1008aa98
mov edx, dword [esp + 0x18]
lea eax, [edi + 0x38]
push eax
call fcn.10002190
lea ecx, [esp + 0x2c]
push ecx
mov ebx, 0x100ba320
lea esi, [esp + 0x148]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 3
cmp dword [esp + 0x15c], 8
mov eax, dword [esp + 0x148]
jae 0x1008aad1
lea eax, [esp + 0x148]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008aaf3
lea edx, [edi + 0x54]
push edx
mov edx, dword [esp + 0x1c]
call fcn.10002190
lea eax, [esp + 0x2c]
push eax
mov ebx, 0x100ba340
lea esi, [esp + 0x110]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 4
cmp dword [esp + 0x124], 8
mov eax, dword [esp + 0x110]
jae 0x1008ab2c
lea eax, [esp + 0x110]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008ab4e
mov edx, dword [esp + 0x18]
lea eax, [edi + 0x70]
push eax
call fcn.10002190
lea ecx, [esp + 0x2c]
push ecx
mov ebx, 0x100ba358
lea esi, [esp + 0xd8]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 5
cmp dword [esp + 0xec], 8
mov eax, dword [esp + 0xd8]
jae 0x1008ab87
lea eax, [esp + 0xd8]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008abac
lea edx, [edi + 0x8c]
push edx
mov edx, dword [esp + 0x1c]
call fcn.10002190
lea eax, [esp + 0x2c]
push eax
mov ebx, 0x100ba374
lea esi, [esp + 0xa0]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 6
cmp dword [esp + 0xb4], 8
mov eax, dword [esp + 0xa0]
jae 0x1008abe5
lea eax, [esp + 0xa0]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008ac0a
mov edx, dword [esp + 0x18]
lea eax, [edi + 0xa8]
push eax
call fcn.10002190
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str.OriginalFileName
lea esi, [esp + 0x68]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 7
cmp dword [esp + 0x7c], 8
mov eax, dword [esp + 0x68]
jae 0x1008ac37
lea eax, [esp + 0x68]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008ac5c
lea edx, [edi + 0xc4]
push edx
mov edx, dword [esp + 0x1c]
call fcn.10002190
lea eax, [esp + 0x2c]
push eax
mov ebx, 0x100ba3b8
lea esi, [esp + 0xf4]
call fcn.10080b60
add esp, 4
mov eax, 8
mov byte [esp + 0x1a4], al
cmp dword [esp + 0x108], eax
mov eax, dword [esp + 0xf4]
jae 0x1008ac98
lea eax, [esp + 0xf4]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008acbd
mov edx, dword [esp + 0x18]
lea eax, [edi + 0xe0]
push eax
call fcn.10002190
lea ecx, [esp + 0x2c]
push ecx
mov ebx, 0x100ba3d0
lea esi, [esp + 0x12c]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 9
cmp dword [esp + 0x140], 8
mov eax, dword [esp + 0x12c]
jae 0x1008acf6
lea eax, [esp + 0x12c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008ad1b
lea edx, [edi + 0xfc]
push edx
mov edx, dword [esp + 0x1c]
call fcn.10002190
lea eax, [esp + 0x2c]
push eax
mov ebx, 0x100ba3f0
lea esi, [esp + 0xbc]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 0xa
cmp dword [esp + 0xd0], 8
mov eax, dword [esp + 0xbc]
jae 0x1008ad54
lea eax, [esp + 0xbc]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008ad79
mov edx, dword [esp + 0x18]
lea eax, [edi + 0x118]
push eax
call fcn.10002190
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str.LegalTrademarks
lea esi, [esp + 0x4c]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 0xb
cmp dword [esp + 0x60], 8
mov eax, dword [esp + 0x4c]
jae 0x1008ada6
lea eax, [esp + 0x4c]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008adcb
lea edx, [edi + 0x134]
push edx
mov edx, dword [esp + 0x1c]
call fcn.10002190
lea eax, [esp + 0x2c]
push eax
mov ebx, str.PrivateBuild
lea esi, [esp + 0x84]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 0xc
cmp dword [esp + 0x98], 8
mov eax, dword [esp + 0x84]
jae 0x1008ae04
lea eax, [esp + 0x84]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008ae29
mov edx, dword [esp + 0x18]
lea eax, [edi + 0x150]
push eax
call fcn.10002190
lea ecx, [esp + 0x2c]
push ecx
mov ebx, str.SpecialBuild
lea esi, [esp + 0x164]
call fcn.10080b60
add esp, 4
mov byte [esp + 0x1a4], 0xd
cmp dword [esp + 0x178], 8
mov eax, dword [esp + 0x164]
jae 0x1008ae62
lea eax, [esp + 0x164]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1008ae87
mov edx, dword [esp + 0x18]
add edi, 0x16c
push edi
call fcn.10002190
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x160]
call fcn.10002160
lea ecx, [esp + 0x80]
call fcn.10002160
lea ecx, [esp + 0x48]
call fcn.10002160
lea ecx, [esp + 0xb8]
call fcn.10002160
lea ecx, [esp + 0x128]
call fcn.10002160
lea ecx, [esp + 0xf0]
call fcn.10002160
lea ecx, [esp + 0x64]
call fcn.10002160
lea ecx, [esp + 0x9c]
call fcn.10002160
lea ecx, [esp + 0xd4]
call fcn.10002160
lea ecx, [esp + 0x10c]
call fcn.10002160
lea ecx, [esp + 0x144]
call fcn.10002160
lea ecx, [esp + 0x17c]
call fcn.10002160
lea ecx, [esp + 0x2c]
call fcn.10002160
lea ecx, [esp + 0x1ac]
call fcn.10002160
mov eax, 1
mov ecx, dword [esp + 0x19c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.100a4489
add esp, 0x194
ret 0x1c