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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f1f0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4c3c64]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
mov esi, 1
push esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 0xc]
push SysReAllocStringLen
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, 0xffffffff
je 0x465c1b
lea ecx, [ebp - 0x18]
push ecx
push edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x465ad7
or esi, eax
or ebx, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
jmp 0x465adf
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], ebx
mov esi, eax
push 0
push esi
push ebx
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
je 0x465c11
mov eax, dword [ebp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.0042152d
mov edx, dword [ebp + 0x14]
add esp, 4
push edx
add eax, 0x10
push ebx
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 8]
push esi
push eax
mov ecx, edi
call fcn.00465420
mov ebx, eax
mov ecx, ebx
or ecx, edx
mov dword [ebp - 0x24], edx
je 0x465c04
mov ecx, ebx
add ecx, esi
mov eax, edx
adc eax, dword [ebp - 0x2c]
cmp eax, dword [edi + 0x14]
jb 0x465b58
ja 0x465b4c
cmp ecx, dword [edi + 0x10]
jbe 0x465b58
push eax
push ecx
mov esi, edi
call fcn.004648d0
mov edx, dword [ebp - 0x24]
mov dword [edi + 0x28], ebx
xor esi, esi
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [edi + 0x2c], edx
cmp dword [ebp - 0x2c], ebx
jb 0x465c04
mov edx, dword [ebp - 0x30]
ja 0x465b85
test edx, edx
jbe 0x465c04
jmp 0x465b85
mov edx, dword [ebp - 0x30]
mov edi, ecx
mov edi, dword [edi + 0x70]
xor eax, eax
mov ecx, edi
add ecx, esi
adc eax, ebx
cmp eax, dword [ebp - 0x2c]
ja 0x465ba0
jb 0x465b9b
cmp ecx, edx
jae 0x465ba0
mov dword [ebp + 0x14], edi
jmp 0x465ba7
mov eax, edx
sub eax, esi
mov dword [ebp + 0x14], eax
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x14]
push edx
push esi
push ebx
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x465bf2
mov eax, dword [ebp + 0x14]
cdq
push edx
push eax
mov eax, dword [ebp + 8]
push edi
call fcn.004647f0
test eax, eax
je 0x465bf2
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x70]
add esi, edx
adc ebx, 0
cmp ebx, dword [ebp - 0x2c]
jb 0x465b80
ja 0x465c04
cmp esi, dword [ebp - 0x30]
jb 0x465b80
jmp 0x465c04
mov dword [ebp - 0x10], 9
test edi, edi
je 0x465c04
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp - 0x1c]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebp - 0x10]
mov byte [ebp - 4], 0
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465c3e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x465c64
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14