Function at 0x468c20
Capabilities:
Check for time delay via gettickcount
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4d381e
mov eax, dword fs:[0]
push eax
sub esp, 0x108
mov eax, dword [0x4fa36c]
xor eax, esp
mov dword [esp + 0x100], eax
push ebx
push esi
push edi
mov eax, dword [0x4fa36c]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, edx
cmp dword [edi + 0x178], 0
mov dword [esp + 0x14], esi
mov dword [esp + 0x40], ecx
je case.default.0x46a2a8
xor ecx, ecx
mov edx, dword [edi + 0xe4]
test edx, edx
mov dword [esp + 0x1c], ecx
je 0x468cf4
mov eax, dword [edi + 0xe8]
sub eax, edx
sar eax, 2
cmp ecx, eax
jae 0x468cf1
test edx, edx
mov byte [esp + 0x3f], 0
je 0x468cb7
mov eax, dword [edi + 0xe8]
sub eax, edx
sar eax, 2
cmp ecx, eax
jb 0x468cbc
call fcn.004ab591
mov edx, dword [edi + 0xe4]
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + eax*4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x3f]
push eax
mov eax, dword [ebp + 8]
push ebx
push esi
push eax
call edx
cmp byte [esp + 0x3f], 0
jne 0x469e36
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp + 8]
add ecx, 1
jmp 0x468c82
mov eax, dword [ebp + 8]
cmp eax, 0x111
ja 0x469dfa
je 0x469e1b
lea ecx, [eax - 5]
cmp ecx, 0xfd
ja case.default.0x46a2a8
movzx edx, byte [ecx + 0x46ac94]
jmp dword [edx*4 + 0x46ac54]
mov ecx, dword [edi + 0xc8]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x6c], 0
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xa8]
test ecx, ecx
mov dword [esp + 0x78], eax
je 0x468da2
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov ecx, dword [edi + 0xb0]
test ecx, ecx
je 0x468dc4
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x70], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x468de6
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x70], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov eax, dword [edi + 0x178]
push 4
push eax
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x46a2a8
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x46a2a8
mov ecx, dword [esp + 0x40]
mov dword [ecx], 1
mov al, 1
jmp 0x46ac2e
cmp byte [edi + 0x32], 0
je 0x468e80
mov eax, dword [edi + 0x34]
push eax
mov ecx, edi
call fcn.0046adf0
cmp eax, 1
jne 0x468e80
push 0x3c
lea edx, [esp + 0xd4]
push 0
push edx
mov dword [esp + 0xd8], 0
call fcn.004aef60
mov ecx, dword [edi + 0x178]
add esp, 0xc
lea eax, [esp + 0xcc]
push eax
push ecx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [edi + 0x178]
lea edx, [esp + 0xcc]
push edx
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x46ac2e
mov edx, dword [edi + 0x178]
xor esi, esi
push esi
lea ecx, [esp + 0x20]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x469e3c
cmp byte [edi + 0x188], 0
je 0x468f49
mov ecx, dword [edi + 0x178]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov byte [edi + 0x188], 0
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 0x110]
cmp ecx, esi
je 0x468f1b
mov ebx, dword [esp + 0x2c]
mov edx, dword [ecx]
sub esp, 0x10
mov eax, esp
mov dword [eax], ebx
mov ebx, dword [esp + 0x40]
mov dword [eax + 4], ebx
mov ebx, dword [esp + 0x44]
mov dword [eax + 8], ebx
mov ebx, dword [esp + 0x48]
mov dword [eax + 0xc], ebx
mov eax, dword [edx + 0xc0]
call eax
mov eax, dword [edi + 0x180]
cmp eax, esi
je 0x468f2c
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [edi + 0x184]
cmp eax, esi
je 0x468f3d
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [edi + 0x180], esi
mov dword [edi + 0x184], esi
cmp byte [edi + 0x1a4], 0
je 0x468f5b
push 1
mov eax, edi
call fcn.00467850
cmp byte [edi + 0x31], 0
je 0x468f7a
mov ecx, dword [edi + 0x110]
push 0
xor edx, edx
push ecx
lea ecx, [edx + 1]
mov esi, edi
mov byte [edi + 0x31], 0
call fcn.00468670
cmp byte [edi + 0xcc], 0
je 0x469031
mov ecx, dword [edi + 0x110]
push Ordinal_4
mov byte [edi + 0xcc], 0
mov edx, dword [ecx]
mov eax, dword [edx + 0x34]
push 0
push 0x46b500
call eax
mov ebx, eax
test ebx, ebx
je 0x469000
lea ecx, [ecx]
mov esi, dword [ebx]
mov edx, dword [esi + 0xbc]
mov ecx, ebx
call edx
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [esi + 0xc0]
mov dword [ecx + 0xc], eax
mov ecx, ebx
call edx
mov ecx, dword [edi + 0x110]
mov eax, dword [ecx]
mov edx, dword [eax + 0x34]
push Ordinal_4
push 0
push 0x46b500
call edx
mov ebx, eax
test ebx, ebx
jne 0x468fb0
cmp dword [edi + 0xa8], 0
je 0x469031
movzx eax, word [edi + 0xc8]
movzx ecx, word [edi + 0xc4]
mov edx, dword [edi + 0x178]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
cmp dword [edi + 0x184], ebx
jne 0x469123
mov ecx, dword [edi + 0x178]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov dword [esp + 0x34], ebx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [edi + 0x17c]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x38]
sub edx, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0xd8], ecx
mov dword [esp + 0xd0], ecx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0xdc], ecx
mov dword [esp + 0xe0], ecx
mov dword [esp + 0xe4], ecx
mov dword [esp + 0xe8], ecx
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], ecx
mov dword [esp + 0xf4], ecx
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x2c]
push ebx
push ebx
mov dword [esp + 0xd8], ecx
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0xe0], edx
push ebx
lea edx, [esp + 0xdc]
push edx
push eax
mov dword [edi + 0x180], eax
mov dword [esp + 0xe4], 0x28
mov word [esp + 0xf0], 1
mov word [esp + 0xf2], 0x20
mov dword [esp + 0xf4], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [edi + 0x184], eax
push 0x3c
lea eax, [esp + 0x74]
push ebx
push eax
mov dword [esp + 0x78], ebx
call fcn.004aef60
mov edx, dword [edi + 0x178]
add esp, 0xc
lea ecx, [esp + 0x6c]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [edi + 0x184]
mov ecx, dword [edi + 0x180]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push ecx
call esi
mov ecx, dword [edi + 0x110]
cmp ecx, ebx
mov dword [esp + 0x14], eax
je 0x469183
mov edx, dword [ecx]
mov edx, dword [edx + 0xa0]
lea eax, [esp + 0x74]
push eax
mov eax, dword [edi + 0x180]
push eax
call edx
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
mov edx, dword [edi + 0x180]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x90]
sub edx, eax
push edx
mov edx, dword [esp + 0x90]
sub edx, ecx
push edx
push eax
mov eax, dword [esp + 0x88]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x14]
mov edx, dword [edi + 0x180]
push ecx
push edx
call esi
cmp byte [edi + 0x30], 0
je 0x469215
mov eax, dword [edi + 0x2c]
mov ecx, dword [esp + 0x6c]
push eax
push ecx
call esi
push 5
mov ebx, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esp + 0x6c]
push eax
push edx
call esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x74]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Rectangle]
mov edx, dword [esp + 0x6c]
push ebx
push edx
call esi
mov ecx, dword [edi + 0x178]
lea eax, [esp + 0x6c]
push eax
push ecx
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x46ac2e
movsx edx, bx
shr ebx, 0x10
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], edx
mov edx, dword [edi + 0x178]
movsx eax, bx
push ecx
push edx
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [edi + 0x178]
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0x1d9], 0
jne 0x469419
mov edx, dword [edi + 0x178]
push edx
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
jne 0x469419
mov eax, dword [edi + 0x170]
mov esi, dword [edi + 0x164]
mov edx, dword [edi + 0x168]
mov ebx, dword [edi + 0x16c]
mov ecx, dword [edi + 0x174]
mov dword [esp + 0xbc], eax
lea eax, [esp + 0xb0]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb4], edx
mov dword [esp + 0xb8], ebx
call fcn.00474290
test al, al
jne 0x469419
mov eax, dword [esp + 0x30]
add eax, edx
mov edx, dword [esp + 0x20]
cmp edx, eax
mov dword [esp + 0x14], eax
jge 0x469334
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
add esi, edx
add esi, ecx
cmp eax, esi
jge 0x469306
mov eax, dword [esp + 0x40]
mov dword [eax], 0xd
mov al, 1
jmp 0x46ac2e
mov edx, dword [esp + 0x34]
sub edx, ebx
sub edx, ecx
cmp eax, edx
jle 0x469323
mov eax, dword [esp + 0x40]
mov dword [eax], 0xe
mov al, 1
jmp 0x46ac2e
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xc
mov al, 1
jmp 0x46ac2e
mov eax, dword [esp + 0x38]
sub eax, dword [esp + 0xbc]
cmp edx, eax
jle 0x469392
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
add esi, edx
add esi, ecx
cmp eax, esi
jge 0x469364
mov eax, dword [esp + 0x40]
mov dword [eax], 0x10
mov al, 1
jmp 0x46ac2e
mov edx, dword [esp + 0x34]
sub edx, ebx
sub edx, ecx
cmp eax, edx
jle 0x469381
mov eax, dword [esp + 0x40]
mov dword [eax], 0x11
mov al, 1
jmp 0x46ac2e
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xf
mov al, 1
jmp 0x46ac2e
mov ebx, dword [esp + 0x2c]
add esi, ebx
cmp dword [esp + 0x1c], esi
jge 0x4693d0
mov esi, dword [esp + 0x14]
add esi, ecx
cmp edx, esi
jge 0x4693b9
mov edx, dword [esp + 0x40]
mov dword [edx], 0xd
mov al, 1
jmp 0x46ac2e
sub eax, ecx
cmp edx, eax
jg 0x469353
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xa
mov al, 1
jmp 0x46ac2e
mov ebx, dword [esp + 0x34]
sub ebx, dword [esp + 0xb8]
mov esi, dword [esp + 0x1c]
cmp esi, ebx
jle 0x469421
mov esi, dword [esp + 0x14]
add esi, ecx
cmp edx, esi
jge 0x4693fe
mov edx, dword [esp + 0x40]
mov dword [edx], 0xe
mov al, 1
jmp 0x46ac2e
sub eax, ecx
cmp edx, eax
jg 0x469370
mov ecx, dword [esp + 0x40]
mov dword [ecx], 0xb
mov al, 1
jmp 0x46ac2e
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x1c]
cmp byte [edi + 0x1d9], 0
jne case.default.0x46a2a8
mov eax, dword [edi + 0x154]
mov ebx, dword [esp + 0x2c]
mov ecx, dword [edi + 0x15c]
add eax, ebx
cmp esi, eax
jl case.default.0x46a2a8
mov eax, dword [esp + 0x34]
sub eax, ecx
cmp esi, eax
jge case.default.0x46a2a8
cmp edx, dword [edi + 0x158]
jl case.default.0x46a2a8
cmp edx, dword [edi + 0x160]
jge case.default.0x46a2a8
push edx
push esi
mov eax, edi
call fcn.0046b7b0
test eax, eax
je case.default.0x46a2a8
cmp byte [eax + 0x23], 0
je case.default.0x46a2a8
mov edx, dword [esp + 0x40]
mov dword [edx], 2
mov al, 1
jmp 0x46ac2e
mov eax, dword [edi + 0x178]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x469e3c
cmp byte [edi + 0x1b0], al
je 0x469534
mov ecx, dword [edi + 0x1d0]
mov edx, dword [edi + 0x1cc]
mov eax, dword [edi + 0x1c8]
push ecx
mov ecx, dword [edi + 0x1c4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateEllipticRgn]
mov edx, dword [edi + 0x1c0]
mov ecx, dword [edi + 0x1b8]
push edx
mov edx, dword [edi + 0x1b4]
mov ebx, eax
mov eax, dword [edi + 0x1bc]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 2
mov esi, eax
push ebx
push esi
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
call ebx
mov eax, dword [edi + 0x178]
push 1
push esi
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
push esi
call ebx
mov byte [edi + 0x188], 1
mov al, 1
jmp 0x46ac2e
mov edx, dword [edi + 0x178]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
cmp dword [edi + 0x148], 0
je 0x4695b3
cmp dword [edi + 0x150], 0
jne 0x469592
lea eax, [edi + 0x134]
push eax
lea esi, [esp + 0x54]
call fcn.004702d0
mov dword [esp + 0x120], 1
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov ecx, eax
call fcn.004799c0
add esp, 8
mov dword [edi + 0x150], eax
call fcn.0046b6e0
mov eax, dword [edi + 0x150]
test eax, eax
je 0x4695ac
push 1
push eax
mov eax, dword [edi + 0x178]
push eax
call dword [sym.imp.USER32.dll_SetWindowRgn]
mov al, 1
jmp 0x46ac2e
mov eax, dword [edi + 0x12c]
mov ecx, dword [edi + 0x130]
cmp eax, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
mov ebx, eax
jg 0x4695cf
mov ebx, ecx
test ebx, ebx
je 0x4696ab
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ebx
push ebx
add ecx, 1
push ecx
mov ecx, dword [esp + 0x28]
add edx, 1
push edx
push eax
push ecx
mov byte [edi + 0x189], 1
call dword [sym.imp.GDI32.dll_CreateRoundRectRgn]
cmp dword [esp + 0x14], 0
mov esi, eax
jne 0x469644
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xb0], edx
mov edx, dword [esp + 0x28]
sub edx, ebx
mov dword [esp + 0xb4], eax
add edx, 1
lea eax, [esp + 0xb0]
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
push eax
jmp 0x469681
cmp dword [esp + 0x18], 0
jne 0x46969b
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add edx, ebx
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0xb4], edx
lea edx, [esp + 0xb0]
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
push edx
call dword [sym.imp.GDI32.dll_CreateRectRgnIndirect]
push 2
mov ebx, eax
push ebx
push esi
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
push ebx
call dword [sym.imp.GDI32.dll_DeleteObject]
test esi, esi
je 0x4696f2
mov eax, dword [edi + 0x178]
push 1
push esi
push eax
jmp 0x4696e5
cmp byte [edi + 0x189], 0
je 0x4696f2
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
mov byte [edi + 0x189], 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov esi, eax
test esi, esi
je 0x4696f2
mov edx, dword [edi + 0x178]
push 1
push esi
push edx
call dword [sym.imp.USER32.dll_SetWindowRgn]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov byte [edi + 0x188], 1
mov al, 1
jmp 0x46ac2e
cmp byte [edi + 0xa4], 0
jne case.default.0x46a2a8
xor eax, eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov eax, dword [edi + 0x178]
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0xb4], 0x10
mov dword [esp + 0xb8], 0x12
mov dword [esp + 0xbc], eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0xa4], 1
jmp case.default.0x46a2a8
cmp bx, 1
jne case.default.0x46a2a8
cmp byte [edi + 0xc0], 0
jne 0x469e3c
xor eax, eax
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [edi + 0x178]
lea eax, [esp + 0x14]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
push edx
push eax
mov eax, edi
call fcn.0046b7b0
mov edi, eax
test edi, edi
je case.default.0x46a2a8
mov edx, dword [edi]
mov eax, dword [edx + 0x14]
push 1
mov ecx, edi
call eax
test al, al
je case.default.0x46a2a8
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 0x12
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
call fcn.00467800
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x78], eax
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call edx
mov al, bl
jmp 0x46ac2e
mov ecx, dword [edi + 0x178]
xor eax, 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
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x6c]
push eax
push 1
push ecx
mov dword [esp + 0x78], 0x28
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
mov eax, dword [edi + 0x11c]
test eax, eax
jle 0x4698c0
mov dword [ebx + 0x18], eax
mov eax, dword [edi + 0x120]
test eax, eax
jle 0x4698cd
mov dword [ebx + 0x1c], eax
mov eax, dword [edi + 0x124]
test eax, eax
jle 0x4698e3
mov dword [ebx + 0x20], eax
mov edx, dword [edi + 0x124]
mov dword [ebx + 8], edx
mov eax, dword [edi + 0x128]
test eax, eax
jle 0x4698fe
mov dword [ebx + 0x24], eax
mov eax, dword [edi + 0x128]
mov dword [ebx + 0xc], eax
jmp case.default.0x46a2a8
mov ecx, dword [ebx + 0x14]
lea eax, [ecx + ecx]
cdq
mov esi, eax
xor esi, edx
sub esi, edx
cmp byte [edi + 0x1d9], 0
je 0x469934
mov eax, dword [esp + 0x74]
mov edx, dword [esp + 0x7c]
sub edx, eax
add esi, edx
mov edx, dword [esp + 0x70]
add dword [ebx + 0x10], edx
add eax, ecx
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x14], eax
jmp case.default.0x46a2a8
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x8c]
sub edx, eax
add esi, edx
mov edx, dword [esp + 0x80]
add dword [ebx + 0x10], edx
add eax, ecx
mov dword [ebx + 0x24], esi
mov dword [ebx + 0x14], eax
jmp case.default.0x46a2a8
movsx eax, bx
shr ebx, 0x10
lea edx, [esp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x178]
movsx ecx, bx
push edx
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0xb4], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi + 0xc4], ecx
mov dword [edi + 0xc8], edx
je case.default.0x46a2a8
push edi
call fcn.0046add0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xb4]
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], si
mov dword [esp + 0x8c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xb4]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov dword [edi + 0xb4], 0
jmp case.default.0x46a2a8
cmp dword [edi + 0xbc], 0
je case.default.0x46a2a8
mov ecx, dword [edi + 0xc4]
mov edx, dword [edi + 0xc8]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 3
mov word [esp + 0x84], si
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
call fcn.00467800
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [edi + 0xbc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov eax, dword [edi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, edi
call edx
jmp case.default.0x46a2a8
cmp dword [edi + 0xbc], 0
je case.default.0x46a2a8
mov ecx, dword [edi + 0xc8]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xc4]
mov dword [esp + 0x6c], 1
mov word [esp + 0x84], si
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], ecx
call fcn.00467800
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xbc]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov eax, dword [edi + 0xbc]
mov dword [edi + 0xb8], eax
jmp case.default.0x46a2a8
cmp dword [edi + 0xb8], 0
je case.default.0x46a2a8
mov ecx, dword [edi + 0xc4]
mov edx, dword [edi + 0xc8]
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 2
mov word [esp + 0x84], si
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
call fcn.00467800
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xb8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov dword [edi + 0xb8], 0
jmp case.default.0x46a2a8
test esi, esi
je case.default.0x46a2a8
mov edx, esi
mov eax, edi
call fcn.0046b780
mov ebx, eax
xor eax, eax
cmp ebx, eax
je 0x469d6e
mov edx, dword [ebx]
mov edx, dword [edx + 0x50]
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
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
mov dword [edi + 0xbc], ebx
xor esi, esi
mov ecx, dword [edi + 0xa8]
cmp ecx, esi
je case.default.0x46a2a8
mov eax, dword [ecx]
mov edx, dword [eax + 0xcc]
call edx
test al, al
je case.default.0x46a2a8
cmp byte [edi + 0x1e8], 0
je case.default.0x46a2a8
mov ecx, dword [edi + 0xa8]
xor eax, eax
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], eax
mov dword [esp + 0xdc], eax
mov dword [esp + 0xe0], eax
mov dword [esp + 0xe4], eax
mov dword [esp + 0xe8], eax
mov dword [esp + 0xec], eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0xcc], 7
mov dword [esp + 0xd0], esi
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0xcc]
push edx
call eax
mov eax, dword [edi + 0x74]
cmp eax, esi
mov dword [edi + 0xa8], esi
je 0x469d62
lea ecx, [edi + 0x78]
push ecx
push esi
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x74], esi
mov byte [edi + 0xa5], 0
jmp case.default.0x46a2a8
mov eax, dword [edi + 0x178]
push esi
push eax
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
je 0x469caa
xor esi, esi
cmp dword [edi + 0xbc], esi
je 0x469cac
xor eax, 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
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 0x10
mov dword [esp + 0x70], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xbc]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov dword [edi + 0xbc], esi
jmp 0x469cac
cmp eax, 0x200
ja 0x46a288
je 0x469f9f
sub eax, 0x113
je 0x469e43
sub eax, 0x20
jne case.default.0x46a2a8
test ebx, ebx
je case.default.0x46a2a8
mov edx, dword [ebp + 8]
push ebx
push esi
add edx, 0x2000
push edx
push ebx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x40]
mov dword [ecx], eax
mov al, 1
jmp 0x46ac2e
push esi
lea edx, [edi + 4]
push edx
call fcn.00472e40
push esi
lea eax, [edi + 0x18]
call fcn.0049b460
xor edx, edx
mov dword [esp + 0x40], edx
lea esp, [esp]
mov ecx, dword [edi + 0xf4]
test ecx, ecx
je 0x469f28
mov eax, dword [edi + 0xf8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x469f28
test ecx, ecx
je 0x469e94
mov eax, dword [edi + 0xf8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jb 0x469e99
call fcn.004ab591
mov eax, dword [edi + 0xf4]
mov ecx, dword [esp + 0x40]
mov ebx, dword [eax + ecx*4]
mov edx, dword [ebx + 8]
cmp edx, dword [edi + 0x178]
jne 0x469f1a
movzx eax, si
cmp dword [ebx + 0xc], eax
jne 0x469f1a
mov ecx, dword [ebx + 4]
xor eax, eax
mov dword [esp + 0x88], 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
mov dword [esp + 0x84], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x6c], 0x13
mov dword [esp + 0x88], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebx]
mov dword [esp + 0x78], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
add dword [esp + 0x40], 1
mov edx, dword [esp + 0x40]
jmp 0x469e60
cmp si, 0x103
jne case.default.0x46a2a8
mov eax, dword [edi + 0x178]
push 0x103
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [edi + 0x1e4]
test eax, eax
je case.default.0x46a2a8
cmp byte [eax + 0xd], 0
sete cl
mov byte [eax + 0xd], cl
cmp byte [edi + 0x32], 0
je 0x469f70
mov edx, dword [edi + 0x34]
push edx
mov ecx, edi
call fcn.0046adf0
jmp 0x469f81
mov eax, dword [edi + 0x178]
push 0
push 0
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [edi + 0x178]
push 0
push 0x1f4
push 0x103
push ecx
call dword [sym.imp.USER32.dll_SetTimer]
jmp case.default.0x46a2a8
mov ecx, dword [edi + 0x110]
movsx esi, bx
shr ebx, 0x10
movsx eax, bx
mov dword [edi + 0xc8], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], eax
push 0xd
lea eax, [esp + 0x20]
mov dword [edi + 0xc4], esi
mov dword [esp + 0x20], esi
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push eax
push 0x46b710
mov dword [esp + 0x20], esi
call edx
mov ebx, eax
test ebx, ebx
je 0x469ff7
mov eax, dword [ebx]
mov edx, dword [eax + 0x124]
mov ecx, ebx
call edx
cmp eax, edi
jne case.default.0x46a2a8
xor eax, eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xa8]
cmp ebx, ecx
mov dword [esp + 0x78], eax
je 0x46a099
xor esi, esi
cmp ecx, esi
je 0x46a099
mov dword [esp + 0x6c], 7
mov dword [esp + 0x70], ebx
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov eax, dword [edi + 0x74]
cmp eax, esi
mov dword [edi + 0xa8], esi
je 0x46a092
lea ecx, [edi + 0x78]
push ecx
push esi
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0x74], esi
mov byte [edi + 0xa5], 0
mov ecx, dword [edi + 0xa8]
cmp ebx, ecx
jne 0x46a0bb
test ecx, ecx
je 0x46a0b7
cmp byte [ecx + 0x458], 0
je 0x46a0b7
mov byte [edi + 0xa5], 0
cmp ebx, ecx
je 0x46a0ff
test ebx, ebx
je 0x46a0ff
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x46a0cf
cmp byte [eax + 0x22], 0
jne 0x46a0ff
mov eax, dword [edi + 0xb4]
test eax, eax
je 0x46a0df
cmp byte [eax + 0x22], 0
jne 0x46a0ff
mov dword [esp + 0x70], ecx
mov dword [esp + 0x6c], 8
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
mov dword [edi + 0xa8], ebx
mov ecx, dword [edi + 0xb0]
test ecx, ecx
jne 0x46a12f
cmp dword [edi + 0xb4], ecx
jne 0x46a12f
test ebx, ebx
je 0x46a172
mov dword [esp + 0x70], ecx
lea ecx, [esp + 0x6c]
mov dword [esp + 0x6c], 6
mov eax, dword [ebx]
mov edx, dword [eax + 0x38]
push ecx
mov ecx, ebx
jmp 0x46a170
test ecx, ecx
mov esi, 6
je 0x46a150
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov ecx, dword [edi + 0xb4]
test ecx, ecx
je 0x46a172
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
cmp byte [edi + 0xa5], 0
jne case.default.0x46a2a8
xor eax, eax
test ebx, ebx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], 2
je 0x46a267
mov eax, dword [ebx + 0x410]
mov ecx, dword [ebx + 0x414]
mov edx, dword [ebx + 0x418]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0x41c]
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
call fcn.00474290
test al, al
jne 0x46a24e
mov edx, dword [ebx]
mov eax, dword [edx + 0xbc]
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov dword [esp + 0xb0], ecx
mov edx, dword [eax + 4]
add ecx, dword [esp + 0x40]
mov dword [esp + 0xb4], edx
mov esi, dword [eax + 8]
add edx, dword [esp + 0x44]
mov dword [esp + 0xb8], esi
mov eax, dword [eax + 0xc]
sub eax, dword [esp + 0x4c]
sub esi, dword [esp + 0x48]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0xb4], edx
mov edx, dword [esp + 0x14]
push ecx
mov dword [esp + 0xc0], eax
push edx
lea eax, [esp + 0xb8]
push eax
mov dword [esp + 0xc4], esi
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x46a267
mov eax, dword [ebx + 0x454]
test eax, eax
je 0x46a267
or dword [esp + 0x30], 1
mov dword [edi + 0xac], ebx
mov dword [esp + 0x38], eax
mov ecx, dword [edi + 0x178]
lea edx, [esp + 0x2c]
push edx
mov dword [esp + 0x38], ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0xa5], 1
jmp case.default.0x46a2a8
cmp eax, 0x20a
ja 0x46a7ed
je 0x46a6c1
lea ecx, [eax - 0x201]
cmp ecx, 3
ja case.default.0x46a2a8
jmp dword [ecx*4 + 0x46ad94]
mov eax, dword [edi + 0x178]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, ebx
shr edx, 0x10
cmp dword [ebp + 8], 0xa1
movsx ecx, bx
movsx eax, dx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
jne 0x46a2f2
mov ecx, dword [edi + 0x178]
lea eax, [esp + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
push eax
mov dword [edi + 0xc8], eax
push ecx
mov eax, edi
mov dword [edi + 0xc4], ecx
call fcn.0046b7b0
test eax, eax
mov dword [esp + 0x40], eax
je case.default.0x46a2a8
mov ecx, eax
mov edx, dword [ecx]
mov eax, dword [edx + 0x124]
call eax
cmp eax, edi
jne case.default.0x46a2a8
mov ecx, dword [esp + 0x40]
mov dword [edi + 0xb0], ecx
mov edx, dword [ecx]
mov eax, dword [edx + 0x188]
call eax
cmp dword [ebp + 8], 0x201
jne 0x46a34f
mov esi, edi
call fcn.0046adb0
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x6c], 0xb
mov dword [esp + 0x70], ecx
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], eax
mov word [esp + 0x86], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
cmp dword [edi + 0x74], 0
je case.default.0x46a2a8
mov eax, dword [edi + 0x70]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp case.default.0x46a2a8
mov ecx, dword [edi + 0x178]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
movsx eax, bx
shr ebx, 0x10
movsx ecx, bx
push ecx
mov dword [esp + 0x20], eax
mov dword [edi + 0xc4], eax
push eax
mov eax, edi
mov dword [esp + 0x28], ecx
mov dword [edi + 0xc8], ecx
call fcn.0046b7b0
mov ebx, eax
test ebx, ebx
je case.default.0x46a2a8
mov edx, dword [ebx]
mov eax, dword [edx + 0x124]
mov ecx, ebx
call eax
cmp eax, edi
jne case.default.0x46a2a8
mov esi, edi
call fcn.0046adb0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov ax, word [esp + 0x14]
mov dword [esp + 0x6c], 0xe
mov dword [esp + 0x70], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x78], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
mov ecx, ebx
call edx
mov dword [edi + 0xb0], ebx
jmp case.default.0x46a2a8
movsx ecx, bx
mov edx, ebx
shr edx, 0x10
cmp eax, 0xa2
mov dword [esp + 0x14], ecx
movsx ecx, dx
mov dword [esp + 0x18], ecx
jne 0x46a4fa
mov eax, dword [edi + 0x178]
lea edx, [esp + 0x14]
push edx
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [edi + 0xb0], 0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [edi + 0xc4], ecx
mov dword [edi + 0xc8], edx
je case.default.0x46a2a8
cmp byte [edi + 0x28], 0
jne 0x46a527
push edi
call fcn.0046add0
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
mov eax, dword [edi + 0xb0]
mov dword [esp + 0x6c], 0xc
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], esi
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xb0]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
lea edx, [esp + 0x6c]
push edx
call eax
mov dword [edi + 0xb0], 0
jmp case.default.0x46a2a8
mov ecx, dword [edi + 0x178]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, ebx
shr edx, 0x10
movsx ecx, dx
movsx eax, bx
push ecx
mov dword [esp + 0x44], eax
mov dword [edi + 0xc4], eax
push eax
mov eax, edi
mov dword [esp + 0x4c], ecx
mov dword [edi + 0xc8], ecx
call fcn.0046b7b0
test eax, eax
mov dword [esp + 0x1c], eax
je case.default.0x46a2a8
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x124]
call eax
cmp eax, edi
jne case.default.0x46a2a8
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x188]
call eax
mov esi, edi
call fcn.0046adb0
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov esi, dword [esp + 0x1c]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xd
mov dword [esp + 0x70], esi
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], ebx
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x78], eax
mov eax, dword [esi]
mov edx, dword [eax + 0x38]
lea ecx, [esp + 0x6c]
push ecx
mov ecx, esi
call edx
mov dword [edi + 0xb4], esi
jmp case.default.0x46a2a8
movsx eax, bx
mov ecx, ebx
shr ecx, 0x10
mov dword [esp + 0x1c], eax
movsx edx, cx
mov ecx, dword [edi + 0x178]
lea eax, [esp + 0x1c]
push eax
push ecx
mov dword [esp + 0x28], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov dword [edi + 0xc4], eax
mov dword [edi + 0xc8], ecx
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov ecx, dword [edi + 0x110]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push 0xd
lea eax, [esp + 0x44]
push eax
push 0x46b710
call edx
test eax, eax
mov dword [esp + 0x14], eax
je case.default.0x46a2a8
mov ecx, eax
mov eax, dword [ecx]
mov edx, dword [eax + 0x124]
call edx
cmp eax, edi
jne case.default.0x46a2a8
xor eax, eax
xor ecx, ecx
shr esi, 0x10
test si, si
setl cl
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x90], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], 0xa
mov dword [esp + 0x70], eax
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], ebx
call fcn.00467800
mov word [esp + 0x86], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
movzx eax, word [edi + 0xc8]
movzx ecx, word [edi + 0xc4]
mov edx, dword [edi + 0x178]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x46a2a8
cmp eax, 0x2a3
ja 0x46ab7b
je 0x46aaea
sub eax, 0x2a1
je 0x46a837
sub eax, 1
jne case.default.0x46a2a8
cmp byte [edi + 0xa4], al
je 0x46a82b
push 0xffffffffffffffff
push eax
mov eax, dword [edi + 0x178]
push 0xa0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [edi + 0xa4], 0
jmp case.default.0x46a2a8
movsx esi, bx
shr ebx, 0x10
movsx eax, bx
push eax
mov dword [esp + 0x1c], eax
push esi
mov eax, edi
call fcn.0046b7b0
mov ebx, eax
test ebx, ebx
je case.default.0x46a2a8
mov ecx, dword [ebx + 0x410]
mov eax, dword [ebx + 0x418]
mov edx, dword [ebx + 0x414]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebx + 0x41c]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], edx
mov dword [esp + 0x38], ecx
call fcn.00474290
test al, al
jne 0x46a8e8
mov edx, dword [ebx]
mov eax, dword [edx + 0xbc]
mov ecx, ebx
call eax
mov ecx, dword [eax]
mov dword [esp + 0x1c], ecx
mov edx, dword [eax + 4]
add ecx, dword [esp + 0x2c]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 0xc]
sub edx, dword [esp + 0x34]
sub eax, dword [esp + 0x38]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 0x18]
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x34]
add dword [esp + 0x24], ecx
push esi
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je case.default.0x46a2a8
cmp ebx, dword [edi + 0xac]
jne case.default.0x46a2a8
cmp dword [edi + 0xa8], 0
je 0x46a969
mov ecx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ecx
mov dword [esp + 0x6c], 9
mov dword [esp + 0x70], ebx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xa8]
mov dword [esp + 0x78], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x38]
lea eax, [esp + 0x6c]
push eax
call edx
mov eax, dword [ebx]
mov edx, dword [eax + 0x148]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, ebx
call edx
mov dword [esp + 0x120], 2
cmp dword [esp + 0xc4], 0
je 0x46aad7
cmp byte [ebx + 0x3a4], 0
jne 0x46aad7
push 0x2c
lea esi, [edi + 0x78]
push 0
push esi
call fcn.004aef60
mov eax, dword [edi + 0x178]
add esp, 0xc
mov dword [esi], 0x2c
mov dword [edi + 0x7c], 1
mov dword [edi + 0x80], eax
mov dword [edi + 0x84], eax
call fcn.0046f940
cmp dword [esp + 0xc8], 8
mov eax, dword [eax + 0x38]
mov dword [edi + 0x98], eax
mov eax, dword [esp + 0xb4]
jae 0x46a9f8
lea eax, [esp + 0xb4]
mov dword [edi + 0x9c], eax
mov edx, dword [ebx]
mov eax, dword [edx + 0xbc]
mov ecx, ebx
call eax
cmp dword [edi + 0x70], 0
mov ecx, dword [eax]
mov dword [edi + 0x88], ecx
mov edx, dword [eax + 4]
mov dword [edi + 0x8c], edx
mov ecx, dword [eax + 8]
mov dword [edi + 0x90], ecx
mov edx, dword [eax + 0xc]
mov dword [edi + 0x94], edx
jne 0x46aaaf
call fcn.0046f940
mov eax, dword [eax + 0x38]
push 0
push eax
mov eax, dword [edi + 0x178]
push 0
push eax
push Ordinal_4
push Ordinal_4
push Ordinal_4
push Ordinal_4
push Ordinal_4
push 0
push 0x4ded9c
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push esi
push 0
push 0x432
push eax
mov dword [edi + 0x70], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx]
mov eax, dword [edx + 0x158]
mov ecx, ebx
call eax
test eax, eax
jbe 0x46aaaf
mov edx, dword [ebx]
mov eax, dword [edx + 0x158]
mov ecx, ebx
call eax
mov ecx, dword [edi + 0x70]
push eax
push 0
push 0x418
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [edi + 0x70]
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push 0
push 0x436
push edx
call ebx
mov eax, dword [edi + 0x70]
push esi
push 1
push 0x411
push eax
call ebx
mov ecx, dword [edi + 0x70]
mov dword [edi + 0x74], ecx
lea esi, [esp + 0xb0]
call fcn.0046b6e0
mov al, 1
jmp 0x46ac2e
mov edx, dword [edi + 0x178]
push edx
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je case.default.0x46a2a8
mov eax, dword [edi + 0x74]
test eax, eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x46ab21
lea ecx, [edi + 0x78]
push ecx
push 0
push 0x411
push eax
call esi
mov dword [edi + 0x74], 0
cmp byte [edi + 0xa5], 0
je 0x46ab3c
mov edx, dword [edi + 0x178]
push 0xffffffffffffffff
push 0
push 0x200
push edx
call esi
cmp dword [edi + 0xb0], 0
je 0x46ab57
mov eax, dword [edi + 0x178]
push 0xffffffffffffffff
push 0
push 0x202
push eax
call esi
cmp dword [edi + 0xb4], 0
je 0x46ab6f
mov ecx, dword [edi + 0x178]
push 0xffffffffffffffff
push 0
push 0x7b
push ecx
call esi
mov byte [edi + 0xa5], 0
jmp case.default.0x46a2a8
cmp eax, 0x8001
jne case.default.0x46a2a8
lea eax, [edi + 0x1ac]
test eax, eax
mov dword [esp + 0x14], eax
je 0x46aba1
mov eax, dword [eax]
test eax, eax
je 0x46aba1
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor esi, esi
mov dword [esp + 0x120], esi
add edi, 0x100
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x46abef
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x46abef
test ecx, ecx
je 0x46abd3
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x46abd8
call fcn.004ab591
mov edx, dword [edi + 4]
mov ecx, dword [edx + esi*4]
test ecx, ecx
je 0x46abea
mov eax, dword [ecx]
mov edx, dword [eax]
push 1
call edx
add esi, 1
jmp 0x46abb0
mov ebx, dword [edi + 8]
cmp ecx, ebx
jbe 0x46abfb
call fcn.004ab591
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x46ac08
call fcn.004ab591
push ebx
push edi
push esi
push edi
lea eax, [esp + 0x2c]
push eax
push edi
call fcn.0048d9d0
mov eax, dword [esp + 0x14]
test eax, eax
je case.default.0x46a2a8
mov eax, dword [eax]
test eax, eax
je case.default.0x46a2a8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x100]
xor ecx, esp
call fcn.004a9ce9
mov esp, ebp
pop ebp
ret 0xc