Function at 0x48a6e0
Capabilities:
Read file via mapping

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x6c
push 0xffffffffffffffff
push 0x5c7519
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.0054df99
push 0
push 0x20
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 1
call fcn.0054e587
test eax, eax
je 0x48a929
call fcn.0053fed4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x48a764
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.0053fe21
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.0054de84
mov edi, eax
mov eax, edx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], eax
test esi, esi
je 0x48a7a5
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 0x48a8af
call fcn.004897c0
test eax, eax
je 0x48a89e
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 0x48a84f
jb 0x48a7fb
cmp ebx, edi
jae 0x48a84f
mov ecx, dword [ebp - 0x18]
sub edi, ebx
sbb ecx, eax
mov eax, esi
cdq
cmp ecx, edx
ja 0x48a814
jb 0x48a80f
cmp edi, eax
jae 0x48a814
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 0x48a84f
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 0x48a7f0
lea eax, [ebp]
push eax
call dword [0x638d50]
push 0x10
lea ecx, [ebp + 0x58]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.0048a3b0
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 5
call fcn.00477d50
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 0x48a89b
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.0054df33
mov dword [ebp - 4], 3
jmp 0x48a8e9
mov byte [ebp - 4], 2
call fcn.0053fe39
mov esi, dword [ebp - 0x28]
add esi, 0xfffffff0
push esi
call fcn.00477340
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 0x48a939
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
jmp 0x48a939
push 0
mov ecx, ebx
call fcn.00478400
mov dword [ebp - 0x24], 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0
call fcn.0054e18e
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.00584267
add ebp, 0x6c
mov esp, ebp
pop ebp
ret