Function at 0x458f80
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x553b1c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x5a7464]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1dc], edi
cmp dword [edi + 0x84], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b0], eax
je case.default.0x45aaab
lea ecx, [edi + 0x2dc]
mov dword [ebp - 0x1cc], 0
call fcn.00519280
mov esi, dword [ebp - 0x1a8]
test eax, eax
jle 0x459050
xor ecx, ecx
nop
push ecx
lea ecx, [edi + 0x2dc]
mov byte [ebp - 0x1c5], 0
call fcn.004527a0
lea ecx, [ebp - 0x1c5]
push ecx
push esi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x1ac]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x1c5], 0
jne 0x4590ac
inc dword [ebp - 0x1cc]
lea ecx, [edi + 0x2dc]
call fcn.00519280
mov ecx, dword [ebp - 0x1cc]
cmp ecx, eax
jl 0x459000
mov cl, byte [edi + 0x145]
mov edx, dword [ebp + 8]
test cl, cl
je 0x459158
mov eax, edx
sub eax, 0x83
je 0x459145
sub eax, 2
je 0x459145
sub eax, 1
jne 0x459158
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x459196
cmp dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b0]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x45b5b8
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x4590f1
cmp eax, 0x200
jae 0x4590d1
cmp eax, 0x7b
je 0x4590f8
mov al, 1
jmp 0x45b5b8
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [edi + 0xf8], eax
mov al, 1
mov dword [edi + 0xf4], ecx
jmp 0x45b5b8
cmp eax, 0x20a
jne 0x45913e
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1bc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1bc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1bc]
mov dword [edi + 0xf4], eax
mov eax, dword [ebp - 0x1b8]
mov dword [edi + 0xf8], eax
mov al, 1
jmp 0x45b5b8
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 0
jmp 0x45b5b8
cmp edx, 0x111
ja 0x45a59e
jne 0x459199
mov eax, dword [ebp - 0x1a8]
test eax, eax
je case.default.0x45aaab
push eax
push dword [ebp - 0x1ac]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x45b5b8
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x45aaab
movzx eax, byte [eax + 0x45b610]
jmp dword [eax*4 + 0x45b5d8]
mov eax, dword [edi + 0xf4]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], 0
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xd4], eax
call fcn.00458f30
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
mov dword [ebp - 0xdc], eax
test ecx, ecx
je 0x459234
mov dword [ebp - 0xe4], 0xa
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x45925d
mov dword [ebp - 0xe4], 0xe
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
push 0
mov ecx, edi
call fcn.0045c950
mov esi, dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x4592b1
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 0xfffffffffffffff0
push dword [edi + 0x84]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4592a6
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x4592b1
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xa8]
test eax, eax
je case.default.0x45aaab
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0xa8], 0
jmp case.default.0x45aaab
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 1
jmp 0x45b5b8
cmp dword [edi + 0xe0], 0
jne 0x45934b
push 0x40
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004b3660
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0xfc]
push eax
push dword [edi + 0x88]
call fcn.00461750
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x45b5b8
lea eax, [ebp - 0x114]
xorps xmm0, xmm0
push eax
push dword [edi + 0x84]
movups xmmword [ebp - 0x114], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0x145], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
je 0x459409
movups xmm0, xmmword [edi + 0x15c]
lea esi, [edi + 0x15c]
mov byte [edi + 0x143], 1
push esi
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4593df
push 0x40
lea eax, [ebp - 0x164]
push 0
push eax
call fcn.004b3660
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x164]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x45b5b8
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x10c]
cmp eax, edx
mov ecx, dword [ebp - 0x108]
cmovg eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
cmp eax, ecx
movups xmmword [esi], xmm0
cmovg eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x45942f
push 0
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x45913e
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
cmp byte [edi + 0x142], 0
je 0x45944d
push 1
mov ecx, edi
call fcn.0045cd60
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
cmp byte [edi + 0x141], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
mov byte [edi + 0x2b2], 1
je 0x459655
lea eax, [ebp - 0x114]
mov byte [edi + 0x141], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4596db
mov ecx, dword [edi + 0xe0]
call fcn.0045e970
test al, al
je 0x459558
movups xmm0, xmmword [ebp - 0x114]
mov eax, dword [edi + 0x8c]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x4594b2
push eax
call esi
mov eax, dword [edi + 0x90]
test eax, eax
je 0x4594bf
push eax
call esi
mov eax, dword [edi + 0x94]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4594d2
push eax
call esi
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x4594df
push eax
call esi
cmp byte [edi + 0x145], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x9c], 0
je 0x45953a
mov eax, dword [edi + 0x148]
add dword [ebp - 0x20], eax
mov eax, dword [edi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x150]
sub dword [ebp - 0x18], eax
mov eax, dword [edi + 0x154]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
jmp 0x45953e
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [edi + 0xe0]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x4c]
jmp 0x4595f8
lea esi, [edi + 0x324]
mov ecx, esi
mov dword [ebp - 0x1c0], esi
call fcn.00452bf0
mov ecx, dword [edi + 0xe0]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x45db10
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, esi
call fcn.00519280
test eax, eax
jle 0x4595f8
xor edi, edi
push edi
mov ecx, esi
call fcn.004527a0
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1b0], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
call edx
mov esi, dword [esi]
mov ecx, dword [ebp - 0x1b0]
test al, al
jne 0x4595c1
mov eax, dword [esi + 0x40]
call eax
jmp 0x4595ca
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi + 0x44]
call eax
movups xmm0, xmmword [eax]
push 1
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x1b0]
call dword [esi + 0x4c]
mov esi, dword [ebp - 0x1c0]
inc edi
mov ecx, esi
call fcn.00519280
cmp edi, eax
jl 0x459592
mov edi, dword [ebp - 0x1dc]
cmp byte [edi + 0x140], 0
je 0x4596db
push 1
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0xe0]
mov ecx, edi
mov byte [edi + 0x140], 0
call fcn.0045c6c0
cmp byte [edi + 0x145], 0
je 0x4596db
cmp byte [edi + 0x158], 0
je 0x4596db
mov ecx, edi
call fcn.00458d20
mov byte [edi + 0x2b2], 0
mov al, 1
jmp 0x45b5b8
cmp byte [edi + 0x145], 0
je 0x4596db
cmp byte [edi + 0x158], 0
je 0x4596db
movups xmm0, xmmword [ebp - 0x114]
mov eax, dword [edi + 0x98]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x45969e
sub ecx, dword [ebp - 0x110]
sub edx, dword [ebp - 0x114]
imul ecx, edx
shl ecx, 2
push ecx
push 0
push eax
call fcn.004b3660
add esp, 0xc
mov eax, dword [edi + 0x148]
add dword [ebp - 0x20], eax
mov eax, dword [edi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x150]
sub dword [ebp - 0x18], eax
mov ecx, dword [edi + 0xe0]
mov eax, dword [edi + 0x154]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x4c]
cmp byte [edi + 0x143], 0
je 0x45976d
cmp dword [edi + 0x94], 0
jne 0x45976d
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [edi + 0x145], 0
mov dword [edi + 0x8c], eax
je 0x459741
lea eax, [edi + 0x98]
push eax
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [edi + 0x88]
call fcn.004616d0
add esp, 0x10
jmp 0x459767
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x94], eax
push 0x40
lea eax, [ebp - 0x1a4]
push 0
push eax
call fcn.004b3660
add esp, 0xc
lea eax, [ebp - 0x1a4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [edi + 0x143], 0
je 0x459f20
push dword [edi + 0x94]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x8c]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [edi + 0x145], 0
mov dword [ebp - 0x1d0], eax
je 0x459837
cmp dword [edi + 0x278], 0
jne 0x459837
mov eax, dword [ebp - 0x108]
mov esi, eax
sub esi, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jge 0x459837
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
cmp edx, ecx
jge 0x459829
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp - 0x114]
mov eax, dword [edi + 0x98]
imul ecx, esi
add ecx, edx
inc edx
mov dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x28]
cmp edx, ecx
jl 0x459800
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x108]
inc esi
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jl 0x4597f4
mov ecx, dword [edi + 0xe0]
lea edx, [ebp - 0x30]
push 0
push edx
push dword [edi + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x138]
cmp byte [edi + 0x145], 0
je 0x459ac3
lea ecx, [edi + 0x2f4]
mov dword [ebp - 0x1b0], 0
call fcn.00519280
test eax, eax
jle 0x459ac3
xor ecx, ecx
nop dword [eax]
push ecx
lea ecx, [edi + 0x2f4]
call fcn.004527a0
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4598c4
push 1
push dword [ebp - 0x1b0]
lea ecx, [edi + 0x2f4]
call fcn.00453290
push 1
push dword [ebp - 0x1b0]
lea ecx, [edi + 0x300]
call fcn.00453290
jmp 0x459aaa
inc dword [ebp - 0x1b0]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x459aaa
push esi
lea eax, [ebp - 0x124]
mov ecx, edi
push eax
call fcn.00458a80
lea eax, [ebp - 0x124]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x459aaa
push dword [edi + 0x8c]
mov dword [ebp - 0x1cc], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1a8], eax
push ecx
mov ecx, dword [ebp - 0x118]
sub ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [ebp - 0x124]
push ecx
push eax
call fcn.004616d0
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
sub edx, dword [ebp - 0x124]
sub ecx, dword [ebp - 0x120]
imul edx, ecx
mov dword [ebp - 0x1d8], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1cc]
call fcn.004b3660
add esp, 0x1c
push dword [ebp - 0x1d8]
push dword [ebp - 0x1a8]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1a8]
mov dword [ebp - 0x1c0], eax
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x118]
mov ecx, edx
sub ecx, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1b4], edx
test ecx, ecx
jle 0x459a55
mov edi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x1ac]
mov eax, esi
xor edx, edx
sub eax, edi
test eax, eax
jle 0x459a36
imul eax, ecx
mov ecx, dword [ebp - 0x1cc]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
test eax, eax
je 0x459a19
or eax, 0xff000000
mov dword [ecx], eax
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x1ac]
mov eax, esi
inc edx
sub eax, edi
cmp edx, eax
jl 0x4599f2
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x1b4], edx
jmp 0x459a3c
mov edx, dword [ebp - 0x1b4]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x120]
mov dword [ebp - 0x1ac], ecx
cmp ecx, eax
jl 0x4599e8
mov edi, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x120]
sub edx, ecx
mov eax, dword [ebp - 0x124]
sub esi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1a8]
push edx
push esi
push ecx
push eax
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1c0]
mov esi, dword [ebp - 0x1a8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1d8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [edi + 0x2f4]
call fcn.00519280
mov ecx, dword [ebp - 0x1b0]
cmp ecx, eax
jl 0x459880
lea ecx, [edi + 0x2e8]
xor esi, esi
call fcn.00519280
test eax, eax
jle 0x459b04
push esi
lea ecx, [edi + 0x2e8]
call fcn.004527a0
lea ecx, [ebp - 0x30]
push ecx
push dword [edi + 0x8c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x154]
lea ecx, [edi + 0x2e8]
inc esi
call fcn.00519280
cmp esi, eax
jl 0x459ad4
push dword [ebp - 0x1d0]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [edi + 0x145], 0
je 0x459e79
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [edi + 0x84]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x108]
mov eax, esi
sub eax, dword [ebp - 0x110]
movups xmm0, xmmword [ebp - 0x114]
mov edx, dword [ebp - 0x10c]
sub edx, dword [ebp - 0x114]
mov dword [ebp - 0x1ac], eax
mov eax, dword [edi + 0x148]
add eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x150]
sub dword [ebp - 0x18], eax
mov eax, dword [edi + 0x154]
sub dword [ebp - 0x14], eax
cmp dword [edi + 0x278], 0
mov dword [ebp - 0x1b0], edx
je 0x459de5
cmp dword [edi + 0x9c], 0
jne 0x459c1d
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea esi, [edi + 0xa0]
mov dword [edi + 0x90], eax
push esi
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b0]
push dword [edi + 0x88]
call fcn.004616d0
mov dword [edi + 0x9c], eax
mov eax, dword [ebp - 0x1ac]
imul eax, dword [ebp - 0x1b0]
shl eax, 2
push eax
push 0
push dword [esi]
call fcn.004b3660
add esp, 0x1c
push dword [edi + 0x9c]
push dword [edi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x459c4e
cmp byte [edi + 0x158], 0
je 0x459c9f
mov eax, dword [ebp - 0x1ac]
imul eax, edx
shl eax, 2
push eax
push 0
push dword [edi + 0xa0]
call fcn.004b3660
add esp, 0xc
mov dword [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0xe0]
push eax
sub esp, 0x10
mov eax, esp
push dword [edi + 0x90]
movups xmmword [eax], xmm0
call fcn.004669b0
lea eax, [edi + 0x16c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push edi
push dword [edi + 0x90]
call fcn.00465a90
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.00461180
mov esi, dword [ebp - 0x108]
mov eax, dword [edi + 0x278]
cmp byte [eax + 0x14], 0
je 0x459de5
mov edx, esi
mov eax, esi
sub edx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c0], edx
cmp edx, eax
jge 0x459de5
mov eax, dword [ebp - 0x1b0]
mov esi, edx
mov ecx, dword [ebp - 0x30]
imul esi, eax
mov dword [ebp - 0x1d8], ecx
mov dword [ebp - 0x1b4], esi
cmp ecx, dword [ebp - 0x28]
jge 0x459dbf
lea eax, [ecx + esi]
shl eax, 2
mov dword [ebp - 0x1d0], eax
mov edx, dword [edi + 0x98]
add ecx, esi
add edx, eax
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0x1cc], edx
mov al, byte [eax + ecx*4 + 3]
movzx edi, al
mov eax, dword [edx]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
mul ecx
mov ecx, dword [ebp - 0x1cc]
shr edx, 7
movzx esi, dl
shl esi, 8
mov eax, dword [ecx]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
mul ecx
shr edx, 7
movzx eax, dl
or esi, eax
mov eax, dword [ebp - 0x1cc]
shl esi, 8
movzx ecx, byte [eax]
mov eax, 0x80808081
imul ecx, edi
shl edi, 0x18
mul ecx
mov ecx, dword [ebp - 0x1d8]
shr edx, 7
inc ecx
movzx eax, dl
or esi, eax
mov dword [ebp - 0x1d8], ecx
mov eax, dword [ebp - 0x1cc]
add esi, edi
mov edi, dword [ebp - 0x1dc]
mov dword [eax], esi
mov eax, dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x1b4]
add eax, 4
mov dword [ebp - 0x1d0], eax
cmp ecx, dword [ebp - 0x28]
jl 0x459cf6
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1d8], ecx
add esi, eax
inc edx
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x2c]
cmp edx, eax
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], esi
jl 0x459ce1
mov al, byte [edi + 0x144]
mov byte [ebp - 0x1a6], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1ac]
push 2
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x1a8]
push eax
push 0
lea eax, [ebp - 0x1f0]
mov word [ebp - 0x1a8], 0
push eax
push dword [edi + 0x8c]
lea eax, [ebp - 0x1e4]
mov byte [ebp - 0x1a5], 1
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x1f0], 0
push eax
push dword [edi + 0x88]
mov dword [ebp - 0x1ec], 0
push dword [edi + 0x84]
call dword [0x5abbc0]
jmp 0x459ea6
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
push 0xcc0020
push edx
push ecx
push dword [edi + 0x8c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x28]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1b8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x8c]
call esi
cmp byte [edi + 0xdd], 0
je 0x459f55
cmp byte [edi + 0x145], 0
jne 0x459f55
push dword [0x5abbc4]
push dword [edi + 0x88]
call esi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x459f55
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0xe0]
mov esi, eax
push 0
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ecx]
push dword [edi + 0x88]
call dword [edx + 0x138]
push esi
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x1a4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [edi + 0x141], 0
mov byte [edi + 0x2b2], 0
mov byte [edi + 0x158], 0
je 0x45913e
mov ecx, edi
call fcn.00458d20
mov al, 1
jmp 0x45b5b8
mov ecx, dword [edi + 0xfc]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x459fa4
mov dword [eax + 0x18], ecx
mov ecx, dword [edi + 0x100]
test ecx, ecx
jle 0x459fb1
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x104]
test ecx, ecx
jle 0x459fbe
mov dword [eax + 0x20], ecx
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle case.default.0x45aaab
mov dword [eax + 0x24], ecx
jmp case.default.0x45aaab
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x45a065
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xe4], 0x16
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xd4], eax
call fcn.00458f30
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xe4]
mov word [ebp - 0xce], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je 0x45a074
call fcn.0045eb40
cmp byte [edi + 0x145], 0
je 0x45913e
mov ecx, edi
call fcn.00458d20
mov al, 1
jmp 0x45b5b8
cmp byte [edi + 0xdc], 0
je case.default.0x45aaab
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 3
jmp 0x45b5b8
cmp dword [edi + 0xe0], 0
je case.default.0x45aaab
cmp byte [edi + 0x2b1], 0
jne case.default.0x45aaab
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1bc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1bc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [edi + 0xec]
mov eax, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1b8]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], edx
test ecx, ecx
je case.default.0x45aaab
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xe4], 0x11
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd4], edx
mov word [ebp - 0xce], ax
mov dword [ebp - 0xc8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xec]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov dword [edi + 0xec], 0
jmp case.default.0x45aaab
cmp dword [edi + 0xe0], 0
je case.default.0x45aaab
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x45aaab
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xd0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], 5
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.00458f30
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x45aaab
cmp dword [edi + 0xe0], 0
je case.default.0x45aaab
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x45aaab
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xd0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], 3
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.00458f30
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov eax, dword [edi + 0xe4]
mov dword [edi + 0xf0], eax
jmp case.default.0x45aaab
cmp dword [edi + 0xe0], 0
je case.default.0x45aaab
mov eax, dword [edi + 0xf0]
test eax, eax
je case.default.0x45aaab
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xd0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], 4
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.00458f30
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xf0]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov dword [edi + 0xf0], 0
jmp case.default.0x45aaab
cmp dword [edi + 0xe0], 0
je case.default.0x45aaab
cmp si, 1
jne case.default.0x45aaab
cmp byte [edi + 0x2b1], 0
jne 0x45913e
lea eax, [ebp - 0x1d4]
mov dword [ebp - 0x1d4], 0
push eax
mov dword [ebp - 0x1d0], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1d4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1d0]
mov ecx, edi
push dword [ebp - 0x1d4]
call fcn.00458310
mov edi, eax
test edi, edi
je case.default.0x45aaab
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x45aaab
mov eax, dword [ebp - 0x1ac]
xorps xmm0, xmm0
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x128], 0
movq qword [ebp - 0x130], xmm0
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x144], 0x17
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x134], eax
call fcn.00458f30
mov word [ebp - 0x12e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x144]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x11c]
mov al, 1
jmp 0x45b5b8
cmp dword [ebp - 0x1ac], 0
je case.default.0x45aaab
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
push esi
mov dword [ebp - 0x1c0], esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
test eax, eax
je case.default.0x45aaab
cmp dword [edi + 0x84], eax
je 0x45a4fe
push eax
mov dword [ebp - 0x1c0], eax
call esi
test eax, eax
jne 0x45a4e4
jmp case.default.0x45aaab
lea ecx, [edi + 0x2f4]
xor esi, esi
call fcn.00519280
test eax, eax
jle case.default.0x45aaab
push esi
lea ecx, [edi + 0x2f4]
call fcn.004527a0
cmp eax, dword [ebp - 0x1c0]
je 0x45a53c
lea ecx, [edi + 0x2f4]
inc esi
call fcn.00519280
cmp esi, eax
jl 0x45a513
jmp case.default.0x45aaab
lea ecx, [edi + 0x300]
push esi
call fcn.004527a0
cmp eax, dword [edi + 0xe4]
je case.default.0x45aaab
push 0
push esi
lea ecx, [edi + 0x300]
call fcn.004527a0
push eax
mov ecx, edi
call fcn.0045c950
jmp case.default.0x45aaab
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x45a597
push ecx
push dword [ebp - 0x1ac]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x45b5b8
cmp edx, 0x200
ja 0x45aa8a
je 0x45a74c
mov eax, edx
sub eax, 0x113
je 0x45a5f9
sub eax, 0x20
je 0x45a5c7
sub eax, 5
jne case.default.0x45aaab
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.default.0x45aaab
push ecx
push dword [ebp - 0x1ac]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x45b5b8
mov eax, 0x2000
cmp word [ebp - 0x1ac], ax
jne 0x45a64f
test cl, cl
je 0x45a64f
lea eax, [edi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x45a64f
push dword [edi + 0x84]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x45aaab
lea eax, [ebp - 0x1b8]
mov ecx, edi
push eax
push 0
push 0
push 0xf
call fcn.00458f80
jmp case.default.0x45aaab
lea ecx, [edi + 0x2c4]
mov dword [ebp - 0x1b4], 0
call fcn.00519280
test eax, eax
jle case.default.0x45aaab
xor ecx, ecx
nop
push ecx
lea ecx, [edi + 0x2c4]
call fcn.004527a0
mov edx, eax
mov dword [ebp - 0x1b8], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [edi + 0x84]
jne 0x45a6a3
mov eax, dword [ebp - 0x1ac]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x45a6a3
cmp byte [edx + 0x10], 0
je 0x45a6c3
inc dword [ebp - 0x1b4]
lea ecx, [edi + 0x2c4]
call fcn.00519280
mov ecx, dword [ebp - 0x1b4]
cmp ecx, eax
jl 0x45a670
jmp case.default.0x45aaab
mov eax, dword [edx]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xc8], 0
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xe4], 0x18
mov dword [ebp - 0xe0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xd4], eax
call fcn.00458f30
mov ecx, dword [ebp - 0x1b8]
lea edx, [ebp - 0xe4]
mov word [ebp - 0xce], ax
mov dword [ebp - 0xc8], esi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x45aaab
cmp dword [edi + 0xe0], 0
je case.default.0x45aaab
cmp byte [edi + 0x2b0], 0
jne 0x45a7c2
mov eax, dword [edi + 0x84]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0xa8]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 3
test eax, eax
jne 0x45a79e
mov eax, dword [edi + 0xd8]
jmp 0x45a7ae
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0x2b0], 1
mov eax, dword [ebp - 0x1a8]
lea edx, [ebp - 0x11c]
mov ecx, dword [edi + 0xe0]
movsx esi, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xf8], eax
mov dword [ebp - 0x118], eax
mov dword [edi + 0xf4], esi
mov dword [ebp - 0x11c], esi
mov eax, dword [ecx]
push 0x15
push edx
push 0x45da00
mov eax, dword [eax + 0x110]
mov dword [ebp - 0x1b8], esi
call eax
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x45a82c
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x45aaab
mov eax, dword [ebp - 0x1c0]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], esi
mov esi, dword [ebp - 0x1a8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
call fcn.00458f30
mov word [ebp - 0xce], ax
mov al, byte [edi + 0x2b1]
test al, al
jne 0x45aa28
push dword [ebp - 0x1c0]
mov ecx, edi
push dword [ebp - 0x1b8]
call fcn.00458310
mov esi, eax
mov dword [ebp - 0x1b4], esi
test esi, esi
je 0x45a8d2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp eax, edi
jne case.default.0x45aaab
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x45a9f3
test eax, eax
je 0x45a9f3
lea ecx, [edi + 0x330]
mov dword [ebp - 0xe4], 0xa
mov dword [ebp - 0xe0], eax
call fcn.00519280
push eax
lea ecx, [ebp - 0x1e8]
call fcn.004523e0
lea ecx, [edi + 0x330]
mov dword [ebp - 4], 3
call fcn.00519280
push eax
lea ecx, [ebp - 0x1e8]
call fcn.004537a0
lea ecx, [edi + 0x330]
call fcn.00519280
shl eax, 2
lea ecx, [edi + 0x330]
push eax
call fcn.00452ea0
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00452ea0
push eax
call fcn.004b30e0
add esp, 0xc
lea ecx, [ebp - 0x1e8]
xor esi, esi
call fcn.00519280
test eax, eax
jle 0x45a99d
nop dword [eax]
push esi
lea ecx, [ebp - 0x1e8]
call fcn.004527a0
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x11c]
lea ecx, [ebp - 0x1e8]
inc esi
call fcn.00519280
cmp esi, eax
jl 0x45a970
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xe4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [edi + 0xa8]
mov dword [edi + 0xe8], 0
test ecx, ecx
je 0x45a9db
lea eax, [edi + 0xac]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 4], 0xffffffff
call fcn.00452690
mov esi, dword [ebp - 0x1b4]
cmp esi, dword [edi + 0xe8]
je 0x45aa2e
test esi, esi
je 0x45aa2e
mov dword [ebp - 0xe4], 0xb
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [edi + 0xe8], esi
jmp 0x45aa2e
mov esi, dword [ebp - 0x1b4]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x45aa5c
mov dword [ebp - 0xe4], 9
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
jmp case.default.0x45aaab
test esi, esi
je case.default.0x45aaab
mov dword [ebp - 0xe4], 9
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
jmp case.default.0x45aaab
cmp edx, 0x20a
ja 0x45afd1
je 0x45ae78
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x45aaab
jmp dword [edx*4 + 0x45b710]
cmp byte [edi + 0xdc], 0
jne 0x45aac7
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0xe0], 0
je case.default.0x45aaab
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xf8], eax
call fcn.00458310
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x45aaab
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x45aaab
mov dword [edi + 0xec], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x104]
mov ecx, edi
call fcn.0045c780
mov ecx, dword [ebp - 0x1b8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1ac]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], esi
mov esi, dword [ebp - 0x1a8]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0xd
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1d0]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x45aaab
cmp byte [edi + 0xdc], 0
jne 0x45abd8
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xf8], eax
call fcn.00458310
mov esi, eax
test esi, esi
je case.default.0x45aaab
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x45aaab
mov ecx, edi
call fcn.0045c780
mov eax, dword [ebp - 0x1b8]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0x10
mov dword [ebp - 0xe0], esi
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xe4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [edi + 0xec], esi
jmp case.default.0x45aaab
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cmp dword [edi + 0xec], 0
cwde
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xf4], ecx
mov dword [edi + 0xf8], eax
je case.default.0x45aaab
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [edi + 0xec]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x1a8]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0xc8], 0
mov byte [edi + 0x2b1], 0
mov dword [ebp - 0xe4], 0xe
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xec]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
mov dword [edi + 0xec], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x45aaab
cmp byte [edi + 0xdc], 0
jne 0x45ad8e
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xf8], eax
call fcn.00458310
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x45aaab
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x45aaab
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
mov ecx, dword [ebp - 0x1b8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1ac]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], esi
mov esi, dword [ebp - 0x1a8]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0xf
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x1d0]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x11c]
mov dword [edi + 0xec], esi
jmp case.default.0x45aaab
cmp dword [edi + 0xe0], 0
je case.default.0x45aaab
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1c4], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1c4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x1c4]
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x1c0]
mov dword [edi + 0xf4], ecx
mov dword [ebp - 0x11c], ecx
mov ecx, dword [edi + 0xe0]
mov dword [edi + 0xf8], eax
mov dword [ebp - 0x118], eax
push 0x15
mov eax, dword [ecx]
push edx
push 0x45da00
mov eax, dword [eax + 0x110]
call eax
mov esi, eax
mov dword [ebp - 0x1b8], esi
test esi, esi
je case.default.0x45aaab
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x45aaab
mov eax, dword [ebp - 0x1ac]
xorps xmm0, xmm0
shr eax, 0x10
shr eax, 0xf
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], esi
mov esi, dword [ebp - 0x1a8]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0x12
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.00458f30
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1b8]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
movzx ecx, word [edi + 0xf8]
movzx eax, word [edi + 0xf4]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x45aaab
cmp edx, 0x318
ja 0x45b473
je 0x45b381
sub edx, 0x2a1
je 0x45b117
sub edx, 2
jne case.default.0x45aaab
cmp dword [edi + 0xe0], edx
je case.default.0x45aaab
mov ecx, dword [edi + 0xa8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x45b024
lea eax, [edi + 0xac]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0x2b0], 0
je 0x45b10b
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1bc], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 0
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x45b0fa
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x84]
jne 0x45b0fa
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x40]
push dword [ebp - 0x1bc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x45b0fa
movzx ecx, word [ebp - 0x1b8]
movzx eax, word [ebp - 0x1bc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [edi + 0x84]
call esi
cmp eax, 1
jne 0x45b0fa
lea eax, [ebp - 0x1bc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1b8]
movzx eax, word [ebp - 0x1bc]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x45b0fc
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi + 0x84]
call esi
mov byte [edi + 0x2b0], 0
jmp case.default.0x45aaab
cmp dword [edi + 0xe0], 0
je case.default.0x45aaab
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
push ecx
mov ecx, edi
mov byte [edi + 0x2b0], 0
mov dword [ebp - 0x1c0], eax
call fcn.00458310
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x45aaab
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x45b1fa
mov esi, dword [ebp - 0x1a8]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0xc
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xd4], eax
call fcn.00458f30
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xe4]
mov word [ebp - 0xce], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov esi, dword [ebp - 0x1d0]
mov eax, dword [esi]
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, esi
call dword [eax + 0xac]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 2
call fcn.004530f0
test al, al
jne 0x45b36f
lea eax, [ebp - 0xc4]
push eax
call fcn.0045b940
push 0x2c
lea eax, [edi + 0xac]
push 0
push eax
call fcn.004b3660
mov eax, dword [edi + 0x84]
lea ecx, [ebp - 0xc4]
add esp, 0x10
mov dword [edi + 0xac], 0x2c
mov dword [edi + 0xb0], 1
mov dword [edi + 0xb4], eax
mov dword [edi + 0xb8], eax
mov eax, dword [0x5abbd4]
mov dword [edi + 0xcc], eax
call fcn.00452ea0
mov dword [edi + 0xd0], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
call eax
cmp dword [edi + 0xa8], 0
movups xmm0, xmmword [eax]
movups xmmword [edi + 0xbc], xmm0
jne 0x45b321
push 0
push dword [0x5abbd4]
push 0
push dword [edi + 0x84]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0xa8], eax
test eax, eax
je 0x45b307
mov ecx, dword [edi + 0xa4]
test ecx, ecx
js 0x45b307
push ecx
push 0
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [edi + 0xa4], eax
lea eax, [edi + 0xac]
push eax
push 0
push 0x432
push dword [edi + 0xa8]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xb8]
call eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [edi + 0xa8]
call esi
lea eax, [edi + 0xac]
push eax
push 0
push 0x436
push dword [edi + 0xa8]
call esi
lea eax, [edi + 0xac]
push eax
push 1
push 0x411
push dword [edi + 0xa8]
call esi
lea ecx, [ebp - 0xc4]
call fcn.00452600
mov al, 1
jmp 0x45b5b8
cmp dword [edi + 0xe0], 0
je case.default.0x45aaab
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x1ac]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0xe0]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x138]
test byte [ebp - 0x1a8], 0x10
je 0x45b461
push 5
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x45b461
or dword [ebp - 0x1a8], 2
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [edi + 0x84]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1a8]
push esi
push 0x317
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b4], eax
test eax, eax
jne 0x45b3f6
push dword [ebp - 0x1b8]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x45aaab
cmp edx, 0x8001
jne case.default.0x45aaab
lea eax, [edi + 0x318]
mov byte [edi + 0x2b4], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1c0], eax
call fcn.00452e20
mov esi, eax
mov dword [ebp - 0x1b4], esi
test esi, esi
je 0x45b582
lea eax, [edi + 0x2b8]
mov dword [ebp - 0x1b0], eax
mov edi, eax
nop dword [eax]
mov ecx, dword [ebp - 0x1c0]
push 1
push 0
call fcn.00453290
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x45b4f4
add ecx, 0x38
call fcn.0046be10
test al, al
je 0x45b4f4
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.0046be20
mov ecx, edi
xor esi, esi
call fcn.00519280
test eax, eax
jle 0x45b539
mov edi, dword [ebp - 0x1b4]
nop word [eax + eax]
mov ecx, dword [ebp - 0x1b0]
push esi
call fcn.004527a0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1b0]
inc esi
call fcn.00519280
cmp esi, eax
jl 0x45b510
mov edi, dword [ebp - 0x1b0]
mov esi, dword [ebp - 0x1b4]
lea ecx, [esi + 0x84]
call fcn.00452600
mov ecx, esi
call fcn.00452600
push 0x120
push esi
call fcn.005084c8
mov ecx, dword [ebp - 0x1c0]
add esp, 8
push 0
call fcn.00452e20
mov esi, eax
mov dword [ebp - 0x1b4], eax
test esi, esi
jne 0x45b4c0
mov edi, dword [ebp - 0x1dc]
add edi, 0x30c
xor esi, esi
mov ecx, edi
call fcn.00519280
test eax, eax
jle 0x45b5af
push esi
mov ecx, edi
call fcn.004527a0
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, edi
inc esi
call fcn.00519280
cmp esi, eax
jl 0x45b595
mov ecx, edi
call fcn.00452bf0
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00508494
mov esp, ebp
pop ebp
ret 0x10