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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x475d63
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [section..data]
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.00442730
mov ecx, ebx
call fcn.00415fc0
test al, al
je 0x441f47
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
cmp dword [ebx + 0x14], 8
jb 0x4418c2
mov eax, dword [ebx]
jmp 0x4418c4
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 0x441f47
push 0x496d04
push eax
call fcn.0046c7da
add esp, 8
mov edi, eax
test edi, edi
je 0x441f47
cmp dword [ebx + 0x14], 8
jb 0x441904
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 0x441928
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
jmp 0x441f47
mov dword [ebp - 0x15c], 0
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x15c]
push eax
push 0x47ed74
push edi
mov ebx, dword [sym.imp.VERSION.dll_VerQueryValueW]
call ebx
test eax, eax
je 0x441972
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441972
cmp dword [ebp - 0x1c], 0x34
jne 0x441972
push 0x34
push eax
push esi
call sub.MSVCR120.dll_memcpy
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 0x441a41
cmp dword [ebp - 0x15c], 0
je 0x441a41
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 0x4419cc
lea esp, [esp]
cmp word [ecx], dx
je 0x441a35
add ecx, 4
cmp ecx, eax
jb 0x4419c0
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.00441f70
test al, al
jne 0x441a39
push 1
lea eax, [ebp - 0x160]
push eax
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.00441f70
test al, al
jne 0x441a39
push 1
lea eax, [ebp - 0x160]
push eax
push 9
push dword [ebp - 0x1c]
push dword [ebp - 0x15c]
call fcn.00441f70
test al, al
jne 0x441a39
mov eax, dword [ebp - 0x15c]
mov ecx, dword [eax]
jmp 0x441a43
mov ecx, dword [ecx]
jmp 0x441a43
mov ecx, dword [ebp - 0x160]
jmp 0x441a43
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 str.StringFileInfo_04X_04X_
lea eax, [ebp - 0x34]
push eax
call fcn.00414fb0
push 0x481528
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x128]
call fcn.00418130
add esp, 0x14
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 0x441ad8
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441ad8
push eax
lea ecx, [esi + 0x34]
call fcn.0040a780
push 0x481508
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x140]
call fcn.00418130
add esp, 4
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 0x441b2c
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441b2c
push eax
lea ecx, [esi + 0x4c]
call fcn.0040a780
push 0x48155c
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x158]
call fcn.00418130
add esp, 4
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 0x441b80
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441b80
push eax
lea ecx, [esi + 0x64]
call fcn.0040a780
push 0x481540
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x110]
call fcn.00418130
add esp, 4
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 0x441bd4
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441bd4
push eax
lea ecx, [esi + 0x7c]
call fcn.0040a780
push 0x481598
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xe0]
call fcn.00418130
add esp, 4
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 0x441c2b
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441c2b
push eax
lea ecx, [esi + 0x94]
call fcn.0040a780
push str.OriginalFileName
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xb0]
call fcn.00418130
add esp, 4
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 0x441c82
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441c82
push eax
lea ecx, [esi + 0xac]
call fcn.0040a780
push 0x4815d8
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x80]
call fcn.00418130
add esp, 4
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 0x441ccd
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441ccd
push eax
lea ecx, [esi + 0xc4]
call fcn.0040a780
push 0x4815b8
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x68]
call fcn.00418130
add esp, 4
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 0x441d18
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441d18
push eax
lea ecx, [esi + 0xdc]
call fcn.0040a780
push 0x481610
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xf8]
call fcn.00418130
add esp, 4
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 0x441d6f
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441d6f
push eax
lea ecx, [esi + 0xf4]
call fcn.0040a780
push str.LegalTrademarks
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x50]
call fcn.00418130
add esp, 4
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 0x441dba
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441dba
push eax
lea ecx, [esi + 0x10c]
call fcn.0040a780
push str.PrivateBuild
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0xc8]
call fcn.00418130
add esp, 4
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 0x441e11
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441e11
push eax
lea ecx, [esi + 0x124]
call fcn.0040a780
push str.SpecialBuild
lea edx, [ebp - 0x34]
lea ecx, [ebp - 0x98]
call fcn.00418130
add esp, 4
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 0x441e68
mov eax, dword [ebp - 0x15c]
test eax, eax
je 0x441e68
push eax
lea ecx, [esi + 0x13c]
call fcn.0040a780
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x98]
call fcn.00405490
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc8]
call fcn.00405490
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x50]
call fcn.00405490
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xf8]
call fcn.00405490
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x68]
call fcn.00405490
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x80]
call fcn.00405490
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xb0]
call fcn.00405490
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xe0]
call fcn.00405490
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x110]
call fcn.00405490
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x158]
call fcn.00405490
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x140]
call fcn.00405490
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x128]
call fcn.00405490
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.00405490
mov al, 1
jmp 0x441f49
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.0046b2e2
mov esp, ebp
pop ebp
ret 4