Function at 0x40b7c0
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x445d60
mov eax, dword fs:[0]
push eax
sub esp, 0x240
mov eax, dword [0x45b080]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
mov eax, dword [esi]
lea ecx, [ebp - 0x99]
push ecx
mov ecx, dword [ebp + 8]
push edi
push ebx
push ecx
mov ecx, esi
mov dword [ebp - 0xb4], edi
mov byte [ebp - 0x99], 0
call dword [eax + 0x2c]
mov ecx, dword [ebp + 8]
mov edx, eax
mov dword [ebp - 0x98], edx
cmp ecx, 0x200
ja 0x40c2d4
je 0x40c0e3
cmp ecx, 0xf
ja 0x40bc70
je 0x40ba68
mov eax, ecx
dec eax
je 0x40b980
sub eax, 4
jne case.0x40c2ec.526
cmp ebx, 1
je 0x40b938
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
mov ecx, esi
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x28]
mov edx, dword [ebp - 0x2c]
sub edi, dword [ebp - 0x30]
sub edx, dword [ebp - 0x34]
mov ecx, esi
call fcn.0040b680
mov ecx, dword [esi + 0xc4]
sub esp, 8
mov ecx, dword [ecx + 0xc]
push edi
push edx
sub esp, 8
push dword [esi + 0x30]
push eax
call fcn.00424b70
lea eax, [ebp - 0x24]
push eax
mov ecx, esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xc8]
mov edi, dword [ebp - 0x18]
mov eax, dword [eax + 0x68]
sub edi, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x18]
sub edx, dword [ebp - 0x24]
mov eax, dword [ecx]
push edi
push edx
call dword [eax + 0x20]
mov eax, dword [esi + 0xc8]
movq xmm0, qword [ebp - 0x24]
movq qword [eax + 0x30], xmm0
movq xmm0, qword [ebp - 0x1c]
movq qword [eax + 0x38], xmm0
mov eax, dword [esi + 0xc8]
push 0
mov byte [eax + 0x2c], 1
mov eax, dword [esi + 0xc8]
mov ecx, esi
mov byte [eax + 0x40], 1
lea eax, [ebp - 0x24]
push eax
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, esi
call fcn.0040b680
mov byte [ebp - 0x10c], 0
mov dword [ebp - 0x108], 0x1b
mov dword [ebp - method.FooUI::Widgets::Event::FEvent.virtual_0], 0x4518fc
mov dword [ebp - 0x104], eax
push 0
lea eax, [ebp - 0x110]
mov dword [ebp - 4], 5
mov ecx, dword [esi + 0xc8]
push eax
call fcn.004186a0
jmp 0x40ca16
mov byte [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0x1d
mov dword [ebp - 0x44], 0x45191c
mov dword [ebp - 0x38], edi
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.0040ceb0
mov eax, dword [esi + 0xc8]
cmp byte [eax + 0x55], 0
je 0x40b9bb
push ecx
mov ecx, esi
call fcn.0040a200
mov ecx, esi
call fcn.0040b680
mov byte [ebp - 0xf0], 0
mov dword [ebp - 0xec], 0x1a
mov dword [ebp - 0xf4], 0x4518fc
mov dword [ebp - 0xe8], eax
push 0
lea eax, [ebp - 0xf4]
mov byte [ebp - 4], 1
mov ecx, dword [esi + 0xc8]
push eax
call fcn.004186a0
push 0xfffffffffffffff0
mov ecx, esi
mov dword [ebp - 0xf4], vtable.FooUI::Widgets::Event::FEvent.0
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi + 0xc8]
test dword [ecx + 0x4c], 0xc00000
jne 0x40ca16
mov ecx, eax
and ecx, 0xff3fffff
cmp ecx, eax
je 0x40ca16
push ecx
push 0xfffffffffffffff0
mov ecx, esi
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_SetWindowLongW]
push 0x37
push 0
push 0
push 0
push 0
push 0
mov ecx, esi
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x40ca16
cmp byte [ebp - 0x99], 0
jne 0x40ca28
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov eax, dword [eax + 0x68]
test eax, eax
je 0x40baa1
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x34]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0xc8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov eax, dword [eax + 0x68]
test eax, eax
je 0x40bad8
mov eax, dword [eax + 4]
push 0
lea ecx, [ebp - 0x24]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetUpdateRect]
mov eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x1c]
jge 0x40bbd2
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x18]
jge 0x40bbd2
mov ecx, dword [esi + 0xc8]
mov al, byte [ecx + 0x40]
test al, al
je 0x40bbd2
mov ecx, dword [ecx + 0x68]
mov ecx, dword [ecx + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov ecx, dword [esi + 0xc8]
mov eax, dword [ecx + 0x68]
mov eax, dword [eax + 0x18]
mov edi, dword [eax]
call fcn.00418490
movzx eax, al
push eax
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax + 0x68]
mov ecx, dword [ecx + 0x18]
call dword [edi + 4]
mov eax, dword [esi + 0xc8]
lea edx, [ebp - 0x24]
mov eax, dword [eax + 0x68]
push edx
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x3c]
mov eax, dword [esi + 0xc8]
push 2
mov eax, dword [eax + 0x68]
lea edx, [ebp - 0x24]
mov ecx, dword [eax + 0x18]
push edx
mov eax, dword [ecx]
call dword [eax + 0x34]
mov ecx, dword [esi + 0xc8]
movq xmm0, qword [ebp - 0x24]
mov eax, dword [ecx + 0x68]
movq qword [ebp - 0x44], xmm0
movq xmm0, qword [ebp - 0x1c]
add eax, 0x18
mov byte [ebp - 0x50], 0
mov dword [ebp - 0x4c], 4
mov dword [ebp - 0x54], 0x4518ec
mov dword [ebp - 0x48], eax
movq qword [ebp - 0x3c], xmm0
lea eax, [ebp - 0x54]
push eax
mov dword [ebp - 4], 2
call fcn.004184b0
mov eax, dword [esi + 0xc8]
mov ecx, dword [eax + 0x68]
mov ecx, dword [ecx + 0x18]
mov eax, dword [ecx]
call dword [eax + 0x38]
mov eax, dword [esi + 0xc8]
mov dword [ebp - 4], 0xffffffff
mov byte [eax + 0x40], 0
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x40bbe2
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x94]
push ecx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov ecx, dword [esi + 0xc8]
call fcn.00418490
test al, al
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x68]
je 0x40bc20
mov edx, dword [eax + 0x18]
lea eax, [ebp - 0x34]
mov edi, dword [edx]
push eax
mov ecx, esi
call fcn.0040b680
push eax
mov ecx, edx
call dword [edi + 0x48]
jmp 0x40bc32
mov ecx, dword [eax + 0x18]
lea edx, [ebp - 0x34]
mov eax, dword [ecx]
push edx
push dword [ebp - 0x94]
call dword [eax + 0x44]
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x40bc42
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x94]
push ecx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00432b46
mov esp, ebp
pop ebp
ret 0xc
lea eax, [ecx - 0x14]
cmp eax, 0xf1
ja case.0x40c2ec.526
movzx eax, byte [eax + 0x40ca94]
jmp dword [eax*4 + 0x40ca6c]
cmp byte [ebp - 0x99], 0
jne 0x40ca28
jmp 0x40bc50
mov ecx, dword [esi + 0xc8]
cmp byte [ecx + 0x54], 0
je 0x40bc50
call fcn.00418490
test al, al
je 0x40ca16
jmp 0x40bc50
push ecx
mov ecx, esi
test ebx, ebx
je 0x40bce6
push 0x100
push 0x80
call fcn.00409780
push ecx
push 0x4000
push 0x2000
mov ecx, esi
call fcn.00409780
mov dword [0x45ef90], esi
jmp 0x40bd11
push 0x80
push 0x100
call fcn.00409780
push ecx
push 0x2000
push 0x4000
mov ecx, esi
call fcn.00409780
mov dword [0x45ef90], 0
mov ecx, dword [esi + 0xc8]
cmp byte [ecx + 0x54], 0
je 0x40bd2a
call fcn.00418490
test al, al
je 0x40ca16
xor eax, eax
test ebx, ebx
sete al
jmp 0x40bc52
cmp byte [ebp - 0x99], 0
jne 0x40ca28
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [esi + 0xc8]
movsx eax, di
mov dword [ebp - 0xa8], eax
mov eax, edi
shr eax, 0x10
movsx edi, ax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0xa4], edi
mov dword [ebp - 0x28], 0
call fcn.00418c10
test al, al
je 0x40bdb5
mov eax, dword [ebp - 0x28]
jmp 0x40bc52
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
mov dword [ebp - 0x18], edi
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x18]
mov eax, dword [esi]
push dword [ebp - 0x1c]
mov ecx, esi
call dword [eax + 0x10]
test eax, eax
je 0x40be0f
cmp dword [eax + 0x40], 6
jne 0x40be0f
mov eax, dword [esi + 0xc8]
push 0xfffffffffffffff0
mov eax, dword [eax + 0x68]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000
je 0x40be0f
mov eax, 0x11
jmp 0x40bc52
mov eax, dword [esi + 0xc8]
cmp byte [eax + 0x54], 0
jne 0x40ca16
mov eax, 1
jmp 0x40bc52
cmp di, 1
jne case.0x40c2ec.526
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa8]
push eax
mov ecx, esi
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0xa4]
mov eax, dword [esi]
push dword [ebp - 0xa8]
mov ecx, esi
call dword [eax + 0x10]
mov edx, eax
test edx, edx
je 0x40bed5
mov ecx, dword [edx + 0x30]
shr ecx, 4
test cl, 1
je 0x40bed5
push dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
push dword [ebp - 0x2c]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
call fcn.00416840
mov eax, ecx
push eax
mov ecx, edx
mov dword [ebp - 4], 3
call fcn.0040ceb0
cmp byte [ebp - 0x4c], 0
je 0x40ca16
mov eax, 1
jmp 0x40bc52
push dword [ebp - 0x28]
lea ecx, [ebp - 0x50]
push dword [ebp - 0x2c]
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
call fcn.00416840
mov eax, ecx
push eax
mov ecx, esi
mov dword [ebp - 4], 4
call fcn.0040ceb0
cmp byte [ebp - 0x4c], 0
je 0x40ca16
mov eax, 1
jmp 0x40bc52
mov eax, dword [esi + 0x7c]
test eax, eax
jle 0x40bf1e
mov dword [edi + 0x18], eax
mov eax, dword [esi + 0x80]
test eax, eax
jle 0x40bf2b
mov dword [edi + 0x1c], eax
mov eax, dword [esi + 0x84]
test eax, eax
jle 0x40bf38
mov dword [edi + 0x20], eax
mov eax, dword [esi + 0x88]
test eax, eax
jle case.0x40c2ec.526
mov dword [edi + 0x24], eax
jmp case.0x40c2ec.526
push edi
push ebx
push 0x14
lea ecx, [ebp - 0x50]
call fcn.00416750
mov dword [ebp - 4], 0x13
mov ecx, dword [0x45ef94]
test ecx, ecx
je 0x40bf91
call fcn.0040b6a0
mov ecx, esi
mov edx, eax
call fcn.0040b680
cmp edx, eax
jne 0x40bf91
mov ecx, dword [0x45ef94]
lea eax, [ebp - 0x50]
push eax
call fcn.0040ceb0
jmp 0x40ca16
lea eax, [ebp - 0x50]
push eax
mov ecx, esi
call fcn.0040ceb0
jmp 0x40ca16
mov byte [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0x16
mov dword [ebp - 0x24], 0x451904
mov dword [ebp - 0x18], ebx
mov dword [ebp - 4], 0x14
mov ecx, dword [0x45ef94]
test ecx, ecx
je 0x40bfdf
call fcn.0040b6a0
mov ecx, esi
mov edx, eax
call fcn.0040b680
mov ecx, dword [0x45ef94]
cmp edx, eax
je 0x40bfe1
mov ecx, esi
lea eax, [ebp - 0x24]
push eax
call fcn.0040ceb0
cmp byte [ebp - 0x20], 0
jne 0x40c07d
cmp ebx, 0xd
jne 0x40c02b
lea eax, [ebp - 0xa9]
push eax
push 1
push 0x1f
push dword [esi + 0x1c]
mov ecx, esi
push esi
mov byte [ebp - 0xa9], 0
call fcn.0040cc50
cmp byte [ebp - 0xa9], 0
je 0x40ca16
lea eax, [ebx - 0xc]
jmp 0x40bc52
cmp ebx, 9
jne 0x40ca16
mov ecx, dword [0x45ef94]
call fcn.00418f00
mov edi, eax
test edi, edi
je 0x40ca16
lea esp, [esp]
mov ecx, edi
call fcn.00419130
test al, al
jne 0x40c06d
mov ecx, edi
call fcn.00418f00
mov edi, eax
test edi, edi
jne 0x40c050
jmp 0x40ca16
test edi, edi
je 0x40ca16
push ecx
mov ecx, edi
call fcn.0040a440
mov eax, 1
jmp 0x40bc52
push edi
push ebx
push 0x15
lea ecx, [ebp - 0x12c]
call fcn.00416750
mov dword [ebp - 4], 0x15
mov ecx, dword [0x45ef94]
test ecx, ecx
je 0x40c0d0
call fcn.0040b6a0
mov ecx, esi
mov edx, eax
call fcn.0040b680
cmp edx, eax
jne 0x40c0d0
mov ecx, dword [0x45ef94]
lea eax, [ebp - 0x12c]
push eax
call fcn.0040ceb0
jmp 0x40ca16
lea eax, [ebp - 0x12c]
push eax
mov ecx, esi
call fcn.0040ceb0
jmp 0x40ca16
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x68]
cmp byte [eax + 0x14], 0
jne 0x40c11b
mov byte [eax + 0x14], 1
mov eax, dword [eax + 4]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x10
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x38], 0x190
call dword [sym.imp.USER32.dll_TrackMouseEvent]
movsx eax, di
mov dword [ebp - 0xa4], eax
mov eax, edi
shr eax, 0x10
movsx edi, ax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
test ebx, ebx
jne 0x40c286
mov eax, dword [esi]
push edi
push dword [ebp - 0xa4]
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [0x45ef88]
mov edi, eax
cmp edi, ecx
je 0x40c23a
test ecx, ecx
je 0x40c1b5
mov dword [ebp - 0xc0], vtable.FooUI::Widgets::Event::FEvent.0
mov byte [ebp - 0xbc], bl
mov dword [ebp - 0xb8], 0x13
lea eax, [ebp - 0xc0]
push eax
mov dword [ebp - 4], 0xa
call fcn.0040ceb0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x45ef88]
mov dword [ebp - 0xc0], vtable.FooUI::Widgets::Event::FEvent.0
test edi, edi
je 0x40c200
mov dword [ebp - 0xd8], vtable.FooUI::Widgets::Event::FEvent.0
mov byte [ebp - 0xd4], 0
mov dword [ebp - 0xd0], 0x12
lea eax, [ebp - 0xd8]
push eax
mov ecx, edi
mov dword [ebp - 4], 0xb
call fcn.0040ceb0
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [0x45ef88]
mov dword [ebp - 0xd8], vtable.FooUI::Widgets::Event::FEvent.0
mov eax, dword [0x45ef74]
mov edx, dword [eax + 8]
test edx, edx
je 0x40c21c
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xa0]
mov ecx, dword [0x45ef88]
test ecx, ecx
je 0x40c22f
mov ecx, dword [ecx + 0x14]
test ecx, ecx
je 0x40c22f
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov dword [0x45ef88], edi
jmp 0x40ca16
test ecx, ecx
je 0x40ca16
mov eax, dword [ecx + 0x30]
shr eax, 4
test al, 1
je 0x40ca16
push dword [ebp - 0x18]
lea ecx, [ebp - 0x224]
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push dword [ebp - 0xa4]
push 0
push 0x10
call fcn.00416610
mov dword [ebp - 4], 0xc
mov ecx, dword [0x45ef88]
push eax
call fcn.0040ceb0
jmp 0x40ca16
mov eax, dword [0x45ef8c]
test eax, eax
je 0x40ca16
mov eax, dword [eax + 0x30]
shr eax, 4
test al, 1
je 0x40ca16
push dword [ebp - 0x18]
lea ecx, [ebp - 0x248]
push dword [ebp - 0x1c]
push edi
push dword [ebp - 0xa4]
push ebx
push 0x10
call fcn.00416610
mov dword [ebp - 4], 0xd
mov ecx, dword [0x45ef8c]
push eax
call fcn.0040ceb0
jmp 0x40ca16
lea eax, [ecx - 0x201]
cmp eax, 0xa2
ja case.0x40c2ec.526
movzx eax, byte [eax + 0x40cba4]
jmp dword [eax*4 + 0x40cb88]
mov eax, dword [esi + 0x2c]
shr eax, 2
test al, 1
jne 0x40c33e
mov dword [ebp - 0xcc], vtable.FooUI::Widgets::Event::FEvent.0
mov byte [ebp - 0xc8], 0
mov dword [ebp - 0xc4], 0x12
lea eax, [ebp - 0xcc]
push eax
mov ecx, esi
mov dword [ebp - 4], 6
call fcn.0040ceb0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0xcc], vtable.FooUI::Widgets::Event::FEvent.0
mov edx, dword [esi]
mov eax, edi
shr eax, 0x10
cwde
movsx ecx, di
push eax
push ecx
mov ecx, esi
call dword [edx + 0x10]
xor edi, edi
mov dword [ebp - 0xa4], eax
test bl, 1
je 0x40c364
mov edi, 1
jmp 0x40c393
test bl, 0x10
je 0x40c370
mov edi, 0x10
jmp 0x40c393
test bl, 2
je 0x40c37c
mov edi, 2
jmp 0x40c393
test bl, 0x20
je 0x40c388
mov edi, 0x20
jmp 0x40c393
test bl, 0x40
mov eax, 0x40
cmovne edi, eax
mov eax, dword [esi + 0x14]
mov edx, dword [0x45ef74]
test eax, eax
jne 0x40c3a3
mov eax, dword [edx + 8]
mov ecx, dword [ebp - 0xa4]
cmp eax, dword [edx + 8]
je 0x40c3c5
mov ecx, dword [edx + 8]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov edx, dword [0x45ef74]
mov ecx, dword [ebp - 0xa4]
test ecx, ecx
je 0x40c43e
mov eax, dword [ecx + 0x30]
shr eax, 4
test al, 1
je 0x40c43e
mov ecx, dword [ecx + 0x3c]
lea eax, [ecx + 2]
mov dword [ebp - 0x28], eax
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x40c3e0
sub ecx, dword [ebp - 0x28]
sar ecx, 1
je 0x40c43e
test edi, edi
jne 0x40c43e
mov edi, dword [ebp - 0xa4]
mov ecx, dword [edi + 0x14]
mov dword [ebp - 0x28], ecx
test ecx, ecx
jne 0x40c40c
mov ecx, dword [edx + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [edx + 8]
cmp ecx, edx
je 0x40c420
mov eax, dword [edx]
mov ecx, edx
call dword [eax + 0xa0]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ecx]
push edi
push dword [edi + 0x3c]
call dword [eax + 0x9c]
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x68]
mov byte [eax + 0x14], 0
jmp 0x40ca16
mov ecx, dword [edx + 8]
test ecx, ecx
je 0x40c44d
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x68]
mov byte [eax + 0x14], 0
jmp 0x40ca16
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x68]
mov byte [eax + 0x14], 0
mov eax, dword [0x45ef74]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x40c480
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [0x45ef88]
test eax, eax
je 0x40c4e7
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x40c49d
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [0x45ef88]
test eax, eax
je 0x40c4e7
mov dword [ebp - 0xe4], vtable.FooUI::Widgets::Event::FEvent.0
mov byte [ebp - 0xe0], 0
mov dword [ebp - 0xdc], 0x13
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, eax
mov dword [ebp - 4], 7
call fcn.0040ceb0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [0x45ef88]
mov dword [ebp - 0xe4], vtable.FooUI::Widgets::Event::FEvent.0
cmp esi, eax
je 0x40c51b
mov dword [ebp - method.FooUI::Widgets::Event::FEvent.virtual_0], vtable.FooUI::Widgets::Event::FEvent.0
mov byte [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0x13
lea eax, [ebp - 0x100]
push eax
mov ecx, esi
mov dword [ebp - 4], 8
call fcn.0040ceb0
mov dword [0x45ef88], 0
jmp 0x40ca16
movzx eax, bx
mov dword [ebp - 0x28], eax
mov eax, ebx
shr eax, 0x10
cwde
mov dword [ebp - 0xa4], eax
movsx eax, di
mov dword [ebp - 0x1c], eax
mov eax, edi
shr eax, 0x10
cwde
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push eax
mov ecx, esi
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x18]
mov eax, dword [esi]
push dword [ebp - 0x1c]
mov ecx, esi
call dword [eax + 0x14]
mov edi, eax
test edi, edi
je 0x40ca16
mov eax, dword [ebp - 0x28]
xor ecx, ecx
test al, 1
mov edx, 1
cmovne ecx, edx
test al, 2
je 0x40c58a
or ecx, 2
test al, 0x10
je 0x40c591
or ecx, 0x10
test al, 0x20
je 0x40c598
or ecx, 0x20
test al, 0x40
je 0x40c59f
or ecx, 0x40
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0xa4]
push ecx
lea ecx, [ebp - 0x200]
call fcn.004166c0
push eax
mov ecx, edi
mov dword [ebp - 4], 9
call fcn.0040ceb0
jmp 0x40ca16
movsx eax, di
mov dword [ebp - 0xa4], eax
mov eax, edi
shr eax, 0x10
cwde
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp + 8]
xor edi, edi
cmp ecx, 0x203
jne 0x40c609
mov edi, 1
jmp 0x40c645
cmp ecx, 0x209
jne 0x40c618
mov edi, 0x10
jmp 0x40c645
cmp ecx, 0x206
jne 0x40c627
mov edi, 2
jmp 0x40c645
cmp ecx, 0x20d
jne 0x40c645
test bl, 0x20
mov eax, 0x20
cmovne edi, eax
test bl, 0x40
mov eax, 0x40
cmovne edi, eax
push dword [ebp - 0x28]
mov eax, dword [esi]
push dword [ebp - 0xa4]
mov ecx, esi
call dword [eax + 0x10]
mov dword [ebp - 0xa0], eax
test eax, eax
je 0x40c6d7
mov ecx, dword [eax + 0x30]
shr ecx, 4
test cl, 1
je 0x40c6d7
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1e0]
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push dword [ebp - 0xa4]
push edi
push 0xe
call fcn.00416610
mov ecx, dword [ebp - 0xa0]
push eax
mov dword [ebp - 4], 0xe
call fcn.0040ceb0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - method.FooUI::Widgets::Event::FEvent.virtual_0], vtable.FooUI::Widgets::Event::FEvent.0
cmp edi, 1
jne 0x40c6d7
cmp dword [eax + 0x40], edi
jne 0x40c6d7
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
push 2
push 0xa3
mov ecx, esi
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0xa0]
mov dword [0x45ef8c], eax
jmp 0x40ca16
mov eax, dword [0x45ef74]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x40c6f4
push 0
call fcn.0040a240
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x40c703
mov eax, dword [ecx]
call dword [eax + 0xa0]
movsx eax, di
mov dword [ebp - 0xa4], eax
mov eax, edi
shr eax, 0x10
cwde
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp + 8]
xor edi, edi
cmp ecx, 0x201
jne 0x40c741
mov edi, 1
jmp 0x40c77d
cmp ecx, 0x207
jne 0x40c750
mov edi, 0x10
jmp 0x40c77d
cmp ecx, 0x204
jne 0x40c75f
mov edi, 2
jmp 0x40c77d
cmp ecx, 0x20b
jne 0x40c77d
test bl, 0x20
mov eax, 0x20
cmovne edi, eax
test bl, 0x40
mov eax, 0x40
cmovne edi, eax
push dword [ebp - 0x28]
mov eax, dword [esi]
push dword [ebp - 0xa4]
mov ecx, esi
call dword [eax + 0x10]
mov edx, eax
mov dword [ebp - 0xa0], edx
test edx, edx
je 0x40c82f
mov ecx, dword [edx + 0x30]
shr ecx, 4
test cl, 1
je 0x40c82f
cmp esi, edx
je 0x40c7c2
mov eax, dword [edx + 0x2c]
shr eax, 4
test al, 1
jne 0x40c7c2
push ecx
mov ecx, edx
call fcn.0040a440
push dword [ebp - 0x18]
lea ecx, [ebp - 0x198]
push dword [ebp - 0x1c]
push dword [ebp - 0x28]
push dword [ebp - 0xa4]
push edi
push 0xc
call fcn.00416610
mov ecx, dword [ebp - 0xa0]
push eax
mov dword [ebp - 4], 0xf
call fcn.0040ceb0
mov edx, dword [ebp - 0xa0]
mov dword [ebp - method.FooUI::Widgets::Event::FEvent.virtual_0], vtable.FooUI::Widgets::Event::FEvent.0
cmp edi, 1
jne 0x40c82f
cmp dword [edx + 0x40], edi
jne 0x40c82f
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0
push 2
push 0xa1
mov ecx, esi
call fcn.0040b680
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0xa0]
mov dword [0x45ef8c], edx
jmp 0x40ca16
movsx eax, di
mov dword [ebp - 0xa4], eax
mov eax, edi
shr eax, 0x10
cwde
mov dword [ebp - 0xb0], eax
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0xa0], eax
cmp ecx, 0x202
jne 0x40c886
mov dword [ebp - 0xa0], 1
jmp 0x40c8d2
cmp ecx, 0x208
jne 0x40c89a
mov dword [ebp - 0xa0], 0x10
jmp 0x40c8d2
cmp ecx, 0x205
jne 0x40c8ae
mov dword [ebp - 0xa0], 2
jmp 0x40c8d2
cmp ecx, 0x20c
jne 0x40c8d2
test bl, 0x20
mov ecx, 0x20
cmovne eax, ecx
test bl, 0x40
mov ecx, 0x40
cmovne eax, ecx
mov dword [ebp - 0xa0], eax
push dword [ebp - 0xb0]
mov eax, dword [esi]
push dword [ebp - 0xa4]
mov ecx, esi
call dword [eax + 0x10]
mov ecx, dword [0x45ef8c]
mov edx, eax
mov dword [ebp - 0x28], edx
test ecx, ecx
je 0x40c951
mov ecx, dword [ecx + 0x30]
shr ecx, 4
test cl, 1
je 0x40c94b
push dword [ebp - 0x18]
lea ecx, [ebp - 0x150]
push dword [ebp - 0x1c]
push dword [ebp - 0xb0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
push 0xd
call fcn.00416610
mov dword [ebp - 4], 0x10
mov ecx, dword [0x45ef8c]
push eax
call fcn.0040ceb0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x28]
mov dword [ebp - method.FooUI::Widgets::Event::FEvent.virtual_0], vtable.FooUI::Widgets::Event::FEvent.0
mov ecx, dword [0x45ef8c]
test edx, edx
je 0x40c9ed
mov eax, dword [edx + 0x30]
shr eax, 4
test al, 1
je 0x40c9ed
cmp edx, ecx
jne 0x40c9ed
push dword [ebp - 0x18]
lea ecx, [ebp - 0x1bc]
push dword [ebp - 0x1c]
push dword [ebp - 0xb0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
push 0x12
call fcn.00416610
mov dword [ebp - 4], 0x11
mov ecx, dword [ebp - 0x28]
push eax
call fcn.0040ceb0
push dword [ebp - 0x18]
lea ecx, [ebp - 0x174]
push dword [ebp - 0x1c]
mov dword [ebp - method.FooUI::Widgets::Event::FEvent.virtual_0], vtable.FooUI::Widgets::Event::FEvent.0
push dword [ebp - 0xb0]
push dword [ebp - 0xa4]
push dword [ebp - 0xa0]
push 0xf
call fcn.00416610
mov dword [ebp - 4], 0x12
mov ecx, dword [ebp - 0x28]
push eax
call fcn.0040ceb0
mov dword [ebp - method.FooUI::Widgets::Event::FEvent.virtual_0], vtable.FooUI::Widgets::Event::FEvent.0
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x40c9fd
mov eax, dword [eax + 4]
push edi
push 0
push 0x200
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov dword [0x45ef8c], 0
mov edx, dword [ebp - 0x98]
mov ecx, dword [ebp + 8]
cmp byte [ebp - 0x99], 0
je 0x40ca2f
mov eax, edx
jmp 0x40bc52
mov eax, dword [esi + 0xc8]
mov eax, dword [eax + 0x68]
test eax, eax
je 0x40bc50
mov edx, dword [eax + 4]
test edx, edx
je 0x40bc50
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40bc50
push dword [ebp - 0xb4]
push ebx
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_CallWindowProcW]
jmp 0x40bc52