Function at 0x46cf20
Capabilities:
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7931
mov eax, dword fs:[0]
push eax
sub esp, 0x390
mov eax, dword [0x4f1040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2d8], ecx
cmp dword [ebp + 8], 1
jne 0x46d60d
push 1
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.00415db0
push 0
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0040f190
push 0x6c8
call fcn.0040b97b
add esp, 4
mov dword [ebp - 0x31c], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x31c], 0
je 0x46cfc8
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
push eax
mov ecx, dword [ebp - 0x31c]
call fcn.0046af50
mov dword [ebp - 0x320], eax
jmp 0x46cfd2
mov dword [ebp - 0x320], 0
mov ecx, dword [ebp - 0x320]
mov dword [ebp - 0x344], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x344]
mov dword [edx + 0x4c0], eax
push 1
push 0
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4c0]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4c0]
mov eax, dword [edx + 0x28]
call eax
push str.VerticalLayout
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.0040e670
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x324], 0
je 0x46d087
mov ecx, dword [ebp - 0x324]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4c0]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4c0]
mov eax, dword [edx + 0x130]
call eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4bc]
call fcn.0046cbc0
push eax
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4c0]
call fcn.0042a820
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.0046cbe0
push eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4c0]
call fcn.0042a960
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.0046cc00
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4c0]
call fcn.0042aa20
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.0046cc00
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x16c]
call eax
push 0
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x18c]
call eax
push 0
push 1
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x1e0]
call eax
lea ecx, [ebp - 0x148]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.0046cc40
mov dword [ebp - 0x340], eax
mov eax, dword [ebp - 0x340]
mov dword [ebp - 0x33c], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x33c]
call fcn.0041c020
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x130]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.0041b780
mov dword [ebp - 0x2e0], 0
jmp 0x46d236
mov ecx, dword [ebp - 0x2e0]
add ecx, 1
mov dword [ebp - 0x2e0], ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4bc]
add ecx, 0x658
mov edx, dword [eax + 0x658]
mov eax, dword [edx + 0x10]
call eax
cmp dword [ebp - 0x2e0], eax
jge 0x46d2c5
mov ecx, dword [ebp - 0x2e0]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4bc]
add ecx, 0x658
mov edx, dword [eax + 0x658]
mov eax, dword [edx]
call eax
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4c0]
add ecx, 0x658
mov edx, dword [edx + 0x658]
mov eax, dword [edx + 0x14]
call eax
jmp 0x46d227
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
push edx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0040e2d0
cmp dword [ebp - 0x2d8], 0
je 0x46d2fa
mov eax, dword [ebp - 0x2d8]
add eax, 0x14
mov dword [ebp - 0x328], eax
jmp 0x46d304
mov dword [ebp - 0x328], 0
mov ecx, dword [ebp - 0x328]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0040dff0
lea edx, [ebp - 0x1cc]
push edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
call fcn.0046ced0
mov dword [ebp - 0x34c], eax
mov ecx, dword [ebp - 0x34c]
mov dword [ebp - 0x338], ecx
mov dword [ebp - 4], 2
mov ecx, dword [ebp - 0x338]
call fcn.0041c020
push eax
push str.vscrollbar
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4c0]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4c0]
mov eax, dword [edx + 0x128]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1cc]
call fcn.0041b780
lea ecx, [ebp - 0x250]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.0046cd20
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x348]
mov dword [ebp - 0x350], eax
mov dword [ebp - 4], 3
mov ecx, dword [ebp - 0x350]
call fcn.0041c020
push eax
push str.hscrollbar
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x128]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x250]
call fcn.0041b780
lea ecx, [ebp - 0x2d4]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.0046ce90
mov dword [ebp - 0x354], eax
mov eax, dword [ebp - 0x354]
mov dword [ebp - 0x358], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x358]
call fcn.0041c020
push eax
push str.vscrollbarstyle
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x128]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d4]
call fcn.0041b780
lea ecx, [ebp - 0xc4]
push ecx
mov edx, dword [ebp - 0x2d8]
mov ecx, dword [edx + 0x4bc]
call fcn.0046cce0
mov dword [ebp - 0x35c], eax
mov eax, dword [ebp - 0x35c]
mov dword [ebp - 0x330], eax
mov dword [ebp - 4], 5
mov ecx, dword [ebp - 0x330]
call fcn.0041c020
push eax
push str.hscrollbarstyle
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x128]
call eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.0041b780
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c0]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4c0]
mov eax, dword [edx + 0x1e4]
call eax
mov dword [ebp - 0x2e8], eax
cmp dword [ebp - 0x2e8], 0
je 0x46d579
push 0x4cec24
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x24]
call eax
mov ecx, eax
call fcn.0040e670
mov dword [ebp - 0x32c], eax
cmp dword [ebp - 0x32c], 0
je 0x46d579
mov ecx, dword [ebp - 0x32c]
push ecx
mov edx, dword [ebp - 0x2e8]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x2e8]
mov edx, dword [eax + 0x130]
call edx
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4c0]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x4c0]
mov edx, dword [eax + 0x1e8]
call edx
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0
je 0x46d601
push str.HScrollBar
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ecx]
mov ecx, dword [edx + 0x4bc]
mov edx, dword [eax + 0x24]
call edx
mov ecx, eax
call fcn.0040e670
mov dword [ebp - 0x2f8], eax
cmp dword [ebp - 0x2f8], 0
je 0x46d601
mov eax, dword [ebp - 0x2f8]
push eax
mov ecx, dword [ebp - 0x2ec]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2ec]
mov eax, dword [edx + 0x130]
call eax
xor eax, eax
jmp 0x46dc79
cmp dword [ebp + 8], 0x10
jne 0x46d784
push 0
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x2c]
call eax
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x24]
call eax
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x28]
call eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
jne 0x46d6fe
push 0
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4bc]
mov eax, dword [edx + 0x40]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x4c]
call eax
jmp 0x46d75d
push 0
lea ecx, [ebp - 0x40]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4bc]
mov eax, dword [edx + 0x44]
call eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x104]
call eax
jmp 0x46dc28
cmp dword [ebp + 8], 0x201
je 0x46d79a
cmp dword [ebp + 8], 0x203
jne 0x46d833
xor ecx, ecx
mov dword [ebp - 0x318], ecx
mov dword [ebp - 0x314], ecx
lea edx, [ebp - 0x318]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0040f060
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x314]
push ecx
mov edx, dword [ebp - 0x318]
push edx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0040e5b0
mov dword [ebp - 0x2f0], eax
cmp dword [ebp - 0x2f0], 0
je 0x46d82e
push str.ScrollBar
mov eax, dword [ebp - 0x2f0]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x2f0]
mov eax, dword [edx + 0x10]
call eax
push eax
call fcn.004afa0a
add esp, 8
test eax, eax
jne 0x46d82e
mov ecx, dword [ebp - 0x2d8]
mov byte [ecx + 0x4c8], 1
jmp 0x46dc28
cmp dword [ebp + 8], 0x202
jne 0x46d900
mov edx, dword [ebp - 0x2d8]
movzx eax, byte [edx + 0x4c8]
test eax, eax
je 0x46d863
mov ecx, dword [ebp - 0x2d8]
mov byte [ecx + 0x4c8], 0
jmp 0x46d8fb
xor edx, edx
mov dword [ebp - 0x310], edx
mov dword [ebp - 0x30c], edx
lea eax, [ebp - 0x310]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea ecx, [ebp - 0x310]
push ecx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0040f060
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x30c]
push edx
mov eax, dword [ebp - 0x310]
push eax
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0040e5b0
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0x2f4], 0
je 0x46d8fb
push str.ScrollBar
mov ecx, dword [ebp - 0x2f4]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x2f4]
mov eax, dword [edx + 0x10]
call eax
push eax
call fcn.004afa0a
add esp, 8
test eax, eax
je 0x46d8fb
push 0
push 0
push 8
mov ecx, dword [ebp - 0x2d8]
call fcn.00417a80
jmp 0x46dc28
cmp dword [ebp + 8], 0x100
jne 0x46da0e
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2fc], ecx
cmp dword [ebp - 0x2fc], 0xd
je 0x46d97c
cmp dword [ebp - 0x2fc], 0x1b
je 0x46d92a
jmp 0x46d98f
push 1
push 1
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4c4]
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
add ecx, 0x698
mov edx, dword [edx + 0x698]
mov eax, dword [edx + 8]
call eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4c4]
push edx
mov ecx, dword [ebp - 0x2d8]
call fcn.0046c990
push 0
push 0
push 8
mov ecx, dword [ebp - 0x2d8]
call fcn.00417a80
jmp 0x46da09
mov dword [ebp - 0x39c], 3
mov ax, word [ebp + 0xc]
mov word [ebp - 0x388], ax
lea ecx, [ebp - 0x39c]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4bc]
mov eax, dword [edx + 0x120]
call eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
add ecx, 0x698
mov edx, dword [edx + 0x698]
mov eax, dword [edx + 4]
call eax
push eax
mov ecx, dword [ebp - 0x2d8]
call fcn.0046c990
xor eax, eax
jmp 0x46dc79
jmp 0x46dc28
cmp dword [ebp + 8], 0x20a
jne 0x46db8b
mov ecx, dword [ebp + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x334], edx
xor eax, eax
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x378], eax
mov dword [ebp - 0x374], eax
mov dword [ebp - 0x370], eax
mov dword [ebp - 0x36c], eax
mov dword [ebp - 0x368], eax
mov dword [ebp - 0x364], eax
mov dword [ebp - 0x360], eax
mov dword [ebp - 0x37c], 0x13
cmp dword [ebp - 0x334], 0
jge 0x46da81
mov dword [ebp - 0x300], 1
jmp 0x46da8b
mov dword [ebp - 0x300], 0
mov ecx, dword [ebp - 0x300]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x364], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x360], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x374], eax
mov ecx, dword [ebp - 0x2d8]
mov ecx, dword [ecx + 0x4bc]
call fcn.0046e060
movzx edx, al
test edx, edx
je 0x46db2d
lea eax, [ebp - 0x37c]
push eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov edx, dword [edx]
mov ecx, dword [eax + 0x4bc]
mov eax, dword [edx + 0x120]
call eax
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 0x4bc]
mov eax, dword [ebp - 0x2d8]
mov ecx, dword [eax + 0x4bc]
add ecx, 0x698
mov edx, dword [edx + 0x698]
mov eax, dword [edx + 4]
call eax
push eax
mov ecx, dword [ebp - 0x2d8]
call fcn.0046c990
jmp 0x46db7f
lea ecx, [ebp - 0x37c]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4bc]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4bc]
mov eax, dword [edx + 0x120]
call eax
lea ecx, [ebp - 0x37c]
push ecx
mov edx, dword [ebp - 0x2d8]
mov eax, dword [edx + 0x4c0]
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [eax]
mov ecx, dword [ecx + 0x4c0]
mov eax, dword [edx + 0x120]
call eax
xor eax, eax
jmp 0x46dc79
cmp dword [ebp + 8], 8
jne 0x46dc28
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp + 0xc]
je 0x46dc28
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x304], eax
mov dword [ebp - 0x2e4], 0
mov byte [ebp - 0x2d9], 0
mov eax, dword [ebp - 0x304]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0
je 0x46dc08
mov ecx, dword [ebp - 0x2d8]
mov edx, dword [ecx + 4]
cmp edx, dword [ebp - 0x2e4]
jne 0x46dbfa
mov byte [ebp - 0x2d9], 1
jmp 0x46dc08
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x304], eax
jmp 0x46dbc4
movzx ecx, byte [ebp - 0x2d9]
test ecx, ecx
jne 0x46dc28
push 0
push 0
push 0x10
mov ecx, dword [ebp - 0x2d8]
call fcn.00417a80
xor eax, eax
jmp 0x46dc79
mov dword [ebp - 0x308], 0
lea edx, [ebp - 0x308]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x2d8]
add ecx, 0x18
call fcn.0040f700
movzx eax, al
test eax, eax
je 0x46dc62
mov eax, dword [ebp - 0x308]
jmp 0x46dc79
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x2d8]
call fcn.004179b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040b76b
mov esp, ebp
pop ebp
ret 0xc