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

Disassembly:
push 0x14
mov eax, 0x45d3a6
call fcn.0043f27d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov edi, eax
xor ebx, ebx
cmp edi, ebx
jne 0x404af2
xor eax, eax
jmp 0x4050b9
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 1
push edi
lea eax, [ebp - 0x14]
push eax
call fcn.0040529a
cmp dword [ebp - 0x14], ebx
jne 0x404b10
call fcn.004307a4
push dword [ebp - 0x14]
push edi
push dword [ebp - 0x20]
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x404b32
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
push eax
call fcn.0040283f
jmp 0x404aeb
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x466490
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x404b62
cmp dword [ebp - 0x18], 0x34
jne 0x404b62
push 0x34
push dword [ebp - 0x10]
lea eax, [esi + 4]
push eax
call fcn.004433f0
add esp, 0xc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x466494
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
push ebx
mov dword [ebp + 8], ebx
call edi
mov ecx, dword [ebp - 0x18]
lea ebx, [ebp + 8]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004051d4
test eax, eax
pop ecx
pop ecx
jne 0x404bde
push 1
call edi
mov ecx, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
call fcn.004051d4
test eax, eax
pop ecx
pop ecx
jne 0x404bde
mov ecx, dword [ebp - 0x18]
push 1
push eax
mov eax, dword [ebp - 0x10]
call fcn.004051d4
test eax, eax
pop ecx
pop ecx
jne 0x404bde
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
push 1
push 9
call fcn.004051d4
test eax, eax
pop ecx
pop ecx
jne 0x404bde
mov eax, dword [ebp - 0x10]
mov edi, dword [eax]
jmp 0x404be1
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
call fcn.0040897a
mov byte [ebp - 4], 2
mov eax, edi
shr eax, 0x10
push eax
movzx eax, di
push eax
lea eax, [ebp - 0x1c]
push str.StringFileInfo_04X_04X_
push eax
call fcn.00402001
push 0x4664fc
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0x1c
mov byte [ebp - 4], 3
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x404c67
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 4
push eax
lea ecx, [esi + 0x38]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push 0x466514
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 5
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x404cc9
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 6
push eax
lea ecx, [esi + 0x3c]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push 0x466534
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 7
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x404d2b
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 8
push eax
lea ecx, [esi + 0x40]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push 0x46654c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 9
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x404d8d
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x44]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push 0x466568
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 0xb
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x404def
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 0xc
push eax
lea ecx, [esi + 0x48]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push str.OriginalFileName
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 0xd
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x404e51
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 0xe
push eax
lea ecx, [esi + 0x4c]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push 0x4665ac
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 0xf
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x404eb3
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 0x10
push eax
lea ecx, [esi + 0x50]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push 0x4665c4
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 0x11
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x404f15
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 0x12
push eax
lea ecx, [esi + 0x54]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push str.Comments
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 0x13
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x404f77
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 0x14
push eax
lea ecx, [esi + 0x58]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push str.LegalTrademarks
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 0x15
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x404fd9
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 0x16
push eax
lea ecx, [esi + 0x5c]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push str.PrivateBuild
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 0x17
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x40503b
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 0x18
push eax
lea ecx, [esi + 0x60]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
push str.SpecialBuild
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp + 8]
push eax
call fcn.00405224
add esp, 0xc
mov byte [ebp - 4], 0x19
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x10]
push ecx
push eax
push dword [ebp - 0x14]
call sub.VERSION.dll_VerQueryValueW
mov edi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
test edi, edi
je 0x40509d
push dword [ebp - 0x10]
lea ecx, [ebp + 8]
call fcn.004014ea
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [esi + 0x64]
call fcn.00401ac5
mov byte [ebp - 4], 2
lea ecx, [ebp + 8]
call fcn.00401b2a
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00401b2a
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x14]
push eax
call fcn.0040283f
xor eax, eax
inc eax
call fcn.0043f355
ret 4