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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d04e3
mov eax, dword fs:[0]
push eax
sub esp, 0x154
mov eax, dword [0x510008]
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 - 0x15c], ecx
mov esi, dword [ebp + 8]
call fcn.0041e690
mov ecx, esi
call fcn.00485bd0
test al, al
je 0x41e5fe
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x41ddf6
mov eax, dword [esi]
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
mov dword [ebp - 0x160], ebx
mov dword [ebp - 4], 0xffffffff
test ebx, ebx
je 0x41e5fe
push 0x510f50
push ebx
call fcn.004ca58b
add esp, 8
mov edi, eax
test edi, edi
je 0x41e5fe
cmp dword [esi + 0x14], 8
jb 0x41de38
mov esi, dword [esi]
push edi
push ebx
push dword [ebp - 0x34]
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
jne 0x41de56
push edi
call fcn.004ca586
add esp, 4
jmp 0x41e5fe
mov dword [ebp - 0x158], 0
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x158]
push eax
push 0x4e790c
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
mov ebx, dword [ebp - 0x15c]
test eax, eax
je 0x41dea4
mov eax, dword [ebp - 0x158]
test eax, eax
je 0x41dea4
cmp dword [ebp - 0x18], 0x34
jne 0x41dea4
push 0x34
push eax
push ebx
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor esi, esi
mov dword [ebp - 0x15c], esi
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x158]
push eax
push str.VarFileInfoTranslation
push edi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x41df6c
cmp dword [ebp - 0x158], esi
je 0x41df6c
mov esi, dword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call esi
movzx edx, ax
mov ecx, dword [ebp - 0x158]
mov eax, dword [ebp - 0x18]
add eax, ecx
cmp ecx, eax
jae 0x41defd
cmp word [ecx], dx
je 0x41df62
add ecx, 4
cmp ecx, eax
jb 0x41def1
push 1
lea eax, [ebp - 0x15c]
push eax
call esi
movzx eax, ax
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x158]
call fcn.0041e620
test al, al
jne 0x41df66
push 1
lea eax, [ebp - 0x15c]
push eax
push 0
push dword [ebp - 0x18]
push dword [ebp - 0x158]
call fcn.0041e620
test al, al
jne 0x41df66
push 1
lea eax, [ebp - 0x15c]
push eax
push 9
push dword [ebp - 0x18]
push dword [ebp - 0x158]
call fcn.0041e620
test al, al
jne 0x41df66
mov eax, dword [ebp - 0x158]
mov esi, dword [eax]
jmp 0x41df6c
mov esi, dword [ecx]
jmp 0x41df6c
mov esi, dword [ebp - 0x15c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 7
xor eax, eax
mov word [ebp - 0x30], ax
mov dword [ebp - 4], 2
mov eax, esi
shr eax, 0x10
push eax
movzx eax, si
push eax
push str.StringFileInfo_04X_04X_
lea eax, [ebp - 0x30]
push eax
call fcn.00484170
push 0x4e9ee4
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x154]
call fcn.0041e7b0
add esp, 0x14
mov byte [ebp - 4], 3
lea eax, [ebp - 0x154]
cmp dword [ebp - 0x140], 8
cmovae eax, dword [ebp - 0x154]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
call esi
test eax, eax
je 0x41e02d
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e02d
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e010
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x34]
call fcn.00403d60
push 0x4e9efc
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x13c]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 4
lea eax, [ebp - 0x13c]
cmp dword [ebp - 0x128], 8
cmovae eax, dword [ebp - 0x13c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e0a0
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e0a0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e083
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x4c]
call fcn.00403d60
push 0x4e9f1c
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x124]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 5
lea eax, [ebp - 0x124]
cmp dword [ebp - 0x110], 8
cmovae eax, dword [ebp - 0x124]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e113
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e113
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e0f6
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x64]
call fcn.00403d60
push 0x4e9f34
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x10c]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 6
lea eax, [ebp - 0x10c]
cmp dword [ebp - 0xf8], 8
cmovae eax, dword [ebp - 0x10c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e18d
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e18d
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e170
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x7c]
call fcn.00403d60
push 0x4e9f50
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xf4]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 7
lea eax, [ebp - 0xf4]
cmp dword [ebp - 0xe0], 8
cmovae eax, dword [ebp - 0xf4]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e203
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e203
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e1e3
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x94]
call fcn.00403d60
push str.OriginalFileName
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xdc]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 8
lea eax, [ebp - 0xdc]
cmp dword [ebp - 0xc8], 8
cmovae eax, dword [ebp - 0xdc]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e280
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e280
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e260
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xac]
call fcn.00403d60
push 0x4e9f94
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xc4]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 9
lea eax, [ebp - 0xc4]
cmp dword [ebp - 0xb0], 8
cmovae eax, dword [ebp - 0xc4]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e2f6
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e2f6
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e2d6
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xc4]
call fcn.00403d60
push 0x4e9fac
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0xac]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0xac]
cmp dword [ebp - 0x98], 8
cmovae eax, dword [ebp - 0xac]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e370
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e370
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e350
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xdc]
call fcn.00403d60
push 0x4e9fcc
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x94]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x94]
cmp dword [ebp - 0x80], 8
cmovae eax, dword [ebp - 0x94]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e3e3
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e3e3
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e3c3
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0xf4]
call fcn.00403d60
push str.LegalTrademarks
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x7c]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x7c]
cmp dword [ebp - 0x68], 8
cmovae eax, dword [ebp - 0x7c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e450
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e450
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e430
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x10c]
call fcn.00403d60
push str.PrivateBuild
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x64]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x64]
cmp dword [ebp - 0x50], 8
cmovae eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e4c0
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e4c0
mov ecx, edx
lea eax, [ecx + 2]
mov dword [ebp - 0x15c], eax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e4a0
sub ecx, dword [ebp - 0x15c]
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x124]
call fcn.00403d60
push str.SpecialBuild
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x4c]
call fcn.0041e7b0
add esp, 4
mov byte [ebp - 4], 0xe
lea eax, [ebp - 0x4c]
cmp dword [ebp - 0x38], 8
cmovae eax, dword [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x158]
push ecx
push eax
push edi
call esi
test eax, eax
je 0x41e520
mov edx, dword [ebp - 0x158]
test edx, edx
je 0x41e520
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41e504
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebx + 0x13c]
call fcn.00403d60
push edi
call fcn.004ca586
add esp, 4
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x4c]
call fcn.00403cf0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x64]
call fcn.00403cf0
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x7c]
call fcn.00403cf0
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0x94]
call fcn.00403cf0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xac]
call fcn.00403cf0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc4]
call fcn.00403cf0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xdc]
call fcn.00403cf0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xf4]
call fcn.00403cf0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x10c]
call fcn.00403cf0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x124]
call fcn.00403cf0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x13c]
call fcn.00403cf0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x154]
call fcn.00403cf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00403cf0
mov al, 1
jmp 0x41e600
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 - 0x14]
xor ecx, ebp
call fcn.004c9d53
mov esp, ebp
pop ebp
ret 4