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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5251f3
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x575054]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x160], ebx
call fcn.004b3c80
push ebx
call fcn.004bc390
add esp, 4
test al, al
je 0x4b3beb
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.00405910
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [ebp - 0x168], ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x4b3beb
push 0x578220
push ebx
call fcn.0050f8f9
add esp, 8
mov esi, eax
test esi, esi
je 0x4b3beb
push esi
push ebx
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x160]
call fcn.00405910
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4b358a
push esi
call fcn.0050f8eb
add esp, 4
jmp 0x4b3beb
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
push 0x53ad28
push esi
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
call ebx
test eax, eax
je 0x4b35d4
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b35d4
cmp dword [ebp - 0x1c], 0x34
jne 0x4b35d4
push 0x34
push eax
push edi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
push str.VarFileInfoTranslation
push esi
call ebx
test eax, eax
je 0x4b36a7
cmp dword [ebp - 0x15c], 0
je 0x4b36a7
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx edx, ax
mov ecx, dword [ebp - 0x15c]
mov eax, dword [ebp - 0x1c]
add eax, ecx
cmp ecx, eax
jae 0x4b362e
cmp word [ecx], dx
je 0x4b3697
add ecx, 4
cmp ecx, eax
jb 0x4b3622
push 1
lea eax, [ebp - 0x164]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.004b3c10
test al, al
jne 0x4b369b
push 1
lea eax, [ebp - 0x164]
push eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.004b3c10
test al, al
jne 0x4b369b
push 1
lea eax, [ebp - 0x164]
push eax
push 9
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.004b3c10
test al, al
jne 0x4b369b
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax]
jmp 0x4b36a1
mov eax, dword [ecx]
jmp 0x4b36a1
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
lea ecx, [ebp - 0x38]
call fcn.00403340
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x160]
mov eax, ecx
shr eax, 0x10
push eax
movzx eax, cx
push eax
push str.StringFileInfo_04X_04X_
lea eax, [ebp - 0x38]
push eax
call fcn.004b9230
push 0x53ec98
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x158]
call fcn.00408d00
add esp, 0x14
mov byte [ebp - 4], 3
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x158]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b372e
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b372e
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x34]
call fcn.004033d0
push 0x53ec78
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x140]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x140]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b3788
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b3788
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x4c]
call fcn.004033d0
push 0x53ec60
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x128]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x128]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b37e2
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b37e2
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x64]
call fcn.004033d0
push 0x53ed40
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x110]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x110]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b383c
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b383c
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x7c]
call fcn.004033d0
push 0x53ed20
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xf8]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 7
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0xf8]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b3899
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b3899
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x94]
call fcn.004033d0
push str.OriginalFileName
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xe0]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 8
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0xe0]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b38f6
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b38f6
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0xac]
call fcn.004033d0
push 0x53ece4
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xc8]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 9
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0xc8]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b3953
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b3953
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0xc4]
call fcn.004033d0
push 0x53edac
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xb0]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0xb0]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b39b0
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b39b0
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0xdc]
call fcn.004033d0
push 0x53ed98
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x98]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x98]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b3a0d
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b3a0d
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0xf4]
call fcn.004033d0
push str.LegalTrademarks
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x80]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x80]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b3a64
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b3a64
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x10c]
call fcn.004033d0
push str.PrivateBuild
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x68]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x68]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b3abb
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4b3abb
push eax
call fcn.004035e0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x124]
call fcn.004033d0
push str.SpecialBuild
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.00408d00
add esp, 4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
lea ecx, [ebp - 0x50]
call fcn.00405910
push eax
push esi
call ebx
test eax, eax
je 0x4b3b0d
mov ebx, dword [ebp - 0x15c]
test ebx, ebx
je 0x4b3b0d
push ebx
call fcn.004035e0
add esp, 4
push eax
push ebx
lea ecx, [edi + 0x13c]
call fcn.004033d0
push esi
call fcn.0050f8eb
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x50]
call fcn.004032a0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x68]
call fcn.004032a0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x80]
call fcn.004032a0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x98]
call fcn.004032a0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb0]
call fcn.004032a0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc8]
call fcn.004032a0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe0]
call fcn.004032a0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf8]
call fcn.004032a0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x110]
call fcn.004032a0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x128]
call fcn.004032a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x140]
call fcn.004032a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x158]
call fcn.004032a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.004032a0
mov al, 1
jmp 0x4b3bed
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0050f27d
mov esp, ebp
pop ebp
ret 4