Function at 0x4269c0
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1f4
mov eax, dword [0x7b92f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jne 0x4269f6
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret 4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebx + 0xc], eax
cmp eax, 0xffffffff
je 0x4269e2
push edi
push 0
push 0
push 0
or esi, 2
push esi
push 0
push dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebx], eax
test eax, eax
jne 0x426be7
mov edi, dword [0x7bc7f4]
test edi, edi
jne 0x426a96
push 0x22
push str.MemoryMappedFile.CreateFileMapping
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], edi
mov byte [ebp - 0x64], al
call fcn.00401710
push 1
push 0x3e81
push 0x3e80
lea eax, [ebp - 0x64]
push 1
push eax
call fcn.00433ec0
mov ecx, dword [ebp - 0x50]
add esp, 0x14
mov edi, eax
cmp ecx, 0x10
jb 0x426a7e
inc ecx
push ecx
push dword [ebp - 0x64]
lea ecx, [ebp - 0x64]
call fcn.00401a30
mov dword [ebp - 0x50], 0xf
mov dword [ebp - 0x54], 0
mov byte [ebp - 0x64], 0
mov dword [0x7bc7f4], edi
call fcn.00421550
cmp eax, 1
jne 0x426bc5
call fcn.00421030
cmp eax, 3
jg 0x426bc5
push 0x22
push str.MemoryMappedFile.CreateFileMapping
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
call fcn.00401710
push 0xffffffffffffffff
push 0
lea eax, [edi + 4]
mov dword [ebp - 8], 0xf
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
call fcn.00401810
mov esi, dword [ebp - 0x20]
lea edx, [ebp - 0x34]
mov ebx, dword [ebp - 0x24]
lea ecx, [ebp - 0x1c]
cmp esi, 0x10
mov eax, ebx
cmovae edx, dword [ebp - 0x34]
cmp dword [ebp - 8], 0x10
cmovae ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0xc], ebx
cmovb eax, dword [ebp - 0xc]
push eax
push edx
push ecx
call fcn.00424ea0
add esp, 0xc
test eax, eax
jne 0x426b35
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jb 0x426b35
ja 0x426b35
xor ebx, ebx
jmp 0x426b4f
push str.histogram_pointer__histogram_name____std::string__MemoryMappedFile.CreateFileMapping__
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00426890
mov esi, dword [ebp - 0x20]
add esp, 0xc
mov ebx, eax
mov eax, dword [ebp - 8]
cmp eax, 0x10
jb 0x426b69
lea ecx, [eax + 1]
push ecx
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x1c]
call fcn.00401a30
mov esi, dword [ebp - 0x20]
mov dword [ebp - 8], 0xf
mov dword [ebp - 0xc], 0
mov byte [ebp - 0x1c], 0
cmp esi, 0x10
jb 0x426b8f
lea eax, [esi + 1]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x34]
call fcn.00401a30
mov dword [ebp - 0x20], 0xf
mov dword [ebp - 0x24], 0
mov byte [ebp - 0x34], 0
test ebx, ebx
je 0x426bc5
push ebx
push 3
push 0x3d
push str.filesmemory_mapped_file_win.cc
lea ecx, [ebp - 0x144]
call fcn.00420410
lea ecx, [ebp - 0x144]
call fcn.004205f0
mov esi, dword [edi]
call sub.KERNEL32.dll_GetLastError
push eax
mov ecx, edi
call dword [esi + 0xc]
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00496e21
mov esp, ebp
pop ebp
ret 4
push 0
push 0
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebx + 8], eax
test eax, eax
jne 0x426d74
mov edi, dword [0x7bc7f8]
test edi, edi
jne 0x426c70
push 0x1e
push str.MemoryMappedFile.MapViewOfFile
lea ecx, [ebp - 0x7c]
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], edi
mov byte [ebp - 0x7c], al
call fcn.00401710
push 1
push 0x3e81
push 0x3e80
lea eax, [ebp - 0x7c]
push 1
push eax
call fcn.00433ec0
mov ecx, dword [ebp - 0x68]
add esp, 0x14
mov edi, eax
cmp ecx, 0x10
jb 0x426c58
inc ecx
push ecx
push dword [ebp - 0x7c]
lea ecx, [ebp - 0x7c]
call fcn.00401a30
mov dword [ebp - 0x68], 0xf
mov dword [ebp - 0x6c], 0
mov byte [ebp - 0x7c], 0
mov dword [0x7bc7f8], edi
call fcn.00421550
cmp eax, 1
jne 0x426d67
call fcn.00421030
cmp eax, 3
jg 0x426d67
push 0xffffffffffffffff
push 0
lea eax, [edi + 4]
mov dword [ebp - 0x38], 0xf
push eax
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
call fcn.00401810
push str.MemoryMappedFile.MapViewOfFile
lea ecx, [ebp - 0x94]
call fcn.00401610
mov esi, eax
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00426830
add esp, 8
test al, al
je 0x426cd5
xor esi, esi
jmp 0x426ce9
push str.histogram_pointer__histogram_name____std::string__MemoryMappedFile.MapViewOfFile__
lea eax, [ebp - 0x4c]
push esi
push eax
call fcn.00426890
add esp, 0xc
mov esi, eax
mov ecx, dword [ebp - 0x38]
cmp ecx, 0x10
jb 0x426cfe
inc ecx
push ecx
push dword [ebp - 0x4c]
lea ecx, [ebp - 0x4c]
call fcn.00401a30
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x3c], 0
mov byte [ebp - 0x4c], 0
cmp eax, 0x10
jb 0x426d2b
inc eax
lea ecx, [ebp - 0x94]
push eax
push dword [ebp - 0x94]
call fcn.00401a30
mov dword [ebp - 0x80], 0xf
mov dword [ebp - 0x84], 0
mov byte [ebp - 0x94], 0
test esi, esi
je 0x426d67
push esi
push 3
push 0x45
push str.filesmemory_mapped_file_win.cc
lea ecx, [ebp - 0x1f4]
call fcn.00420410
lea ecx, [ebp - 0x1f4]
call fcn.004205f0
mov esi, dword [edi]
call sub.KERNEL32.dll_GetLastError
push eax
mov ecx, edi
call dword [esi + 0xc]
cmp dword [ebx + 8], 0
mov ecx, dword [ebp - 4]
pop edi
setne al
xor ecx, ebp
pop esi
pop ebx
call fcn.00496e21
mov esp, ebp
pop ebp
ret 4