Function at 0x100192e0
Capabilities:
Read file via mapping

Disassembly:
sub esp, 0x11c
mov eax, 0x100b2960
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x12c]
mov dword [esp + 0x114], edi
mov edi, dword [esp + 0x120]
mov dword [esp + 0x110], esi
mov esi, dword [esp + 0x128]
mov dword [esp + 0x118], ebp
mov ebp, dword [esp + 0x124]
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x130]
mov dword [esp], edi
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 4], eax
call sym.avutil_ics_57.dll_mvpriv_open
mov dword [ebp], 0
mov dword [esi], 0
test eax, eax
js 0x10019480
mov ebx, eax
mov dword [esp], ebx
lea eax, [esp + 0x48]
mov dword [esp + 4], eax
call dword [sym.imp.msvcrt.dll__fstat64]
test eax, eax
js 0x100194d8
mov edx, dword [esp + 0x64]
mov eax, dword [esp + 0x60]
test edx, edx
jg 0x1001952d
mov dword [esi], eax
xor edi, edi
test eax, eax
jne 0x100193c0
mov dword [ebp], edi
xor esi, esi
mov dword [esp], ebx
call sub.msvcrt.dll__close
mov eax, esi
mov ebx, dword [esp + 0x10c]
mov esi, dword [esp + 0x110]
mov edi, dword [esp + 0x114]
mov ebp, dword [esp + 0x118]
add esp, 0x11c
ret
mov dword [esp], ebx
xor edi, edi
call dword [sym.imp.msvcrt.dll__get_osfhandle]
xor edx, edx
xor ecx, ecx
mov dword [esp + 0x14], edx
mov edx, 2
mov dword [esp + 0x10], ecx
xor ecx, ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], edi
mov dword [esp + 4], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
sub esp, 0x18
test eax, eax
mov edx, eax
je 0x10019561
mov eax, dword [esi]
xor ecx, ecx
xor edi, edi
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp], edx
mov dword [esp + 0x10], eax
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 0x2c], edx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
sub esp, 0x14
mov edi, eax
mov edx, dword [esp + 0x2c]
mov dword [esp], edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 4
test edi, edi
jne 0x1001938c
mov dword [esp + 8], str.Error_occurred_in_MapViewOfFile___n
mov eax, 0x10
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp], eax
call sym.avutil_ics_57.dll_mv_log
mov dword [esp], ebx
call sub.msvcrt.dll__close
mov dword [esi], 0
mov esi, 0xffffffff
jmp 0x10019399
call dword [sym.imp.msvcrt.dll__errno]
lea ebx, [esp + 0x80]
mov esi, dword [eax]
mov eax, pe_nt_image_headers32
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
neg esi
mov dword [esp], esi
call sym.avutil_ics_57.dll_mv_strerror
mov eax, str.Cannot_read_file__s:__s_n
mov dword [esp + 8], eax
mov eax, 0x10
mov dword [esp + 4], eax
lea eax, [esp + 0x3c]
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edi
mov dword [esp], eax
call sym.avutil_ics_57.dll_mv_log
jmp 0x10019399
call dword [sym.imp.msvcrt.dll__errno]
lea edi, [esp + 0x80]
mov ecx, pe_nt_image_headers32
mov ebp, 0x10
mov esi, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], edi
neg esi
mov dword [esp], esi
call sym.avutil_ics_57.dll_mv_strerror
lea eax, [esp + 0x3c]
mov dword [esp + 0xc], edi
mov edi, str.Error_occurred_in_fstat__:__s_n
mov dword [esp + 8], edi
mov dword [esp + 4], ebp
mov dword [esp], eax
call sym.avutil_ics_57.dll_mv_log
mov dword [esp], ebx
call sub.msvcrt.dll__close
jmp 0x10019399
mov dword [esp + 0xc], edi
lea eax, [esp + 0x3c]
mov esi, str.File_size_for_file__s_is_too_big_n
mov dword [esp + 8], esi
mov edi, 0x10
mov esi, 0xffffffea
mov dword [esp], eax
mov dword [esp + 4], edi
call sym.avutil_ics_57.dll_mv_log
mov dword [esp], ebx
call sub.msvcrt.dll__close
jmp 0x10019399
mov eax, str.Error_occurred_in_CreateFileMapping___n
mov dword [esp + 8], eax
jmp 0x1001944d