Function at 0x4f1a9a
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x57f165
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, 0x5eafb8
mov dword [esp + 0x14], esi
call fcn.0051c2a0
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 0x4f1acd
xor ebx, ebx
jmp 0x4f1ad0
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 0x4f1b24
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 0x4f1b55
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
cmp eax, edi
je 0x4f1b55
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 0x4f1b55
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
je 0x4f1b4c
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 0x4f210e
push 1
call fcn.004533f0
add esp, 4
call fcn.004c4140
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x4f210e
mov eax, dword [0x5e6010]
cmp eax, edi
je 0x4f210e
call fcn.0041d750
mov ecx, eax
call fcn.00527810
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, eax
cmp ebx, edi
mov dword [esp + 0x28], ebx
je 0x4f210e
mov eax, dword [0x5ed920]
mov ecx, 0x5ed920
mov dword [esp + 0x18], ecx
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov dword [esp + 0x44], edi
cmp eax, edi
jne 0x4f1c23
cmp dword [0x5e5cb4], edi
jne 0x4f1c23
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x44], 1
je 0x4f1bf7
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f1bf9
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x44], 0
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov dword [esp + 0x44], 0xffffffff
call dword [edx + 8]
push 0xb
mov ecx, esi
call fcn.0047a000
mov eax, dword [0x5eacf4]
mov ecx, dword [ebx + 0x20]
push eax
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x5ed920]
mov ecx, 0x5ed920
mov dword [esp + 0x2c], ecx
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov dword [esp + 0x44], 2
cmp eax, edi
jne 0x4f1cd4
cmp dword [0x5e5cb4], edi
jne 0x4f1cd4
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x44], 3
je 0x4f1ca9
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f1cab
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x4c], 2
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
or ebx, 0xffffffff
mov ecx, 0x5ed920
mov dword [esp + 0x44], ebx
call dword [edx + 8]
mov ecx, esi
call fcn.00479460
push 0x5ed920
lea ecx, [esp + 0x1c]
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov dword [esp + 0x44], 4
cmp eax, edi
jne 0x4f1d6c
cmp dword [0x5e5cb4], edi
jne 0x4f1d6c
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x44], 5
je 0x4f1d41
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f1d43
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0x4c], 4
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x18]
mov esi, dword [0x5e5cb4]
mov dword [esp + 0x44], ebx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.004793f0
mov dword [esp + 0x14], edi
mov dword [esp + 0x44], 6
mov dword [esp + 0x10], edi
push 0x5ed8c0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 7
call fcn.0040f8c0
mov eax, dword [0x5e5d30]
mov bl, 8
cmp eax, edi
mov byte [esp + 0x44], bl
jne 0x4f1e0a
cmp dword [0x5e5d2c], edi
jne 0x4f1e0a
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x44], 9
je 0x4f1de0
mov ecx, eax
call fcn.00464f50
jmp 0x4f1de2
xor eax, eax
mov dword [0x5e5d2c], eax
mov eax, dword [0x5cf938]
push eax
push 0x41dab0
mov ecx, 0x5eafa0
mov byte [esp + 0x4c], bl
call fcn.00406600
mov dword [0x5e5d30], 1
mov ecx, dword [esp + 0x18]
mov esi, dword [0x5e5d2c]
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 0x4f1e58
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4f1e58
push 0x5d1b68
lea edx, [esp + 0x14]
push eax
push edx
call fcn.00427500
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x4f1e58
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [0x5ed920]
mov ecx, 0x5ed920
mov dword [esp + 0x2c], ecx
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov bl, 0xa
cmp eax, edi
mov byte [esp + 0x44], bl
jne 0x4f1ecf
cmp dword [0x5e5cb4], edi
jne 0x4f1ecf
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x44], 0xb
je 0x4f1ea4
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f1ea6
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x44], bl
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
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.004c4010
mov ecx, dword [esp + 0x1c]
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 0x60]
cmp eax, edi
je 0x4f1f12
push edi
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
cmp esi, edi
mov dword [ebp + 0x1e0], edi
je 0x4f1f74
mov eax, dword [esp + 0x20]
cmp eax, 1
je 0x4f1f46
cmp eax, 2
jne 0x4f1f31
cmp dword [esp + 0x24], 4
je 0x4f1f46
mov eax, dword [ebp + 0x1fc]
mov ecx, dword [ebp + 0x1f8]
push 0x45
push edi
push edi
push eax
push ecx
push edi
jmp 0x4f1f5f
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 0x4f1f97
xor eax, eax
jmp 0x4f1f9a
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 [0x5ed8e0]
mov ecx, 0x5ed8e0
mov dword [esp + 0x2c], 0x5ed8e0
call dword [edx + 4]
mov eax, dword [0x5e5d38]
mov byte [esp + 0x44], 0xc
cmp eax, edi
jne 0x4f2069
cmp dword [0x5e5d34], edi
jne 0x4f2069
push 0x13e4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x28], eax
cmp eax, edi
mov byte [esp + 0x44], 0xd
je 0x4f203e
push edi
mov ecx, eax
call fcn.0041db10
jmp 0x4f2040
xor eax, eax
mov dword [0x5e5d34], eax
mov eax, dword [0x5cf9c0]
push eax
push 0x41dae0
mov ecx, 0x5eafa0
mov byte [esp + 0x4c], 0xc
call fcn.00406600
mov dword [0x5e5d38], 1
mov edx, dword [0x5ed8e0]
mov esi, dword [0x5e5d34]
mov ecx, 0x5ed8e0
mov byte [esp + 0x44], 7
call dword [edx + 8]
lea ecx, [esi + 0x1c]
cmp ecx, edi
je 0x4f20b6
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.0051f320
mov ecx, ebp
call fcn.004f2e00
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 0x4f20f8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x44], 0xffffffff
cmp eax, edi
je 0x4f210e
mov edx, dword [eax]
push eax
call dword [edx + 8]
push 0x5ed8e0
lea ecx, [esp + 0x2c]
call fcn.0040f8c0
mov eax, dword [0x5e5d38]
mov ebx, 0xe
cmp eax, edi
mov dword [esp + 0x44], ebx
jne 0x4f2184
cmp dword [0x5e5d34], edi
jne 0x4f2184
push 0x13e4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x44], 0xf
je 0x4f215a
push edi
mov ecx, eax
call fcn.0041db10
jmp 0x4f215c
xor eax, eax
mov dword [0x5e5d34], eax
mov eax, dword [0x5cf9c0]
push eax
push 0x41dae0
mov ecx, 0x5eafa0
mov byte [esp + 0x4c], bl
call fcn.00406600
mov dword [0x5e5d38], 1
mov ecx, dword [esp + 0x28]
mov esi, dword [0x5e5d34]
mov dword [esp + 0x44], 0xffffffff
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.00528be0
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x38
ret