Function at 0x40d9d0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x164
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x17c]
mov esi, ecx
mov eax, dword [edi + 8]
cmp eax, 0xffffff63
ja 0x40e0ae
je 0x40de95
cmp eax, 0xfffffe65
ja 0x40dbd7
je 0x40db50
add eax, 0x2c6
cmp eax, 0xbe
ja case.0x40e0c6.138
xor ecx, ecx
mov cl, byte [eax + 0x40ea6c]
jmp dword [ecx*4 + 0x40ea54]
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x14]
push edx
push eax
push ecx
call fcn.00404f50
mov edx, dword [esi + 0x200]
add esp, 4
push eax
push edx
call dword [sym.imp.USER32.dll_LoadStringA]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret 8
mov edi, dword [edi + 0xc]
cmp edi, 0x4eb1
jne 0x40dae0
mov eax, dword [esi + 0x200]
push 0x4e96
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
mov ebx, eax
push 0
push ebx
call dword [sym.imp.USER32.dll_GetSubMenu]
mov edi, eax
mov eax, dword [esi + 0x95c]
test eax, eax
jne 0x40daa4
mov ebp, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x4eee
push edi
call ebp
push 1
push 0x4eed
push edi
call ebp
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push edx
push 0
push eax
push ecx
push 0
push edi
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push ebx
call dword [sym.imp.USER32.dll_DestroyMenu]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
cmp edi, 0x4f89
jne case.0x40da20.708
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00422610
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [0x4eb76c]
test eax, eax
je case.0x40e0c6.138
mov eax, dword [edi + 4]
mov edx, dword [esi + 0x200]
push eax
mov dword [edi + 0x60], edx
call fcn.00404f50
add esp, 4
and eax, 0xffff
mov dword [edi + 0xc], eax
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret 8
mov eax, dword [0x4eb7c8]
test eax, eax
jne 0x40db73
mov ecx, dword [edi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [edi]
xor eax, 8
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov ecx, dword [esi + 0x10]
mov eax, dword [edi]
cmp eax, ecx
jne case.0x40e0c6.138
mov dword [esi + 0x4c0], 0
mov eax, dword [edi + 0x10]
test eax, eax
je case.0x40e0c6.138
mov eax, dword [edi + 0x1c]
test eax, eax
je case.0x40e0c6.138
push eax
mov eax, dword [esi + 0x200]
push ecx
push eax
call fcn.00404d10
add esp, 0xc
test eax, eax
je case.0x40e0c6.138
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041d520
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
add eax, 0x19a
cmp eax, 0x67
ja case.0x40e0c6.138
xor ecx, ecx
mov cl, byte [eax + 0x40eb48]
jmp dword [ecx*4 + 0x40eb2c]
mov eax, dword [edi + 0x14]
test byte [eax], 1
je case.0x40e0c6.138
mov edx, dword [edi + 0xc]
mov ebp, dword [eax + 4]
mov eax, dword [esi + 0xc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push edx
push 0x101d
push eax
call ebx
mov edx, dword [edi + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, ebp
and ecx, 0xffff
push ecx
push edx
push 0x101e
push eax
call ebx
mov edi, dword [edi + 0xc]
xor ecx, ecx
mov eax, 0x4eb3b8
cmp dword [eax], 0
je 0x40dc46
test edi, edi
je 0x40dc51
dec edi
add eax, 4
inc ecx
cmp eax, 0x4eb3d0
jl 0x40dc3c
pop edi
mov dword [ecx*4 + 0x4eb388], ebp
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [esi + 0x10]
mov ecx, dword [edi]
cmp ecx, eax
jne case.0x40e0c6.138
push 0
push 9
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x10]
push eax
push ecx
call fcn.00404c10
add esp, 8
mov dword [esp + 0x10], 0x40000177
mov ecx, dword [eax]
lea edi, [esp + 0x10]
add eax, 8
push edi
mov edx, dword [ecx]
push eax
push 1
push ecx
call dword [edx + 0x24]
test eax, eax
jne 0x40dcd0
test byte [esp + 0x10], 0x10
je 0x40dcd0
mov dword [esi + 0x4c0], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x164
ret 8
cmp dword [edi + 0xc], 2
jne case.0x40e0c6.138
mov edi, dword [edi + 0x3c]
mov eax, dword [esi + 0x10]
push edi
push 4
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jne case.0x40e0c6.138
push 1
push edi
mov ecx, esi
call fcn.0041ce90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [edi + 0xc]
push 0
cmp eax, 2
jne 0x40dd54
mov ecx, dword [esi + 8]
push 0x12c
push 2
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov edx, dword [esi + 0x10]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 9
push 0x110a
push edx
call edi
test eax, eax
je case.0x40e0c6.138
push eax
mov eax, dword [esi + 0x10]
push eax
call fcn.00404c10
add esp, 8
test eax, eax
je case.0x40e0c6.138
mov edx, dword [eax + 4]
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
test eax, eax
je case.0x40e0c6.138
mov al, byte [esp + 0x6c]
test al, al
je case.0x40e0c6.138
lea ebx, [esi + 0x20c]
lea eax, [esp + 0x6c]
push ebx
push eax
call fcn.004cab10
add esp, 8
test eax, eax
je case.0x40e0c6.138
push 0
push 0
lea ecx, [esp + 0x74]
push 0
push ecx
mov ecx, esi
call fcn.004174b0
test eax, eax
jne case.0x40e0c6.138
mov eax, dword [0x4eb434]
test eax, eax
je case.0x40e0c6.138
mov edx, dword [esi + 0x10]
push 0
push 0
push 0xb
push edx
call edi
push ebx
mov ecx, esi
call fcn.0041cd60
mov ebx, eax
test ebx, ebx
je 0x40de3b
mov eax, dword [esi + 0x10]
push ebx
push 0
push 0x1114
push eax
call edi
mov ecx, dword [esi + 0x10]
push ebx
push 9
push 0x110b
push ecx
call edi
mov edx, dword [esi + 0x10]
push 0
push 1
push 0xb
push edx
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [esi + 0x10]
push 0
push 1
push 0xb
push eax
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov edi, dword [edi + 0x34]
test edi, edi
je case.0x40e0c6.138
mov ecx, edi
call fcn.00404b80
jmp 0x40ea3c
mov eax, dword [esi + 0x10]
mov ecx, dword [edi]
cmp ecx, eax
jne case.0x40e0c6.138
mov ecx, dword [edi + 0x5c]
push ecx
push eax
mov ecx, esi
call fcn.0041e430
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [0x4eb770]
test eax, eax
je case.0x40e0c6.138
mov edx, dword [edi + 0x10]
mov ebp, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edx
call ebp
mov ecx, dword [esi + 0xc]
mov ebx, eax
mov eax, dword [edi + 0x10]
add ebx, eax
mov eax, dword [edi]
cmp eax, ecx
jne 0x40e03b
mov eax, dword [edi + 0x18]
lea edx, [esp + 0x24]
push edx
push 0
push 0x1005
push ecx
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], 0
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je case.0x40e0c6.138
mov esi, dword [esp + 0x44]
test esi, esi
je case.0x40e0c6.138
mov edi, dword [edi + 0x14]
mov ecx, esi
push edi
call fcn.00424640
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpynA]
mov ecx, esi
call fcn.00424640
push eax
call ebp
sub edi, eax
mov ecx, esi
mov dword [esp + 0x10], edi
call fcn.00424640
push eax
call ebp
add ebx, eax
mov eax, dword [esi + 8]
test eax, eax
jne 0x40dfdc
mov eax, dword [esi + 0x3c]
test eax, eax
jl 0x40df7d
mov byte [ebx], 0xa
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
mov edx, dword [esi + 0x30]
push 0
push 0
push eax
mov eax, dword [esi + 0x2c]
push ecx
mov ecx, dword [esi + 0x3c]
push edx
push eax
inc ebx
push ecx
push 0
push ebx
call fcn.0045cdc0
add esp, 0x24
push ebx
call ebp
add ebx, eax
push ebx
call ebp
or edx, 0xffffffff
sub edx, eax
mov eax, edi
add eax, edx
mov dword [esp + 0x10], eax
mov ax, word [0x4e0748]
mov ecx, 7
mov word [esp + 0x4c], ax
xor eax, eax
lea edi, [esp + 0x4e]
push 0x14
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x50]
push ecx
call ebp
mov ecx, dword [esi + 0x20]
lea edx, [esp + eax + 0x50]
mov eax, dword [esi + 0x24]
push edx
push eax
push ecx
call fcn.00449e90
add esp, 0x10
lea edx, [esp + 0x4c]
push str._bytes
push edx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x4c]
push eax
call ebp
cmp eax, dword [esp + 0x10]
jg 0x40dfdc
lea ecx, [esp + 0x4c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [esi + 0x28]
test eax, eax
je case.0x40e0c6.138
mov eax, dword [eax + 0xc]
test eax, eax
je case.0x40e0c6.138
cmp byte [eax], 0
je case.0x40e0c6.138
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push 0x4e0748
push ebx
call edi
mov esi, dword [esi + 0x28]
test esi, esi
je 0x40e026
mov esi, dword [esi + 0xc]
push esi
push ebx
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
xor esi, esi
push esi
push ebx
call edi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov ecx, dword [esi + 0x24]
cmp eax, ecx
jne case.0x40e0c6.138
mov eax, dword [edi + 0x18]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x40e060
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call ebp
lea edx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x24]
push edx
push 0
push 0x1005
push eax
mov dword [esp + 0x34], 4
mov dword [esp + 0x3c], 0
call ebp
mov esi, dword [esp + 0x44]
mov ecx, dword [edi + 0x14]
neg eax
sbb eax, eax
push ecx
and eax, esi
push ebx
mov edx, dword [eax + 8]
push edx
call dword [sym.imp.USER32.dll_OemToCharBuffA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
add eax, 0x96
cmp eax, 0x94
ja case.0x40e0c6.138
xor ecx, ecx
mov cl, byte [eax + 0x40ebe4]
jmp dword [ecx*4 + 0x40ebb0]
mov ecx, esi
call fcn.00418f50
mov edx, dword [edi]
pop edi
mov dword [esi + 0x3c], edx
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [edi]
mov ecx, dword [esi + 0x10]
cmp eax, ecx
jne case.0x40e0c6.138
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esi + 0x10]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esi + 0x10]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x10]
mov dword [esp + 0x18], 6
push ecx
push 0
push 0x1111
push edx
call ebx
mov edi, eax
mov eax, dword [esi + 0x10]
push 0
push 9
push 0x110a
push eax
call ebx
cmp edi, eax
jne case.0x40e0c6.138
push 0x7f02
push 0
call dword [sym.imp.USER32.dll_LoadCursorA]
mov ebx, dword [sym.imp.USER32.dll_SetCursor]
push eax
call ebx
push 1
push edi
mov ecx, esi
mov ebp, eax
call fcn.0041ce90
push 0
mov ecx, esi
call fcn.0041ec00
push ebp
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov ecx, dword [edi]
mov eax, dword [esi + 0x14]
cmp ecx, eax
jne case.0x40e0c6.138
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esi + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0041a230
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov edi, dword [edi]
mov eax, dword [esi + 0xc]
cmp edi, eax
jne 0x40e2f7
mov eax, dword [0x4eb7cc]
test eax, eax
je 0x40e2d7
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi + 0xc]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
lea eax, [esp + 0x10]
push eax
push 0
push 0x1039
push ecx
call ebx
test eax, eax
jl 0x40e2d7
mov ecx, 5
mov eax, 0x4eb3b8
cmp dword [eax], 0
jne 0x40e225
dec ecx
add eax, 4
cmp eax, 0x4eb3cc
jl 0x40e21f
cmp dword [esp + 0x20], ecx
jne 0x40e2d7
mov eax, dword [esi + 0x990]
test eax, eax
jne 0x40e2c0
mov eax, dword [esi + 0x98c]
test eax, eax
je 0x40e2c0
mov edi, dword [esp + 0x1c]
test edi, edi
jl 0x40e2aa
mov edx, dword [esi + 0xc]
push 0
push edi
push 0x1013
push edx
call ebx
mov eax, dword [esi + 0xc]
push 2
push edi
push 0x102c
push eax
call ebx
test eax, eax
jne 0x40e282
mov ecx, dword [esi + 0xc]
push edi
push eax
push 0x1043
push ecx
call ebx
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x24]
push edx
push edi
push 0x102b
push eax
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 3
call ebx
mov ecx, esi
call fcn.00418f50
mov ecx, esi
call fcn.00412a70
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
push 0xffffffffffffffff
call dword [sym.imp.USER32.dll_MessageBeep]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [esi + 0x944]
test eax, eax
je 0x40e2c0
mov ecx, esi
call fcn.004103b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov ecx, dword [esi + 0x208]
cmp edi, dword [ecx + 0x50]
jne 0x40e318
mov ecx, esi
call fcn.00410620
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [esi + 0x24]
cmp edi, eax
jne 0x40e3e7
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 2
push 0xffffffffffffffff
push 0x100c
push eax
call edi
lea edx, [esp + 0x24]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x24]
push edx
push ebx
mov ebp, 4
push 0x1005
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebx
call edi
test eax, eax
je case.0x40e0c6.138
mov eax, dword [esp + 0x44]
cmp eax, ebx
je case.0x40e0c6.138
cmp dword [eax + 0xc], 1
jne 0x40e2e1
mov ecx, dword [esi + 0x24]
push 2
push 0xffffffffffffffff
push 0x100c
push ecx
call edi
lea edx, [esp + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esi + 0x24]
push edx
push ebx
push 0x1005
push eax
mov dword [esp + 0x34], ebp
mov dword [esp + 0x3c], ebx
call edi
test eax, eax
je case.0x40e0c6.138
mov eax, dword [esp + 0x44]
cmp eax, ebx
je case.0x40e0c6.138
mov ecx, dword [eax + 8]
push ebx
push ebx
push 1
push ecx
mov ecx, esi
call fcn.004174b0
test eax, eax
je case.0x40e0c6.138
mov edx, dword [esi + 0xc]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
cmp edi, dword [esi + 0x1c]
jne 0x40e4aa
mov eax, dword [esi + 0xd4]
xor ebp, ebp
cmp eax, ebp
je 0x40e494
cmp dword [esi + 0xc4], ebp
je 0x40e467
mov eax, dword [esi + 0xcc]
mov dword [esi + 0xd0], 1
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0x7f02
push ebp
call dword [sym.imp.USER32.dll_LoadCursorA]
mov edi, dword [sym.imp.USER32.dll_SetCursor]
push eax
call edi
mov ecx, dword [esi + 0xc4]
push 0x2710
push ecx
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x40e457
push 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
mov edx, dword [esi + 0xc4]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
call edi
mov eax, dword [esi + 8]
push ebp
push 0xffffffffffffffff
push 0x40b
push eax
mov dword [esi + 0xc4], ebp
mov dword [esi + 0xd4], ebp
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov ecx, esi
call fcn.004204e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [esi + 0x10]
cmp edi, eax
jne case.0x40e0c6.138
push 0
push 9
push 0x110a
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [esi + 0x10]
mov edi, eax
push edi
push ecx
call fcn.00404c10
add esp, 8
mov ecx, esi
push 1
push edi
call fcn.0041ce90
push 0
mov ecx, esi
call fcn.0041ec00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov edx, dword [edi]
mov eax, dword [esi + 0xc]
cmp edx, eax
jne case.0x40e0c6.138
push edi
mov ecx, esi
call fcn.00420d30
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x164
ret 8
mov eax, dword [esi + 0xc]
mov ecx, dword [edi]
cmp ecx, eax
jne case.0x40e0c6.138
push 0
push eax
mov ecx, esi
call fcn.0041e430
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jne case.0x40e0c6.138
mov edi, dword [edi + 0x10]
xor ecx, ecx
mov eax, 0x4eb3b8
cmp dword [eax], 0
je 0x40e55f
test edi, edi
je 0x40e56a
dec edi
add eax, 4
inc ecx
cmp eax, 0x4eb3d0
jl 0x40e555
mov eax, 5
cmp ecx, eax
ja case.default.0x40e577
jmp dword [ecx*4 + 0x40ec7c]
mov eax, dword [0x4eb200]
test eax, eax
jne 0x40e599
mov eax, dword [0x4eb208]
xor ecx, ecx
test eax, eax
sete cl
mov dword [0x4eb208], ecx
mov ecx, esi
mov dword [0x4eb200], 0
call fcn.00421970
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov ecx, dword [0x4eb200]
mov eax, 1
cmp ecx, eax
jne 0x40e638
jmp 0x40e625
mov eax, 2
jmp 0x40e5e7
mov ecx, dword [0x4eb200]
mov eax, 3
cmp ecx, eax
jne 0x40e638
jmp 0x40e625
mov eax, 4
cmp dword [0x4eb200], eax
jne 0x40e638
mov edx, dword [0x4eb208]
xor ecx, ecx
test edx, edx
sete cl
mov dword [0x4eb208], ecx
mov ecx, esi
mov dword [0x4eb200], eax
call fcn.00421970
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
cmp dword [0x4eb200], eax
jne 0x40e638
mov ecx, dword [0x4eb208]
xor edx, edx
test ecx, ecx
sete dl
mov dword [0x4eb208], edx
mov dword [0x4eb200], eax
mov ecx, esi
call fcn.00421970
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
je 0x40e665
cmp eax, dword [esi + 0x24]
jne case.0x40e0c6.138
test byte [edi + 0x1c], 8
je case.0x40e0c6.138
mov eax, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
xor eax, edx
test al, 3
je case.0x40e0c6.138
mov ecx, dword [esi + 8]
push ecx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.0x40e0c6.138
mov dword [esi + 0x420], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov edx, dword [edi]
mov eax, dword [esi + 0xc]
cmp edx, eax
jne case.0x40e0c6.138
mov ebx, dword [edi + 0x2c]
mov eax, dword [ebx + 8]
cmp eax, 3
je 0x40e727
cmp eax, 2
je 0x40e727
mov eax, dword [ebx + 0x68]
push 0
push eax
call fcn.004becfa
add esp, 8
test eax, eax
je 0x40e6f2
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x200]
push 0
push 0x45b
push 0x20e
push eax
push ecx
jmp 0x40e71f
mov ebx, dword [ebx + 0x68]
push 4
push ebx
call fcn.004becfa
add esp, 8
test eax, eax
je 0x40dcb7
mov edx, dword [esi + 0xc]
mov eax, dword [esi + 0x200]
push 0
push 0x45b
push 0x206
push edx
push eax
call fcn.0044adc0
add esp, 0x14
mov eax, dword [0x4eb7c8]
test eax, eax
jne 0x40e74c
mov ecx, dword [edi]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edx, dword [edi]
xor eax, 0x200
push eax
push 0xfffffffffffffff0
push edx
call dword [sym.imp.USER32.dll_SetWindowLongA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x164
ret 8
mov eax, dword [0x4eb7c8]
xor ebx, ebx
cmp eax, ebx
jne 0x40e785
mov eax, dword [edi]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov ecx, dword [edi]
xor eax, 0x200
push eax
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongA]
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jne 0x40e8bb
mov dword [esi + 0x4c0], ebx
mov eax, dword [edi + 0x10]
cmp eax, 0xffffffff
je case.0x40e0c6.138
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
lea edx, [esp + 0x24]
push edx
push ebx
push 0x1005
push ecx
mov dword [esp + 0x34], 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], ebx
call ebp
mov edx, dword [esp + 0x44]
mov ebx, eax
mov eax, dword [edi + 0x20]
neg ebx
sbb ebx, ebx
and ebx, edx
test eax, eax
jne 0x40e821
mov eax, dword [ebx + 0x6c]
push eax
call fcn.004be975
xor eax, eax
add esp, 4
mov dword [ebx + 0x6c], eax
mov ecx, ebx
mov dword [esp + 0x2c], eax
call fcn.00424640
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
push ecx
push edx
push 0x102e
push eax
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x164
ret 8
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x200]
push eax
push ecx
push edx
call fcn.00404d10
add esp, 0xc
test eax, eax
jne 0x40e885
mov edx, dword [edi + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [edi + 0x20]
lea ecx, [esp + 0x24]
mov dword [esp + 0x38], eax
mov eax, dword [esi + 0xc]
push ecx
push edx
push 0x102e
push eax
call ebp
mov ecx, dword [edi + 0x20]
push ecx
mov ecx, ebx
call fcn.004247d0
mov edx, dword [esi + 8]
push 0
push 1
push 5
push edx
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x164
ret 8
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.00419090
test eax, eax
je case.0x40e0c6.138
mov edi, dword [edi + 0x10]
mov edx, dword [esi + 0xc]
push edi
push edi
push 0x1015
push edx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
cmp eax, dword [esi + 0x24]
jne case.0x40e0c6.138
cmp dword [edi + 0x10], 0xffffffff
je case.0x40e0c6.138
mov eax, dword [edi + 0x20]
cmp eax, ebx
je case.0x40e0c6.138
push eax
mov eax, dword [esi + 0x200]
push ecx
push eax
call fcn.00404d10
add esp, 0xc
test eax, eax
je case.0x40e0c6.138
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.0041e170
test eax, eax
je case.0x40e0c6.138
mov edi, dword [edi + 0x10]
mov eax, dword [esi + 0x24]
push edi
push edi
push 0x1015
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jne 0x40e9fc
mov cl, byte [edi + 0xc]
mov eax, dword [edi + 0x2c]
test cl, 2
je 0x40e9b0
mov ecx, dword [0x4eb3d0]
cmp ecx, 4
je 0x40e954
cmp ecx, 5
jne 0x40e964
mov eax, dword [eax + 0x58]
test eax, eax
jge 0x40e988
mov dword [edi + 0x28], 0
jmp 0x40e9b0
mov edx, dword [0x4eb34c]
test edx, edx
je 0x40e98d
test ecx, ecx
push eax
lea ecx, [esi + 0x490]
jne 0x40e983
call fcn.00425290
mov dword [edi + 0x28], eax
jmp 0x40e9b0
call fcn.00425260
mov dword [edi + 0x28], eax
jmp 0x40e9b0
mov ecx, dword [eax + 0x3c]
test ecx, ecx
jl 0x40e999
add ecx, 5
jmp 0x40e99c
mov ecx, dword [eax + 8]
mov dword [edi + 0x28], ecx
mov ecx, dword [eax + 0x3c]
cmp ecx, 0xff
jne 0x40e9b0
mov ecx, dword [eax + 8]
mov dword [edi + 0x28], ecx
test byte [edi + 0xc], 1
je case.0x40e0c6.138
mov edx, dword [edi + 0x14]
xor ecx, ecx
mov eax, 0x4eb3b8
cmp dword [eax], 0
je 0x40e9ce
test edx, edx
je 0x40e9d9
dec edx
add eax, 4
inc ecx
cmp eax, 0x4eb3d0
jl 0x40e9c4
mov edx, dword [edi + 0x24]
mov eax, dword [edi + 0x20]
push edx
push eax
push ecx
mov ecx, dword [edi + 0x10]
push ecx
mov ecx, esi
call fcn.0041c6f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
cmp eax, dword [esi + 0x24]
jne case.0x40e0c6.138
test byte [edi + 0xc], 1
je case.0x40e0c6.138
cmp dword [edi + 0x14], 1
jne case.0x40e0c6.138
mov edx, dword [edi + 0x2c]
mov eax, dword [edx + 8]
mov dword [edi + 0x20], eax
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8
mov ecx, dword [edi]
mov eax, dword [esi + 0x24]
cmp ecx, eax
jne case.0x40e0c6.138
mov edi, dword [edi + 0x28]
test edi, edi
je case.0x40e0c6.138
mov ecx, edi
call fcn.004057c0
push edi
call fcn.004be975
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x164
ret 8