Function at 0x46cc3b
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x168
push ebx
push ebp
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x84], edi
je 0x46d6cc
cmp dword [esi + 0x60], edi
je 0x46d6cc
mov ebp, dword [sym.imp.GraphicData.dll_GameDataSetQuery]
call ebp
mov edx, dword [eax]
push 0x7530
push 1
push str.Dialog14
push 0x5d8508
mov ecx, eax
call dword [edx + 0x10]
cmp eax, edi
je 0x46d6cc
mov edx, dword [eax]
push edi
push edi
mov ecx, eax
push dword [esi + 0x8c]
push dword [esi + 0x88]
push edi
call dword [edx + 8]
push dword [esi + 0x8c]
lea ecx, [esi + 0xf8c]
push dword [esi + 0x88]
call fcn.0047e3b9
push dword [esi + 0x8c]
lea ecx, [esi + 0x2f64]
push dword [esi + 0x88]
call fcn.0047e3b9
push dword [esi + 0x8c]
lea ecx, [esi + 0x54bc]
push dword [esi + 0x88]
call fcn.0047c965
push dword [esi + 0x8c]
lea ecx, [esi + 0x638]
push dword [esi + 0x88]
call fcn.0047c965
lea ecx, [esi + 0x4f3c]
call fcn.004ea75b
mov dword [esp + 0x14], eax
call ebp
mov ebx, eax
call ebp
mov edi, eax
mov eax, dword [ebx]
push 0x15
push 0
mov ecx, ebx
call dword [eax + 0x5c]
push eax
mov eax, dword [edi]
push dword [esp + 0x1c]
mov ebx, 0x2741
mov ecx, edi
push ebx
call dword [eax + 0x3c]
push eax
mov ecx, 0x5dabc0
call fcn.004e0162
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
add esp, 0x14
mov dword [esp + 0x28], eax
lea eax, [esp + 0x38]
mov edi, edx
push eax
mov dword [esp + 0x30], edi
push dword [esi + 0x4f5c]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::ScreenToClient
mov eax, dword [esi + 0x8c]
mov ecx, dword [esi + 0x88]
mov edx, dword [esp + 0x28]
add edi, eax
add edi, dword [esp + 0x3c]
push 0xff0000a0
push edi
lea edi, [edx + ecx]
mov edx, dword [esp + 0x40]
add edi, edx
add ecx, edx
push edi
mov edi, dword [esp + 0x48]
add eax, edi
push eax
push ecx
call dword [sym.imp.graphic.dll_public:_static_void___cdecl_CMyBitmap::ShowBlock_int__int__int__int__unsigned_long_int_]
add esp, 0x14
cmp dword [esi + 0x94], 0
jle 0x46cfd0
mov al, byte [0x5d8050]
lea edi, [esp + 0x11]
mov byte [esp + 0x10], al
xor eax, eax
mov ecx, 0x5dabc0
stosw word es:[edi], ax
call fcn.004e0162
mov edi, eax
push 3
lea eax, [esp + 0x14]
push 0
push eax
mov dword [esp + 0x24], edi
call sub.MSVCRT.dll_memset
push 0
push edi
call fcn.00518e4f
add esp, 0x14
test eax, eax
je 0x46cdff
push 2
lea eax, [esp + 0x14]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp 0x46ce05
mov al, byte [edi]
mov byte [esp + 0x10], al
call ebp
push dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, eax
push ebx
call dword [edx + 0x3c]
push eax
lea eax, [esp + 0x18]
push 5
push eax
call dword [sym.imp.graphic.dll_public:_static_bool___cdecl_CMyBitmap::CheckStringPixels_char_const___unsigned_long_int__char_const___int_]
add esp, 0x10
test al, al
jne 0x46cec1
mov byte [esi + 0x98], 1
call sub.WINMM.dll_timeGetTime
xor edx, edx
mov ecx, 0x12c
div ecx
and eax, 3
cmp al, 3
jae 0x46cec1
call ebp
mov edi, eax
call ebp
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push 0x15
push 0
mov ecx, edi
call dword [eax + 0x5c]
mov ecx, dword [esp + 0x34]
push eax
push dword [esp + 0x1c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x40]
push 0xffff0000
add eax, ecx
mov dword [esp + 0x4c], edx
add eax, dword [esp + 0x54]
mov edx, dword [esi + 0x88]
push eax
mov eax, dword [esp + 0x4c]
lea edi, [eax + edx]
mov eax, dword [esp + 0x54]
add edi, eax
add edx, eax
push edi
mov edi, dword [esp + 0x5c]
add ecx, edi
push ecx
push edx
call dword [sym.imp.graphic.dll_public:_static_void___cdecl_CMyBitmap::ShowBlock_int__int__int__int__unsigned_long_int_]
mov edi, dword [esp + 0x40]
add esp, 0x28
push 3
lea eax, [esp + 0x14]
push 0
push eax
call sub.MSVCRT.dll_memset
mov eax, dword [esi + 0x94]
add esp, 0xc
mov al, byte [eax + edi - 1]
push eax
call dword [sym.imp.KERNEL32.dll_IsDBCSLeadByte]
test eax, eax
je 0x46cf04
mov eax, dword [esi + 0x94]
push 2
lea eax, [eax + edi - 2]
push eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
jmp 0x46cf12
mov eax, dword [esi + 0x94]
mov al, byte [eax + edi - 1]
mov byte [esp + 0x10], al
call ebp
push dword [esp + 0x14]
mov edx, dword [eax]
mov ecx, eax
push ebx
call dword [edx + 0x3c]
push eax
lea eax, [esp + 0x18]
push 5
push eax
call dword [sym.imp.graphic.dll_public:_static_bool___cdecl_CMyBitmap::CheckStringPixels_char_const___unsigned_long_int__char_const___int_]
add esp, 0x10
test al, al
jne 0x46cfd0
mov byte [esi + 0x99], 1
call sub.WINMM.dll_timeGetTime
xor edx, edx
mov ecx, 0x12c
div ecx
and eax, 3
cmp al, 3
jae 0x46cfd0
call ebp
mov edi, eax
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [edi]
push 0x15
push 0
mov ecx, edi
call dword [eax + 0x5c]
mov ecx, dword [esp + 0x1c]
push eax
push dword [esp + 0x1c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x3c]
push eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
mov edi, dword [esi + 0x88]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x30], edx
mov edx, dword [esi + 0x8c]
add eax, edx
push 0xffff0000
add eax, dword [esp + 0x54]
push eax
lea eax, [ecx + edi]
add eax, dword [esp + 0x54]
sub ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x5c]
add ecx, edi
add edx, eax
add ecx, dword [esp + 0x58]
push edx
push ecx
call dword [sym.imp.graphic.dll_public:_static_void___cdecl_CMyBitmap::ShowBlock_int__int__int__int__unsigned_long_int_]
add esp, 0x28
push dword [esi + 0x8c]
lea ecx, [esi + 0x4f3c]
push dword [esi + 0x88]
call fcn.0049ca6b
cmp byte [esi + 0x98], 0
jne 0x46cffd
cmp byte [esi + 0x99], 0
je 0x46d140
call sub.WINMM.dll_timeGetTime
xor edx, edx
mov ecx, 0x12c
div ecx
and eax, 3
cmp al, 3
jae 0x46d140
lea eax, [esp + 0x48]
push eax
push dword [esi + 0x77c]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x48]
mov ecx, esi
push eax
call sub.MFC42.DLL_CWnd::ScreenToClient
push 0x10
lea eax, [esp + 0x6c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
call ebp
mov ecx, 0x5dabc0
mov edi, eax
call fcn.004e0169
push eax
mov eax, dword [edi]
push 0x28ca
mov ecx, edi
call dword [eax + 0x3c]
push eax
push str._s_d
lea eax, [esp + 0x74]
push 0xf
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea ecx, [esi + 0x75c]
call fcn.004ea75b
mov dword [esp + 0x14], eax
call ebp
mov edi, eax
call ebp
mov dword [esp + 0x18], eax
call ebp
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push 0x15
push 0
mov ecx, edi
call dword [eax + 0x5c]
mov ecx, dword [esp + 0x1c]
push eax
push dword [esp + 0x1c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x3c]
push eax
push 0x28ca
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
add esp, 0x14
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
call ebp
mov edi, eax
call ebp
mov dword [esp + 0x18], eax
mov eax, dword [edi]
push 0x15
push 0
mov ecx, edi
call dword [eax + 0x5c]
mov ecx, dword [esp + 0x1c]
push eax
push dword [esp + 0x1c]
mov eax, dword [ecx]
push ebx
call dword [eax + 0x3c]
push eax
lea eax, [esp + 0x78]
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
mov ecx, dword [esi + 0x8c]
mov dword [esp + 0x2c], eax
mov eax, dword [esi + 0x88]
lea edi, [edx + ecx]
mov edx, dword [esp + 0x60]
push 0xffff0000
add edi, edx
add ecx, edx
push edi
mov edi, dword [esp + 0x34]
add edi, eax
add edi, dword [esp + 0x64]
push edi
push ecx
mov ecx, dword [esp + 0x4c]
add ecx, eax
add ecx, dword [esp + 0x6c]
push ecx
call dword [sym.imp.graphic.dll_public:_static_void___cdecl_CMyBitmap::ShowBlock_int__int__int__int__unsigned_long_int_]
add esp, 0x28
push dword [esi + 0x8c]
lea ecx, [esi + 0x75c]
push dword [esi + 0x88]
call fcn.0049ca6b
push dword [esi + 0x8c]
lea ecx, [esi + 0x509c]
push dword [esi + 0x88]
call fcn.0049ca6b
push dword [esi + 0x8c]
lea ecx, [esi + 0x4d8]
push dword [esi + 0x88]
call fcn.0049ca6b
push dword [esi + 0x8c]
lea ecx, [esi + 0x55e0]
push dword [esi + 0x88]
call fcn.0049ca6b
push dword [esi + 0x8c]
lea ecx, [esi + 0x535c]
push dword [esi + 0x88]
call fcn.0049ca6b
push dword [esi + 0x8c]
lea ecx, [esi + 0x51fc]
push dword [esi + 0x88]
call fcn.0049ca6b
push dword [esi + 0x8c]
lea ecx, [esi + 0x8bc]
push dword [esi + 0x88]
call fcn.0049ca6b
push dword [esi + 0x8c]
lea ecx, [esi + 0xa1c]
push dword [esi + 0x88]
call fcn.0049ca6b
push dword [esi + 0x8c]
lea ecx, [esi + 0x5740]
push dword [esi + 0x88]
call fcn.004784fe
push dword [esi + 0x8c]
lea ecx, [esi + 0x5810]
push dword [esi + 0x88]
call fcn.004784fe
push dword [esi + 0x8c]
lea ecx, [esi + 0x58e0]
push dword [esi + 0x88]
call fcn.004784fe
push dword [esi + 0x8c]
lea ecx, [esi + 0x59b0]
push dword [esi + 0x88]
call fcn.004784fe
push dword [esi + 0x8c]
lea ecx, [esi + 0xebc]
push dword [esi + 0x88]
call fcn.004784fe
push dword [esi + 0x8c]
lea ecx, [esi + 0xb7c]
push dword [esi + 0x88]
call fcn.004784fe
push dword [esi + 0x8c]
lea ecx, [esi + 0xc4c]
push dword [esi + 0x88]
call fcn.004784fe
push dword [esi + 0x8c]
lea ecx, [esi + 0xd1c]
push dword [esi + 0x88]
call fcn.004784fe
push dword [esi + 0x8c]
lea ecx, [esi + 0xdec]
push dword [esi + 0x88]
call fcn.004784fe
push dword [esi + 0x8c]
lea ecx, [esi + 0x3b4]
push dword [esi + 0x88]
call fcn.0047f980
push dword [esi + 0x8c]
lea ecx, [esi + 0x290]
push dword [esi + 0x88]
call fcn.0047f980
mov edi, 0x5dabc0
mov ecx, edi
call fcn.004e0162
push eax
mov ecx, edi
call fcn.004e33e9
test eax, eax
mov dword [esp + 0x18], eax
je 0x46d389
lea edi, [esi + 0x1c0]
push 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, dword [esp + 0x18]
call fcn.004f2158
push eax
mov ecx, 0x5dabc0
call fcn.004e2f98
test eax, eax
jbe 0x46d37f
push 0x3c
xor edx, edx
pop ecx
div ecx
cmp eax, 0x30
jle 0x46d355
push 0
push 0
lea ecx, [esi + 0x9c]
push str.businesskaocha1
jmp 0x46d370
cmp eax, 0x18
push 0
lea ecx, [esi + 0x9c]
push 0
jle 0x46d36b
push str.businesskaocha2
jmp 0x46d370
push str.businesskaocha3
call fcn.0047f89f
push 1
lea ecx, [esi + 0x9c]
jmp 0x46d3b0
lea ecx, [esi + 0x9c]
push 0
jmp 0x46d3b0
lea ecx, [esi + 0x9c]
push 0
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, edi
call fcn.004e2f81
cmp eax, 0x14
lea edi, [esi + 0x1c0]
jl 0x46d3ac
push 0
jmp 0x46d3ae
push 1
mov ecx, edi
call sub.MFC42.DLL_CWnd::EnableWindow
mov ecx, edi
call sub.MFC42.DLL_CWnd::IsWindowEnabled
test eax, eax
je 0x46d501
push dword [esi + 0x8c]
mov ecx, edi
push dword [esi + 0x88]
call fcn.004784fe
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x58]
push eax
push dword [esi + 0x1e0]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esp + 0x24]
lea eax, [esp + 0x5c]
push dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x46d501
call ebp
mov edi, eax
call ebp
mov dword [esp + 0x18], eax
call ebp
mov dword [esp + 0x30], eax
mov eax, dword [edi]
push 0x15
push 0
mov ecx, edi
call dword [eax + 0x5c]
push eax
call fcn.00477cc3
mov ecx, eax
call fcn.004f52d6
mov ecx, dword [esp + 0x20]
push eax
push ebx
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x3c]
push eax
push 0x2b8c
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
add esp, 0x14
mov edi, eax
push dword [esi + 0x20]
mov dword [esp + 0x30], edx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x20]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x2c]
push closesocket
lea ecx, [ecx + eax + 0x25]
add eax, 0x20
push ecx
mov ecx, dword [esp + 0x28]
lea edx, [edi + ecx + 0x20]
add ecx, 0x1c
push edx
push eax
push ecx
call dword [sym.imp.graphic.dll_public:_static_void___cdecl_CMyBitmap::ShowBlock_int__int__int__int__unsigned_long_int_]
add esp, 0x14
call ebp
mov edi, eax
call ebp
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
push 0xff000000
push 0
push 0
call fcn.00477cc3
mov ecx, eax
call fcn.004f52d6
push eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x3c]
mov ecx, dword [esp + 0x2c]
push eax
push 0x2b8c
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
mov eax, dword [esp + 0x40]
add eax, 0x20
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x44]
add eax, 0x1e
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::ShowStringEx_int__int__unsigned_long_int__char_const___char_const___int__int__enum_RENDER_TEXT_STYLE__unsigned_long_int__struct_CMyPos__]
add esp, 0x28
lea edi, [esi + 0x9c]
mov ecx, edi
call sub.MFC42.DLL_CWnd::IsWindowEnabled
test eax, eax
je 0x46d6cc
push dword [esi + 0x8c]
mov ecx, edi
push dword [esi + 0x88]
call fcn.0047f980
lea eax, [esp + 0x58]
push eax
push dword [esi + 0xbc]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
push dword [esp + 0x24]
lea eax, [esp + 0x5c]
push dword [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x46d6cc
mov edi, 0x5dabc0
mov ecx, edi
call fcn.004e0162
push eax
mov ecx, edi
call fcn.004e33e9
test eax, eax
je 0x46d6cc
mov ecx, eax
call fcn.004f2158
push eax
mov ecx, edi
call fcn.004e2f98
mov ecx, eax
test ecx, ecx
jbe 0x46d6cc
push 0x3c
xor edx, edx
pop edi
div edi
push edi
xor edx, edx
mov dword [esp + 0x18], eax
mov eax, ecx
pop ecx
div ecx
test edx, edx
jle 0x46d5b0
inc dword [esp + 0x14]
call ebp
mov edx, dword [eax]
push 0x2b8b
mov ecx, eax
call dword [edx + 0x3c]
and byte [esp + 0x78], 0
push 0x3f
mov dword [esp + 0x1c], eax
pop ecx
xor eax, eax
lea edi, [esp + 0x79]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x100
lea eax, [esp + 0x7c]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [esp + 0x78]
push dword [esp + 0x14]
push dword [esp + 0x1c]
push 0xff
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetParent]
push eax
call sub.MFC42.DLL_CWnd::FromHandle
lea ecx, [esp + 0x20]
push ecx
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_ScreenToClient]
call ebp
mov esi, eax
call ebp
mov edi, eax
mov eax, dword [esi]
push 0x15
push 0
mov ecx, esi
call dword [eax + 0x5c]
push eax
call fcn.00477cc3
mov ecx, eax
call fcn.004f52d6
push eax
mov eax, dword [edi]
push ebx
mov ecx, edi
call dword [eax + 0x3c]
push eax
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::CalcuTextExtent_char_const___char_const___int__class_IDataIcon___int_]
mov ecx, dword [esp + 0x38]
push closesocket
lea edx, [edx + ecx + 0x25]
add ecx, 0x20
push edx
mov edx, dword [esp + 0x3c]
lea eax, [eax + edx + 0x20]
add edx, 0x1c
push eax
push ecx
push edx
call dword [sym.imp.graphic.dll_public:_static_void___cdecl_CMyBitmap::ShowBlock_int__int__int__int__unsigned_long_int_]
add esp, 0x28
call ebp
mov esi, eax
lea eax, [esp + 0x28]
push eax
push 0xff000000
push 0
push 0
call fcn.00477cc3
mov ecx, eax
call fcn.004f52d6
push eax
mov eax, dword [esi]
push ebx
mov ecx, esi
call dword [eax + 0x3c]
push eax
lea eax, [esp + 0x90]
push eax
mov eax, dword [esp + 0x40]
add eax, 0x20
push 0xffffffffffffffff
push eax
mov eax, dword [esp + 0x44]
add eax, 0x1e
push eax
call dword [sym.imp.graphic.dll_public:_static_struct_CMySize___cdecl_CMyBitmap::ShowStringEx_int__int__unsigned_long_int__char_const___char_const___int__int__enum_RENDER_TEXT_STYLE__unsigned_long_int__struct_CMyPos__]
add esp, 0x28
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x168
ret