Function at 0x4cff48
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
jmp 0x4cff78
push 0x80000101
push 0
push 0
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
push eax
mov ebx, dword [ebp + 8]
push dword [ebx]
call fcn.004a690d
add esp, 8
cmp eax, 0
mov eax, 0
sete al
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4cffc8
push ebx
call fcn.004db939
add esp, 4
cmp dword [ebp - 0x14], 0
je 0x4d023a
push 0x80000101
push 0
push 0x70
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x10], eax
push 0x80000101
push 0
push 0x69
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x14], eax
push 0x80000101
push 0
push 0x61
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x18], eax
push 0x80000101
push 0
push 0x6f
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x1c], eax
push 0x80000101
push 0
push 0x31
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x20], eax
push 0x80000101
push 0
push 0x36
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x24], eax
push 0x80000101
push 0
push 0x38
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x28], eax
push 0x80000101
push 0
push 0x6c
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x2c], eax
push 0x80000101
push 0
push 0x69
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x30], eax
push 0x80000101
push 0
push 0x6e
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x34], eax
push 0x80000101
push 0
push 0x67
push 1
mov ebx, 0x140
call fcn.004dbd80
add esp, 0x10
mov dword [ebp - 0x38], eax
push dword [ebp - 0x38]
push dword [ebp - 0x34]
push dword [ebp - 0x30]
push dword [ebp - 0x2c]
push dword [ebp - 0x28]
push dword [ebp - 0x24]
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push dword [ebp - 0x10]
mov ecx, 0xb
call fcn.004a2fac
add esp, 0x2c
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d017e
push ebx
call fcn.004db939
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x4d018e
push ebx
call fcn.004db939
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x4d019e
push ebx
call fcn.004db939
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x4d01ae
push ebx
call fcn.004db939
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x4d01be
push ebx
call fcn.004db939
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x4d01ce
push ebx
call fcn.004db939
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x4d01de
push ebx
call fcn.004db939
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x4d01ee
push ebx
call fcn.004db939
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x4d01fe
push ebx
call fcn.004db939
add esp, 4
mov ebx, dword [ebp - 0x34]
test ebx, ebx
je 0x4d020e
push ebx
call fcn.004db939
add esp, 4
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x4d021e
push ebx
call fcn.004db939
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
mov ebx, dword [ebp + 8]
mov ebx, dword [ebx]
test ebx, ebx
je 0x4d0234
push ebx
call fcn.004db939
add esp, 4
pop eax
mov ebx, dword [ebp + 8]
mov dword [ebx], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
push 1
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4d0268
push 6
call fcn.004db93f
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jle 0x4d0332
mov dword [ebp - 0x10], esp
push 0
push 0
push 0
push 4
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4d02ab
push 6
call fcn.004db93f
add esp, 4
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jle 0x4d0332
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x90c
call fcn.004dbe10
add esp, 0x10
mov dword [ebp - 0x10], eax
push 1
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.004b65ad
mov dword [ebp - 0x14], eax
mov ebx, dword [ebp - 0x10]
test ebx, ebx
je 0x4d02f8
push ebx
call fcn.004db939
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d030c
push ebx
call fcn.004db939
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], esp
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
nop
nop
nop
nop
cmp dword [ebp - 0x10], esp
je 0x4d0332
push 6
call fcn.004db93f
add esp, 4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4d034e
push eax
mov ebx, eax
call fcn.004a294e
inc eax
push eax
call fcn.004db933
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x4d0363
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4d0374
push ebx
call fcn.004db939
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 8