Function at 0x4f0c8d
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x57f0c4
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x84
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov ecx, 0x5eafb8
mov dword [esp + 0x1c], esi
call fcn.0051c280
xor eax, eax
mov ebp, 0xc
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esi + 0x208]
test eax, eax
mov byte [esp + 0x48], 1
mov dword [esp + 0x4c], eax
jne 0x4f0cc5
xor ebx, ebx
jmp 0x4f0cc8
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 0x4f0d1a
push edi
push 0xc
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
test eax, eax
je 0x4f0d49
push esi
push esi
push esi
push 6
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
je 0x4f0d49
mov edx, dword [esp + 0x48]
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 0x4f0d49
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
test eax, eax
je 0x4f0d42
mov edx, dword [esp + 0x48]
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]
mov eax, dword [0x5ed920]
xor esi, esi
mov ecx, 0x5ed920
mov dword [esp + 0x50], esi
mov dword [esp + 0x18], ecx
call dword [eax + 4]
mov eax, dword [0x5e5cb8]
mov dword [esp + 0x9c], esi
cmp eax, esi
jne 0x4f0dce
cmp dword [0x5e5cb4], esi
jne 0x4f0dce
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x9c], 1
je 0x4f0d9f
push esi
mov ecx, eax
call fcn.00414650
jmp 0x4f0da1
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x9c], 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 + 0x9c], 0xffffffff
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x50]
push ecx
push esi
call dword [eax + 0xb8]
mov ebp, dword [esp + 0x1c]
xor edi, edi
cmp dword [ebp + 0x1e0], edi
jne 0x4f199d
cmp dword [esp + 0x50], edi
je 0x4f199d
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x9c], 2
mov dword [esp + 0x34], edi
mov edx, dword [0x5ed8c0]
mov ecx, 0x5ed8c0
mov byte [esp + 0x9c], 3
mov dword [esp + 0x18], 0x5ed8c0
call dword [edx + 4]
mov eax, dword [0x5e5d30]
mov byte [esp + 0x9c], 4
cmp eax, edi
jne 0x4f0eb6
cmp dword [0x5e5d2c], edi
jne 0x4f0eb6
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 5
je 0x4f0e88
mov ecx, eax
call fcn.00464f50
jmp 0x4f0e8a
xor eax, eax
mov dword [0x5e5d2c], eax
mov eax, dword [0x5cf938]
push eax
push 0x41dab0
mov ecx, 0x5eafa0
mov byte [esp + 0xa4], 4
call fcn.00406600
mov dword [0x5e5d30], 1
mov edx, dword [0x5ed8c0]
mov esi, dword [0x5e5d2c]
mov ecx, 0x5ed8c0
mov byte [esp + 0x9c], 3
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x3c]
push ecx
push esi
call dword [eax + 8]
test eax, eax
jl 0x4f0f08
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x4f0f08
push 0x5d0a50
lea edx, [esp + 0x38]
push eax
push edx
call fcn.00427500
mov eax, dword [esp + 0x34]
lea edx, [esp + 0x54]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
cmp dword [esp + 0x54], edi
je 0x4f0f48
call fcn.004c41a0
mov esi, eax
cmp esi, edi
je 0x4f0f48
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x60]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
cmp eax, edi
je 0x4f0f48
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x4f0f48
mov eax, dword [esi]
push edi
mov ecx, esi
call dword [eax + 0x60]
mov ecx, eax
call sub.MFC42.DLL_CWnd::ShowWindow
mov edx, dword [0x5ed920]
mov ecx, 0x5ed920
mov dword [esp + 0x18], 0x5ed920
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x9c], 6
cmp eax, edi
jne 0x4f0fcc
cmp dword [0x5e5cb4], edi
jne 0x4f0fcc
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 7
je 0x4f0f9e
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f0fa0
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0xa4], 6
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x9c], 3
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x58]
push ecx
push esi
call dword [eax + 0xac]
mov eax, dword [esp + 0x58]
cmp eax, 4
je 0x4f10c2
cmp eax, 5
je 0x4f10c2
mov edx, dword [0x5ed920]
mov ecx, 0x5ed920
mov dword [esp + 0x18], ecx
call dword [edx + 4]
mov eax, dword [0x5e5cb8]
mov bl, 8
cmp eax, edi
mov byte [esp + 0x9c], bl
jne 0x4f108c
cmp dword [0x5e5cb4], edi
jne 0x4f108c
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 9
je 0x4f105f
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f1061
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0xa4], bl
call fcn.00406600
mov dword [0x5e5cb8], 1
mov edx, dword [0x5ed920]
mov esi, dword [0x5e5cb4]
mov ecx, 0x5ed920
mov byte [esp + 0x9c], 3
call dword [edx + 8]
mov ecx, esi
call fcn.0047ef90
test al, al
je 0x4f1879
cmp dword [esp + 0x58], 1
jne 0x4f1879
call fcn.004c4140
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x4f1879
push 0x5ed920
lea ecx, [esp + 0x18]
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x9c], 0xa
cmp eax, edi
jne 0x4f114f
cmp dword [0x5e5cb4], edi
jne 0x4f114f
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 0xb
je 0x4f1121
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f1123
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0xa4], 0xa
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x14]
mov esi, dword [0x5e5cb4]
mov byte [esp + 0x9c], 3
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.00479380
push 0x5ed920
lea ecx, [esp + 0x18]
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x9c], 0xc
cmp eax, edi
jne 0x4f11e9
cmp dword [0x5e5cb4], edi
jne 0x4f11e9
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 0xd
je 0x4f11bb
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f11bd
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0xa4], 0xc
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x14]
mov esi, dword [0x5e5cb4]
mov byte [esp + 0x9c], 3
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.004794d0
mov eax, dword [0x5e6010]
cmp eax, edi
je 0x4f1879
call fcn.0041d750
mov ecx, eax
call fcn.00527810
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, eax
cmp ebx, edi
je 0x4f1879
mov esi, 1
push 0x5ed920
lea ecx, [esp + 0x18]
mov dword [ebp + 0x1e0], esi
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x9c], 0xe
cmp eax, edi
jne 0x4f12b3
cmp dword [0x5e5cb4], edi
jne 0x4f12b3
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 0xf
je 0x4f1289
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f128b
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0xa4], 0xe
call fcn.00406600
mov dword [0x5e5cb8], esi
mov ecx, dword [esp + 0x14]
mov esi, dword [0x5e5cb4]
mov byte [esp + 0x9c], 3
mov edx, dword [ecx]
call dword [edx + 8]
push 0xa
mov ecx, esi
call fcn.0047a000
call fcn.004c4010
cmp eax, edi
je 0x4f15df
mov ecx, eax
call fcn.004fca70
test al, al
jne 0x4f13af
cmp dword [0x5eb09c], 0x64
jle 0x4f13af
push 0x5ed920
lea ecx, [esp + 0x18]
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x9c], 0x17
cmp eax, edi
jne 0x4f1378
cmp dword [0x5e5cb4], edi
jne 0x4f1378
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 0x18
je 0x4f134a
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f134c
xor eax, eax
mov dword [0x5e5cb4], eax
mov eax, dword [0x5cebb0]
push eax
push 0x406a50
mov ecx, 0x5eafa0
mov byte [esp + 0xa4], 0x17
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x14]
mov esi, dword [0x5e5cb4]
mov byte [esp + 0x9c], 3
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [0x5eb09c]
push eax
push 0xfa2
push str._d_d
push 0xd
push esi
call fcn.0047a140
add esp, 0x14
jmp 0x4f15df
mov dword [esp + 0x14], edi
push 0x5ed920
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0x10
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x9c], 0x11
cmp eax, edi
jne 0x4f1438
cmp dword [0x5e5cb4], edi
jne 0x4f1438
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 0x12
je 0x4f1409
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f140b
xor eax, eax
mov ecx, dword [0x5cebb0]
mov byte [esp + 0x9c], 0x11
push ecx
push 0x406a50
mov ecx, 0x5eafa0
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x38]
mov esi, dword [0x5e5cb4]
mov byte [esp + 0x9c], 0x10
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [esi]
lea ecx, [esp + 0x14]
push ecx
push esi
call dword [eax + 0xa4]
test eax, eax
jl 0x4f1519
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4f1519
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [edx + 0x3c]
push 0x5ed920
lea ecx, [esp + 0x3c]
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x9c], 0x13
cmp eax, edi
jne 0x4f14f9
cmp dword [0x5e5cb4], edi
jne 0x4f14f9
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x9c], 0x14
je 0x4f14ca
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f14cc
xor eax, eax
mov edx, dword [0x5cebb0]
mov ecx, 0x5eafa0
push edx
push 0x406a50
mov byte [esp + 0xa4], 0x13
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x38]
mov esi, dword [0x5e5cb4]
mov byte [esp + 0x9c], 0x10
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
jmp 0x4f15b3
push 0x5ed920
lea ecx, [esp + 0x14]
call fcn.0040f8c0
mov eax, dword [0x5e5cb8]
mov byte [esp + 0x9c], 0x15
cmp eax, edi
jne 0x4f1596
cmp dword [0x5e5cb4], edi
jne 0x4f1596
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x9c], 0x16
je 0x4f1567
push edi
mov ecx, eax
call fcn.00414650
jmp 0x4f1569
xor eax, eax
mov edx, dword [0x5cebb0]
mov ecx, 0x5eafa0
push edx
push 0x406a50
mov byte [esp + 0xa4], 0x15
mov dword [0x5e5cb4], eax
call fcn.00406600
mov dword [0x5e5cb8], 1
mov ecx, dword [esp + 0x10]
mov esi, dword [0x5e5cb4]
mov byte [esp + 0x9c], 0x10
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x5eb09c]
push ecx
push 0xfa2
push str._d_d
push 0xd
push esi
call fcn.0047a140
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, edi
mov byte [esp + 0x9c], 3
je 0x4f15df
mov edx, dword [eax]
push eax
call dword [edx + 8]
call fcn.0041d750
mov ecx, eax
call fcn.00527810
push 2
push eax
call dword [sym.imp.USER32.dll_MonitorFromWindow]
mov edx, eax
mov ecx, 0xa
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x6c], 0x28
push eax
push edx
call dword [sym.imp.USER32.dll_GetMonitorInfoA]
lea ecx, [esp + 0x70]
lea edx, [esp + 0x24]
push ecx
push edx
call dword [sym.imp.USER32.dll_CopyRect]
call fcn.004c4010
mov esi, dword [esp + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, eax
lea eax, [esi + 0x1f8]
mov ecx, dword [edi + 0x20]
push eax
push ecx
call ebp
mov edx, dword [ebx + 0x20]
add esi, 0x1e8
push esi
push edx
call ebp
mov ebp, dword [esp + 0x1c]
mov eax, dword [esi]
mov dword [esp + 0x40], eax
lea edx, [esp + 0x40]
mov ecx, dword [ebp + 0x1ec]
push edx
mov dword [esp + 0x48], ecx
mov eax, dword [edi + 0x20]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x40]
mov ecx, dword [esi]
mov edx, dword [ebp + 0x1ec]
sub eax, ecx
mov ecx, dword [esp + 0x44]
sub ecx, edx
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, eax
push 0x40
mov esi, dword [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x2c]
sub edx, ecx
push edx
push eax
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTopMost]
push ecx
push eax
mov ecx, esi
call sub.MFC42.DLL_CWnd::SetWindowPos
test esi, esi
jne 0x4f16c5
xor eax, eax
jmp 0x4f16cc
mov ecx, dword [esp + 0x4c]
mov eax, dword [ecx + 0x20]
mov edx, dword [ebx + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_SetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebp, dword [esp + 0x1c]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov esi, dword [esp + 0x24]
mov dword [ebp + 0x1e4], eax
mov eax, dword [esp + 0x30]
sub eax, edx
push 0x44
sub ecx, esi
push eax
push ecx
push 0
push 0
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowPos
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x2c]
push 5
push 0
dec edx
push 0
dec eax
push edx
push eax
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx]
call dword [edx + 0x60]
mov esi, eax
lea eax, [esp + 0x5c]
push eax
mov ecx, dword [esi + 0x20]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x2c]
mov edx, ecx
sub edx, eax
push 0x40
push edx
mov edx, dword [esp + 0x2c]
sub edi, edx
sub eax, ecx
mov ecx, dword [esp + 0x30]
push edi
mov edi, dword [esp + 0x3c]
sub eax, ecx
add eax, edi
mov ecx, esi
push eax
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTopMost]
push edx
push eax
call sub.MFC42.DLL_CWnd::SetWindowPos
mov ecx, dword [ebx + 0x20]
push 0x4f2210
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x5ed8e0]
mov ecx, 0x5ed8e0
mov dword [0x5eacf4], eax
mov dword [esp + 0x20], 0x5ed8e0
call dword [edx + 4]
mov eax, dword [0x5e5d38]
mov bl, 0x19
test eax, eax
mov byte [esp + 0x9c], bl
jne 0x4f1814
mov eax, dword [0x5e5d34]
test eax, eax
jne 0x4f1814
push 0x13e4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x9c], 0x1a
je 0x4f17e7
push 0
mov ecx, eax
call fcn.0041db10
jmp 0x4f17e9
xor eax, eax
mov dword [0x5e5d34], eax
mov eax, dword [0x5cf9c0]
push eax
push 0x41dae0
mov ecx, 0x5eafa0
mov byte [esp + 0xa4], bl
call fcn.00406600
mov dword [0x5e5d38], 1
mov edx, dword [0x5ed8e0]
mov esi, dword [0x5e5d34]
mov ecx, 0x5ed8e0
mov byte [esp + 0x9c], 3
call dword [edx + 8]
lea ecx, [esi + 0x1c]
test ecx, ecx
je 0x4f185c
mov edx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], edx
mov edx, dword [esp + 0x38]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x3c]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x40]
mov dword [eax + 0xc], edx
call fcn.0051f320
mov ecx, ebp
call fcn.004f2e00
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
push 0
push 2
call dword [eax + 0xc8]
mov ebp, dword [esp + 0x1c]
xor edi, edi
mov edx, dword [0x5ed8e0]
mov ecx, 0x5ed8e0
mov dword [esp + 0x20], ecx
call dword [edx + 4]
mov eax, dword [0x5e5d38]
mov bl, 0x1b
cmp eax, edi
mov byte [esp + 0x9c], bl
jne 0x4f18f9
cmp dword [0x5e5d34], edi
jne 0x4f18f9
push 0x13e4
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x9c], 0x1c
je 0x4f18cc
push edi
mov ecx, eax
call fcn.0041db10
jmp 0x4f18ce
xor eax, eax
mov dword [0x5e5d34], eax
mov eax, dword [0x5cf9c0]
push eax
push 0x41dae0
mov ecx, 0x5eafa0
mov byte [esp + 0xa4], bl
call fcn.00406600
mov dword [0x5e5d38], 1
mov edx, dword [0x5ed8e0]
mov esi, dword [0x5e5d34]
mov ecx, 0x5ed8e0
mov byte [esp + 0x9c], 3
call dword [edx + 8]
mov ecx, esi
call fcn.00528e70
test eax, eax
jne 0x4f196e
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 1
call fcn.004533f0
add esp, 4
call fcn.004c4140
cmp eax, edi
je 0x4f196e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x60]
cmp eax, edi
je 0x4f196e
cmp dword [ebp + 0x268], edi
jne 0x4f1964
mov eax, dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
push 0xc8
push 1
call dword [eax + 0xc8]
mov dword [ebp + 0x268], 1
mov eax, dword [esp + 0x34]
mov byte [esp + 0x9c], 2
cmp eax, edi
je 0x4f1984
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x9c], 0xffffffff
cmp eax, edi
je 0x4f199d
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [0x5ed8e0]
mov ecx, 0x5ed8e0
mov dword [esp + 0x20], 0x5ed8e0
call dword [eax + 4]
mov eax, dword [0x5e5d38]
mov ebx, 0x1d
cmp eax, edi
mov dword [esp + 0x9c], ebx
jne 0x4f1a33
cmp dword [0x5e5d34], edi
jne 0x4f1a33
push 0x13e4
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x18], esi
cmp esi, edi
mov byte [esp + 0x9c], 0x1e
je 0x4f1a04
mov ecx, esi
call fcn.005274b0
mov dword [esi], vtable.CComObjectNoRef_class_CMPSContainer_.1.0
mov dword [esi + 4], vtable.CComObjectNoRef_class_CMPSContainer_.0
jmp 0x4f1a06
xor esi, esi
mov ecx, dword [0x5cf9c0]
mov byte [esp + 0x9c], bl
push ecx
push 0x41dae0
mov ecx, 0x5eafa0
mov dword [0x5e5d34], esi
call fcn.00406600
mov dword [0x5e5d38], 1
mov edx, dword [0x5ed8e0]
mov esi, dword [0x5e5d34]
mov ecx, 0x5ed8e0
mov dword [esp + 0x9c], 0xffffffff
call dword [edx + 8]
mov ecx, esi
call fcn.00528c00
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret