Function at 0x42c6d0
Capabilities:
Get common file path
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
mov eax, dword [0x4a9074]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, ecx
test edi, edi
je 0x42c6f5
lea eax, [edi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0x20a
lea eax, [ebp - 0x210]
push 0
push eax
call fcn.0043d1d0
add esp, 0xc
lea eax, [ebp - 0x210]
push eax
push 0
push 0
push 0x23
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x42c91b
push 0x410
push eax
lea eax, [ebp - 0x620]
push eax
call fcn.0043d1d0
push 0x4992a0
push str.McAfeeWinCore_
lea eax, [ebp - 0x210]
push eax
push str._s_s_s
lea eax, [ebp - 0x620]
push 0x208
push eax
call fcn.004011aa
add esp, 0x24
lea eax, [ebp - 0x620]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x634], eax
cmp eax, 0xffffffff
je 0x42c91b
push ebx
push 0
push eax
mov dword [ebp - 0x630], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
xor esi, esi
test ebx, ebx
je 0x42c90c
lea eax, [ebx + 1]
push eax
call fcn.0044a832
add esp, 4
mov dword [ebp - 0x62c], eax
test eax, eax
je 0x42c90c
lea ecx, [ebx + 1]
push ecx
push esi
push eax
call fcn.0043d1d0
add esp, 0xc
lea eax, [ebp - 0x630]
push esi
push eax
push ebx
push dword [ebp - 0x62c]
push dword [ebp - 0x634]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x42c8fe
mov eax, dword [edi + 0x1c]
lea ebx, [edi + 0x1c]
test eax, eax
je 0x42c811
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebx], esi
push 0xf0000000
push 1
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x42c846
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x80090016
jne 0x42c846
push 0xf0000008
push 1
push 0
push 0
push ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
mov edx, dword [ebp - 0x630]
lea eax, [ebp - 0x624]
mov ecx, dword [ebp - 0x62c]
push eax
shr edx, 1
mov dword [ebp - 0x624], esi
call fcn.0042c580
add esp, 4
mov dword [ebp - 0x628], eax
test eax, eax
je 0x42c8fe
sub esp, 8
lea ecx, [ebp - 0x624]
push ecx
push eax
mov ecx, ebx
call fcn.0042d580
mov ebx, dword [ebp - 0x628]
test eax, eax
je 0x42c8f5
push 0x18
push str.___McAfee_WinCore_MTK___
push ebx
call fcn.00450030
add esp, 0xc
test eax, eax
jne 0x42c8f5
mov eax, dword [ebp - 0x624]
sub eax, 0x18
mov dword [ebp - 0x624], eax
lea eax, [eax*2 + 2]
push eax
call fcn.0044a832
mov esi, eax
add esp, 4
test esi, esi
je 0x42c8f5
mov ecx, dword [ebp - 0x624]
lea eax, [ebx + 0x18]
push ecx
push eax
mov dword [ebp - 0x628], 0
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x628]
push esi
push eax
call fcn.00450304
add esp, 0x14
push ebx
call fcn.00448c6c
add esp, 4
push dword [ebp - 0x62c]
call fcn.00448c6c
add esp, 4
push dword [ebp - 0x634]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
jmp 0x42c91d
xor esi, esi
test edi, edi
je 0x42c92b
lea ecx, [edi + 4]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.00437519
mov esp, ebp
pop ebp
ret