Function at 0x4e87ed
Capabilities:
Read file via mapping

Disassembly:
push 0xffffffffffffffff
push 0x568ca4
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, 0x5d01a8
mov dword [esp + 0x1c], esi
call fcn.00511610
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 0x4e8825
xor ebx, ebx
jmp 0x4e8828
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 0x4e887a
push edi
push 0xc
push eax
push 4
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
test eax, eax
je 0x4e88a9
push esi
push esi
push esi
push 6
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4e88a9
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 0x4e88a9
push 0
push 0
push 0
push 6
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x4e88a2
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 [0x5d2ac0]
xor esi, esi
mov ecx, 0x5d2ac0
mov dword [esp + 0x50], esi
mov dword [esp + 0x18], ecx
call dword [eax + 4]
mov eax, dword [0x5cb048]
mov dword [esp + 0x9c], esi
cmp eax, esi
jne 0x4e892e
cmp dword [0x5cb044], esi
jne 0x4e892e
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, esi
mov byte [esp + 0x9c], 1
je 0x4e88ff
push esi
mov ecx, eax
call fcn.00414150
jmp 0x4e8901
xor eax, eax
mov ecx, dword [0x5b4b90]
mov byte [esp + 0x9c], 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 + 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 0x4e94fd
cmp dword [esp + 0x50], edi
je 0x4e94fd
mov dword [esp + 0x54], edi
mov dword [esp + 0x3c], edi
mov dword [esp + 0x9c], 2
mov dword [esp + 0x34], edi
mov edx, dword [0x5d2a60]
mov ecx, 0x5d2a60
mov byte [esp + 0x9c], 3
mov dword [esp + 0x18], 0x5d2a60
call dword [edx + 4]
mov eax, dword [0x5cb0cc]
mov byte [esp + 0x9c], 4
cmp eax, edi
jne 0x4e8a16
cmp dword [0x5cb0c8], edi
jne 0x4e8a16
push 0xc
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 5
je 0x4e89e8
mov ecx, eax
call fcn.0045e9d0
jmp 0x4e89ea
xor eax, eax
mov dword [0x5cb0c8], eax
mov eax, dword [0x5b5c48]
push eax
push 0x41ebd0
mov ecx, 0x5d0190
mov byte [esp + 0xa4], 4
call fcn.00406500
mov dword [0x5cb0cc], 1
mov edx, dword [0x5d2a60]
mov esi, dword [0x5cb0c8]
mov ecx, 0x5d2a60
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 0x4e8a68
mov eax, dword [esp + 0x3c]
cmp eax, edi
je 0x4e8a68
push 0x5b6738
lea edx, [esp + 0x38]
push eax
push edx
call fcn.00423a70
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 0x4e8aa8
call fcn.004bbe20
mov esi, eax
cmp esi, edi
je 0x4e8aa8
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 0x4e8aa8
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x60]
test eax, eax
je 0x4e8aa8
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 [0x5d2ac0]
mov ecx, 0x5d2ac0
mov dword [esp + 0x18], 0x5d2ac0
call dword [edx + 4]
mov eax, dword [0x5cb048]
mov byte [esp + 0x9c], 6
cmp eax, edi
jne 0x4e8b2c
cmp dword [0x5cb044], edi
jne 0x4e8b2c
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 7
je 0x4e8afe
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e8b00
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0xa4], 6
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, 0x5d2ac0
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 0x4e8c22
cmp eax, 5
je 0x4e8c22
mov edx, dword [0x5d2ac0]
mov ecx, 0x5d2ac0
mov dword [esp + 0x18], ecx
call dword [edx + 4]
mov eax, dword [0x5cb048]
mov bl, 8
cmp eax, edi
mov byte [esp + 0x9c], bl
jne 0x4e8bec
cmp dword [0x5cb044], edi
jne 0x4e8bec
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 9
je 0x4e8bbf
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e8bc1
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0xa4], bl
call fcn.00406500
mov dword [0x5cb048], 1
mov edx, dword [0x5d2ac0]
mov esi, dword [0x5cb044]
mov ecx, 0x5d2ac0
mov byte [esp + 0x9c], 3
call dword [edx + 8]
mov ecx, esi
call fcn.00478390
test al, al
je 0x4e93d9
cmp dword [esp + 0x58], 1
jne 0x4e93d9
call fcn.004bbdc0
cmp eax, edi
mov dword [esp + 0x18], eax
je 0x4e93d9
push 0x5d2ac0
lea ecx, [esp + 0x18]
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [esp + 0x9c], 0xa
cmp eax, edi
jne 0x4e8caf
cmp dword [0x5cb044], edi
jne 0x4e8caf
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 0xb
je 0x4e8c81
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e8c83
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0xa4], 0xa
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x14]
mov esi, dword [0x5cb044]
mov byte [esp + 0x9c], 3
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.00472830
push 0x5d2ac0
lea ecx, [esp + 0x18]
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [esp + 0x9c], 0xc
cmp eax, edi
jne 0x4e8d49
cmp dword [0x5cb044], edi
jne 0x4e8d49
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 0xd
je 0x4e8d1b
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e8d1d
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0xa4], 0xc
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x14]
mov esi, dword [0x5cb044]
mov byte [esp + 0x9c], 3
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, esi
call fcn.00472980
mov eax, dword [0x5cb258]
cmp eax, edi
je 0x4e93d9
call fcn.0041e9e0
mov ecx, eax
call fcn.0051bb90
push eax
call sub.MFC42.DLL_CWnd::FromHandle
mov ebx, eax
cmp ebx, edi
je 0x4e93d9
mov esi, 1
push 0x5d2ac0
lea ecx, [esp + 0x18]
mov dword [ebp + 0x1e0], esi
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [esp + 0x9c], 0xe
cmp eax, edi
jne 0x4e8e13
cmp dword [0x5cb044], edi
jne 0x4e8e13
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 0xf
je 0x4e8de9
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e8deb
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0xa4], 0xe
call fcn.00406500
mov dword [0x5cb048], esi
mov ecx, dword [esp + 0x14]
mov esi, dword [0x5cb044]
mov byte [esp + 0x9c], 3
mov edx, dword [ecx]
call dword [edx + 8]
push 0xa
mov ecx, esi
call fcn.004734a0
call fcn.004bbc90
cmp eax, edi
je 0x4e913f
mov ecx, eax
call fcn.004f3890
test al, al
jne 0x4e8f0f
cmp dword [0x5d028c], 0x64
jle 0x4e8f0f
push 0x5d2ac0
lea ecx, [esp + 0x18]
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [esp + 0x9c], 0x17
cmp eax, edi
jne 0x4e8ed8
cmp dword [0x5cb044], edi
jne 0x4e8ed8
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 0x18
je 0x4e8eaa
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e8eac
xor eax, eax
mov dword [0x5cb044], eax
mov eax, dword [0x5b4b90]
push eax
push 0x406940
mov ecx, 0x5d0190
mov byte [esp + 0xa4], 0x17
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x14]
mov esi, dword [0x5cb044]
mov byte [esp + 0x9c], 3
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, dword [0x5d028c]
push eax
push 0xfa2
push str._d_d
push 0xd
push esi
call fcn.004735e0
add esp, 0x14
jmp 0x4e913f
mov dword [esp + 0x14], edi
push 0x5d2ac0
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa0], 0x10
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [esp + 0x9c], 0x11
cmp eax, edi
jne 0x4e8f98
cmp dword [0x5cb044], edi
jne 0x4e8f98
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, edi
mov byte [esp + 0x9c], 0x12
je 0x4e8f69
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e8f6b
xor eax, eax
mov ecx, dword [0x5b4b90]
mov byte [esp + 0x9c], 0x11
push ecx
push 0x406940
mov ecx, 0x5d0190
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x38]
mov esi, dword [0x5cb044]
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 0x4e9079
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x4e9079
mov edx, dword [eax]
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [edx + 0x3c]
push 0x5d2ac0
lea ecx, [esp + 0x3c]
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [esp + 0x9c], 0x13
cmp eax, edi
jne 0x4e9059
cmp dword [0x5cb044], edi
jne 0x4e9059
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x9c], 0x14
je 0x4e902a
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e902c
xor eax, eax
mov edx, dword [0x5b4b90]
mov ecx, 0x5d0190
push edx
push 0x406940
mov byte [esp + 0xa4], 0x13
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x38]
mov esi, dword [0x5cb044]
mov byte [esp + 0x9c], 0x10
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [esp + 0x10]
jmp 0x4e9113
push 0x5d2ac0
lea ecx, [esp + 0x14]
call fcn.00410470
mov eax, dword [0x5cb048]
mov byte [esp + 0x9c], 0x15
cmp eax, edi
jne 0x4e90f6
cmp dword [0x5cb044], edi
jne 0x4e90f6
push 0x380
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov byte [esp + 0x9c], 0x16
je 0x4e90c7
push edi
mov ecx, eax
call fcn.00414150
jmp 0x4e90c9
xor eax, eax
mov edx, dword [0x5b4b90]
mov ecx, 0x5d0190
push edx
push 0x406940
mov byte [esp + 0xa4], 0x15
mov dword [0x5cb044], eax
call fcn.00406500
mov dword [0x5cb048], 1
mov ecx, dword [esp + 0x10]
mov esi, dword [0x5cb044]
mov byte [esp + 0x9c], 0x10
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, dword [0x5d028c]
push ecx
push 0xfa2
push str._d_d
push 0xd
push esi
call fcn.004735e0
mov eax, dword [esp + 0x28]
add esp, 0x14
cmp eax, edi
mov byte [esp + 0x9c], 3
je 0x4e913f
mov edx, dword [eax]
push eax
call dword [edx + 8]
call fcn.0041e9e0
mov ecx, eax
call fcn.0051bb90
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.004bbc90
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 0x4e9225
xor eax, eax
jmp 0x4e922c
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 0x4e9d70
push 0xfffffffffffffffc
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov edx, dword [0x5d2a80]
mov ecx, 0x5d2a80
mov dword [0x5cfef4], eax
mov dword [esp + 0x20], 0x5d2a80
call dword [edx + 4]
mov eax, dword [0x5cb0c0]
mov bl, 0x19
test eax, eax
mov byte [esp + 0x9c], bl
jne 0x4e9374
mov eax, dword [0x5cb0bc]
test eax, eax
jne 0x4e9374
push 0x1044
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x9c], 0x1a
je 0x4e9347
push 0
mov ecx, eax
call fcn.0041c900
jmp 0x4e9349
xor eax, eax
mov dword [0x5cb0bc], eax
mov eax, dword [0x5b5894]
push eax
push 0x41c8d0
mov ecx, 0x5d0190
mov byte [esp + 0xa4], bl
call fcn.00406500
mov dword [0x5cb0c0], 1
mov edx, dword [0x5d2a80]
mov esi, dword [0x5cb0bc]
mov ecx, 0x5d2a80
mov byte [esp + 0x9c], 3
call dword [edx + 8]
lea ecx, [esi + 0x1c]
test ecx, ecx
je 0x4e93bc
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.005148b0
mov ecx, ebp
call fcn.004ea980
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 [0x5d2a80]
mov ecx, 0x5d2a80
mov dword [esp + 0x20], ecx
call dword [edx + 4]
mov eax, dword [0x5cb0c0]
mov bl, 0x1b
cmp eax, edi
mov byte [esp + 0x9c], bl
jne 0x4e9459
cmp dword [0x5cb0bc], edi
jne 0x4e9459
push 0x1044
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, edi
mov byte [esp + 0x9c], 0x1c
je 0x4e942c
push edi
mov ecx, eax
call fcn.0041c900
jmp 0x4e942e
xor eax, eax
mov dword [0x5cb0bc], eax
mov eax, dword [0x5b5894]
push eax
push 0x41c8d0
mov ecx, 0x5d0190
mov byte [esp + 0xa4], bl
call fcn.00406500
mov dword [0x5cb0c0], 1
mov edx, dword [0x5d2a80]
mov esi, dword [0x5cb0bc]
mov ecx, 0x5d2a80
mov byte [esp + 0x9c], 3
call dword [edx + 8]
mov ecx, esi
call fcn.0051d1d0
test eax, eax
jne 0x4e94ce
lea eax, [esp + 0x40]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push 1
call fcn.0044d090
add esp, 4
call fcn.004bbdc0
cmp eax, edi
je 0x4e94ce
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x60]
cmp eax, edi
je 0x4e94ce
cmp dword [ebp + 0x268], edi
jne 0x4e94c4
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 0x4e94e4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x9c], 0xffffffff
cmp eax, edi
je 0x4e94fd
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [0x5d2a80]
mov ecx, 0x5d2a80
mov dword [esp + 0x20], 0x5d2a80
call dword [eax + 4]
mov eax, dword [0x5cb0c0]
mov ebx, 0x1d
cmp eax, edi
mov dword [esp + 0x9c], ebx
jne 0x4e9593
cmp dword [0x5cb0bc], edi
jne 0x4e9593
push 0x1044
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 0x4e9564
mov ecx, esi
call fcn.0051b870
mov dword [esi], vtable.CComObjectNoRef_class_CMPSContainer_.1.0
mov dword [esi + 4], vtable.CComObjectNoRef_class_CMPSContainer_.0
jmp 0x4e9566
xor esi, esi
mov ecx, dword [0x5b5894]
mov byte [esp + 0x9c], bl
push ecx
push 0x41c8d0
mov ecx, 0x5d0190
mov dword [0x5cb0bc], esi
call fcn.00406500
mov dword [0x5cb0c0], 1
mov edx, dword [0x5d2a80]
mov esi, dword [0x5cb0bc]
mov ecx, 0x5d2a80
mov dword [esp + 0x9c], 0xffffffff
call dword [edx + 8]
mov ecx, esi
call fcn.0051cf60
mov ecx, dword [esp + 0x94]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x90
ret