Function at 0x413a10
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push esi
mov esi, ecx
cmp dword [esi + 0x234], 0
jne 0x413a2b
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x20
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
mov dword [edi], 0
mov ecx, dword [esi + 0x230]
push ebx
call fcn.00408310
test al, al
jne 0x413a72
fldz
mov eax, dword [ebp + 0x24]
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x20]
fstp dword [esp]
push ebx
push 0xc
push eax
push ecx
mov ecx, esi
call fcn.0040d6d0
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [esi + 0x230]
push str.hash
push ebx
call fcn.0040a350
test al, al
jne 0x413ab0
fldz
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
push 0
push 0
push 0
push ecx
fstp dword [esp]
push ebx
push 4
push edx
push eax
mov ecx, esi
call fcn.0040d6d0
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebp + 0x14]
test eax, eax
jne 0x413acb
mov ecx, dword [esi + 0x234]
mov eax, dword [ecx + 0xc4]
test eax, eax
je 0x413df2
mov edx, dword [esi]
push 0
push eax
mov eax, dword [edx + 0x14]
push ebx
mov ecx, esi
call eax
lea ecx, [ebp - 0x30]
push ecx
push eax
mov dword [ebp + 0x10], eax
call fcn.004396c0
add esp, 8
test eax, eax
je 0x413b9b
mov edx, dword [ebp + 0x20]
push 0
push edx
push edi
push ebx
mov ecx, esi
call fcn.0040d8e0
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
test eax, eax
jne 0x413b3d
fldz
mov edx, dword [ebp + 0x24]
push eax
push eax
push eax
mov eax, dword [ebp + 0x20]
push ecx
fstp dword [esp]
push ebx
push 0xf
push edx
push eax
mov ecx, esi
call fcn.0040d6d0
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [esi + 0x234]
call fcn.00415ed0
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov edx, dword [ebp + 0x10]
push edx
call fcn.004159a0
add esp, 4
test al, al
jne 0x413b69
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov edx, dword [edi]
mov eax, dword [ebp + 0x10]
push 0
push 0
push ecx
mov ecx, dword [esi + 0x234]
push edx
push eax
call fcn.00419900
cmp dword [ebp + 0x18], 0
jne 0x413b7e
cmp dword [ebp + 0x1c], 0
jne 0x413b7e
lea ecx, [ebp + 0x10]
push ecx
jmp 0x413e18
mov edx, dword [edi]
mov ecx, dword [esi + 0x234]
push edx
call fcn.00415c50
mov eax, dword [ebp + 0xc]
mov dword [edi], 0
mov dword [eax], 0
mov eax, dword [ebp - 0x1c]
mov edi, dword [ebp + 0x18]
cmp edi, eax
jbe 0x413c11
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x413bb0
mov ecx, dword [esi + 0x234]
sub eax, edx
add eax, 0x40
push eax
push 0
call fcn.00415d10
push ebx
push 0
push edi
push str.Cannot_seek_to__llu_in_file__s
push eax
mov dword [ebp + 0x1c], eax
call fcn.00437b16
fldz
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
add esp, 0x14
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x1c]
fstp dword [esp]
push ecx
push 0xe
push edx
push eax
mov ecx, esi
call fcn.0040d6d0
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, dword [esi + 0x234]
call fcn.00415ed0
jmp 0x413c6e
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
je 0x413c1e
sub ecx, edi
cmp ecx, eax
jbe 0x413c23
sub eax, edi
mov dword [ebp + 0x1c], eax
push 0xc
call fcn.0043694d
add esp, 4
test eax, eax
je 0x413c44
or ecx, 0xffffffff
mov dword [eax + 4], ecx
mov dword [eax + 8], ecx
mov dword [eax], 0
mov edi, eax
jmp 0x413c46
xor edi, edi
push 0
mov dword [ebp + 8], edi
push 0
test edi, edi
jne 0x413c88
fldz
mov eax, dword [ebp + 0x24]
push edi
push ecx
mov ecx, dword [ebp + 0x20]
fstp dword [esp]
push str.Cant_allocate_memory_for_new_memory_map_lookup
push 0xd
push eax
push ecx
mov ecx, esi
call fcn.0040d6d0
mov ecx, dword [esi + 0x234]
lea edx, [ebp + 0x10]
push edx
call fcn.00415ed0
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov eax, dword [ebp + 0x10]
push 3
push 0
push 1
push SysReAllocStringLen
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [edi + 4], eax
push 0
cmp eax, 0xffffffff
jne 0x413d09
fldz
mov edx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x20]
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x10]
fstp dword [esp]
push ecx
mov ecx, dword [esi + 0x234]
push 0xe
push edx
push eax
call fcn.0041b1a0
lea ecx, [ebp + 0x10]
push ecx
mov ecx, dword [esi + 0x234]
call fcn.00415ed0
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x413cea
push eax
call esi
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x413cf5
push eax
call esi
push edi
call fcn.00436909
add esp, 4
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov edx, dword [ebp + 0x1c]
push edx
push 0
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [edi + 8], eax
cmp eax, 0xffffffff
jne 0x413d86
fldz
mov eax, dword [ebp + 0x10]
mov edx, dword [ebp + 0x20]
push 0
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x24]
fstp dword [esp]
push eax
push 0xd
push ecx
mov ecx, dword [esi + 0x234]
push edx
call fcn.0041b1a0
mov ecx, dword [esi + 0x234]
lea eax, [ebp + 0x10]
push eax
call fcn.00415ed0
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x413d67
push eax
call esi
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x413d72
push eax
call esi
push edi
call fcn.00436909
add esp, 4
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x20
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x18]
push ecx
push edx
push 0
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [edi], eax
test eax, eax
jne 0x413dfd
fldz
push eax
push eax
push eax
mov eax, dword [ebp + 0x24]
push ecx
mov ecx, dword [ebp + 0x20]
fstp dword [esp]
push ebx
push 0xd
push eax
push ecx
mov ecx, dword [esi + 0x234]
call fcn.0041b1a0
mov ecx, dword [esi + 0x234]
lea edx, [ebp + 0x10]
push edx
call fcn.00415ed0
mov eax, dword [edi + 8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp eax, 0xffffffff
je 0x413dde
push eax
call esi
mov eax, dword [edi + 4]
cmp eax, 0xffffffff
je 0x413de9
push eax
call esi
push edi
call fcn.00436909
add esp, 4
pop edi
pop ebx
xor al, al
pop esi
mov esp, ebp
pop ebp
ret 0x20
lea eax, [ebp + 8]
push eax
lea ecx, [esi + 0x250]
call fcn.004135e0
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 0xc]
lea eax, [ebp + 0x10]
mov dword [edx], ecx
push eax
mov ecx, dword [esi + 0x234]
call fcn.00415ed0
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret 0x20