Function at 0x4acc10
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4f2171
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push ebp
push edi
xor ebx, ebx
lea ecx, [esp + 0x14]
mov dword [esp + 0x3c], ebx
call fcn.004ce210
mov edi, dword [esp + 0x48]
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp edi, ebx
mov byte [esp + 0x3c], 1
je 0x4acc4e
mov eax, edi
push eax
lea ecx, [esp + 0x18]
call fcn.004ce8b0
test al, al
je 0x4acc6c
mov ebp, dword [str.StormPlayer_PrcoShareVideoInfo_83573C4D_4946_4809_9871_3A2CA67CCC77]
mov dword [esp + 0xc], 0x858
jmp 0x4acc97
mov eax, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
cmp edi, ebx
je 0x4acc77
mov eax, edi
push eax
lea ecx, [esp + 0x14]
call fcn.004cf430
test al, al
je 0x4acd83
mov ebp, dword [str.StormPlayer_PrcoShareAlbumInfo_DC18E5F3_3DF9_4d2c_9A55_D101322B8859]
mov dword [esp + 0xc], 0x85c
mov eax, dword [str.StormPlayer_PrcoShareHwndName_gbhgferereeEE98721eha]
push esi
push eax
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
test esi, esi
je 0x4acd4c
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4acccd
mov ebx, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x4acd4c
mov ecx, dword [esp + 0x50]
push ebp
lea edi, [ecx + 1]
push edi
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebp, eax
test ebp, ebp
je 0x4acd48
push 0
push 0
push 0
push 6
push ebp
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4acd48
mov esi, dword [esp + 0x4c]
test esi, esi
jne 0x4acd16
mov esi, dword [sym.imp.MSVCP60.dll_char_const__private:_static_char_const____cdecl_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::_Nullstr_void_::_2::_C]
mov ecx, edi
mov edi, eax
mov edx, ecx
push eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x10]
push ebp
push 0x4abc40
push 1
push eax
push ecx
push ebx
call dword [sym.imp.USER32.dll_SendMessageCallbackA]
mov edi, dword [esp + 0x4c]
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 0
call fcn.004ce2d0
test edi, edi
pop esi
je 0x4acdc3
mov al, byte [edi - 1]
test al, al
je 0x4acdb9
cmp al, 0xff
je 0x4acdb9
dec al
mov byte [edi - 1], al
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x14
lea ecx, [esp + 0x14]
mov byte [esp + 0x3c], 0
call fcn.004ce2d0
cmp edi, ebx
je 0x4acdc3
mov al, byte [edi - 1]
test al, al
je 0x4acdb9
cmp al, 0xff
je 0x4acdb9
dec al
mov byte [edi - 1], al
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 0x14
dec edi
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0x34]
pop edi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x34
ret 0x14