Function at 0x41cb10
Capabilities:
Check if file exists
Get file attributes
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b4d9c
mov eax, dword fs:[0]
push eax
sub esp, 0xa88
mov eax, dword [0x4e50cc]
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 - 0xa30], edx
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0xa20], eax
test esi, esi
je 0x41cf31
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41cf31
test al, 0x10
jne 0x41cf31
lea eax, [ebp - 0xa1c]
mov dword [ebp - 0xa1c], 0
push eax
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov edi, eax
test edi, edi
je 0x41cf31
push edi
xor ebx, ebx
call fcn.004a594a
add esp, 4
mov dword [ebp - 0xa2c], eax
push eax
push edi
push ebx
push esi
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
mov edi, dword [ebp - 0xa2c]
test eax, eax
je 0x41cf23
mov esi, dword [sym.imp.VERSION.dll_VerQueryValueW]
lea eax, [ebp - 0xa18]
push eax
lea eax, [ebp - 0xa28]
mov dword [ebp - 0xa28], ebx
push eax
push 0x4c6108
push edi
mov dword [ebp - 0xa18], ebx
call esi
test eax, eax
je 0x41cf23
xor eax, eax
push 0x1fe
push eax
mov word [ebp - 0x214], ax
lea eax, [ebp - 0x212]
push eax
call sub.MSVCR120.dll_memset
mov ecx, dword [ebp - 0xa28]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x4c759c
push 0xffffffffffffffff
lea eax, [ebp - 0x214]
push 0x100
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
add esp, 0x2c
cmp word [ebp - 0x214], bx
jne 0x41cc48
xor ecx, ecx
jmp 0x41cc60
lea ecx, [ebp - 0x214]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cc51
sub ecx, edx
sar ecx, 1
mov ebx, dword [ebp - 0xa30]
lea eax, [ebp - 0x214]
push ecx
push eax
mov ecx, ebx
call fcn.00402ddd
cmp dword [ebp - 0xa20], ebx
je 0x41cc91
push 0xffffffffffffffff
push 0
push ebx
mov ebx, dword [ebp - 0xa20]
mov ecx, ebx
call fcn.004030ea
jmp 0x41cc97
mov ebx, dword [ebp - 0xa20]
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa24], 0
push eax
lea eax, [ebp - 0xa24]
mov dword [ebp - 0xa18], 0
push eax
push str.VarFileInfoTranslation
push edi
call esi
test eax, eax
je 0x41cf1e
cmp dword [ebp - 0xa18], 4
jb 0x41cf1e
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0xa14], ax
lea eax, [ebp - 0xa12]
push eax
call sub.MSVCR120.dll_memset
mov ecx, dword [ebp - 0xa24]
push 0x4c75b8
movzx eax, word [ecx + 2]
push eax
movzx eax, word [ecx]
push eax
push str.StringFileInfo_04x_04x_s
push 0xffffffffffffffff
lea eax, [ebp - 0xa14]
push 0x400
push eax
call dword [sym.imp.MSVCR120.dll__snwprintf_s]
add esp, 0x28
mov dword [ebp - 0xa20], 0
lea eax, [ebp - 0xa18]
mov dword [ebp - 0xa18], 0
push eax
lea eax, [ebp - 0xa20]
push eax
lea eax, [ebp - 0xa14]
push eax
push edi
call esi
test eax, eax
je 0x41cf1e
mov edx, dword [ebp - 0xa20]
cmp word [edx], 0
jne 0x41cd65
xor ecx, ecx
jmp 0x41cd7f
mov ecx, edx
lea esi, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41cd70
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, ebx
call fcn.00402ddd
xor eax, eax
mov dword [ebp - 0xa7c], 7
push eax
push 0x4c431c
lea ecx, [ebp - 0xa90]
mov dword [ebp - 0xa80], 0
mov word [ebp - 0xa90], ax
call fcn.00402ddd
mov dword [ebp - 4], 0
lea ecx, [ebp - 0xa60]
push 1
xor eax, eax
mov dword [ebp - 0xa4c], 7
push 0x4c75b4
mov dword [ebp - 0xa50], 0
mov word [ebp - 0xa60], ax
call fcn.00402ddd
lea eax, [ebp - 0xa90]
mov byte [ebp - 4], 1
push eax
lea edx, [ebp - 0xa60]
mov ecx, ebx
call fcn.0041c910
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
add esp, 4
cmp dword [ebp - 0xa4c], 8
jb 0x41ce21
push dword [ebp - 0xa60]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0xa7c], 8
mov dword [ebp - 0xa4c], 7
mov dword [ebp - 0xa50], 0
mov word [ebp - 0xa60], ax
jb 0x41ce59
push dword [ebp - 0xa90]
call esi
add esp, 4
push 1
xor eax, eax
mov dword [ebp - 0xa64], 7
push 0x4c7398
lea ecx, [ebp - 0xa78]
mov dword [ebp - 0xa68], 0
mov word [ebp - 0xa78], ax
call fcn.00402ddd
mov dword [ebp - 4], 2
lea ecx, [ebp - 0xa48]
push 1
xor eax, eax
mov dword [ebp - 0xa34], 7
push 0x4c5f1c
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
call fcn.00402ddd
lea eax, [ebp - 0xa78]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0xa48]
mov ecx, ebx
call fcn.0041c910
add esp, 4
cmp dword [ebp - 0xa34], 8
jb 0x41ceed
push dword [ebp - 0xa48]
call esi
add esp, 4
xor eax, eax
mov dword [ebp - 0xa34], 7
cmp dword [ebp - 0xa64], 8
mov dword [ebp - 0xa38], 0
mov word [ebp - 0xa48], ax
jb 0x41cf1e
push dword [ebp - 0xa78]
call esi
add esp, 4
mov ebx, 1
push edi
call dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, ebx
jmp 0x41cf33
xor eax, eax
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.004a5ae0
mov esp, ebp
pop ebp
ret