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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a3c60
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x17c
mov eax, dword [0x4c90b4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x479bd2
xor eax, eax
jmp 0x47a18f
mov eax, dword [ebp - 0x20]
push eax
call fcn.00487e40
add esp, 4
mov dword [ebp - 0x174], eax
mov ecx, dword [ebp - 0x174]
mov dword [ebp - 0x24], ecx
cmp dword [ebp - 0x24], 0
jne 0x479bfa
xor eax, eax
jmp 0x47a18f
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x479c35
mov dword [ebp - 0x178], 0
push 0x4c5854
lea eax, [ebp - 0x178]
push eax
call fcn.00489af4
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x4b39bc
mov edx, dword [ebp - 0x24]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x479cfe
cmp dword [ebp - 0x2c], 0x34
jne 0x479cfe
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x18]
add edx, 4
push edx
call fcn.00489f40
add esp, 0xc
push 0
mov ecx, dword [ebp - 0x18]
call fcn.0047a1b0
mov word [ebp - 0x186], ax
push 1
mov ecx, dword [ebp - 0x18]
call fcn.0047a1b0
mov word [ebp - 0x188], ax
push 2
mov ecx, dword [ebp - 0x18]
call fcn.0047a1b0
mov word [ebp - 0x18a], ax
push 3
mov ecx, dword [ebp - 0x18]
call fcn.0047a1b0
mov word [ebp - 0x18c], ax
movzx eax, word [ebp - 0x186]
push eax
movzx ecx, word [ebp - 0x188]
push ecx
movzx edx, word [ebp - 0x18a]
push edx
movzx eax, word [ebp - 0x18c]
push eax
push 0x4a563c
lea ecx, [ebp - 0xac]
push ecx
call fcn.00479680
add esp, 0x18
lea eax, [ebp - 0xac]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x38
call fcn.00479b10
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x47a12a
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push str.VarFileInfoTranslation
mov edx, dword [ebp - 0x24]
push edx
call sub.VERSION.dll_VerQueryValueW
mov dword [ebp - 0xb0], 0
push 0
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a290
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jne 0x479df1
push 1
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x2c]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a290
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jne 0x479df1
push 1
lea eax, [ebp - 0xb0]
push eax
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0047a290
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jne 0x479df1
push 1
lea eax, [ebp - 0xb0]
push eax
push 9
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x18]
call fcn.0047a290
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
jne 0x479df1
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax]
mov dword [ebp - 0xb0], ecx
mov eax, dword [ebp - 0xb0]
and eax, 0xffff0000
shr eax, 0x10
push eax
mov ecx, dword [ebp - 0xb0]
and ecx, 0xffff
push ecx
push str.StringFileInfo_04X_04X_
lea edx, [ebp - 0x130]
push edx
call fcn.00479680
add esp, 0x10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x4a56bc
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x479e5f
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x68
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x4a56d4
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x479ea0
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x80
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x4a56f4
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x479ee1
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x98
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x4a570c
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x479f22
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xb0
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x4a5728
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x479f63
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xc8
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push str.OriginalFileName
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x479fa4
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xe0
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x4a576c
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x479fe5
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0xf8
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push 0x4a5784
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x47a026
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x110
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push str.Comments
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x47a067
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x128
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push str.LegalTrademarks
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x47a0a8
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x140
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push str.PrivateBuild
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x47a0e9
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x158
call fcn.00479b10
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x28]
push ecx
push str.SpecialBuild
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x18]
call fcn.0047a340
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 0
je 0x47a12a
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x170
call fcn.00479b10
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
push ecx
call fcn.00487e49
add esp, 4
jmp 0x47a172
mov dword [ebp - 4], 0xffffffff
jmp 0x47a18a
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00487e4e
mov esp, ebp
pop ebp
ret 8