Function at 0x4098b0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
sub esp, 0x228
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x240]
mov esi, ecx
mov eax, dword [edi + 8]
cmp eax, 0xffffff63
ja 0x409e06
je 0x409c5c
cmp eax, 0xfffffe65
ja 0x409ab7
je 0x409a30
add eax, 0x2c6
cmp eax, 0xbe
ja case.0x409e1e.138
xor ecx, ecx
mov cl, byte [eax + 0x40a64c]
jmp dword [ecx*4 + 0x40a634]
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, 0x228
ret 8
mov edi, dword [edi + 0xc]
cmp edi, 0x4eb1
jne 0x4099c0
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 + 0x810]
test eax, eax
jne 0x409984
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, 0x228
ret 8
cmp edi, 0x4f89
jne case.0x409900.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.0041c160
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov eax, dword [0x4fbc60]
test eax, eax
je case.0x409e1e.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, 0x228
ret 8
mov eax, dword [0x4fbcc0]
test eax, eax
jne 0x409a53
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.0x409e1e.138
mov dword [esi + 0x4c0], 0
mov eax, dword [edi + 0x10]
test eax, eax
je case.0x409e1e.138
mov eax, dword [edi + 0x1c]
test eax, eax
je case.0x409e1e.138
push eax
mov eax, dword [esi + 0x200]
push ecx
push eax
call fcn.00404c60
add esp, 0xc
test eax, eax
je case.0x409e1e.138
mov ecx, dword [edi + 0x1c]
mov edx, dword [edi + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004175a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
add eax, 0x19a
cmp eax, 0x67
ja case.0x409e1e.138
xor ecx, ecx
mov cl, byte [eax + 0x40a728]
jmp dword [ecx*4 + 0x40a70c]
mov eax, dword [edi + 0x14]
test byte [eax], 1
je case.0x409e1e.138
mov edx, dword [edi + 0xc]
mov ebx, dword [eax + 4]
mov eax, dword [esi + 0xc]
mov ebp, dword [sym.imp.user32.dll_SendMessageA]
push 0
push edx
push 0x101d
push eax
call ebp
mov edx, dword [edi + 0xc]
mov eax, dword [esi + 0xc]
mov ecx, ebx
and ecx, 0xffff
push ecx
push edx
push 0x101e
push eax
call ebp
mov ecx, dword [edi + 0xc]
push ecx
mov ecx, esi
call fcn.00416430
pop edi
pop esi
mov dword [eax*4 + 0x4fb878], ebx
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov eax, dword [esi + 0x10]
mov ecx, dword [edi]
cmp ecx, eax
jne case.0x409e1e.138
push 0
push 9
push 0x110a
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov edx, dword [esi + 0x10]
push eax
push edx
call fcn.00404b60
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 0x409b9c
test byte [esp + 0x10], 0x10
je 0x409b9c
mov dword [esi + 0x4c0], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
push 0xffffffffffffffff
call dword [sym.imp.user32.dll_MessageBeep]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x228
ret 8
cmp dword [edi + 0xc], 2
jne case.0x409e1e.138
mov eax, dword [edi + 0x3c]
mov ecx, esi
push eax
call fcn.00416a20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov ecx, dword [edi + 0xc]
mov eax, 2
cmp ecx, eax
jne 0x409c07
mov ecx, dword [esi + 8]
push 0
push 0x12c
push eax
push ecx
call dword [sym.imp.user32.dll_SetTimer]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov ecx, esi
call fcn.00416b00
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov edi, dword [edi + 0x34]
test edi, edi
je case.0x409e1e.138
mov ecx, edi
call fcn.00404ad0
jmp 0x40a619
mov eax, dword [esi + 0x10]
mov ecx, dword [edi]
cmp ecx, eax
jne case.0x409e1e.138
mov edx, dword [edi + 0x5c]
mov ecx, esi
push edx
push eax
call fcn.00418340
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov eax, dword [0x4fbc64]
test eax, eax
je case.0x409e1e.138
mov eax, dword [edi + 0x10]
mov ebx, dword [sym.imp.kernel32.dll_lstrlen]
push eax
call ebx
mov edx, dword [edi + 0x10]
mov ecx, dword [esi + 0xc]
mov ebp, eax
mov eax, dword [edi]
add ebp, edx
cmp eax, ecx
jne 0x409dd8
mov ecx, dword [edi + 0x18]
push ecx
mov ecx, esi
call fcn.004124c0
mov ebp, eax
test ebp, ebp
je case.0x409e1e.138
mov ecx, ebp
call fcn.0041dd50
lea edx, [esp + 0x38]
push eax
push edx
call dword [sym.imp.kernel32.dll_lstrcpy]
lea eax, [esp + 0x38]
push eax
call ebx
lea ebx, [esp + eax + 0x38]
mov eax, dword [ebp + 8]
test eax, eax
jne 0x409d02
mov byte [ebx], 0xa
mov ecx, dword [ebp + 0x24]
mov edx, dword [ebp + 0x20]
inc ebx
push 0x14
push ebx
push ecx
push edx
call fcn.00442830
add esp, 0x10
push ebx
call dword [sym.imp.kernel32.dll_lstrlen]
add ebx, eax
mov eax, dword [esi + 0x200]
push 0x28
push ebx
push 0x7b
push eax
call dword [sym.imp.user32.dll_LoadStringA]
mov esi, dword [sym.imp.kernel32.dll_lstrlen]
push ebx
call esi
add ebx, eax
jmp 0x409d08
mov esi, dword [sym.imp.kernel32.dll_lstrlen]
mov eax, dword [ebp + 0x3c]
test eax, eax
jl 0x409d3b
mov byte [ebx], 0xa
mov ecx, dword [ebp + 0x38]
mov edx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x30]
push 0
push 0
push ecx
mov ecx, dword [ebp + 0x2c]
push edx
mov edx, dword [ebp + 0x3c]
push eax
push ecx
inc ebx
push edx
push 0
push ebx
call fcn.00456950
add esp, 0x24
push ebx
call esi
add ebx, eax
mov byte [ebx], 0xa
inc ebx
push 1
push 0x50
lea eax, [ebp + 0x40]
push ebx
push eax
call fcn.004434d0
add esp, 0x10
push ebx
call esi
add ebx, eax
mov eax, dword [ebp + 0x28]
test eax, eax
je 0x409da9
mov eax, dword [eax + 0xc]
test eax, eax
je 0x409da9
cmp byte [eax], 0
je 0x409da9
mov byte [ebx], 0xa
mov eax, dword [ebp + 0x28]
inc ebx
test eax, eax
je 0x409d78
mov eax, dword [eax + 0xc]
jmp 0x409d7a
xor eax, eax
push 0x50
push eax
push ebx
call dword [sym.imp.kernel32.dll_lstrcpyn]
mov ebp, dword [ebp + 0x28]
test ebp, ebp
je 0x409d90
mov ebp, dword [ebp + 0xc]
jmp 0x409d92
xor ebp, ebp
push ebp
call esi
cmp eax, 0x50
jle 0x409da6
push 0x4ee5f4
push ebx
call dword [sym.imp.kernel32.dll_lstrcat]
push ebx
call esi
mov eax, dword [edi + 0x14]
cmp eax, 0x200
jb 0x409db8
mov eax, 0x200
mov edx, dword [edi + 0x10]
dec eax
lea ecx, [esp + 0x38]
push eax
push ecx
push edx
call dword [sym.imp.kernel32.dll_lstrcpyn]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
cmp eax, dword [esi + 0x24]
jne case.0x409e1e.138
mov eax, dword [edi + 0x18]
mov ecx, esi
push eax
call fcn.00418060
mov ecx, dword [eax + 8]
push ebp
push ecx
call dword [sym.imp.user32.dll_OemToCharA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
add eax, 0x96
cmp eax, 0x94
ja case.0x409e1e.138
xor edx, edx
mov dl, byte [eax + 0x40a7c4]
jmp dword [edx*4 + 0x40a790]
mov ecx, esi
call fcn.00413090
mov eax, dword [edi]
pop edi
mov dword [esi + 0x3c], eax
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov ecx, dword [edi]
mov eax, dword [esi + 0x10]
cmp ecx, eax
jne case.0x409e1e.138
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.user32.dll_GetCursorPos]
mov ecx, dword [esi + 0x10]
lea eax, [esp + 0x10]
push eax
push ecx
call dword [sym.imp.user32.dll_ScreenToClient]
mov eax, dword [esi + 0x10]
mov ebx, dword [sym.imp.user32.dll_SendMessageA]
lea edx, [esp + 0x10]
mov dword [esp + 0x18], 6
push edx
push 0
push 0x1111
push eax
call ebx
mov ecx, dword [esi + 0x10]
push 0
push 9
push 0x110a
push ecx
mov edi, eax
call ebx
cmp edi, eax
jne case.0x409e1e.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.00416d20
push 0
mov ecx, esi
call fcn.00418950
push ebp
call ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov edx, dword [edi]
mov eax, dword [esi + 0x14]
cmp edx, eax
jne case.0x409e1e.138
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.user32.dll_GetCursorPos]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov eax, dword [esi + 0x14]
push ecx
push edx
push eax
mov ecx, esi
call fcn.004142f0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov edi, dword [edi]
mov eax, dword [esi + 0xc]
cmp edi, eax
jne 0x409fe3
mov eax, dword [0x4fbcc4]
test eax, eax
je 0x409fc3
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.user32.dll_GetCursorPos]
mov eax, dword [esi + 0xc]
lea edx, [esp + 0x10]
push edx
push eax
call dword [sym.imp.user32.dll_ScreenToClient]
mov edx, dword [esi + 0xc]
lea ecx, [esp + 0x10]
push ecx
push 0
push 0x1039
push edx
call dword [sym.imp.user32.dll_SendMessageA]
test eax, eax
jl 0x409fc3
push 5
mov ecx, esi
call fcn.00416460
cmp dword [esp + 0x20], eax
jne 0x409fc3
mov eax, dword [esi + 0x848]
test eax, eax
jne 0x409fac
mov eax, dword [esi + 0x844]
test eax, eax
je 0x409fac
mov eax, dword [esp + 0x1c]
mov ecx, esi
push eax
call fcn.00412670
mov ecx, esi
call fcn.0040d5b0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
push 0xffffffffffffffff
call dword [sym.imp.user32.dll_MessageBeep]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov eax, dword [esi + 0x7f8]
test eax, eax
je 0x409fac
mov ecx, esi
call fcn.0040b2e0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov ecx, dword [esi + 0x208]
cmp edi, dword [ecx + 0x50]
jne 0x40a004
mov ecx, esi
call fcn.0040b410
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
cmp edi, dword [esi + 0x24]
jne 0x40a038
push 0xffffffffffffffff
mov ecx, esi
call fcn.00418060
test eax, eax
je case.0x409e1e.138
mov ecx, dword [eax + 0xc]
cmp ecx, 1
mov ecx, esi
jne 0x409fcf
call fcn.0040f670
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
cmp edi, dword [esi + 0x1c]
jne 0x40a071
mov eax, dword [esi + 0xd4]
mov ecx, esi
test eax, eax
je 0x40a05d
call fcn.0040e9a0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
call fcn.0040e990
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov eax, dword [esi + 0x10]
cmp edi, eax
jne case.0x409e1e.138
push 0
push 9
push 0x110a
push eax
call dword [sym.imp.user32.dll_SendMessageA]
mov edx, dword [esi + 0x10]
mov edi, eax
push edi
push edx
call fcn.00404b60
add esp, 8
mov ecx, esi
push 1
push edi
call fcn.00416d20
push 0
mov ecx, esi
call fcn.00418950
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jne case.0x409e1e.138
push edi
mov ecx, esi
call fcn.0041a690
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret 8
mov eax, dword [esi + 0xc]
mov ecx, dword [edi]
cmp ecx, eax
jne case.0x409e1e.138
push 0
push eax
mov ecx, esi
call fcn.00418340
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov ecx, dword [edi]
mov eax, dword [esi + 0xc]
cmp ecx, eax
jne case.0x409e1e.138
mov edx, dword [edi + 0x10]
mov ecx, esi
push edx
call fcn.00416430
mov ecx, 5
cmp eax, ecx
ja case.default.0x40a12a
jmp dword [eax*4 + 0x40a85c]
mov eax, dword [0x4fb6f0]
test eax, eax
jne 0x40a14c
mov ecx, dword [0x4fb6f8]
xor eax, eax
test ecx, ecx
sete al
mov dword [0x4fb6f8], eax
mov ecx, esi
mov dword [0x4fb6f0], 0
call fcn.0041b230
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov ecx, dword [0x4fb6f0]
mov eax, 1
cmp ecx, eax
jne 0x40a211
mov edx, dword [0x4fb6f8]
xor ecx, ecx
test edx, edx
sete cl
mov dword [0x4fb6f8], ecx
mov ecx, esi
mov dword [0x4fb6f0], eax
call fcn.0041b230
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov eax, 2
jmp 0x40a1f6
mov ecx, dword [0x4fb6f0]
mov eax, 3
cmp ecx, eax
jne 0x40a1d6
mov edx, dword [0x4fb6f8]
xor ecx, ecx
test edx, edx
sete cl
mov dword [0x4fb6f8], ecx
mov ecx, esi
mov dword [0x4fb6f0], eax
call fcn.0041b230
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov eax, 4
cmp dword [0x4fb6f0], eax
jne 0x40a211
mov ecx, dword [0x4fb6f8]
xor edx, edx
test ecx, ecx
sete dl
mov dword [0x4fb6f8], edx
mov ecx, esi
mov dword [0x4fb6f0], eax
call fcn.0041b230
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
cmp dword [0x4fb6f0], ecx
jne 0x40a246
mov edx, dword [0x4fb6f8]
xor eax, eax
test edx, edx
sete al
mov dword [0x4fb6f8], eax
mov dword [0x4fb6f0], ecx
mov ecx, esi
call fcn.0041b230
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
je 0x40a274
cmp eax, dword [esi + 0x24]
jne case.0x409e1e.138
test byte [edi + 0x1c], 8
je case.0x409e1e.138
mov ecx, dword [edi + 0x18]
mov edx, dword [edi + 0x14]
xor ecx, edx
test cl, 3
je case.0x409e1e.138
mov edx, dword [esi + 8]
push edx
call dword [sym.imp.user32.dll_IsWindowVisible]
test eax, eax
je case.0x409e1e.138
mov dword [esi + 0x420], 1
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jne case.0x409e1e.138
mov ebx, dword [edi + 0x2c]
mov eax, dword [ebx + 8]
cmp eax, 3
je 0x40a337
cmp eax, 2
je 0x40a337
mov eax, dword [ebx + 0x68]
push 0
push eax
call fcn.004c818e
add esp, 8
test eax, eax
je 0x40a302
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x200]
push 0
push 0x45b
push 0x20e
push ecx
push edx
jmp 0x40a32f
mov ebx, dword [ebx + 0x68]
push 4
push ebx
call fcn.004c818e
add esp, 8
test eax, eax
je 0x409b83
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x200]
push 0
push 0x45b
push 0x206
push eax
push ecx
call fcn.00443760
add esp, 0x14
mov eax, dword [0x4fbcc0]
test eax, eax
jne 0x40a35c
mov edx, dword [edi]
push 0xfffffffffffffff0
push edx
call dword [sym.imp.user32.dll_GetWindowLongA]
xor eax, 0x200
push eax
mov eax, dword [edi]
push 0xfffffffffffffff0
push eax
call dword [sym.imp.user32.dll_SetWindowLongA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x228
ret 8
mov eax, dword [0x4fbcc0]
xor ebp, ebp
cmp eax, ebp
jne 0x40a395
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]
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jne 0x40a4ae
mov dword [esi + 0x4c0], ebp
mov eax, dword [edi + 0x10]
cmp eax, 0xffffffff
je case.0x409e1e.138
push eax
mov ecx, esi
call fcn.004124c0
mov ebx, eax
mov eax, dword [edi + 0x20]
cmp eax, ebp
jne 0x40a40d
mov eax, dword [ebx + 0x6c]
push eax
call fcn.004c7e56
add esp, 4
mov ecx, ebx
mov dword [ebx + 0x6c], ebp
mov dword [esp + 0x18], ebp
call fcn.0041dd50
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
push ecx
push edx
push 0x102e
push eax
call dword [sym.imp.user32.dll_SendMessageA]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x228
ret 8
mov ecx, dword [esi + 0xc]
mov edx, dword [esi + 0x200]
push eax
push ecx
push edx
call fcn.00404c60
add esp, 0xc
test eax, eax
jne 0x40a474
mov eax, dword [edi + 0x20]
mov edx, dword [edi + 0x10]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esi + 0xc]
push ecx
push edx
push 0x102e
push eax
mov dword [esp + 0x28], ebp
call dword [sym.imp.user32.dll_SendMessageA]
mov ecx, dword [edi + 0x20]
push ecx
mov ecx, ebx
call fcn.0041dee0
mov edx, dword [esi + 8]
push ebp
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, 0x228
ret 8
mov eax, dword [edi + 0x20]
mov ecx, dword [edi + 0x10]
push eax
push ecx
mov ecx, esi
call fcn.004131a0
test eax, eax
je case.0x409e1e.138
mov edi, dword [edi + 0x10]
mov edx, dword [esi + 0xc]
push edi
push edi
push 0x1015
push edx
call dword [sym.imp.user32.dll_SendMessageA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
cmp eax, dword [esi + 0x24]
jne case.0x409e1e.138
cmp dword [edi + 0x10], 0xffffffff
je case.0x409e1e.138
mov eax, dword [edi + 0x20]
cmp eax, ebp
je case.0x409e1e.138
push eax
mov eax, dword [esi + 0x200]
push ecx
push eax
call fcn.00404c60
add esp, 0xc
test eax, eax
je case.0x409e1e.138
mov ecx, dword [edi + 0x20]
mov edx, dword [edi + 0x10]
push ecx
push edx
mov ecx, esi
call fcn.004180c0
test eax, eax
je case.0x409e1e.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, 0x228
ret 8
mov eax, dword [edi]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jne 0x40a5d9
mov al, byte [edi + 0xc]
mov ebx, dword [edi + 0x2c]
test al, 2
je 0x40a5a5
mov ecx, esi
call fcn.00419cd0
test eax, eax
je 0x40a556
mov ebx, dword [ebx + 0x58]
test ebx, ebx
jge 0x40a551
mov dword [edi + 0x28], 0
jmp 0x40a5a5
mov dword [edi + 0x28], ebx
jmp 0x40a5a5
mov eax, dword [0x4fb83c]
test eax, eax
je 0x40a583
mov eax, dword [0x4fb8c0]
push ebx
test eax, eax
lea ecx, [esi + 0x490]
jne 0x40a579
call fcn.0041ea10
mov dword [edi + 0x28], eax
jmp 0x40a5a5
call fcn.0041e9e0
mov dword [edi + 0x28], eax
jmp 0x40a5a5
mov eax, dword [ebx + 0x3c]
test eax, eax
jl 0x40a58f
add eax, 5
jmp 0x40a592
mov eax, dword [ebx + 8]
mov dword [edi + 0x28], eax
mov eax, dword [ebx + 0x3c]
cmp eax, 0xff
jne 0x40a5a5
mov ecx, dword [ebx + 8]
mov dword [edi + 0x28], ecx
test byte [edi + 0xc], 1
je case.0x409e1e.138
mov edx, dword [edi + 0x24]
mov ecx, dword [edi + 0x20]
mov eax, dword [edi + 0x14]
push edx
push ecx
push eax
mov ecx, esi
call fcn.00416430
mov edx, dword [edi + 0x10]
push eax
push edx
mov ecx, esi
call fcn.00416480
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8
cmp eax, dword [esi + 0x24]
jne case.0x409e1e.138
test byte [edi + 0xc], 1
je case.0x409e1e.138
cmp dword [edi + 0x14], 1
jne case.0x409e1e.138
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax + 8]
xor eax, eax
mov dword [edi + 0x20], ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x228
ret 8
mov edx, dword [edi]
mov eax, dword [esi + 0x24]
cmp edx, eax
jne case.0x409e1e.138
mov edi, dword [edi + 0x28]
test edi, edi
je case.0x409e1e.138
mov ecx, edi
call fcn.00405840
push edi
call fcn.004c7e56
add esp, 4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x228
ret 8