Function at 0x4e95fa
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x568d45
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x5d01a8
mov dword [esp + 0x14], esi
call fcn.00511630
xor eax, eax
mov ebp, 0xc
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov byte [esp + 0x38], al
lea eax, [esi + 0x208]
test eax, eax
jne 0x4e962d
xor ebx, ebx
jmp 0x4e9630
mov ebx, dword [eax + 0x20]
mov eax, dword [str.KureePlayer_PrcoShareFullscreenHwndName_gbhgferereeEE98721eha]
push eax
push 0
push 6
mov edi, eax
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
mov esi, eax
test esi, esi
jne 0x4e9684
push edi
push 0xc
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
xor edi, edi
cmp eax, edi
je 0x4e96b5
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
je 0x4e96b5
mov edx, dword [esp + 0x38]
mov ecx, eax
push eax
mov dword [ecx], ebp
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
jmp 0x4e96b5
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4e96ac
mov edx, dword [esp + 0x38]
mov ecx, eax
push eax
mov dword [ecx], ebp
mov dword [ecx + 4], ebx
mov dword [ecx + 8], edx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
mov ebp, dword [esp + 0x14]
cmp dword [ebp + 0x1e0], edi
je 0x4e9c6e
push 1
call fcn.0044d090
add esp, 4
call fcn.004bbdc0
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x4e9c6e
mov eax, dword [0x5cb258]
cmp eax, edi
je 0x4e9c6e
call fcn.0041e9e0
mov ecx, eax
call fcn.0051bb90
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x28], ebx
je 0x4e9c6e
mov eax, dword [0x5d2ac0]
mov ecx, 0x5d2ac0
mov dword [esp + 0x18], ecx
call dword [eax + 4]
mov eax, dword [0x5cb048]
mov dword [esp + 0x44], edi
cmp eax, edi
jne 0x4e9783
cmp dword [0x5cb044], edi
jne 0x4e9783
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x44], 1
je 0x4e9757
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e9759
xor eax, eax
mov ecx, dword [0x5b4b90]
mov byte [esp + 0x44], 0
push ecx
push 0x406940
mov ecx, 0x5d0190
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, 0x5d2ac0
mov dword [esp + 0x44], 0xffffffff
call dword [edx + 8]
push 0xb
mov ecx, esi
call fcn.004734a0
mov eax, dword [0x5cfef4]
mov ecx, dword [ebx + 0x20]
push eax
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x5d2ac0]
mov ecx, 0x5d2ac0
mov dword [esp + 0x2c], ecx
call dword [edx + 4]
mov eax, dword [0x5cb048]
mov dword [esp + 0x44], 2
cmp eax, edi
jne 0x4e9834
cmp dword [0x5cb044], edi
jne 0x4e9834
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x44], 3
je 0x4e9809
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e980b
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0x4c], 2
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
or ebx, 0xffffffff
mov ecx, 0x5d2ac0
mov dword [esp + 0x44], ebx
call dword [edx + 8]
mov ecx, esi
call fcn.00472910
push 0x5d2ac0
lea ecx, [esp + 0x1c]
call fcn.00410470
mov eax, dword [0x5cb048]
mov dword [esp + 0x44], 4
cmp eax, edi
jne 0x4e98cc
cmp dword [0x5cb044], edi
jne 0x4e98cc
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x44], 5
je 0x4e98a1
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e98a3
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0x4c], 4
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x18]
mov esi, dword [0x5cb044]
mov dword [esp + 0x44], ebx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.004728a0
mov dword [esp + 0x14], edi
mov dword [esp + 0x44], 6
mov dword [esp + 0x10], edi
push 0x5d2a60
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 7
call fcn.00410470
mov eax, dword [0x5cb0cc]
mov bl, 8
cmp eax, edi
mov byte [esp + 0x44], bl
jne 0x4e996a
cmp dword [0x5cb0c8], edi
jne 0x4e996a
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x44], 9
je 0x4e9940
mov ecx, eax
call fcn.0045e9d0
jmp 0x4e9942
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [esp + 0x4c], bl
call fcn.00406500
mov dword [0x5cb0cc], 1
mov ecx, dword [esp + 0x18]
mov esi, dword [0x5cb0c8]
mov byte [esp + 0x44], 7
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4e99b8
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4e99b8
push 0x5b7820
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00423a70
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4e99b8
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [0x5d2ac0]
mov ecx, 0x5d2ac0
mov dword [esp + 0x2c], ecx
call dword [eax + 4]
mov eax, dword [0x5cb048]
mov bl, 0xa
cmp eax, edi
mov byte [esp + 0x44], bl
jne 0x4e9a2f
cmp dword [0x5cb044], edi
jne 0x4e9a2f
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x44], 0xb
je 0x4e9a04
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e9a06
xor eax, eax
mov ecx, dword [0x5b4b90]
mov byte [esp + 0x44], bl
push ecx
push 0x406940
mov ecx, 0x5d0190
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, 0x5d2ac0
mov byte [esp + 0x44], 7
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x24]
push ecx
push esi
call dword [eax + 0xac]
call fcn.004bbc90
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 0x60]
cmp eax, edi
je 0x4e9a72
push edi
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
cmp esi, edi
mov dword [ebp + 0x1e0], edi
je 0x4e9ad4
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x4e9aa6
cmp eax, 2
jne 0x4e9a91
cmp dword [esp + 0x24], 4
je 0x4e9aa6
mov eax, dword [ebp + 0x1fc]
mov ecx, dword [ebp + 0x1f8]
push 0x45
push edi
push edi
push eax
push ecx
push edi
jmp 0x4e9abf
mov edx, dword [ebp + 0x1fc]
mov eax, dword [ebp + 0x1f8]
mov ecx, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTopMost]
push 0x41
push edi
push edi
push edx
push eax
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov edx, dword [esi + 0x20]
push edi
push edi
push 5
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x87
push edi
push edi
push edi
push edi
push edi
lea ecx, [ebp + 0x208]
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, dword [ebp + 0x1e4]
cmp eax, edi
jne 0x4e9af7
xor eax, eax
jmp 0x4e9afa
mov eax, dword [eax + 0x20]
mov esi, dword [esp + 0x28]
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_SetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ecx, dword [ebp + 0x1f4]
mov ebx, dword [ebp + 0x1ec]
mov edx, dword [ebp + 0x1f0]
sub ecx, ebx
push 0x40
push ecx
mov ecx, dword [ebp + 0x1e8]
mov eax, ebx
sub edx, ecx
push edx
mov edx, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTop]
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, dword [esi + 0x20]
push 1
push edi
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov edx, dword [0x5d2a80]
mov ecx, 0x5d2a80
mov dword [esp + 0x2c], 0x5d2a80
call dword [edx + 4]
mov eax, dword [0x5cb0c0]
mov byte [esp + 0x44], 0xc
cmp eax, edi
jne 0x4e9bc9
cmp dword [0x5cb0bc], edi
jne 0x4e9bc9
push 0x1044
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, edi
mov byte [esp + 0x44], 0xd
je 0x4e9b9e
push edi
mov ecx, eax
call fcn.0041c900
jmp 0x4e9ba0
xor eax, eax
mov dword [0x5cb0bc], eax
mov eax, dword [0x5b5894]
push eax
push 0x41c8d0
mov ecx, 0x5d0190
mov byte [esp + 0x4c], 0xc
call fcn.00406500
mov dword [0x5cb0c0], 1
mov edx, dword [0x5d2a80]
mov esi, dword [0x5cb0bc]
mov ecx, 0x5d2a80
mov byte [esp + 0x44], 7
call dword [edx + 8]
lea ecx, [esi + 0x1c]
cmp ecx, edi
je 0x4e9c16
mov edx, dword [ebp + 0x1e8]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebp + 0x1ec]
mov dword [eax + 4], edx
mov edx, dword [ebp + 0x1f0]
mov dword [eax + 8], edx
mov edx, dword [ebp + 0x1f4]
mov dword [eax + 0xc], edx
call fcn.005148b0
mov ecx, ebp
call fcn.004ea980
mov eax, dword [ebp + 0x10]
lea esi, [ebp + 0x10]
push 2
mov ecx, esi
call dword [eax + 0xcc]
mov edx, dword [esi]
push 3
mov ecx, esi
call dword [edx + 0xcc]
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x10]
mov byte [esp + 0x44], 6
cmp eax, edi
je 0x4e9c58
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
cmp eax, edi
je 0x4e9c6e
mov edx, dword [eax]
push eax
call dword [edx + 8]
push 0x5d2a80
lea ecx, [esp + 0x2c]
call fcn.00410470
mov eax, dword [0x5cb0c0]
mov ebx, 0xe
cmp eax, edi
mov dword [esp + 0x44], ebx
jne 0x4e9ce4
cmp dword [0x5cb0bc], edi
jne 0x4e9ce4
push 0x1044
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x44], 0xf
je 0x4e9cba
push edi
mov ecx, eax
call fcn.0041c900
jmp 0x4e9cbc
xor eax, eax
mov dword [0x5cb0bc], eax
mov eax, dword [0x5b5894]
push eax
push 0x41c8d0
mov ecx, 0x5d0190
mov byte [esp + 0x4c], bl
call fcn.00406500
mov dword [0x5cb0c0], 1
mov ecx, dword [esp + 0x28]
mov esi, dword [0x5cb0bc]
mov dword [esp + 0x44], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.0051cf40
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret