Function at 0x415bb0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x433f9f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [0x44647c]
push ebx
push ebp
push esi
xor esi, esi
mov dword [esp + 0x9c], eax
push edi
mov dword [esp + 0x24], esi
sub esp, 0x1c
mov edi, esp
mov ebx, 7
mov dword [esp + 0x30], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.ReadFileContents
mov dword [esp + 0xcc], 1
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.ReadFileContents
mov ecx, edi
call fcn.00402060
push 0x194
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x4c], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov byte [esp + 0xec], 2
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0xa0]
mov byte [esp + 0xe8], 1
call fcn.00418520
mov eax, dword [esp + 0xd0]
mov ebp, 8
cmp eax, ebp
mov eax, dword [esp + 0xbc]
mov byte [esp + 0xac], 3
jae 0x415c92
lea eax, [esp + 0xbc]
push eax
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x34], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.Reading_the_file__s_...
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.Reading_the_file__s_...
mov ecx, edi
call fcn.00402060
lea eax, [esp + 0x84]
push eax
call fcn.004187d0
mov eax, dword [esp + 0xf4]
add esp, 0x24
cmp eax, ebp
mov eax, dword [esp + 0xbc]
jae 0x415ce9
lea eax, [esp + 0xbc]
push esi
push esi
push 3
push esi
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x14], edi
jne 0x415f43
push str.L_CreateFile_
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x30], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.Executing_Win32_call__s
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.Executing_Win32_call__s
mov ecx, edi
call fcn.00402060
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x5c], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.ReadFileContents
mov byte [esp + 0xec], 4
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.ReadFileContents
mov ecx, edi
call fcn.00402060
push 0x1a1
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x74], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov byte [esp + 0x10c], 5
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0xc0]
push ecx
mov byte [esp + 0x10c], 3
call fcn.00418290
add esp, 0x60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp ebp, esi
jg 0x415dd6
mov dword [esp + 0x10], ebp
jmp 0x415de6
mov eax, ebp
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x10], eax
cmp ebp, esi
je 0x415f3f
push str.L_CreateFile_
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x38], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str._nERROR:_Win32_call__s_failed.
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str._nERROR:_Win32_call__s_failed.
mov ecx, edi
call fcn.00402060
lea edx, [esp + 0x84]
push edx
call fcn.004187d0
add esp, 0x24
push ebp
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x38], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__GetLastError_____ld
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.__GetLastError_____ld
mov ecx, edi
call fcn.00402060
lea eax, [esp + 0x84]
push eax
call fcn.004187d0
mov ebp, dword [esp + 0x34]
lea ecx, [esp + 0x4c]
push ebp
push ecx
call fcn.00417f50
add esp, 0x2c
cmp dword [eax + 0x18], 8
mov byte [esp + 0xac], 6
jb 0x415e90
mov eax, dword [eax + 4]
jmp 0x415e93
add eax, 4
push eax
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x38], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__Error_text:__s
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.__Error_text:__s
mov ecx, edi
call fcn.00402060
lea edx, [esp + 0x84]
push edx
call fcn.004187d0
mov eax, dword [esp + 0x64]
add esp, 0x24
cmp eax, 8
mov byte [esp + 0xac], 3
jb 0x415eef
mov eax, dword [esp + 0x2c]
push eax
call fcn.00426a53
add esp, 4
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x34], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0x80]
push ecx
call fcn.004187d0
add esp, 0x20
push 0x442394
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], ebp
call fcn.00426efa
mov edi, dword [esp + 0x14]
mov dword [esp + 0x18], edi
push esi
push edi
mov byte [esp + 0xb4], bl
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebp, eax
push esi
shr eax, 1
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
call fcn.00401dc0
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x2c]
mov byte [esp + 0xb0], 8
call fcn.00403360
mov eax, dword [eax + 8]
push esi
lea edx, [esp + 0x48]
push edx
push ebp
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
lea ecx, [esp + 0x28]
mov ebp, eax
call fcn.004033e0
cmp ebp, esi
jne 0x4161e5
push str._ReadFile_hFile__WString2Buffer_contents___dwFileSize__dwRead__NULL__
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x40], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.Executing_Win32_call__s
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.Executing_Win32_call__s
mov ecx, edi
call fcn.00402060
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x4c], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.ReadFileContents
mov byte [esp + 0xec], 9
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.ReadFileContents
mov ecx, edi
call fcn.00402060
push 0x1ad
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x78], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov byte [esp + 0x10c], 0xa
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.d:dnsrvdrivers_storage_volsnap_vss_server_vss_support_vshadow.sdk72_srcutil.h
mov ecx, edi
call fcn.00402060
lea eax, [esp + 0xc0]
push eax
mov byte [esp + 0x10c], 8
call fcn.00418290
add esp, 0x60
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp ebp, esi
jg 0x416078
mov dword [esp + 0x10], ebp
jmp 0x416088
mov eax, ebp
and eax, 0xffff
or eax, 0x80070000
mov dword [esp + 0x10], eax
cmp ebp, esi
je 0x4161e1
push str._ReadFile_hFile__WString2Buffer_contents___dwFileSize__dwRead__NULL__
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x3c], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str._nERROR:_Win32_call__s_failed.
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str._nERROR:_Win32_call__s_failed.
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0x84]
push ecx
call fcn.004187d0
add esp, 0x24
push ebp
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x3c], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__GetLastError_____ld
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.__GetLastError_____ld
mov ecx, edi
call fcn.00402060
lea edx, [esp + 0x84]
push edx
call fcn.004187d0
mov ebp, dword [esp + 0x34]
lea eax, [esp + 0x4c]
push ebp
push eax
call fcn.00417f50
add esp, 0x2c
cmp dword [eax + 0x18], 8
mov byte [esp + 0xac], 0xb
jb 0x416132
mov eax, dword [eax + 4]
jmp 0x416135
add eax, 4
push eax
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x3c], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__Error_text:__s
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.__Error_text:__s
mov ecx, edi
call fcn.00402060
lea ecx, [esp + 0x84]
push ecx
call fcn.004187d0
mov eax, dword [esp + 0x64]
add esp, 0x24
cmp eax, 8
mov byte [esp + 0xac], 8
jb 0x416191
mov edx, dword [esp + 0x2c]
push edx
call fcn.00426a53
add esp, 4
sub esp, 0x1c
mov edi, esp
mov dword [esp + 0x38], esp
mov dword [edi + 0x18], ebx
mov dword [edi + 0x14], esi
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
mov word [edi + 4], si
call fcn.00426a3d
add esp, 4
push eax
push str.__Please_re_run_VSHADOW.EXE_with_the__tracing_option_to_get_more_details
mov ecx, edi
call fcn.00402060
lea eax, [esp + 0x80]
push eax
call fcn.004187d0
add esp, 0x20
push 0x442394
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x1c], ebp
call fcn.00426efa
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0xb4]
push 0xffffffffffffffff
push esi
lea edx, [esp + 0x50]
mov dword [ebp + 0x18], ebx
mov dword [ebp + 0x14], esi
push edx
mov ecx, ebp
mov word [ebp + 4], si
call fcn.00401cb0
cmp dword [esp + 0x60], 8
mov dword [esp + 0x24], 1
jb 0x416221
mov eax, dword [esp + 0x4c]
push eax
call fcn.00426a53
add esp, 4
push edi
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], esi
mov word [esp + 0x50], si
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 1
call fcn.00418690
cmp dword [esp + 0xd0], 8
jb 0x416260
mov ecx, dword [esp + 0xbc]
push ecx
call fcn.00426a53
add esp, 4
mov ecx, dword [esp + 0xa4]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0xa0]
mov eax, ebp
call fcn.0042714d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret