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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4d225b
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
mov ebx, ecx
push ebp
xor ebp, ebp
mov eax, dword [ebx + 0x10]
push esi
cmp eax, ebp
push edi
je 0x423f85
mov eax, dword [ebx + 8]
xor edi, edi
cmp eax, ebp
jle 0x423f85
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edi*4]
cmp ecx, ebp
je 0x423f7d
mov esi, dword [ecx + 4]
cmp ecx, ebp
je 0x423f77
mov edx, dword [ecx]
push 1
call dword [edx]
cmp esi, ebp
mov ecx, esi
jne 0x423f6a
mov eax, dword [ebx + 8]
inc edi
cmp edi, eax
jl 0x423f60
mov ecx, dword [ebx + 8]
mov edi, dword [ebx + 4]
shl ecx, 2
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
push 0x80
push 3
push ebp
rep stosb byte es:[edi], al
mov eax, dword [esp + 0x44]
push ebp
push 0x80000000
push eax
mov dword [ebx + 0xc], ebp
mov dword [ebx + 0x14], ebp
mov dword [ebx + 0x18], ebp
mov dword [ebx + 0x10], 1
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x18], edi
je 0x42411b
push ebp
push ebp
push ebp
push 2
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
cmp eax, ebp
mov dword [esp + 0x20], eax
je 0x424114
push ebp
push ebp
push ebp
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, ebp
mov dword [esp + 0x1c], eax
mov dword [esp + 0x10], eax
je 0x424109
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0xffffffff
mov dword [esp + 0x34], eax
je 0x4240fe
cmp eax, ebp
je 0x4240f9
push 0x14
call fcn.004bd49b
mov esi, eax
add esp, 4
mov dword [esp + 0x14], esi
cmp esi, ebp
mov dword [esp + 0x2c], ebp
je 0x424063
push ebp
mov dword [esi], vtable.DescEntry.0
call fcn.00470f80
push ebp
mov dword [esi + 8], eax
call fcn.00470f80
add esp, 8
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], ebp
jmp 0x424065
xor esi, esi
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x34]
push ecx
lea eax, [esp + 0x14]
push edx
push eax
mov ecx, esi
mov dword [esp + 0x38], 0xffffffff
call fcn.00423d30
test eax, eax
je 0x4240e3
cmp esi, ebp
je 0x4240ef
mov eax, dword [esi + 8]
mov ecx, dword [ebx + 8]
test eax, eax
mov dword [esp + 0x14], ecx
jne 0x42409d
xor edx, edx
jmp 0x4240c9
mov edi, eax
mov al, byte [edi]
test al, al
je 0x4240bd
movsx edx, al
push edx
call fcn.004a7da5
add esp, 4
inc ebp
imul ebp, eax
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4240a5
mov edi, dword [esp + 0x18]
mov eax, ebp
xor edx, edx
div dword [esp + 0x14]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + edx*4]
mov dword [esi + 4], ecx
mov eax, dword [ebx + 4]
mov dword [eax + edx*4], esi
mov eax, dword [ebx + 0xc]
inc eax
xor ebp, ebp
mov dword [ebx + 0xc], eax
jmp 0x4240ef
cmp esi, ebp
je 0x4240ef
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx]
cmp dword [esp + 0x34], ebp
jne 0x42402b
mov esi, 1
mov eax, dword [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x24]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 8