Function at 0x47d4d0
Capabilities:
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x556422
mov eax, dword fs:[0]
push eax
sub esp, 0x148
push ebx
push esi
push edi
mov eax, dword [0x5c403c]
xor eax, esp
push eax
lea eax, [esp + 0x158]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x808]
add esi, 0x7f8
mov dword [esp + 0x1c], esi
cmp dword [esi + 0xc], edi
jbe 0x47d520
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ebx, dword [esi + 0xc]
mov eax, dword [esi]
mov dword [esp + 0x78], eax
cmp ebx, dword [esi + 0x10]
jbe 0x47d534
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x78]
mov eax, dword [esi]
push edi
push ecx
push ebx
push eax
lea ebx, [esp + 0x88]
call fcn.004e6260
mov eax, dword [0x5c6f2c]
call fcn.004c51c0
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 4]
cmp eax, 0x205
ja 0x47de33
je 0x47daa5
sub eax, 0x202
je 0x47d98f
sub eax, 1
jne 0x47df5d
mov esi, dword [edi]
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
and edx, 0xfffffffc
cmp edx, 4
jne 0x47d7f0
xor edi, edi
call fcn.00417e80
mov ebx, dword [eax]
lea eax, [esp + 0x14]
xor esi, esi
push eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x20]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
mov dword [esp + 0x20], ecx
cmp dword [ebx + 0x110], esi
jbe 0x47d6cb
jmp 0x47d5e0
push esi
lea eax, [ebx + 0xf4]
call fcn.00487e90
mov edx, dword [esp + 0x20]
push edx
add eax, 0x50
push edi
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x47d60e
inc esi
cmp esi, dword [ebx + 0x110]
jb 0x47d5e0
jmp 0x47d6cb
push esi
lea eax, [ebx + 0xf4]
call fcn.00487e90
mov dword [esp + 0x1c], eax
test eax, eax
je 0x47d6cb
cmp dword [eax + 0xa0], 0
je 0x47d6cb
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
lea ecx, [ebx + 0x48]
lea eax, [esp + 0x94]
mov dword [esp + 0x24], 0x14
mov dword [esp + 0x58], 0x20
call fcn.004bb950
mov esi, eax
mov eax, dword [esp + 0x1c]
mov ecx, 8
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax]
push 0
mov dword [esp + 0x30], ecx
lea edx, [esp + 0x5c]
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [eax + 0xa0]
push 0
push ecx
mov dword [esp + 0x34], 2
call edx
add esp, 0xc
test eax, eax
jne 0x47df5d
cmp dword [ebx + 0x88], 4
jne 0x47d7ed
cmp dword [ebx + 0x3b0], 0
je 0x47d7ed
push 0x34
lea eax, [esp + 0x28]
push 0
push eax
call sub.MSVCR90.dll_memset
xor eax, eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
add esp, 0xc
lea ecx, [ebx + 0x48]
lea eax, [esp + 0xd4]
mov dword [esp + 0x24], 0x34
mov dword [esp + 0x58], 0x20
call fcn.004bb950
mov esi, eax
mov ecx, 8
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x1c]
xor esi, esi
push ecx
mov dword [esp + 0x2c], 5
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x830]
lea edx, [esp + 0x1c]
push edx
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 0x3a8]
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
or eax, 0xffffffff
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xd0]
neg eax
sbb eax, eax
mov dword [esp + 0x38], edx
mov dword [esp + 0x48], ecx
mov ecx, dword [ebx + 0x3ac]
and eax, 0x10
or eax, dword [ebx + 0x98]
lea edx, [esp + 0x58]
push ecx
mov dword [esp + 0x48], edx
lea edx, [esp + 0x28]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0x3b0]
push esi
push edx
mov dword [esp + 0x38], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
call eax
add esp, 0xc
test eax, eax
jne 0x47df5d
mov edi, dword [ebp + 0xc]
mov esi, dword [edi]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
test ecx, 0xfffffffc
je 0x47df5d
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
mov ebx, dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
sar edx, 2
test edx, edx
ja 0x47d819
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
cmp dword [ecx + 0x88], 3
je 0x47d84a
mov esi, dword [edi]
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
test edx, edx
ja 0x47d838
call ebx
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
cmp dword [ecx + 0x88], 2
jne 0x47df5d
lea ecx, [esp + 0x14]
call dword [0x55a6c4]
mov dword [esp + 0x160], 7
mov esi, dword [edi]
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
test edx, edx
ja 0x47d870
call ebx
mov ebx, dword [esi + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
test eax, eax
ja 0x47d888
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx]
mov edx, dword [ecx + 0x7c]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push str.PFInitChat
push edx
mov edx, dword [ecx + 0x78]
push edx
lea eax, [esp + 0x20]
push str._s__d__s
push eax
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edi, dword [edi]
xor eax, eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x38], 0x20
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
add esp, 0x14
sar ecx, 2
test ecx, ecx
ja 0x47d8ee
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [edi + 0xc]
mov ecx, dword [edi]
add ecx, 0x48
lea eax, [esp + 0x114]
call fcn.004bb950
mov esi, eax
mov ecx, 8
lea edi, [esp + 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x14]
call fcn.004b3c30
test eax, eax
je 0x47d94d
mov edx, dword [ebp + 0xc]
mov esi, dword [edx]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
test eax, eax
ja 0x47d934
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esi + 0xc]
mov ecx, dword [esi]
mov eax, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
push eax
push 0
call fcn.004b3e40
jmp 0x47d975
mov ecx, dword [ebp + 0xc]
mov esi, dword [ecx]
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
sar edx, 2
test edx, edx
ja 0x47d965
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
push ecx
lea edx, [esp + 0x28]
push edx
call fcn.004ce3b0
mov dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
jmp 0x47df5d
mov esi, dword [edi]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
and eax, 0xfffffffc
cmp eax, 4
jne 0x47df5d
xor edi, edi
call fcn.00417e80
mov ebx, dword [eax]
cmp dword [ebx + 0x88], 4
jne 0x47df5d
cmp dword [ebx + 0x3b0], edi
je 0x47df5d
push 0x34
lea ecx, [esp + 0x28]
push edi
push ecx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], 0x34
call fcn.00411bc0
lea ecx, [ebx + 0x48]
lea eax, [esp + 0xb4]
call fcn.004bb950
mov esi, eax
mov ecx, 8
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x1c]
xor esi, esi
push edx
mov dword [esp + 0x2c], 3
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x830]
lea eax, [esp + 0x1c]
push eax
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov edx, dword [ebx + 0x3a8]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0xd0]
mov dword [esp + 0x38], eax
or eax, 0xffffffff
neg ecx
sbb ecx, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], edx
mov edx, dword [ebx + 0x3ac]
and ecx, 0x10
or ecx, dword [ebx + 0x98]
lea eax, [esp + 0x58]
push edx
mov dword [esp + 0x48], eax
lea eax, [esp + 0x28]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 0x3b0]
push esi
push eax
mov dword [esp + 0x38], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
call ecx
add esp, 0xc
jmp 0x47df5d
mov ebx, dword [edi]
mov edx, dword [ebx + 0x10]
sub edx, dword [ebx + 0xc]
and edx, 0xfffffffc
cmp edx, 4
jne 0x47dbd2
mov eax, dword [ebx + 0x10]
sub eax, dword [ebx + 0xc]
sar eax, 2
test eax, eax
ja 0x47dacc
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0xc]
mov ebx, dword [ecx]
cmp dword [ebx + 0x88], 4
jne 0x47dbd2
cmp dword [ebx + 0x3b0], 0
je 0x47dbd2
push 0x34
lea edx, [esp + 0x28]
push 0
push edx
call sub.MSVCR90.dll_memset
add esp, 0xc
lea ecx, [esp + 0x58]
mov dword [esp + 0x24], 0x34
call fcn.00411bc0
lea ecx, [ebx + 0x48]
lea eax, [esp + 0xf4]
call fcn.004bb950
mov esi, eax
mov ecx, 8
lea edi, [esp + 0x58]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x14]
xor esi, esi
push eax
mov dword [esp + 0x2c], 4
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x830]
lea ecx, [esp + 0x14]
push ecx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0xd0]
or eax, 0xffffffff
neg edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x3a8]
sbb edx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x3ac]
and edx, 0x10
or edx, dword [ebx + 0x98]
lea ecx, [esp + 0x58]
push eax
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x34], edx
mov edx, dword [ebx + 0x3b0]
push esi
push ecx
mov dword [esp + 0x38], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], esi
call edx
add esp, 0xc
test eax, eax
jne 0x47df5d
mov edi, dword [ebp + 0xc]
mov esi, dword [edi]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
xor ebx, ebx
test eax, 0xfffffffc
je 0x47df5d
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
test ecx, ecx
ja 0x47dbfa
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
cmp dword [eax + 0x88], 3
jne 0x47dc94
push str.WTW_Loc_MainWND
lea ecx, [esp + 0x8c]
call dword [0x55a504]
mov dword [esp + 0x160], 1
push str.WTW_Menu_Contact
lea ecx, [esp + 0x84]
call dword [0x55a504]
mov byte [esp + 0x160], 2
mov ecx, dword [edi]
push 0
push ecx
mov ecx, dword [0x5c6f2c]
push 0
lea edx, [esp + 0x94]
push edx
lea eax, [esp + 0x90]
push eax
call fcn.004c60a0
mov ebx, eax
mov byte [esp + 0x160], 1
lea ecx, [esp + 0x80]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0x88]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [edi]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
test ecx, ecx
ja 0x47dca9
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
cmp dword [eax + 0x88], 2
jne 0x47dd43
push str.WTW_Loc_MainWND
lea ecx, [esp + 0x88]
call dword [0x55a504]
mov dword [esp + 0x160], 3
push str.WTW_Menu_MContact
lea ecx, [esp + 0x94]
call dword [0x55a504]
mov byte [esp + 0x160], 4
mov ecx, dword [edi]
push 0
push ecx
mov ecx, dword [0x5c6f2c]
push 0
lea edx, [esp + 0x90]
push edx
lea eax, [esp + 0xa0]
push eax
call fcn.004c60a0
mov ebx, eax
mov byte [esp + 0x160], 3
lea ecx, [esp + 0x90]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0x84]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [edi]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
sar ecx, 2
test ecx, ecx
ja 0x47dd58
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esi + 0xc]
mov eax, dword [edx]
cmp dword [eax + 0x88], 1
jne 0x47ddec
push str.WTW_Loc_MainWND
lea ecx, [esp + 0x7c]
call dword [0x55a504]
mov dword [esp + 0x160], 5
push str.WTW_Menu_Group
lea ecx, [esp + 0x90]
call dword [0x55a504]
mov byte [esp + 0x160], 6
mov ecx, dword [edi]
push 0
push ecx
mov ecx, dword [0x5c6f2c]
push 0
lea edx, [esp + 0x84]
push edx
lea eax, [esp + 0x9c]
push eax
call fcn.004c60a0
mov ebx, eax
mov byte [esp + 0x160], 5
lea ecx, [esp + 0x8c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov dword [esp + 0x160], 0xffffffff
lea ecx, [esp + 0x78]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
cmp ebx, eax
je 0x47df5d
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
push 0
push edx
push eax
push ecx
push 0
mov ecx, ebx
call sub.mfc90u.dll_CMenu::TrackPopupMenu
mov edx, dword [edi]
mov eax, dword [esp + 0x1c]
push edx
call fcn.0047df80
jmp 0x47df5d
cmp eax, 0x40a
jne 0x47df5d
mov eax, dword [edi]
mov ecx, dword [eax + 0x10]
sub ecx, dword [eax + 0xc]
test ecx, 0xfffffffc
je 0x47df5d
mov esi, dword [eax + 0x10]
sub esi, dword [eax + 0xc]
xor ecx, ecx
sar esi, 2
mov eax, esi
mov edx, 0x20
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.mfc90u.dll_new__
mov ecx, eax
add esp, 4
mov dword [esp + 0x1c], ecx
xor eax, eax
mov dword [esp + 0x160], eax
cmp ecx, eax
je 0x47de9b
push 0x20
mov ebx, fcn.00411bc0
mov eax, esi
call section..text
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov dword [esp + 0x160], 0xffffffff
mov esi, dword [edi]
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
xor ebx, ebx
sar ecx, 2
test ecx, ecx
jbe 0x47df12
mov edx, eax
mov dword [esp + 0x1c], edx
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp ebx, eax
jb 0x47ded4
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov ecx, dword [esi + 0xc]
lea eax, [ecx + ebx*4]
mov ecx, dword [eax]
add ecx, 0x48
lea eax, [esp + 0x134]
call fcn.004bb950
mov edi, dword [esp + 0x1c]
mov edx, dword [ebp + 0xc]
add dword [esp + 0x1c], 0x20
mov esi, eax
mov ecx, 8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [edx]
mov eax, dword [esi + 0x10]
sub eax, dword [esi + 0xc]
inc ebx
sar eax, 2
cmp ebx, eax
jb 0x47dec1
mov edi, edx
mov esi, dword [edi]
mov ebx, dword [esi + 0xc]
cmp ebx, dword [esi + 0x10]
jbe 0x47df22
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov esi, dword [esi]
test esi, esi
jne 0x47df77
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
cmp ebx, dword [esi + 0x10]
jb 0x47df39
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edi, dword [edi]
mov ecx, dword [edi + 0x10]
sub ecx, dword [edi + 0xc]
mov edx, dword [esp + 0x14]
push ebx
sar ecx, 2
push ecx
push edx
call fcn.004abdf0
mov eax, dword [esp + 0x14]
push eax
call sub.mfc90u.dll_delete__
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x158]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov esi, dword [esi]
jmp 0x47df2e