Function at 0x41e440
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4291e2
mov eax, dword fs:[0]
push eax
sub esp, 0x548
mov eax, dword [0x524104]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x530], eax
mov eax, dword [ebp + 0x10]
cmp dword [ebx + 0x14], 0x10
mov dword [ebp - 0x540], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x544], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x54c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x554], eax
jb 0x41e4a9
mov ebx, dword [ebx]
test ebx, ebx
je 0x41e4f9
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41e4b2
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x548], eax
cmp eax, 0x3fffffff
jg 0x41e4f9
add eax, eax
call fcn.00425b70
mov esi, esp
test esi, esi
je 0x41e4f9
push dword [ebp - 0x548]
xor eax, eax
push esi
push 0xffffffffffffffff
push ebx
push eax
push 3
mov word [esi], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor ecx, ecx
test eax, eax
cmove esi, ecx
jmp 0x41e4fb
xor esi, esi
push esi
lea eax, [ebp - 0x33c]
push 0x104
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
add esp, 0xc
mov dword [ebp - 0x550], 0
lea eax, [ebp - 0x550]
push eax
lea eax, [ebp - 0x33c]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0x41e59d
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00425dbf
add esp, 4
mov ebx, eax
lea eax, [ebp - 0x33c]
mov dword [ebp - 0x548], ebx
push ebx
push esi
push dword [ebp - 0x550]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x41e59d
lea eax, [ebp - 0x538]
mov dword [ebp - 0x538], 0
push eax
lea eax, [ebp - 0x53c]
push eax
push str.VarFileInfoTranslation
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
jne 0x41e5a4
push ebx
call fcn.00425dc8
add esp, 4
xor al, al
jmp 0x41f030
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x538], 0
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xFileDescription
lea eax, [ebp - 0x134]
push 0xfe
push eax
call fcn.0041b730
add esp, 0x14
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x134]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41e594
mov eax, dword [ebp - 0x534]
test eax, eax
je 0x41e686
push eax
lea ecx, [ebp - 0x384]
call fcn.0040ad10
push 0xffffffffffffffff
push 0x42bd18
lea ecx, [ebp - 0x384]
mov dword [ebp - 4], 0
call fcn.0041fad0
cmp eax, 0xffffffff
je 0x41e662
inc eax
lea ecx, [ebp - 0x384]
push eax
push 0
lea eax, [ebp - 0x36c]
push eax
call fcn.00420000
mov ecx, dword [ebp - 0x530]
push eax
call fcn.0040bd00
lea ecx, [ebp - 0x36c]
call fcn.00401810
jmp 0x41e674
mov ecx, dword [ebp - 0x530]
lea eax, [ebp - 0x384]
push eax
call fcn.0040bd40
lea ecx, [ebp - 0x384]
mov dword [ebp - 4], 0xffffffff
call fcn.00401810
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x538], 0
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xProductGroup
lea eax, [ebp - 0x134]
push 0xfe
push eax
call fcn.0041b730
add esp, 0x14
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x134]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41e594
mov eax, dword [ebp - 0x534]
test eax, eax
je 0x41e78d
mov esi, dword [ebp - 0x540]
mov ecx, esi
push eax
call fcn.00417120
push 0xffffffffffffffff
push 0x42bd18
mov ecx, esi
call fcn.0041fad0
cmp eax, 0xffffffff
je 0x41e748
inc eax
mov ecx, esi
push eax
push 0
lea eax, [ebp - 0x384]
push eax
call fcn.00420000
push eax
mov ecx, 0x52408c
call fcn.0040bd00
lea ecx, [ebp - 0x384]
call fcn.00401810
push 0x52408c
mov ecx, esi
call fcn.0040bd40
push esi
mov ecx, 0x52408c
call fcn.0040bd40
cmp dword [0x5240a0], 0x10
mov eax, 0x52408c
push 0x14
cmovae eax, dword [0x52408c]
push str.01234567890123456789
push dword [0x52409c]
push eax
call fcn.004015d0
add esp, 0x10
test al, al
jne 0x41e78d
call fcn.0041f060
test al, al
je 0x41e59d
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x538], 0
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xProducts
lea eax, [ebp - 0x134]
push 0xfe
push eax
call fcn.0041b730
add esp, 0x14
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x134]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41e594
mov eax, dword [ebp - 0x534]
test eax, eax
je 0x41ebc5
push eax
lea ecx, [ebp - 0x384]
call fcn.0040ad10
push 0xffffffffffffffff
push 0x42bd18
lea ecx, [ebp - 0x384]
mov dword [ebp - 4], 1
call fcn.0041fad0
cmp eax, 0xffffffff
je 0x41e84f
inc eax
lea ecx, [ebp - 0x384]
push eax
push 0
lea eax, [ebp - 0x36c]
push eax
call fcn.00420000
push eax
mov ecx, edi
call fcn.0040bd00
lea ecx, [ebp - 0x36c]
call fcn.00401810
jmp 0x41e85d
lea eax, [ebp - 0x384]
mov ecx, edi
push eax
call fcn.0040bd40
cmp dword [edi + 0x14], 0x10
mov eax, edi
jb 0x41e867
mov eax, dword [edi]
push 0x28
push str.0123456789012345678901234567890123456789
push dword [edi + 0x10]
push eax
call fcn.004015d0
add esp, 0x10
test al, al
jne 0x41ebb3
lea ecx, [ebp - 0x42c]
call fcn.0041bda0
mov byte [ebp - 4], 2
mov dword [ebp - 0x530], 0
nop dword [eax + eax]
cmp dword [edi + 0x14], 0x10
mov ebx, edi
jb 0x41e8aa
mov ebx, dword [edi]
mov esi, dword [edi + 0x10]
test esi, esi
je 0x41e8f7
push 0x100
lea eax, [ebp - 0x52c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
lea ecx, [esi + ebx]
mov byte [ebp - 0x500], 1
add esp, 0xc
mov esi, ebx
cmp ebx, ecx
jae 0x41e8f7
nop word [eax + eax]
movzx eax, byte [esi]
mov al, byte [ebp + eax - 0x52c]
test al, al
jne 0x41ea22
inc esi
cmp esi, ecx
jb 0x41e8e0
or esi, 0xffffffff
mov ecx, edi
cmp esi, 0xffffffff
je 0x41ea34
push esi
push 0
lea eax, [ebp - 0x354]
push eax
call fcn.00420000
push 0
push 0x42bd18
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 3
call fcn.0041fa00
test eax, eax
je 0x41e95a
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x354]
call fcn.00420000
push eax
lea ecx, [ebp - 0x354]
call fcn.0040bd00
lea ecx, [ebp - 0x39c]
call fcn.00401810
push 0xffffffffffffffff
push 0x42bd18
lea ecx, [ebp - 0x354]
call fcn.0041fad0
cmp eax, 0xffffffff
je 0x41e99e
inc eax
lea ecx, [ebp - 0x354]
push eax
push 0
lea eax, [ebp - 0x39c]
push eax
call fcn.00420000
push eax
lea ecx, [ebp - 0x354]
call fcn.0040bd00
lea ecx, [ebp - 0x39c]
call fcn.00401810
lea eax, [ebp - 0x354]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040bd40
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x530]
push eax
call fcn.0041d4b0
add esp, 8
test al, al
je 0x41ea29
lea eax, [ebp - 0x42c]
mov ecx, 0x5254c4
push eax
lea eax, [ebp - 0x530]
push eax
call fcn.0041c560
mov ecx, eax
call fcn.0041c4a0
push 0xffffffffffffffff
inc esi
lea eax, [ebp - 0x39c]
push esi
push eax
mov ecx, edi
call fcn.00420000
push eax
mov ecx, edi
call fcn.0040bd00
lea ecx, [ebp - 0x39c]
call fcn.00401810
lea ecx, [ebp - 0x354]
mov byte [ebp - 4], 2
call fcn.00401810
jmp 0x41e8a0
sub esi, ebx
jmp 0x41e8fa
lea ecx, [ebp - 0x354]
jmp 0x41eb00
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x36c]
push eax
call fcn.00420000
push 0
push 0x42bd18
lea ecx, [ebp - 0x36c]
mov byte [ebp - 4], 4
call fcn.0041fa00
test eax, eax
je 0x41ea8a
push 0xffffffffffffffff
push eax
lea eax, [ebp - 0x39c]
push eax
lea ecx, [ebp - 0x36c]
call fcn.00420000
push eax
lea ecx, [ebp - 0x36c]
call fcn.0040bd00
lea ecx, [ebp - 0x39c]
call fcn.00401810
push 0xffffffffffffffff
push 0x42bd18
lea ecx, [ebp - 0x36c]
call fcn.0041fad0
cmp eax, 0xffffffff
je 0x41eace
inc eax
lea ecx, [ebp - 0x36c]
push eax
push 0
lea eax, [ebp - 0x39c]
push eax
call fcn.00420000
push eax
lea ecx, [ebp - 0x36c]
call fcn.0040bd00
lea ecx, [ebp - 0x39c]
call fcn.00401810
lea eax, [ebp - 0x36c]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0040bd40
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x530]
push eax
call fcn.0041d4b0
add esp, 8
test al, al
jne 0x41eb22
lea ecx, [ebp - 0x36c]
call fcn.00401810
lea ecx, [ebp - 0x42c]
call fcn.0041c280
lea ecx, [ebp - 0x384]
call fcn.00401810
xor al, al
jmp 0x41f030
lea eax, [ebp - 0x42c]
mov ecx, 0x5254c4
push eax
lea eax, [ebp - 0x530]
push eax
call fcn.0041c560
mov ecx, eax
call fcn.0041c4a0
mov ecx, edi
call fcn.0041f620
mov ecx, dword [0x5254c4]
mov esi, dword [0x5254c8]
mov eax, dword [ecx]
mov dword [ebp - 0x540], eax
cmp eax, ecx
je 0x41eb97
add eax, 0x14
mov ecx, edi
push eax
call fcn.0041c5e0
dec esi
test esi, esi
jle 0x41eb7e
push 1
push 0x4a5f74
mov ecx, edi
call fcn.00402740
lea ecx, [ebp - 0x540]
call fcn.00415f30
mov eax, dword [ebp - 0x540]
cmp eax, dword [0x5254c4]
jne 0x41eb60
lea ecx, [ebp - 0x36c]
call fcn.00401810
lea ecx, [ebp - 0x42c]
call fcn.0041c280
mov ebx, dword [ebp - 0x548]
lea ecx, [ebp - 0x384]
mov dword [ebp - 4], 0xffffffff
call fcn.00401810
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x538], 0
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xProductVersion
lea eax, [ebp - 0x134]
push 0xfe
push eax
call fcn.0041b730
add esp, 0x14
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x134]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41e594
mov eax, dword [ebp - 0x534]
mov esi, dword [ebp - 0x544]
test eax, eax
je 0x41ec3c
push eax
mov ecx, esi
call fcn.00417120
push dword [ebp - 0x54c]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.004016a0
call fcn.0041cb20
add esp, 0x1c
test al, al
je 0x41e59d
mov ecx, dword [ebp - 0x53c]
mov dword [ebp - 0x534], 0
mov dword [ebp - 0x538], 0
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04xCompileDate
lea eax, [ebp - 0x134]
push 0xfe
push eax
call fcn.0041b730
add esp, 0x14
lea eax, [ebp - 0x538]
push eax
lea eax, [ebp - 0x534]
push eax
lea eax, [ebp - 0x134]
push eax
push ebx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x41e594
mov eax, dword [ebp - 0x534]
test eax, eax
je 0x41f025
push eax
lea ecx, [ebp - 0x36c]
call fcn.0040ad10
cmp dword [ebp - 0x358], 0x10
lea ecx, [ebp - 0x34]
push 0xa
push ecx
push 0xa
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], 5
push ecx
push 0xa
lea ecx, [ebp - 0x28]
mov word [ebp - 0x14], 0
push ecx
xorps xmm0, xmm0
mov word [ebp - 0x2c], 0
lea eax, [ebp - 0x36c]
movq qword [ebp - 0x1c], xmm0
cmovae eax, dword [ebp - 0x36c]
push str._4c_3c_2c
push eax
movq qword [ebp - 0x34], xmm0
movq qword [ebp - 0x28], xmm0
mov word [ebp - 0x20], 0
call fcn.00403af0
add esp, 0x20
cmp eax, 3
jne 0x41f00d
mov esi, dword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
lea eax, [ebp - 0x28]
push eax
call esi
mov dword [ebp - 0x544], eax
lea eax, [ebp - 0x34]
push eax
call esi
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x54c], eax
add esp, 8
mov dword [ebp - 0x344], 0
mov dword [ebp - 0x340], 0xf
lea edx, [ecx + 1]
mov byte [ebp - 0x354], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41ed80
sub ecx, edx
lea eax, [ebp - 0x1c]
push ecx
push eax
lea ecx, [ebp - 0x354]
call fcn.004028a0
mov ebx, dword [ebp - 0x340]
lea eax, [ebp - 0x354]
mov edi, dword [ebp - 0x354]
cmp ebx, 0x10
mov esi, dword [ebp - 0x344]
push 3
push 0x4a5fd4
cmovae eax, edi
push esi
push eax
call fcn.004015d0
movzx eax, al
cmp ebx, 0x10
push 3
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a5fd8
cmovae eax, edi
push esi
push eax
call fcn.004015d0
test al, al
mov ecx, 2
mov eax, dword [ebp - 0x530]
cmovne eax, ecx
cmp ebx, 0x10
push 3
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a5fdc
cmovae eax, edi
push esi
push eax
call fcn.004015d0
test al, al
mov ecx, 3
mov eax, dword [ebp - 0x530]
cmovne eax, ecx
cmp ebx, 0x10
push ecx
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a5fe0
cmovae eax, edi
push esi
push eax
call fcn.004015d0
add esp, 0x40
mov ecx, 4
test al, al
mov eax, dword [ebp - 0x530]
cmovne eax, ecx
cmp ebx, 0x10
push 3
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a5fe4
cmovae eax, edi
push esi
push eax
call fcn.004015d0
test al, al
mov ecx, 5
mov eax, dword [ebp - 0x530]
cmovne eax, ecx
cmp ebx, 0x10
push 3
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a5fe8
cmovae eax, edi
push esi
push eax
call fcn.004015d0
mov ecx, 6
test al, al
mov eax, dword [ebp - 0x530]
push 3
cmovne eax, ecx
cmp ebx, 0x10
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a5fec
cmovae eax, edi
push esi
push eax
call fcn.004015d0
test al, al
mov ecx, 7
mov eax, dword [ebp - 0x530]
cmovne eax, ecx
cmp ebx, 0x10
push 3
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a5ff0
cmovae eax, edi
push esi
push eax
call fcn.004015d0
add esp, 0x40
mov ecx, 8
test al, al
mov eax, dword [ebp - 0x530]
cmovne eax, ecx
cmp ebx, 0x10
push 3
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a5ff4
cmovae eax, edi
push esi
push eax
call fcn.004015d0
test al, al
mov ecx, 9
mov eax, dword [ebp - 0x530]
cmovne eax, ecx
cmp ebx, 0x10
push 3
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a5ff8
cmovae eax, edi
push esi
push eax
call fcn.004015d0
test al, al
mov ecx, 0xa
mov eax, dword [ebp - 0x530]
cmovne eax, ecx
cmp ebx, 0x10
push 3
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a5ffc
cmovae eax, edi
push esi
push eax
call fcn.004015d0
test al, al
mov ecx, 0xb
mov eax, dword [ebp - 0x530]
cmovne eax, ecx
cmp ebx, 0x10
push 3
mov dword [ebp - 0x530], eax
lea eax, [ebp - 0x354]
push 0x4a6000
cmovae eax, edi
push esi
push eax
call fcn.004015d0
add esp, 0x40
mov ecx, 0xc
test al, al
mov esi, dword [ebp - 0x530]
mov eax, dword [ebp - 0x544]
cmovne esi, ecx
shl esi, 8
lea ecx, [ebp - 0x354]
or esi, dword [ebp - 0x54c]
add eax, 0x4e
shl esi, 8
shl eax, 0x18
or esi, eax
call fcn.00401810
mov ebx, dword [ebp - 0x548]
jmp 0x41f012
mov esi, 0x19d140c
mov eax, dword [ebp - 0x554]
lea ecx, [ebp - 0x36c]
mov dword [eax], esi
call fcn.00401810
push ebx
call fcn.00425dc8
add esp, 4
mov al, 1
lea esp, [ebp - 0x564]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00425b22
mov esp, ebp
pop ebp
ret