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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55599c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x5aa464]
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.0x45c57b
lea ecx, [edi + 0x2dc]
mov dword [ebp - 0x1cc], 0
call fcn.00494430
mov esi, dword [ebp - 0x1a8]
test eax, eax
jle 0x45ab20
xor ecx, ecx
nop
push ecx
lea ecx, [edi + 0x2dc]
mov byte [ebp - 0x1c5], 0
call fcn.00454250
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 0x45ab7c
inc dword [ebp - 0x1cc]
lea ecx, [edi + 0x2dc]
call fcn.00494430
mov ecx, dword [ebp - 0x1cc]
cmp ecx, eax
jl 0x45aad0
mov cl, byte [edi + 0x145]
mov edx, dword [ebp + 8]
test cl, cl
je 0x45ac28
mov eax, edx
sub eax, 0x83
je 0x45ac15
sub eax, 2
je 0x45ac15
sub eax, 1
jne 0x45ac28
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x45ac66
cmp dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b0]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x45d088
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x45abc1
cmp eax, 0x200
jae 0x45aba1
cmp eax, 0x7b
je 0x45abc8
mov al, 1
jmp 0x45d088
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 0x45d088
cmp eax, 0x20a
jne 0x45ac0e
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 0x45d088
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 0
jmp 0x45d088
cmp edx, 0x111
ja 0x45c06e
jne 0x45ac69
mov eax, dword [ebp - 0x1a8]
test eax, eax
je case.default.0x45c57b
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 0x45d088
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x45c57b
movzx eax, byte [eax + 0x45d0e0]
jmp dword [eax*4 + 0x45d0a8]
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.0045aa00
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 0x45ad04
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 0x45ad2d
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.0045e420
mov esi, dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x45ad81
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 0x45ad76
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x45ad81
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xa8]
test eax, eax
je case.default.0x45c57b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0xa8], 0
jmp case.default.0x45c57b
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 1
jmp 0x45d088
cmp dword [edi + 0xe0], 0
jne 0x45ae1b
push 0x40
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.004b5140
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.00463230
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x45d088
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 0x45aed9
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 0x45aeaf
push 0x40
lea eax, [ebp - 0x164]
push 0
push eax
call fcn.004b5140
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 0x45d088
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 0x45aeff
push 0
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x45ac0e
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
cmp byte [edi + 0x142], 0
je 0x45af1d
push 1
mov ecx, edi
call fcn.0045e830
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 0x45b125
lea eax, [ebp - 0x114]
mov byte [edi + 0x141], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x45b1ab
mov ecx, dword [edi + 0xe0]
call fcn.00460440
test al, al
je 0x45b028
movups xmm0, xmmword [ebp - 0x114]
mov eax, dword [edi + 0x8c]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x45af82
push eax
call esi
mov eax, dword [edi + 0x90]
test eax, eax
je 0x45af8f
push eax
call esi
mov eax, dword [edi + 0x94]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x45afa2
push eax
call esi
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x45afaf
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 0x45b00a
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 0x45b00e
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 0x45b0c8
lea esi, [edi + 0x324]
mov ecx, esi
mov dword [ebp - 0x1c0], esi
call fcn.004546a0
mov ecx, dword [edi + 0xe0]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x45f5e0
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, esi
call fcn.00494430
test eax, eax
jle 0x45b0c8
xor edi, edi
push edi
mov ecx, esi
call fcn.00454250
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 0x45b091
mov eax, dword [esi + 0x40]
call eax
jmp 0x45b09a
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.00494430
cmp edi, eax
jl 0x45b062
mov edi, dword [ebp - 0x1dc]
cmp byte [edi + 0x140], 0
je 0x45b1ab
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.0045e190
cmp byte [edi + 0x145], 0
je 0x45b1ab
cmp byte [edi + 0x158], 0
je 0x45b1ab
mov ecx, edi
call fcn.0045a7f0
mov byte [edi + 0x2b2], 0
mov al, 1
jmp 0x45d088
cmp byte [edi + 0x145], 0
je 0x45b1ab
cmp byte [edi + 0x158], 0
je 0x45b1ab
movups xmm0, xmmword [ebp - 0x114]
mov eax, dword [edi + 0x98]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x45b16e
sub ecx, dword [ebp - 0x110]
sub edx, dword [ebp - 0x114]
imul ecx, edx
shl ecx, 2
push ecx
push 0
push eax
call fcn.004b5140
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 0x45b23d
cmp dword [edi + 0x94], 0
jne 0x45b23d
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [edi + 0x145], 0
mov dword [edi + 0x8c], eax
je 0x45b211
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.004631b0
add esp, 0x10
jmp 0x45b237
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.004b5140
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 0x45b9f0
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 0x45b307
cmp dword [edi + 0x278], 0
jne 0x45b307
mov eax, dword [ebp - 0x108]
mov esi, eax
sub esi, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jge 0x45b307
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
cmp edx, ecx
jge 0x45b2f9
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 0x45b2d0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x108]
inc esi
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jl 0x45b2c4
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 0x45b593
lea ecx, [edi + 0x2f4]
mov dword [ebp - 0x1b0], 0
call fcn.00494430
test eax, eax
jle 0x45b593
xor ecx, ecx
nop dword [eax]
push ecx
lea ecx, [edi + 0x2f4]
call fcn.00454250
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x45b394
push 1
push dword [ebp - 0x1b0]
lea ecx, [edi + 0x2f4]
call fcn.00454d40
push 1
push dword [ebp - 0x1b0]
lea ecx, [edi + 0x300]
call fcn.00454d40
jmp 0x45b57a
inc dword [ebp - 0x1b0]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x45b57a
push esi
lea eax, [ebp - 0x124]
mov ecx, edi
push eax
call fcn.0045a550
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 0x45b57a
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.004631b0
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.004b5140
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 0x45b525
mov edi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x1ac]
mov eax, esi
xor edx, edx
sub eax, edi
test eax, eax
jle 0x45b506
imul eax, ecx
mov ecx, dword [ebp - 0x1cc]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
test eax, eax
je 0x45b4e9
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 0x45b4c2
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x1b4], edx
jmp 0x45b50c
mov edx, dword [ebp - 0x1b4]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x120]
mov dword [ebp - 0x1ac], ecx
cmp ecx, eax
jl 0x45b4b8
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.00494430
mov ecx, dword [ebp - 0x1b0]
cmp ecx, eax
jl 0x45b350
lea ecx, [edi + 0x2e8]
xor esi, esi
call fcn.00494430
test eax, eax
jle 0x45b5d4
push esi
lea ecx, [edi + 0x2e8]
call fcn.00454250
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.00494430
cmp esi, eax
jl 0x45b5a4
push dword [ebp - 0x1d0]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [edi + 0x145], 0
je 0x45b949
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 0x45b8b5
cmp dword [edi + 0x9c], 0
jne 0x45b6ed
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.004631b0
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.004b5140
add esp, 0x1c
push dword [edi + 0x9c]
push dword [edi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x45b71e
cmp byte [edi + 0x158], 0
je 0x45b76f
mov eax, dword [ebp - 0x1ac]
imul eax, edx
shl eax, 2
push eax
push 0
push dword [edi + 0xa0]
call fcn.004b5140
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.00468490
lea eax, [edi + 0x16c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push edi
push dword [edi + 0x90]
call fcn.00467570
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.00462c60
mov esi, dword [ebp - 0x108]
mov eax, dword [edi + 0x278]
cmp byte [eax + 0x14], 0
je 0x45b8b5
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 0x45b8b5
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 0x45b88f
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 0x45b7c6
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 0x45b7b1
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 [0x5aec20]
jmp 0x45b976
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 0x45ba25
cmp byte [edi + 0x145], 0
jne 0x45ba25
push dword [0x5aec24]
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 0x45ba25
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 0x45ac0e
mov ecx, edi
call fcn.0045a7f0
mov al, 1
jmp 0x45d088
mov ecx, dword [edi + 0xfc]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x45ba74
mov dword [eax + 0x18], ecx
mov ecx, dword [edi + 0x100]
test ecx, ecx
jle 0x45ba81
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x104]
test ecx, ecx
jle 0x45ba8e
mov dword [eax + 0x20], ecx
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle case.default.0x45c57b
mov dword [eax + 0x24], ecx
jmp case.default.0x45c57b
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x45bb35
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.0045aa00
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 0x45bb44
call fcn.00460610
cmp byte [edi + 0x145], 0
je 0x45ac0e
mov ecx, edi
call fcn.0045a7f0
mov al, 1
jmp 0x45d088
cmp byte [edi + 0xdc], 0
je case.default.0x45c57b
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 3
jmp 0x45d088
cmp dword [edi + 0xe0], 0
je case.default.0x45c57b
cmp byte [edi + 0x2b1], 0
jne case.default.0x45c57b
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.0x45c57b
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.0x45c57b
cmp dword [edi + 0xe0], 0
je case.default.0x45c57b
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x45c57b
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.0045aa00
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.0x45c57b
cmp dword [edi + 0xe0], 0
je case.default.0x45c57b
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x45c57b
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.0045aa00
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.0x45c57b
cmp dword [edi + 0xe0], 0
je case.default.0x45c57b
mov eax, dword [edi + 0xf0]
test eax, eax
je case.default.0x45c57b
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.0045aa00
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.0x45c57b
cmp dword [edi + 0xe0], 0
je case.default.0x45c57b
cmp si, 1
jne case.default.0x45c57b
cmp byte [edi + 0x2b1], 0
jne 0x45ac0e
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.00459de0
mov edi, eax
test edi, edi
je case.default.0x45c57b
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x45c57b
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.0045aa00
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 0x45d088
cmp dword [ebp - 0x1ac], 0
je case.default.0x45c57b
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.0x45c57b
cmp dword [edi + 0x84], eax
je 0x45bfce
push eax
mov dword [ebp - 0x1c0], eax
call esi
test eax, eax
jne 0x45bfb4
jmp case.default.0x45c57b
lea ecx, [edi + 0x2f4]
xor esi, esi
call fcn.00494430
test eax, eax
jle case.default.0x45c57b
push esi
lea ecx, [edi + 0x2f4]
call fcn.00454250
cmp eax, dword [ebp - 0x1c0]
je 0x45c00c
lea ecx, [edi + 0x2f4]
inc esi
call fcn.00494430
cmp esi, eax
jl 0x45bfe3
jmp case.default.0x45c57b
lea ecx, [edi + 0x300]
push esi
call fcn.00454250
cmp eax, dword [edi + 0xe4]
je case.default.0x45c57b
push 0
push esi
lea ecx, [edi + 0x300]
call fcn.00454250
push eax
mov ecx, edi
call fcn.0045e420
jmp case.default.0x45c57b
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x45c067
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 0x45d088
cmp edx, 0x200
ja 0x45c55a
je 0x45c21c
mov eax, edx
sub eax, 0x113
je 0x45c0c9
sub eax, 0x20
je 0x45c097
sub eax, 5
jne case.default.0x45c57b
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.default.0x45c57b
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 0x45d088
mov eax, 0x2000
cmp word [ebp - 0x1ac], ax
jne 0x45c11f
test cl, cl
je 0x45c11f
lea eax, [edi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x45c11f
push dword [edi + 0x84]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x45c57b
lea eax, [ebp - 0x1b8]
mov ecx, edi
push eax
push 0
push 0
push 0xf
call fcn.0045aa50
jmp case.default.0x45c57b
lea ecx, [edi + 0x2c4]
mov dword [ebp - 0x1b4], 0
call fcn.00494430
test eax, eax
jle case.default.0x45c57b
xor ecx, ecx
nop
push ecx
lea ecx, [edi + 0x2c4]
call fcn.00454250
mov edx, eax
mov dword [ebp - 0x1b8], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [edi + 0x84]
jne 0x45c173
mov eax, dword [ebp - 0x1ac]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x45c173
cmp byte [edx + 0x10], 0
je 0x45c193
inc dword [ebp - 0x1b4]
lea ecx, [edi + 0x2c4]
call fcn.00494430
mov ecx, dword [ebp - 0x1b4]
cmp ecx, eax
jl 0x45c140
jmp case.default.0x45c57b
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.0045aa00
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.0x45c57b
cmp dword [edi + 0xe0], 0
je case.default.0x45c57b
cmp byte [edi + 0x2b0], 0
jne 0x45c292
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 0x45c26e
mov eax, dword [edi + 0xd8]
jmp 0x45c27e
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 0x45f4d0
mov eax, dword [eax + 0x110]
mov dword [ebp - 0x1b8], esi
call eax
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x45c2fc
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x45c57b
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.0045aa00
mov word [ebp - 0xce], ax
mov al, byte [edi + 0x2b1]
test al, al
jne 0x45c4f8
push dword [ebp - 0x1c0]
mov ecx, edi
push dword [ebp - 0x1b8]
call fcn.00459de0
mov esi, eax
mov dword [ebp - 0x1b4], esi
test esi, esi
je 0x45c3a2
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp eax, edi
jne case.default.0x45c57b
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x45c4c3
test eax, eax
je 0x45c4c3
lea ecx, [edi + 0x330]
mov dword [ebp - 0xe4], 0xa
mov dword [ebp - 0xe0], eax
call fcn.00494430
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00453e90
lea ecx, [edi + 0x330]
mov dword [ebp - 4], 3
call fcn.00494430
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00455250
lea ecx, [edi + 0x330]
call fcn.00494430
shl eax, 2
lea ecx, [edi + 0x330]
push eax
call fcn.00454270
push eax
lea ecx, [ebp - 0x1e8]
call fcn.00454270
push eax
call fcn.004b4bc0
add esp, 0xc
lea ecx, [ebp - 0x1e8]
xor esi, esi
call fcn.00494430
test eax, eax
jle 0x45c46d
nop dword [eax]
push esi
lea ecx, [ebp - 0x1e8]
call fcn.00454250
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.00494430
cmp esi, eax
jl 0x45c440
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 0x45c4ab
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.00454140
mov esi, dword [ebp - 0x1b4]
cmp esi, dword [edi + 0xe8]
je 0x45c4fe
test esi, esi
je 0x45c4fe
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 0x45c4fe
mov esi, dword [ebp - 0x1b4]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x45c52c
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.0x45c57b
test esi, esi
je case.default.0x45c57b
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.0x45c57b
cmp edx, 0x20a
ja 0x45caa1
je 0x45c948
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x45c57b
jmp dword [edx*4 + 0x45d1e0]
cmp byte [edi + 0xdc], 0
jne 0x45c597
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0xe0], 0
je case.default.0x45c57b
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.00459de0
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x45c57b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x45c57b
mov dword [edi + 0xec], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x104]
mov ecx, edi
call fcn.0045e250
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.0x45c57b
cmp byte [edi + 0xdc], 0
jne 0x45c6a8
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.00459de0
mov esi, eax
test esi, esi
je case.default.0x45c57b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x45c57b
mov ecx, edi
call fcn.0045e250
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.0x45c57b
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.0x45c57b
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.0x45c57b
cmp byte [edi + 0xdc], 0
jne 0x45c85e
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.00459de0
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x45c57b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x45c57b
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.0x45c57b
cmp dword [edi + 0xe0], 0
je case.default.0x45c57b
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 0x45f4d0
mov eax, dword [eax + 0x110]
call eax
mov esi, eax
mov dword [ebp - 0x1b8], esi
test esi, esi
je case.default.0x45c57b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x45c57b
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.0045aa00
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.0x45c57b
cmp edx, 0x318
ja 0x45cf43
je 0x45ce51
sub edx, 0x2a1
je 0x45cbe7
sub edx, 2
jne case.default.0x45c57b
cmp dword [edi + 0xe0], edx
je case.default.0x45c57b
mov ecx, dword [edi + 0xa8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x45caf4
lea eax, [edi + 0xac]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0x2b0], 0
je 0x45cbdb
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 0x45cbca
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x84]
jne 0x45cbca
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 0x45cbca
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 0x45cbca
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 0x45cbcc
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi + 0x84]
call esi
mov byte [edi + 0x2b0], 0
jmp case.default.0x45c57b
cmp dword [edi + 0xe0], 0
je case.default.0x45c57b
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.00459de0
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x45c57b
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x45ccca
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.0045aa00
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.00454ba0
test al, al
jne 0x45ce3f
lea eax, [ebp - 0xc4]
push eax
call fcn.0045d410
push 0x2c
lea eax, [edi + 0xac]
push 0
push eax
call fcn.004b5140
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 [0x5aec34]
mov dword [edi + 0xcc], eax
call fcn.00454270
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 0x45cdf1
push 0
push dword [0x5aec34]
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 0x45cdd7
mov ecx, dword [edi + 0xa4]
test ecx, ecx
js 0x45cdd7
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.004540b0
mov al, 1
jmp 0x45d088
cmp dword [edi + 0xe0], 0
je case.default.0x45c57b
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 0x45cf31
push 5
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x45cf31
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 0x45cec6
push dword [ebp - 0x1b8]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x45c57b
cmp edx, 0x8001
jne case.default.0x45c57b
lea eax, [edi + 0x318]
mov byte [edi + 0x2b4], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1c0], eax
call fcn.004548d0
mov esi, eax
mov dword [ebp - 0x1b4], esi
test esi, esi
je 0x45d052
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.00454d40
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x45cfc4
add ecx, 0x38
call fcn.0046d900
test al, al
je 0x45cfc4
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.0046d910
mov ecx, edi
xor esi, esi
call fcn.00494430
test eax, eax
jle 0x45d009
mov edi, dword [ebp - 0x1b4]
nop word [eax + eax]
mov ecx, dword [ebp - 0x1b0]
push esi
call fcn.00454250
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1b0]
inc esi
call fcn.00494430
cmp esi, eax
jl 0x45cfe0
mov edi, dword [ebp - 0x1b0]
mov esi, dword [ebp - 0x1b4]
lea ecx, [esi + 0x84]
call fcn.004540b0
mov ecx, esi
call fcn.004540b0
push 0x120
push esi
call fcn.00509f94
mov ecx, dword [ebp - 0x1c0]
add esp, 8
push 0
call fcn.004548d0
mov esi, eax
mov dword [ebp - 0x1b4], eax
test esi, esi
jne 0x45cf90
mov edi, dword [ebp - 0x1dc]
add edi, 0x30c
xor esi, esi
mov ecx, edi
call fcn.00494430
test eax, eax
jle 0x45d07f
push esi
mov ecx, edi
call fcn.00454250
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, edi
inc esi
call fcn.00494430
cmp esi, eax
jl 0x45d065
mov ecx, edi
call fcn.004546a0
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.00509f60
mov esp, ebp
pop ebp
ret 0x10