Function at 0x499f4a
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x4f2552
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x53beb8
mov dword [esp + 0x18], esi
call fcn.004b43d0
xor eax, eax
mov ebp, 0xc
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov byte [esp + 0x3c], al
lea eax, [esi + 0x210]
test eax, eax
jne 0x499f7d
xor ebx, ebx
jmp 0x499f80
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 0x499fd4
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 0x49a005
push edi
push edi
push edi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
cmp eax, edi
je 0x49a005
mov edx, dword [esp + 0x3c]
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 0x49a005
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x499ffc
mov edx, dword [esp + 0x3c]
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 eax, dword [esp + 0x18]
cmp dword [eax + 0x1e8], edi
je 0x49a5ae
push 1
call fcn.004272e0
add esp, 4
call fcn.00474e70
cmp eax, edi
mov dword [esp + 0x20], eax
je 0x49a5ae
mov eax, dword [0x537164]
cmp eax, edi
je 0x49a5ae
call fcn.0049c1a0
mov ecx, eax
call fcn.004bc810
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebp, eax
cmp ebp, edi
mov dword [esp + 0x2c], ebp
je 0x49a5ae
mov edx, dword [0x53d440]
mov ecx, 0x53d440
mov dword [esp + 0x1c], ecx
call dword [edx + 4]
mov eax, dword [0x53716c]
mov dword [esp + 0x48], edi
cmp eax, edi
jne 0x49a0d3
cmp dword [0x537168], edi
jne 0x49a0d3
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edi
mov byte [esp + 0x48], 1
je 0x49a0a8
push edi
mov ecx, eax
call fcn.00404a60
jmp 0x49a0aa
xor eax, eax
mov dword [0x537168], eax
mov eax, dword [0x528b70]
push eax
push 0x404a30
mov ecx, 0x53bea0
mov byte [esp + 0x50], 0
call fcn.00402190
mov dword [0x53716c], 1
mov edx, dword [0x53d440]
mov esi, dword [0x537168]
or ebx, 0xffffffff
mov ecx, 0x53d440
mov dword [esp + 0x48], ebx
call dword [edx + 8]
push 0xb
mov ecx, esi
call fcn.0043f1e0
mov eax, dword [0x53bc4c]
mov ecx, dword [ebp + 0x20]
push eax
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x53d440]
mov ecx, 0x53d440
mov dword [esp + 0x30], 0x53d440
call dword [edx + 4]
mov eax, dword [0x53716c]
mov dword [esp + 0x48], 2
cmp eax, edi
jne 0x49a187
cmp dword [0x537168], edi
jne 0x49a187
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x48], 3
je 0x49a15c
push edi
mov ecx, eax
call fcn.00404a60
jmp 0x49a15e
xor eax, eax
mov dword [0x537168], eax
mov eax, dword [0x528b70]
push eax
push 0x404a30
mov ecx, 0x53bea0
mov byte [esp + 0x50], 2
call fcn.00402190
mov dword [0x53716c], 1
mov edx, dword [0x53d440]
mov esi, dword [0x537168]
mov ecx, 0x53d440
mov dword [esp + 0x48], ebx
call dword [edx + 8]
mov ecx, esi
call fcn.0043e970
push 0x53d440
lea ecx, [esp + 0x20]
call fcn.00404b30
mov eax, dword [0x53716c]
mov ebp, 4
cmp eax, edi
mov dword [esp + 0x48], ebp
jne 0x49a21d
cmp dword [0x537168], edi
jne 0x49a21d
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edi
mov byte [esp + 0x48], 5
je 0x49a1f2
push edi
mov ecx, eax
call fcn.00404a60
jmp 0x49a1f4
xor eax, eax
mov dword [0x537168], eax
mov eax, dword [0x528b70]
push eax
push 0x404a30
mov ecx, 0x53bea0
mov byte [esp + 0x50], 4
call fcn.00402190
mov dword [0x53716c], 1
mov ecx, dword [esp + 0x1c]
mov esi, dword [0x537168]
mov dword [esp + 0x48], ebx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.0043e900
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], 6
mov dword [esp + 0x10], edi
push 0x53d480
lea ecx, [esp + 0x20]
mov byte [esp + 0x4c], 7
call fcn.00404b30
mov eax, dword [0x537160]
mov bl, 8
cmp eax, edi
mov byte [esp + 0x48], bl
jne 0x49a2bb
cmp dword [0x53715c], edi
jne 0x49a2bb
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x30], eax
cmp eax, edi
mov byte [esp + 0x48], 9
je 0x49a291
mov ecx, eax
call fcn.00431f10
jmp 0x49a293
xor eax, eax
mov dword [0x53715c], eax
mov eax, dword [0x528890]
push eax
push 0x4031c0
mov ecx, 0x53bea0
mov byte [esp + 0x50], bl
call fcn.00402190
mov dword [0x537160], 1
mov ecx, dword [esp + 0x1c]
mov esi, dword [0x53715c]
mov byte [esp + 0x48], 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 0x49a309
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x49a309
push 0x5298d8
lea edx, [esp + 0x14]
push eax
push edx
call fcn.004030d0
mov eax, dword [esp + 0x10]
cmp eax, edi
je 0x49a309
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
call dword [ecx + 0x44]
mov eax, dword [0x53d440]
mov ecx, 0x53d440
mov dword [esp + 0x30], ecx
call dword [eax + 4]
mov eax, dword [0x53716c]
mov bl, 0xa
cmp eax, edi
mov byte [esp + 0x48], bl
jne 0x49a380
cmp dword [0x537168], edi
jne 0x49a380
push 0x110
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x1c], eax
cmp eax, edi
mov byte [esp + 0x48], 0xb
je 0x49a355
push edi
mov ecx, eax
call fcn.00404a60
jmp 0x49a357
xor eax, eax
mov ecx, dword [0x528b70]
mov byte [esp + 0x48], bl
push ecx
push 0x404a30
mov ecx, 0x53bea0
mov dword [0x537168], eax
call fcn.00402190
mov dword [0x53716c], 1
mov edx, dword [0x53d440]
mov esi, dword [0x537168]
mov ecx, 0x53d440
mov byte [esp + 0x48], 7
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x28]
push ecx
push esi
call dword [eax + 0xa8]
call fcn.00474d40
mov ecx, dword [esp + 0x20]
mov esi, eax
mov edx, dword [ecx]
call dword [edx + 0x60]
cmp eax, edi
je 0x49a3c3
push edi
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov ebx, dword [esp + 0x18]
cmp esi, edi
mov dword [ebx + 0x1e8], edi
je 0x49a428
mov eax, dword [esp + 0x24]
cmp eax, 1
je 0x49a3fa
cmp eax, 2
jne 0x49a3e5
cmp dword [esp + 0x28], ebp
je 0x49a3fa
mov eax, dword [ebx + 0x204]
mov ecx, dword [ebx + 0x200]
push 0x45
push edi
push edi
push eax
push ecx
push edi
jmp 0x49a413
mov edx, dword [ebx + 0x204]
mov eax, dword [ebx + 0x200]
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, [ebx + 0x210]
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, dword [ebx + 0x1ec]
cmp eax, edi
jne 0x49a44b
xor eax, eax
jmp 0x49a44e
mov eax, dword [eax + 0x20]
mov esi, dword [esp + 0x2c]
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 [ebx + 0x1fc]
mov ebp, dword [ebx + 0x1f4]
mov edx, dword [ebx + 0x1f8]
sub ecx, ebp
push 0x40
push ecx
mov ecx, dword [ebx + 0x1f0]
mov eax, ebp
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 [0x53d460]
mov ecx, 0x53d460
mov dword [esp + 0x30], 0x53d460
call dword [eax + 4]
mov eax, dword [0x53b824]
mov byte [esp + 0x48], 0xc
cmp eax, edi
jne 0x49a510
cmp dword [0x53b820], edi
jne 0x49a510
push 0x254
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x2c], eax
cmp eax, edi
mov byte [esp + 0x48], 0xd
je 0x49a4e4
push edi
mov ecx, eax
call fcn.00464d10
jmp 0x49a4e6
xor eax, eax
mov ecx, dword [0x52dc2c]
mov byte [esp + 0x48], 0xc
push ecx
push 0x439d10
mov ecx, 0x53bea0
mov dword [0x53b820], eax
call fcn.00402190
mov dword [0x53b824], 1
mov edx, dword [0x53d460]
mov esi, dword [0x53b820]
mov ecx, 0x53d460
mov byte [esp + 0x48], 7
call dword [edx + 8]
lea ecx, [esi + 0x1c]
cmp ecx, edi
je 0x49a55d
mov edx, dword [ebx + 0x1f0]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [ebx + 0x1f4]
mov dword [eax + 4], edx
mov edx, dword [ebx + 0x1f8]
mov dword [eax + 8], edx
mov edx, dword [ebx + 0x1fc]
mov dword [eax + 0xc], edx
call fcn.004b6530
mov eax, dword [ebx + 0x10]
lea esi, [ebx + 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 + 0x48], 6
cmp eax, edi
je 0x49a598
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x48], 0xffffffff
cmp eax, edi
je 0x49a5ae
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret