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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6863f3
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x748068]
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.00420fe0
mov ecx, ebx
call fcn.00436900
test al, al
je 0x420f49
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x20]
push eax
mov ecx, ebx
call fcn.00405ca0
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 0x420f49
push 0x750c19
push ebx
call fcn.00650379
add esp, 8
mov esi, eax
test esi, esi
je 0x420f49
push esi
push ebx
push dword [ebp - 0x20]
mov ecx, dword [ebp - 0x160]
call fcn.00405ca0
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x4208e8
push esi
call fcn.00650374
add esp, 4
jmp 0x420f49
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
push 0x6ccbc0
push esi
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
call ebx
test eax, eax
je 0x420932
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420932
cmp dword [ebp - 0x1c], 0x34
jne 0x420932
push 0x34
push eax
push edi
call fcn.00651d10
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 0x420a05
cmp dword [ebp - 0x15c], 0
je 0x420a05
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 0x42098c
cmp word [ecx], dx
je 0x4209f5
add ecx, 4
cmp ecx, eax
jb 0x420980
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.00420f70
test al, al
jne 0x4209f9
push 1
lea eax, [ebp - 0x164]
push eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.00420f70
test al, al
jne 0x4209f9
push 1
lea eax, [ebp - 0x164]
push eax
push 9
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.00420f70
test al, al
jne 0x4209f9
mov eax, dword [ebp - 0x15c]
mov eax, dword [eax]
jmp 0x4209ff
mov eax, dword [ecx]
jmp 0x4209ff
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x160], eax
lea ecx, [ebp - 0x38]
call fcn.00405d80
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.004304b0
push 0x6ceb10
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x158]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420a8c
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420a8c
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x34]
call fcn.00405ec0
push 0x6ceb28
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x140]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420ae6
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420ae6
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x4c]
call fcn.00405ec0
push 0x6ceb48
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x128]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420b40
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420b40
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x64]
call fcn.00405ec0
push str.InternalName
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x110]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420b9a
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420b9a
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x7c]
call fcn.00405ec0
push 0x6ceb7c
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xf8]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420bf7
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420bf7
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x94]
call fcn.00405ec0
push str.OriginalFileName
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xe0]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420c54
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420c54
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0xac]
call fcn.00405ec0
push 0x6cebc0
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xc8]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420cb1
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420cb1
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0xc4]
call fcn.00405ec0
push 0x6cebd8
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0xb0]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420d0e
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420d0e
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0xdc]
call fcn.00405ec0
push str.Comments
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x98]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420d6b
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420d6b
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0xf4]
call fcn.00405ec0
push str.LegalTrademarks
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x80]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420dc2
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420dc2
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x10c]
call fcn.00405ec0
push 0x6ce3e4
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x68]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420e19
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x420e19
push eax
call fcn.004060d0
add esp, 4
push eax
push dword [ebp - 0x15c]
lea ecx, [edi + 0x124]
call fcn.00405ec0
push str.SpecialBuild
lea edx, [ebp - 0x38]
lea ecx, [ebp - 0x50]
call fcn.00421070
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.00405ca0
push eax
push esi
call ebx
test eax, eax
je 0x420e6b
mov ebx, dword [ebp - 0x15c]
test ebx, ebx
je 0x420e6b
push ebx
call fcn.004060d0
add esp, 4
push eax
push ebx
lea ecx, [edi + 0x13c]
call fcn.00405ec0
push esi
call fcn.00650374
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x50]
call fcn.00405ce0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x68]
call fcn.00405ce0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x80]
call fcn.00405ce0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x98]
call fcn.00405ce0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xb0]
call fcn.00405ce0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc8]
call fcn.00405ce0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xe0]
call fcn.00405ce0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf8]
call fcn.00405ce0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x110]
call fcn.00405ce0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x128]
call fcn.00405ce0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x140]
call fcn.00405ce0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x158]
call fcn.00405ce0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00405ce0
mov al, 1
jmp 0x420f4b
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.0064fb08
mov esp, ebp
pop ebp
ret 4