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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a6060
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4ccc64]
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 0x467a9b
lea ecx, [ebp - 0x18]
push ecx
push edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
jne 0x467957
or esi, eax
or ebx, eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ebx
jmp 0x46795f
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 0x467a91
mov eax, dword [ebp + 0x18]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x24], esp
mov edi, esp
push eax
call fcn.00421538
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.004672a0
mov ebx, eax
mov ecx, ebx
or ecx, edx
mov dword [ebp - 0x24], edx
je 0x467a84
mov ecx, ebx
add ecx, esi
mov eax, edx
adc eax, dword [ebp - 0x2c]
cmp eax, dword [edi + 0x14]
jb 0x4679d8
ja 0x4679cc
cmp ecx, dword [edi + 0x10]
jbe 0x4679d8
push eax
push ecx
mov esi, edi
call fcn.00466750
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 0x467a84
mov edx, dword [ebp - 0x30]
ja 0x467a05
test edx, edx
jbe 0x467a84
jmp 0x467a05
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 0x467a20
jb 0x467a1b
cmp ecx, edx
jae 0x467a20
mov dword [ebp + 0x14], edi
jmp 0x467a27
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 0x467a72
mov eax, dword [ebp + 0x14]
cdq
push edx
push eax
mov eax, dword [ebp + 8]
push edi
call fcn.00466670
test eax, eax
je 0x467a72
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 0x467a00
ja 0x467a84
cmp esi, dword [ebp - 0x30]
jb 0x467a00
jmp 0x467a84
mov dword [ebp - 0x10], 9
test edi, edi
je 0x467a84
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 0x467abe
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 0x467ae4
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