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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e39fd
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x6396a8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
mov ecx, dword [0x675448]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x130], ecx
jb 0x4eff06
add eax, 4
mov dword [ebp - 0x11c], eax
mov eax, dword [eax]
jmp 0x4eff0f
add eax, 4
mov dword [ebp - 0x11c], eax
push 0
push 0
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp - 0x13c], esi
je 0x4eff66
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push 0
mov edi, eax
push edi
push 0
push 2
push 0
push esi
mov dword [ebp - 0x138], edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, eax
test ebx, ebx
mov dword [ebp - 0x12c], ebx
jne 0x4eff6d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x4f04ef
push edi
push 0
push 0
push 4
push ebx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
mov dword [ebp - 0x124], eax
jne 0x4eff98
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
push esi
call edi
xor al, al
jmp 0x4f04ef
mov edi, dword [ebp - 0x130]
mov ebx, dword [edi + 8]
mov edx, dword [ebx + 4]
add edi, 4
xor eax, eax
push edx
push ebx
lea esi, [ebp - 0x170]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0x16c], eax
mov dword [ebp - 0x168], eax
call fcn.004f1430
mov ecx, edi
mov esi, eax
call fcn.004f1470
mov dword [ebx + 4], esi
mov eax, dword [esi + 4]
mov dword [eax], esi
mov eax, dword [edi + 4]
mov esi, dword [eax + 4]
cmp esi, eax
jne 0x4effe8
call fcn.005b2af7
cmp esi, dword [edi + 4]
jne 0x4efff2
call fcn.005b2af7
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x12c]
lea eax, [esi + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x124]
mov dword [ebp - 0x134], eax
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
xor eax, eax
mov dword [ebp - 0x18c], 0xf
mov dword [ebp - 0x190], eax
mov byte [ebp - 0x1a0], al
mov ebx, dword [ebp - 0x120]
lea edi, [ebp - 0x164]
mov dword [ebp - 4], eax
call fcn.004efd80
push eax
lea edx, [ebp - 0x21c]
push edx
lea edi, [ebp - 0x1a8]
mov byte [ebp - 4], 1
call fcn.004f11c0
mov edi, dword [ebp - 0x130]
push eax
lea eax, [ebp - 0x170]
lea ecx, [edi + 0x10]
push eax
push ecx
mov byte [ebp - 4], 2
mov dword [ebp - 0x12c], ecx
call fcn.004f0fd0
mov ecx, dword [eax]
mov ebx, dword [eax + 4]
lea esi, [ebp - 0x21c]
mov dword [ebp - 0x128], ecx
call fcn.004f0540
cmp dword [ebp - 0x14c], 0x10
jb 0x4f00a7
mov edx, dword [ebp - 0x160]
push edx
call fcn.005b28f2
add esp, 4
xor esi, esi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18c], 0x10
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x150], esi
mov byte [ebp - 0x160], 0
jb 0x4f00df
mov eax, dword [ebp - 0x1a0]
push eax
call fcn.005b28f2
add esp, 4
cmp dword [ebp - 0x128], esi
jne 0x4f00ec
call fcn.005b2af7
mov ecx, dword [ebp - 0x128]
cmp ebx, dword [ecx + 4]
jne 0x4f00fc
call fcn.005b2af7
mov eax, dword [ebp - 0x120]
mov edx, dword [ebp - 0x134]
push 0xffffffffffffffff
push esi
push eax
lea ecx, [ebx + 0x2c]
mov dword [ebx + 0x28], edx
call fcn.0043b440
mov ecx, dword [ebp - 0x138]
mov edx, dword [ebp - 0x120]
mov eax, dword [ebp - 0x11c]
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], ecx
cmp dword [edx + 0x18], 0x10
jb 0x4f0137
mov eax, dword [eax]
mov edx, dword [edi]
push 0x60047c
push eax
mov eax, dword [edx + 4]
mov ecx, edi
call eax
mov ebx, eax
cmp ebx, esi
mov dword [ebp - 0x120], ebx
je 0x4eff66
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
push ebx
push 1
push 4
lea eax, [ebp - 0x148]
push eax
mov ecx, edi
mov dword [ebp - 0x148], esi
call edx
cmp dword [ebp - 0x148], 0xbac04ac0
mov eax, dword [edi]
push ebx
je 0x4f018e
mov edx, dword [eax + 8]
mov ecx, edi
call edx
xor al, al
jmp 0x4f04ef
mov edx, dword [eax + 0x14]
push 1
push 4
lea ecx, [ebp - 0x144]
push ecx
mov ecx, edi
mov dword [ebp - 0x144], esi
call edx
cmp dword [ebp - 0x144], esi
mov eax, dword [edi]
push ebx
ja 0x4f0180
mov edx, dword [eax + 0x14]
push 1
push 1
lea ecx, [ebp - 0x115]
push ecx
mov ecx, edi
mov dword [ebp - 0x13c], esi
mov byte [ebp - 0x115], 0
call edx
test byte [ebp - 0x115], 0x80
jne 0x4f043c
lea ecx, [ecx]
cmp eax, esi
je 0x4f043c
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ebx
push 1
push 1
lea ecx, [ebp - 0x116]
push ecx
mov ecx, edi
mov byte [ebp - 0x116], 0
call edx
movzx ecx, byte [ebp - 0x116]
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
push ebx
push ecx
push 1
lea edx, [ebp - 0x114]
push edx
mov ecx, edi
call eax
movzx ecx, byte [ebp - 0x116]
mov edx, dword [edi]
mov edx, dword [edx + 0x14]
push ebx
push 1
push 4
lea eax, [ebp - 0x11c]
mov byte [ebp + ecx - 0x114], 0
push eax
mov ecx, edi
mov dword [ebp - 0x11c], esi
call edx
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ebx
push 1
push 8
lea ecx, [ebp - 0x178]
push ecx
mov ecx, edi
call edx
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x164]
call fcn.00438a30
mov dword [ebp - 4], 3
mov dword [ebp - 0x18c], 0xf
mov dword [ebp - 0x190], esi
mov byte [ebp - 0x1a0], 0
lea ebx, [ebp - 0x164]
lea edi, [ebp - 0x1c4]
mov byte [ebp - 4], 4
call fcn.004efd80
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edi, [ebp - 0x1a8]
mov byte [ebp - 4], 5
call fcn.004f11c0
push eax
mov eax, dword [ebp - 0x12c]
lea edx, [ebp - 0x1d0]
push edx
push eax
mov byte [ebp - 4], 6
call fcn.004f0fd0
mov ebx, dword [eax]
mov edi, dword [eax + 4]
lea esi, [ebp - 0x21c]
call fcn.004f0540
mov esi, 0x10
cmp dword [ebp - 0x1ac], esi
jb 0x4f02fe
mov ecx, dword [ebp - 0x1c0]
push ecx
call fcn.005b28f2
add esp, 4
cmp dword [ebp - 0x18c], esi
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 0x1c0], 0
jb 0x4f0330
mov edx, dword [ebp - 0x1a0]
push edx
call fcn.005b28f2
add esp, 4
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x14c], esi
mov dword [ebp - 0x18c], 0xf
mov dword [ebp - 0x190], 0
mov byte [ebp - 0x1a0], 0
jb 0x4f0369
mov eax, dword [ebp - 0x160]
push eax
call fcn.005b28f2
add esp, 4
test ebx, ebx
mov dword [ebp - 0x14c], 0xf
mov dword [ebp - 0x150], 0
mov byte [ebp - 0x160], 0
jne 0x4f038d
call fcn.005b2af7
cmp edi, dword [ebx + 4]
jne 0x4f0397
call fcn.005b2af7
mov ecx, dword [ebp - 0x134]
lea eax, [ebp - 0x114]
mov dword [edi + 0x28], ecx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x4f03b0
sub eax, edx
push eax
lea edx, [ebp - 0x114]
push edx
lea ecx, [edi + 0x2c]
call fcn.0043df40
mov eax, dword [ebp - 0x13c]
mov dword [edi + 0x50], eax
mov ecx, dword [ebp - 0x11c]
mov dword [edi + 0x54], ecx
mov edx, dword [ebp - 0x178]
mov dword [edi + 0x48], edx
mov ecx, dword [ebp - 0x174]
mov dword [edi + 0x4c], ecx
add eax, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x130]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x120]
push eax
push 1
push 1
lea eax, [ebp - 0x115]
push eax
mov byte [ebp - 0x115], 0
call edx
mov ebx, dword [ebp - 0x120]
mov edi, dword [ebp - 0x130]
xor esi, esi
test byte [ebp - 0x115], 0x80
je 0x4f01e0
mov eax, dword [edi]
mov edx, dword [eax + 0x10]
push ebx
mov ecx, edi
call edx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x12c]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov ecx, eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x124], edx
cmp ecx, esi
mov edx, dword [eax + 4]
mov dword [ebp - 0x13c], edx
je 0x4f0476
cmp ecx, eax
je 0x4f0481
call fcn.005b2af7
mov ecx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
cmp eax, dword [ebp - 0x13c]
je 0x4f04e3
cmp ecx, esi
jne 0x4f04a4
call fcn.005b2af7
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x128]
cmp eax, dword [ecx + 4]
jne 0x4f04b4
call fcn.005b2af7
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x134]
cmp dword [eax + 0x28], ecx
jne 0x4f04c8
mov edx, dword [ebp - 0x138]
add dword [eax + 0x50], edx
lea esi, [ebp - 0x128]
call fcn.004f1710
mov eax, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
xor esi, esi
jmp 0x4f0465
mov eax, dword [edi]
mov edx, dword [eax + 8]
push ebx
mov ecx, edi
call edx
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005b2f9b
mov esp, ebp
pop ebp
ret 4