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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x685973
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x73d6e0]
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 esi, ecx
mov ebx, dword [ebp + 8]
call fcn.004147b0
mov ecx, ebx
call fcn.004261a0
test al, al
je 0x41467e
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x413fe2
mov eax, dword [ebx]
jmp 0x413fe4
mov eax, ebx
lea ecx, [ebp - 0x38]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x164], eax
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x41467e
push 0x747268
push eax
call fcn.0054831a
add esp, 8
mov edi, eax
test edi, edi
je 0x41467e
cmp dword [ebx + 0x14], 8
jb 0x414024
mov ebx, dword [ebx]
push edi
push dword [ebp - 0x164]
push dword [ebp - 0x38]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x414047
push edi
call fcn.005ad770
add esp, 4
jmp 0x41467e
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
push 0x6ea1a4
push edi
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
call ebx
test eax, eax
je 0x414091
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x414091
cmp dword [ebp - 0x1c], 0x34
jne 0x414091
push 0x34
push eax
push esi
call fcn.00549620
add esp, 0xc
mov dword [ebp - 0x160], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
push str.VarFileInfoTranslation
push edi
call ebx
test eax, eax
je 0x414161
cmp dword [ebp - 0x15c], 0
je 0x414161
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 0x4140ec
jmp 0x4140e0
cmp word [ecx], dx
je 0x414155
add ecx, 4
cmp ecx, eax
jb 0x4140e0
push 1
lea eax, [ebp - 0x160]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
movzx eax, ax
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.004146a0
test al, al
jne 0x414159
push 1
lea eax, [ebp - 0x160]
push eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.004146a0
test al, al
jne 0x414159
push 1
lea eax, [ebp - 0x160]
push eax
push 9
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.004146a0
test al, al
jne 0x414159
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
jmp 0x414163
mov ecx, dword [ecx]
jmp 0x414163
mov ecx, dword [ebp - 0x160]
jmp 0x414163
xor ecx, ecx
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
xor eax, eax
mov word [ebp - 0x34], ax
mov dword [ebp - 4], 2
mov eax, ecx
shr eax, 0x10
push eax
movzx eax, cx
push eax
push 0x6eb26c
lea eax, [ebp - 0x34]
push eax
call fcn.0041d190
push 0x6eb2a0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x128]
push eax
call fcn.004148d0
add esp, 0x1c
mov byte [ebp - 4], 3
lea eax, [ebp - 0x128]
cmp dword [ebp - 0x114], 8
cmovae eax, dword [ebp - 0x128]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x4141fa
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4141fa
push eax
lea ecx, [esi + 0x34]
call fcn.00408cf0
push 0x6eb2b8
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x140]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 4
lea eax, [ebp - 0x140]
cmp dword [ebp - 0x12c], 8
cmovae eax, dword [ebp - 0x140]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x414250
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x414250
push eax
lea ecx, [esi + 0x4c]
call fcn.00408cf0
push 0x6eb2d8
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 5
lea eax, [ebp - 0x158]
cmp dword [ebp - 0x144], 8
cmovae eax, dword [ebp - 0x158]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x4142a6
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4142a6
push eax
lea ecx, [esi + 0x64]
call fcn.00408cf0
push str.InternalName
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x110]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 6
lea eax, [ebp - 0x110]
cmp dword [ebp - 0xfc], 8
cmovae eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x4142fc
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4142fc
push eax
lea ecx, [esi + 0x7c]
call fcn.00408cf0
push 0x6eb30c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xe0]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 7
lea eax, [ebp - 0xe0]
cmp dword [ebp - 0xcc], 8
cmovae eax, dword [ebp - 0xe0]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x414355
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x414355
push eax
lea ecx, [esi + 0x94]
call fcn.00408cf0
push str.OriginalFileName
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 8
lea eax, [ebp - 0xb0]
cmp dword [ebp - 0x9c], 8
cmovae eax, dword [ebp - 0xb0]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x4143ae
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4143ae
push eax
lea ecx, [esi + 0xac]
call fcn.00408cf0
push 0x6eb350
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 9
lea eax, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
cmovae eax, dword [ebp - 0x80]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x4143fb
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4143fb
push eax
lea ecx, [esi + 0xc4]
call fcn.00408cf0
push 0x6eb368
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x68]
cmp dword [ebp - 0x54], 8
cmovae eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x414448
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x414448
push eax
lea ecx, [esi + 0xdc]
call fcn.00408cf0
push str.Comments
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xf8]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0xf8]
cmp dword [ebp - 0xe4], 8
cmovae eax, dword [ebp - 0xf8]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x4144a1
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4144a1
push eax
lea ecx, [esi + 0xf4]
call fcn.00408cf0
push str.LegalTrademarks
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae eax, dword [ebp - 0x50]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x4144ee
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4144ee
push eax
lea ecx, [esi + 0x10c]
call fcn.00408cf0
push 0x6eac1c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0xc8]
cmp dword [ebp - 0xb4], 8
cmovae eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x414547
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x414547
push eax
lea ecx, [esi + 0x124]
call fcn.00408cf0
push str.SpecialBuild
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.004148d0
add esp, 0xc
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x98]
cmp dword [ebp - 0x84], 8
cmovae eax, dword [ebp - 0x98]
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x15c]
push ecx
push eax
push edi
call ebx
test eax, eax
je 0x4145a0
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x4145a0
push eax
lea ecx, [esi + 0x13c]
call fcn.00408cf0
push edi
call fcn.005ad770
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x98]
call fcn.00408cc0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc8]
call fcn.00408cc0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50]
call fcn.00408cc0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xf8]
call fcn.00408cc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.00408cc0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80]
call fcn.00408cc0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb0]
call fcn.00408cc0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
call fcn.00408cc0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x110]
call fcn.00408cc0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x158]
call fcn.00408cc0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x140]
call fcn.00408cc0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.00408cc0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00408cc0
mov al, 1
jmp 0x414680
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.005472b9
mov esp, ebp
pop ebp
ret 4