Function at 0x48a8a0
Capabilities:
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x5c7739
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x63727c]
xor eax, ebp
mov dword [ebp + 0x68], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, dword [ebp + 0x74]
mov edi, dword [ebp + 0x78]
mov esi, dword [ebp + 0x7c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], 0
call fcn.0054e179
push 0
push 0x20
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.0054e767
test eax, eax
je 0x48aae9
call fcn.005400b4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48a924
push 0x80004005
call fcn.00401020
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
mov dword [ebp - 0x14], 0
call fcn.00540001
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.0054e064
mov edi, eax
mov eax, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x48a965
mov dword [esi], edi
mov dword [esi + 4], eax
mov ecx, dword [ebp - 0x3c]
push 0
push 0
push 0
push 0x8000002
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x48aa6f
call fcn.00489980
test eax, eax
je 0x48aa5e
lea edx, [ebp]
push edx
call dword [0x638d48]
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x2c], eax
mov esi, 0x10000
lea ebx, [ebx]
cmp eax, dword [ebp - 0x18]
ja 0x48aa0f
jb 0x48a9bb
cmp ebx, edi
jae 0x48aa0f
mov ecx, dword [ebp - 0x18]
sub edi, ebx
sbb ecx, eax
mov eax, esi
cdq
cmp ecx, edx
ja 0x48a9d4
jb 0x48a9cf
cmp edi, eax
jae 0x48a9d4
mov esi, dword [ebp - 0x1c]
sub esi, ebx
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x14]
push esi
push ebx
push eax
push 4
push ecx
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
je 0x48aa0f
push esi
push edi
lea edx, [ebp]
push edx
call dword [0x638d4c]
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edi, dword [ebp - 0x1c]
mov eax, esi
cdq
add ebx, eax
adc dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
jmp 0x48a9b0
lea eax, [ebp]
push eax
call dword [0x638d50]
push 0x10
lea ecx, [ebp + 0x58]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.0048a570
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00477f20
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
mov byte [ebp - 4], 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48aa5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x40]
call fcn.0054e113
mov dword [ebp - 4], 3
jmp 0x48aaa9
mov byte [ebp - 4], 2
call fcn.00540019
mov esi, dword [ebp - 0x28]
add esi, 0xfffffff0
push esi
call fcn.00477510
add eax, 0x10
add esp, 4
mov dword [ebx], eax
or dword [ebp - 0x24], 1
mov byte [ebp - 4], 1
lea edx, [esi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x48aaf9
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x48aaf9
push 0
mov ecx, ebx
call fcn.004785d0
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0054e36e
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x68]
xor ecx, ebp
call fcn.00584447
add ebp, 0x6c
mov esp, ebp
pop ebp
ret