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

Disassembly:
push 0xffffffffffffffff
push 0x101f19cb
mov eax, dword fs:[0]
push eax
sub esp, 0x188
mov eax, dword [0x10293044]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10293044]
xor eax, esp
push eax
lea eax, [esp + 0x19c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x20], esi
xor ebx, ebx
mov dword [esp + 0x1a4], ebx
call fcn.101ceea0
lea eax, [esp + 0x1ac]
push eax
call fcn.1019b690
add esp, 4
test al, al
jne 0x101ce699
mov dword [esp + 0x1a4], 0xffffffff
cmp dword [esp + 0x1c4], 8
jb 0x101ce678
mov ecx, dword [esp + 0x1b0]
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x1c4], 7
mov dword [esp + 0x1c0], ebx
mov word [esp + 0x1b0], bx
xor eax, eax
jmp 0x101cedfa
mov eax, dword [esp + 0x1b0]
mov esi, 8
cmp dword [esp + 0x1c4], esi
mov dword [esp + 0x28], ebx
jae 0x101ce6b9
lea eax, [esp + 0x1b0]
lea edx, [esp + 0x28]
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
cmp edi, ebx
jne 0x101ce70f
mov dword [esp + 0x1a4], 0xffffffff
cmp dword [esp + 0x1c4], esi
jb 0x101ce678
mov eax, dword [esp + 0x1b0]
push eax
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [esp + 0x1c4], 7
mov dword [esp + 0x1c0], ebx
mov word [esp + 0x1b0], bx
xor eax, eax
jmp 0x101cedfa
push edi
call fcn.101d19a9
mov ebp, eax
add esp, 4
cmp ebp, ebx
jne 0x101ce735
mov dword [esp + 0x1a4], 0xffffffff
cmp dword [esp + 0x1c4], esi
jmp 0x101ce666
cmp dword [esp + 0x1c4], esi
mov eax, dword [esp + 0x1b0]
jae 0x101ce74c
lea eax, [esp + 0x1b0]
mov edx, dword [esp + 0x28]
push ebp
push edi
push edx
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x101ce784
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov dword [esp + 0x1a4], 0xffffffff
lea ecx, [esp + 0x1ac]
call fcn.10001dd0
xor eax, eax
jmp 0x101cedfa
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x102328c0
push ebp
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x101ce7c3
cmp dword [esp + 0x1c], 0x34
jne 0x101ce7c3
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x20]
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 edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
mov dword [esp + 0x24], ebx
call edi
mov ecx, dword [esp + 0x1c]
movzx edx, ax
mov eax, dword [esp + 0x18]
add ecx, eax
cmp eax, ecx
jae 0x101ce801
cmp word [eax], dx
je 0x101ce84d
add eax, 4
cmp eax, ecx
jb 0x101ce7f5
push 1
call edi
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x1c]
lea edi, [esp + 0x28]
call fcn.101ce590
test eax, eax
jne 0x101ce851
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
call fcn.101ce590
test eax, eax
jne 0x101ce851
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 1
mov eax, 9
call fcn.101ce590
test eax, eax
jne 0x101ce851
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
jmp 0x101ce855
mov eax, dword [eax]
jmp 0x101ce855
mov eax, dword [esp + 0x24]
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], ebx
mov word [esp + 0x30], bx
mov byte [esp + 0x1a4], 1
mov ecx, eax
shr ecx, 0x10
push ecx
movzx edx, ax
push edx
push str.StringFileInfo_04X_04X_
lea ecx, [esp + 0x38]
call fcn.1019cb70
add esp, 0xc
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x180]
push ecx
mov edi, 0x10244028
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 2
cmp dword [esp + 0x194], esi
mov eax, dword [esp + 0x180]
jae 0x101ce8c2
lea eax, [esp + 0x180]
lea edx, [esp + 0x1c]
push edx
lea ecx, [esp + 0x1c]
push ecx
push eax
push ebp
call sub.VERSION.dll_VerQueryValueW
test eax, eax
mov ebx, dword [esp + 0x20]
je 0x101ce8e8
lea edx, [ebx + 0x38]
push edx
mov edx, dword [esp + 0x1c]
call fcn.1000bb00
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x148]
push ecx
mov edi, 0x10244040
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 3
cmp dword [esp + 0x15c], esi
mov eax, dword [esp + 0x148]
jae 0x101ce921
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 0x101ce943
lea edx, [ebx + 0x54]
push edx
mov edx, dword [esp + 0x1c]
call fcn.1000bb00
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x110]
push ecx
mov edi, 0x10244060
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 4
cmp dword [esp + 0x124], esi
mov eax, dword [esp + 0x110]
jae 0x101ce97c
lea eax, [esp + 0x110]
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 0x101ce99e
lea edx, [ebx + 0x70]
push edx
mov edx, dword [esp + 0x1c]
call fcn.1000bb00
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xd8]
push ecx
mov edi, 0x10244078
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 5
cmp dword [esp + 0xec], esi
mov eax, dword [esp + 0xd8]
jae 0x101ce9d7
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 0x101ce9fc
lea edx, [ebx + 0x8c]
push edx
mov edx, dword [esp + 0x1c]
call fcn.1000bb00
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xa0]
push ecx
mov edi, 0x10244094
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 6
cmp dword [esp + 0xb4], esi
mov eax, dword [esp + 0xa0]
jae 0x101cea35
lea eax, [esp + 0xa0]
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 0x101cea5a
lea edx, [ebx + 0xa8]
push edx
mov edx, dword [esp + 0x1c]
call fcn.1000bb00
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x68]
push ecx
mov edi, str.OriginalFileName
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 7
cmp dword [esp + 0x7c], esi
mov eax, dword [esp + 0x68]
jae 0x101cea87
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 0x101ceaac
lea edx, [ebx + 0xc4]
push edx
mov edx, dword [esp + 0x1c]
call fcn.1000bb00
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xf4]
push ecx
mov edi, 0x102440d8
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 8
cmp dword [esp + 0x108], esi
mov eax, dword [esp + 0xf4]
jae 0x101ceae5
lea eax, [esp + 0xf4]
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 0x101ceb0a
lea edx, [ebx + 0xe0]
push edx
mov edx, dword [esp + 0x1c]
call fcn.1000bb00
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x12c]
push ecx
mov edi, 0x102440f0
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 9
cmp dword [esp + 0x140], esi
mov eax, dword [esp + 0x12c]
jae 0x101ceb43
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 0x101ceb68
lea edx, [ebx + 0xfc]
push edx
mov edx, dword [esp + 0x1c]
call fcn.1000bb00
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0xbc]
push ecx
mov edi, 0x10244110
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 0xa
cmp dword [esp + 0xd0], esi
mov eax, dword [esp + 0xbc]
jae 0x101ceba1
lea eax, [esp + 0xbc]
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 0x101cebc6
lea edx, [ebx + 0x118]
push edx
mov edx, dword [esp + 0x1c]
call fcn.1000bb00
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov edi, str.LegalTrademarks
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 0xb
cmp dword [esp + 0x60], esi
mov eax, dword [esp + 0x4c]
jae 0x101cebf3
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 0x101cec18
mov edx, dword [esp + 0x18]
add ebx, 0x134
push ebx
call fcn.1000bb00
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x84]
push eax
mov edi, str.PrivateBuild
call fcn.1002eeb0
add esp, 8
mov bl, 0xc
mov byte [esp + 0x1a4], bl
cmp dword [esp + 0x98], esi
mov eax, dword [esp + 0x84]
jae 0x101cec52
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 0x101cec7a
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add eax, 0x150
push eax
call fcn.1000bb00
lea ecx, [esp + 0x2c]
push ecx
lea edx, [esp + 0x164]
push edx
mov edi, str.SpecialBuild
call fcn.1002eeb0
add esp, 8
mov byte [esp + 0x1a4], 0xd
cmp dword [esp + 0x178], esi
mov eax, dword [esp + 0x164]
jae 0x101cecb3
lea eax, [esp + 0x164]
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 0x101cecdb
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x18]
add eax, 0x16c
push eax
call fcn.1000bb00
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
add esp, 4
mov byte [esp + 0x1a4], bl
lea ecx, [esp + 0x160]
call fcn.10001dd0
mov byte [esp + 0x1a4], 0xb
lea ecx, [esp + 0x80]
call fcn.10001dd0
mov byte [esp + 0x1a4], 0xa
lea ecx, [esp + 0x48]
call fcn.10001dd0
mov byte [esp + 0x1a4], 9
lea ecx, [esp + 0xb8]
call fcn.10001dd0
mov byte [esp + 0x1a4], 8
lea ecx, [esp + 0x128]
call fcn.10001dd0
mov byte [esp + 0x1a4], 7
lea ecx, [esp + 0xf0]
call fcn.10001dd0
mov byte [esp + 0x1a4], 6
lea ecx, [esp + 0x64]
call fcn.10001dd0
mov byte [esp + 0x1a4], 5
lea ecx, [esp + 0x9c]
call fcn.10001dd0
mov byte [esp + 0x1a4], 4
lea ecx, [esp + 0xd4]
call fcn.10001dd0
mov byte [esp + 0x1a4], 3
lea ecx, [esp + 0x10c]
call fcn.10001dd0
mov byte [esp + 0x1a4], 2
lea ecx, [esp + 0x144]
call fcn.10001dd0
mov byte [esp + 0x1a4], 1
lea ecx, [esp + 0x17c]
call fcn.10001dd0
mov byte [esp + 0x1a4], 0
lea ecx, [esp + 0x2c]
call fcn.10001dd0
mov dword [esp + 0x1a4], 0xffffffff
lea ecx, [esp + 0x1ac]
call fcn.10001dd0
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.101d19cc
add esp, 0x194
ret 0x1c