Function at 0x403a3d
Capabilities:
Check if file exists
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x496980]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 0x38], eax
lea edi, [ebp - 0x28]
xor eax, eax
mov esi, dword [ebp + 8]
push 8
mov ebx, dword [ebp + 0x10]
pop ecx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x2c], eax
rep stosd dword es:[edi], eax
push esi
stosw word es:[edi], ax
call fcn.0042dd5b
pop ecx
test eax, eax
jne 0x403cd1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x403a8a
and dword [eax], 0
test ebx, ebx
je 0x403a91
and dword [ebx], 0
push 0x464cb8
push esi
call fcn.0042f023
pop ecx
pop ecx
test eax, eax
jne 0x403ac8
push 0x463590
mov edi, 0x4e20
push esi
mov dword [ebp - 0x40], edi
call fcn.0042d3ad
pop ecx
push eax
call fcn.0044a5a7
pop ecx
pop ecx
test eax, eax
je 0x403acd
and dword [ebp - 0x30], 0
jmp 0x403ad7
xor edi, edi
mov dword [ebp - 0x40], edi
push esi
call fcn.00403ddb
pop ecx
mov dword [ebp - 0x30], eax
push 0
push edi
push 0
push SQLGetDiagRec
push 3
push 0
push 7
push 1
push esi
call fcn.0040f703
mov edi, eax
add esp, 0x24
cmp edi, 0xffffffff
jne 0x403b39
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x403cd1
cmp eax, 3
je 0x403cd1
cmp eax, 0xf
je 0x403cd1
cmp eax, 0x35
je 0x403cd1
push eax
push str._GetLastError_
push esi
push str.:6:GetArchiveCheckSum___s___FAILED:_CreateFileTimeOut___FAILED:__s_ld
call fcn.0040d7f3
jmp 0x403cce
push 0
push 0
push dword [ebp - 0x30]
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x34]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403c94
cmp dword [ebp - 0x2c], 4
jb 0x403c94
push 0
lea eax, [ebp - 0x2c]
push eax
push 4
lea eax, [ebp - 0x3c]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x403c6f
cmp dword [ebp - 0x2c], 4
jb 0x403c6f
push 0
lea eax, [ebp - 0x2c]
push eax
push 8
lea eax, [ebp - 0x44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x20
lea eax, [ebp - 0x28]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x403bed
push 0x510
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateArchive.c
push str.GetArchiveCheckSum
push edi
call fcn.0040e841
push str._GetLastError_
push 0x21
push dword [ebp - 0x2c]
push esi
push str.:4:GetArchiveCheckSum___s___FAILED:_ReadFile___FAILED_to_read_the_Archive_Validation_String:_Only__ld_bytes_of__ld_could_be_read:__s
call fcn.0040d324
add esp, 0x14
jmp 0x403cd1
push 0x517
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateArchive.c
push str.GetArchiveCheckSum
push edi
call fcn.0040e841
mov eax, dword [ebp - 0x2c]
cmp eax, 0x22
jb 0x403c1e
push eax
push esi
push str.:4:GetArchiveCheckSum___s___FAILED:_AN_IMPOSSIBLE_EXCEPTION_HAS_OCCURRED:_ReadFile___read_too_many_bytes_____Read__ld___
call fcn.0040d324
add esp, 0xc
jmp 0x403cd1
mov byte [ebp + eax - 0x28], 0
lea eax, [ebp - 0x28]
push str.222PAULAARCHIVE222JesusIAdoreYou
push eax
call fcn.0044a460
pop ecx
pop ecx
test eax, eax
je 0x403c42
push dword [ebp - 0x2c]
push esi
push str.:4:GetArchiveCheckSum___s___FAILED:_The_archive_validation_string_was_not_found:_Read__ld_bytes.
jmp 0x403c11
mov edx, dword [ebp - 0x34]
test edx, edx
jne 0x403c58
push esi
push str.GetArchiveCheckSum___s___FAILED:_The_archive_size_was_found_to_be_zero.
call fcn.0040d324
pop ecx
pop ecx
jmp 0x403cd1
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x403c64
mov ecx, dword [ebp - 0x3c]
mov dword [eax], ecx
test ebx, ebx
je 0x403c6a
mov dword [ebx], edx
xor eax, eax
inc eax
jmp 0x403cd3
push 0x505
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateArchive.c
push str.GetArchiveCheckSum
push edi
call fcn.0040e841
push str._GetLastError_
push dword [ebp - 0x2c]
push esi
push str.:7:GetArchiveCheckSum___s___FAILED:_ReadFile___FAILED_to_read_the_Archive_CheckSum:_Only_read__ld_bytes:__s
jmp 0x403cc9
push 0x4fc
push str.C:UsersOfficeDocumentsVisual_StudioHoodSoftUpdateArchive.c
push str.GetArchiveCheckSum
push edi
call fcn.0040e841
push 0
push dword [ebp - 0x40]
push esi
call fcn.00410d3c
add esp, 0xc
test eax, eax
je 0x403cd1
push str._GetLastError_
push dword [ebp - 0x2c]
push esi
push str.:7:GetArchiveCheckSum___s___FAILED:_ReadFile___FAILED_to_read_the_archive_size:_Only_read__ld_bytes:__s
call fcn.0040d324
add esp, 0x10
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043f5c5
leave
ret