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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c0e77
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x4f4320]
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 - 0x1e8], edi
cmp dword [edi + 0x84], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1bc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c4], eax
je case.default.0x471b9b
lea ecx, [edi + 0x360]
mov dword [ebp - 0x1d0], 0
call fcn.00475e40
mov esi, dword [ebp - 0x1bc]
test eax, eax
jle 0x46fff0
xor ecx, ecx
mov edi, edi
push ecx
lea ecx, [edi + 0x360]
mov byte [ebp - 0x1d9], 0
call fcn.0046b700
lea ecx, [ebp - 0x1d9]
push ecx
push esi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x1b8]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x1d9], 0
jne 0x47004a
inc dword [ebp - 0x1d0]
lea ecx, [edi + 0x360]
call fcn.00475e40
mov ecx, dword [ebp - 0x1d0]
cmp ecx, eax
jl 0x46ffa0
mov cl, byte [edi + 0x145]
mov edx, dword [ebp + 8]
test cl, cl
je 0x4700f6
mov eax, edx
sub eax, 0x83
je 0x4700e3
sub eax, 2
je 0x4700e3
dec eax
jne 0x4700f6
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x470134
cmp dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1c4]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x472697
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x47008f
cmp eax, 0x200
jae 0x47006f
cmp eax, 0x7b
je 0x470096
mov al, 1
jmp 0x472697
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [edi + 0xf8], eax
mov al, 1
mov dword [edi + 0xf4], ecx
jmp 0x472697
cmp eax, 0x20a
jne 0x4700dc
mov ecx, dword [ebp - 0x1bc]
movsx eax, cx
mov dword [ebp - 0x1cc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1cc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1cc]
mov dword [edi + 0xf4], eax
mov eax, dword [ebp - 0x1c8]
mov dword [edi + 0xf8], eax
mov al, 1
jmp 0x472697
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 0
jmp 0x472697
cmp edx, 0x111
ja 0x47168b
jne 0x470137
mov eax, dword [ebp - 0x1bc]
test eax, eax
je case.default.0x471b9b
push eax
push dword [ebp - 0x1b8]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov al, 1
jmp 0x472697
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x471b9b
movzx eax, byte [eax + 0x4726ec]
jmp dword [eax*4 + 0x4726b4]
mov eax, dword [edi + 0xf4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xf4], 0
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xe4], eax
call fcn.0046fed0
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
mov dword [ebp - 0xec], eax
test ecx, ecx
je 0x4701d3
mov dword [ebp - 0xf4], 0xa
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xf0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x4701fc
mov dword [ebp - 0xf4], 0xe
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xf0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
push 1
push 0
mov ecx, edi
call fcn.00473c80
mov esi, dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x470250
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 0x470245
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x470250
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xa8]
test eax, eax
je case.default.0x471b9b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0xa8], 0
jmp case.default.0x471b9b
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 1
jmp 0x472697
cmp dword [edi + 0xe0], 0
jne 0x4702f4
push 0x3c
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x10c]
push eax
push dword [edi + 0x88]
call fcn.00498540
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x472697
lea eax, [ebp - 0x124]
xorps xmm0, xmm0
push eax
push dword [edi + 0x84]
movdqu xmmword [ebp - 0x124], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0x145], 0
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x30], xmm0
je 0x4703c7
movdqu xmm0, xmmword [edi + 0x15c]
lea eax, [edi + 0x15c]
mov byte [edi + 0x143], 1
push eax
movdqu xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x470396
push 0x3c
lea eax, [ebp - 0x170]
mov dword [ebp - 0x174], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x174]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x174]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x472697
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
cmp eax, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x118]
cmovg eax, dword [ebp - 0x11c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
cmp eax, esi
movdqu xmmword [edi + 0x15c], xmm0
cmovg eax, esi
mov dword [ebp - 0x24], eax
jmp 0x4703e7
push 0
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4700dc
mov esi, dword [ebp - 0x118]
cmp byte [edi + 0x142], 0
je 0x4703ff
push 1
mov ecx, edi
call fcn.00474210
mov esi, dword [ebp - 0x118]
push 1
mov ecx, edi
call fcn.004743a0
cmp byte [edi + 0x141], 0
je 0x470617
lea eax, [ebp - 0x124]
mov byte [edi + 0x141], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4706a7
mov ecx, dword [edi + 0xe0]
call fcn.00477710
test al, al
je 0x470512
movdqu xmm0, xmmword [ebp - 0x124]
mov eax, dword [edi + 0x8c]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
movdqu xmmword [ebp - 0x40], xmm0
movdqu xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x470469
push eax
call esi
mov eax, dword [edi + 0x90]
test eax, eax
je 0x470476
push eax
call esi
mov eax, dword [edi + 0x94]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x470489
push eax
call esi
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x470496
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 0x4704f2
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
movdqu xmm0, xmmword [ebp - 0x20]
jmp 0x4704f7
movdqu xmm0, xmmword [ebp - 0x40]
mov ecx, dword [edi + 0xe0]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movdqu xmmword [eax], xmm0
call dword [edx + 0x4c]
jmp 0x4705b8
lea esi, [edi + 0x3a8]
mov ecx, esi
mov dword [ebp - 0x1d4], esi
call fcn.0046bad0
mov ecx, dword [edi + 0xe0]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x475540
mov eax, dword [ecx]
call dword [eax + 0x114]
mov ecx, esi
call fcn.00475e40
test eax, eax
jle 0x4705b8
xor edi, edi
lea esp, [esp]
push edi
mov ecx, esi
call fcn.0046b700
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1c4], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x10c]
call edx
mov esi, dword [esi]
mov ecx, dword [ebp - 0x1c4]
test al, al
jne 0x47057f
mov eax, dword [esi + 0x40]
call eax
jmp 0x470588
lea eax, [ebp - 0x50]
push eax
mov eax, dword [esi + 0x44]
call eax
movdqu xmm0, xmmword [eax]
push 1
sub esp, 0x10
mov ecx, esp
movdqu xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x1c4]
call dword [esi + 0x4c]
mov esi, dword [ebp - 0x1d4]
inc edi
mov ecx, esi
call fcn.00475e40
cmp edi, eax
jl 0x470550
mov edi, dword [ebp - 0x1e8]
cmp byte [edi + 0x140], 0
je 0x4706a7
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.004737f0
cmp byte [edi + 0x145], 0
je 0x4706a7
cmp byte [edi + 0x158], 0
je 0x4706a7
mov ecx, edi
call fcn.0046fa70
push 0
mov ecx, edi
call fcn.004743a0
mov al, 1
jmp 0x472697
cmp byte [edi + 0x145], 0
je 0x4706a7
cmp byte [edi + 0x158], 0
je 0x4706a7
movdqu xmm0, xmmword [ebp - 0x124]
mov ecx, dword [edi + 0x98]
movdqu xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x470668
mov eax, dword [ebp - 0x11c]
sub esi, dword [ebp - 0x120]
sub eax, dword [ebp - 0x124]
imul esi, eax
shl esi, 2
push esi
push 0
push ecx
call sub.MSVCR120.dll_memset
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
movdqu xmm0, xmmword [ebp - 0x20]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
movdqu xmmword [eax], xmm0
call dword [edx + 0x4c]
cmp byte [edi + 0x143], 0
je 0x470735
cmp dword [edi + 0x94], 0
jne 0x470735
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [edi + 0x145], 0
mov dword [edi + 0x8c], eax
je 0x470709
lea eax, [edi + 0x98]
push eax
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x124]
push eax
push dword [edi + 0x88]
call fcn.004984c0
add esp, 0x10
jmp 0x47072f
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x124]
push eax
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x94], eax
push 0x3c
lea eax, [ebp - 0x1b0]
mov dword [ebp - 0x1b4], 0
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
lea eax, [ebp - 0x1b4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [edi + 0x143], 0
je 0x471000
push dword [edi + 0x94]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x8c]
mov dword [ebp - 0x1c8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [edi + 0x145], 0
mov dword [ebp - 0x1ec], eax
je 0x470807
cmp dword [edi + 0x2fc], 0
jne 0x470807
mov eax, dword [ebp - 0x118]
mov esi, eax
sub esi, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jge 0x470807
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
cmp edx, ecx
jge 0x4707f9
lea ebx, [ebx]
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [ebp - 0x124]
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 0x4707d0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x118]
inc esi
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jl 0x4707c6
mov ecx, dword [edi + 0xe0]
lea edx, [ebp - 0x30]
push 0
push edx
push dword [edi + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x13c]
cmp byte [edi + 0x145], 0
je 0x470aa1
lea ecx, [edi + 0x378]
mov dword [ebp - 0x1c4], 0
call fcn.00475e40
test eax, eax
jle 0x470aa1
xor ecx, ecx
lea ecx, [ecx]
push ecx
lea ecx, [edi + 0x378]
call fcn.0046b700
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x470894
push 1
push dword [ebp - 0x1c4]
lea ecx, [edi + 0x378]
call fcn.0046c0f0
push 1
push dword [ebp - 0x1c4]
lea ecx, [edi + 0x384]
call fcn.0046c0f0
jmp 0x470a88
inc dword [ebp - 0x1c4]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x470a88
push esi
lea eax, [ebp - 0x134]
mov ecx, edi
push eax
call fcn.0046f340
lea eax, [ebp - 0x134]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
movdqu xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x470a88
push dword [edi + 0x8c]
mov dword [ebp - 0x1d0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1d0]
mov dword [ebp - 0x1bc], eax
push ecx
mov ecx, dword [ebp - 0x128]
sub ecx, dword [ebp - 0x130]
push ecx
mov ecx, dword [ebp - 0x12c]
sub ecx, dword [ebp - 0x134]
push ecx
push eax
call fcn.004984c0
mov edx, dword [ebp - 0x12c]
mov ecx, dword [ebp - 0x128]
sub edx, dword [ebp - 0x134]
sub ecx, dword [ebp - 0x130]
imul edx, ecx
mov dword [ebp - 0x1e0], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1d0]
call sub.MSVCR120.dll_memset
add esp, 0x1c
push dword [ebp - 0x1e0]
push dword [ebp - 0x1bc]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1bc]
mov dword [ebp - 0x1d4], eax
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x128]
mov ecx, edx
sub ecx, dword [ebp - 0x130]
mov esi, dword [ebp - 0x12c]
mov dword [ebp - 0x1b8], 0
mov dword [ebp - 0x1c0], edx
test ecx, ecx
jle 0x470a33
mov edi, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x1b8]
lea esp, [esp]
mov eax, esi
xor edx, edx
sub eax, edi
test eax, eax
jle 0x470a14
lea ebx, [ebx]
imul eax, ecx
mov ecx, dword [ebp - 0x1d0]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
test eax, eax
je 0x4709f7
or eax, 0xff000000
mov dword [ecx], eax
mov esi, dword [ebp - 0x12c]
mov edi, dword [ebp - 0x134]
mov ecx, dword [ebp - 0x1b8]
mov eax, esi
inc edx
sub eax, edi
cmp edx, eax
jl 0x4709d0
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x1c0], edx
jmp 0x470a1a
mov edx, dword [ebp - 0x1c0]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x130]
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jl 0x4709c0
mov edi, dword [ebp - 0x1e8]
mov ecx, dword [ebp - 0x130]
sub edx, ecx
mov eax, dword [ebp - 0x134]
sub esi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1bc]
push edx
push esi
push ecx
push eax
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1d4]
mov esi, dword [ebp - 0x1bc]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1e0]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [edi + 0x378]
call fcn.00475e40
mov ecx, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x470850
lea ecx, [edi + 0x36c]
xor esi, esi
call fcn.00475e40
test eax, eax
jle 0x470ae2
push esi
lea ecx, [edi + 0x36c]
call fcn.0046b700
lea ecx, [ebp - 0x30]
push ecx
push dword [edi + 0x8c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x15c]
lea ecx, [edi + 0x36c]
inc esi
call fcn.00475e40
cmp esi, eax
jl 0x470ab2
push dword [ebp - 0x1ec]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [edi + 0x145], 0
je 0x470f59
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [edi + 0x84]
movdqu xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x118]
mov eax, esi
sub eax, dword [ebp - 0x120]
movdqu xmm0, xmmword [ebp - 0x124]
mov edx, dword [ebp - 0x11c]
sub edx, dword [ebp - 0x124]
mov dword [ebp - 0x1bc], eax
mov eax, dword [edi + 0x148]
add eax, dword [ebp - 0x124]
movdqu 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 + 0x2fc], 0
mov dword [ebp - 0x1c4], edx
je 0x470df4
cmp dword [edi + 0x9c], 0
jne 0x470bfa
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 - 0x1bc]
push dword [ebp - 0x1c4]
push dword [edi + 0x88]
call fcn.004984c0
mov dword [edi + 0x9c], eax
mov eax, dword [ebp - 0x1bc]
imul eax, dword [ebp - 0x1c4]
shl eax, 2
push eax
push 0
push dword [esi]
call sub.MSVCR120.dll_memset
add esp, 0x1c
push dword [edi + 0x9c]
push dword [edi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 1
jmp 0x470c27
cmp byte [edi + 0x158], 0
je 0x470c7a
mov eax, dword [ebp - 0x1bc]
imul eax, edx
shl eax, 2
push eax
push 0
push dword [edi + 0xa0]
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 4], 2
movdqu xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0xf0]
push eax
sub esp, 0x10
mov eax, esp
push dword [edi + 0x90]
movdqu xmmword [eax], xmm0
call fcn.0049e1e0
lea eax, [edi + 0x16c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push edi
push dword [edi + 0x90]
call fcn.0049c810
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.00497f70
mov esi, dword [ebp - 0x118]
mov eax, dword [edi + 0x2fc]
cmp byte [eax + 0x14], 0
je 0x470df4
mov ecx, dword [ebp - 0x2c]
mov edx, esi
sub edx, dword [ebp - 0x24]
mov eax, esi
sub eax, ecx
mov dword [ebp - 0x1e0], edx
cmp edx, eax
jge 0x470def
mov ecx, dword [ebp - 0x30]
mov eax, edx
imul eax, dword [ebp - 0x1c4]
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1c0], eax
nop
cmp ecx, dword [ebp - 0x28]
jge 0x470dbf
lea edx, [eax + ecx]
shl edx, 2
mov dword [ebp - 0x1d4], edx
jmp 0x470ce0
mov eax, dword [edi + 0xa0]
mov ecx, dword [edi + 0x98]
add ecx, edx
mov dword [ebp - 0x1ec], ecx
mov al, byte [edx + eax + 3]
movzx edi, al
mov eax, dword [ecx]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
imul ecx
add edx, ecx
mov ecx, dword [ebp - 0x1ec]
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx esi, al
mov eax, dword [ecx]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
shl esi, 8
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
movzx eax, al
or esi, eax
mov eax, dword [ebp - 0x1ec]
shl esi, 8
movzx ecx, byte [eax]
mov eax, 0x80808081
imul ecx, edi
shl edi, 0x18
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [ebp - 0x1d4]
movzx eax, al
add edx, 4
or esi, eax
mov dword [ebp - 0x1d4], edx
mov eax, dword [ebp - 0x1ec]
add esi, edi
mov edi, dword [ebp - 0x1e8]
mov dword [eax], esi
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
cmp eax, dword [ebp - 0x28]
jl 0x470ce0
mov ecx, dword [ebp - 0x30]
mov esi, dword [ebp - 0x118]
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x1b8], ecx
add eax, dword [ebp - 0x1c4]
inc dword [ebp - 0x1e0]
mov dword [ebp - 0x1c0], eax
mov eax, esi
sub eax, edx
cmp dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1c0]
jl 0x470cc0
mov edx, dword [ebp - 0x1b8]
jmp 0x470df7
mov edx, dword [ebp - 0x30]
jmp 0x470dfa
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp byte [edi + 0x334], 0
je 0x470ec5
mov eax, esi
sub eax, dword [ebp - 0x24]
mov dword [ebp - 0x1b8], eax
mov eax, esi
sub eax, ecx
cmp dword [ebp - 0x1b8], eax
jge 0x470ec5
mov eax, dword [ebp - 0x1b8]
mov edi, eax
imul edi, dword [ebp - 0x1c4]
mov dword [ebp - 0x1c0], edi
mov edi, dword [ebp - 0x1e8]
lea ecx, [ecx]
cmp edx, dword [ebp - 0x28]
jge 0x470e9c
mov eax, dword [ebp - 0x1c0]
add eax, edx
shl eax, 2
mov dword [ebp - 0x1d4], eax
mov esi, dword [edi + 0x98]
add esi, eax
mov ecx, dword [esi]
mov eax, ecx
shr eax, 0x18
test al, al
jne 0x470e75
test ecx, ecx
je 0x470e75
or ecx, 0xff000000
mov dword [esi], ecx
mov eax, dword [ebp - 0x1d4]
inc edx
add eax, 4
mov dword [ebp - 0x1d4], eax
cmp edx, dword [ebp - 0x28]
jl 0x470e56
mov esi, dword [ebp - 0x118]
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x1b8]
inc eax
mov dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1c4]
add dword [ebp - 0x1c0], eax
mov eax, esi
sub eax, ecx
cmp dword [ebp - 0x1b8], eax
mov eax, dword [ebp - 0x1b8]
jl 0x470e40
mov al, byte [edi + 0x144]
mov byte [ebp - 0x1ce], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x1bc]
push 2
mov dword [ebp - 0x1f8], eax
lea eax, [ebp - 0x1d0]
push eax
push 0
lea eax, [ebp - 0x1f4]
mov word [ebp - 0x1d0], 0
push eax
push dword [edi + 0x8c]
lea eax, [ebp - 0x1fc]
mov byte [ebp - 0x1cd], 1
push eax
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x1f4], 0
push eax
push dword [edi + 0x88]
mov dword [ebp - 0x1f0], 0
push dword [edi + 0x84]
call dword [0x4f8158]
jmp 0x470f86
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 - 0x1c8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x8c]
call esi
cmp byte [edi + 0xdd], 0
je 0x471035
cmp byte [edi + 0x145], 0
jne 0x471035
push dword [0x4f815c]
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 0x471035
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 + 0x13c]
push esi
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x1b4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, edi
call fcn.004743a0
cmp byte [edi + 0x141], 0
mov byte [edi + 0x158], 0
je 0x4700dc
mov ecx, edi
call fcn.0046fa70
mov al, 1
jmp 0x472697
mov ecx, dword [edi + 0xfc]
mov eax, dword [ebp - 0x1bc]
test ecx, ecx
jle 0x471086
mov dword [eax + 0x18], ecx
mov ecx, dword [edi + 0x100]
test ecx, ecx
jle 0x471093
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x104]
test ecx, ecx
jle 0x4710a0
mov dword [eax + 0x20], ecx
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle case.default.0x471b9b
mov dword [eax + 0x24], ecx
jmp case.default.0x471b9b
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x471148
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xf4], 0x16
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], eax
call fcn.0046fed0
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xf4]
mov word [ebp - 0xde], ax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je 0x471157
call fcn.00477890
cmp byte [edi + 0x145], 0
je 0x4700dc
mov ecx, edi
call fcn.0046fa70
mov al, 1
jmp 0x472697
cmp byte [edi + 0xdc], 0
je case.default.0x471b9b
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 3
jmp 0x472697
cmp dword [edi + 0xe0], 0
je case.default.0x471b9b
mov ecx, edi
call fcn.0046faf0
test al, al
jne case.default.0x471b9b
mov ecx, dword [ebp - 0x1bc]
movsx eax, cx
mov dword [ebp - 0x1cc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x1cc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [edi + 0xec]
mov eax, dword [ebp - 0x1cc]
mov edx, dword [ebp - 0x1c8]
mov dword [edi + 0xf4], eax
mov dword [edi + 0xf8], edx
test ecx, ecx
je case.default.0x471b9b
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xf4], 0x11
mov dword [ebp - 0xf0], ecx
mov dword [ebp - 0xe4], edx
mov word [ebp - 0xde], ax
mov dword [ebp - 0xd8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xec]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov dword [edi + 0xec], 0
jmp case.default.0x471b9b
cmp dword [edi + 0xe0], 0
je case.default.0x471b9b
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x471b9b
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xdc], eax
mov word [ebp - 0xe0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xf4], 5
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], eax
call fcn.0046fed0
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x471b9b
cmp dword [edi + 0xe0], 0
je case.default.0x471b9b
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x471b9b
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xdc], eax
mov word [ebp - 0xe0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xf4], 3
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], eax
call fcn.0046fed0
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov eax, dword [edi + 0xe4]
mov dword [edi + 0xf0], eax
jmp case.default.0x471b9b
cmp dword [edi + 0xe0], 0
je case.default.0x471b9b
mov eax, dword [edi + 0xf0]
test eax, eax
je case.default.0x471b9b
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xdc], eax
mov word [ebp - 0xe0], ax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xf4], 4
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], eax
call fcn.0046fed0
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xf0]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov dword [edi + 0xf0], 0
jmp case.default.0x471b9b
cmp dword [edi + 0xe0], 0
je case.default.0x471b9b
cmp si, 1
jne case.default.0x471b9b
cmp byte [edi + 0x336], 0
jne 0x4700dc
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x1e4], 0
push eax
mov dword [ebp - 0x1e0], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1e4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1e0]
mov ecx, edi
push dword [ebp - 0x1e4]
call fcn.0046eb00
mov edi, eax
test edi, edi
je case.default.0x471b9b
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x471b9b
mov eax, dword [ebp - 0x1b8]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0x150], xmm0
mov dword [ebp - 0x138], 0
movq qword [ebp - 0x140], xmm0
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp - 0x1e4]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x154], 0x17
mov dword [ebp - 0x150], edi
mov dword [ebp - 0x138], esi
mov dword [ebp - 0x144], eax
call fcn.0046fed0
mov word [ebp - 0x13e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x14c], eax
lea ecx, [ebp - 0x154]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + pe_nt_image_headers32]
mov al, 1
jmp 0x472697
cmp dword [ebp - 0x1b8], 0
je case.default.0x471b9b
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
push esi
mov dword [ebp - 0x1d4], esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
test eax, eax
je case.default.0x471b9b
mov edi, edi
cmp dword [edi + 0x84], eax
je 0x4715ea
push eax
mov dword [ebp - 0x1d4], eax
call esi
test eax, eax
jne 0x4715d0
jmp case.default.0x471b9b
lea ecx, [edi + 0x378]
xor esi, esi
call fcn.00475e40
test eax, eax
jle case.default.0x471b9b
nop
push esi
lea ecx, [edi + 0x378]
call fcn.0046b700
cmp eax, dword [ebp - 0x1d4]
je 0x471629
lea ecx, [edi + 0x378]
inc esi
call fcn.00475e40
cmp esi, eax
jl 0x471600
jmp case.default.0x471b9b
lea ecx, [edi + 0x384]
push esi
call fcn.0046b700
cmp eax, dword [edi + 0xe4]
je case.default.0x471b9b
push 0
push esi
lea ecx, [edi + 0x384]
call fcn.0046b700
push eax
mov ecx, edi
call fcn.00473c80
jmp case.default.0x471b9b
mov ecx, dword [ebp - 0x1bc]
test ecx, ecx
je 0x471684
push ecx
push dword [ebp - 0x1b8]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov al, 1
jmp 0x472697
cmp edx, 0x200
ja 0x471b7a
je 0x47185d
mov eax, edx
sub eax, 0x113
je 0x4716e6
sub eax, 0x20
je 0x4716b4
sub eax, 5
jne case.default.0x471b9b
mov ecx, dword [ebp - 0x1bc]
test ecx, ecx
je case.default.0x471b9b
push ecx
push dword [ebp - 0x1b8]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov al, 1
jmp 0x472697
mov eax, 0x2000
cmp word [ebp - 0x1b8], ax
jne 0x471759
test cl, cl
je 0x471759
lea eax, [edi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x471759
mov dword [ebp - 0x1c8], eax
mov eax, dword [edi + 0x84]
test eax, eax
je case.default.0x471b9b
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.default.0x471b9b
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x471b9b
lea eax, [ebp - 0x1c8]
mov ecx, edi
push eax
push 0
push 0
push 0xf
call fcn.0046ff20
jmp case.default.0x471b9b
lea ecx, [edi + 0x348]
mov dword [ebp - 0x1c0], 0
call fcn.00475e40
test eax, eax
jle case.default.0x471b9b
xor ecx, ecx
jmp 0x471780
push ecx
lea ecx, [edi + 0x348]
call fcn.0046b700
mov edx, eax
mov dword [ebp - 0x1c8], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [edi + 0x84]
jne 0x4717b3
mov eax, dword [ebp - 0x1b8]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x4717b3
cmp byte [edx + 0x10], 0
je 0x4717d3
inc dword [ebp - 0x1c0]
lea ecx, [edi + 0x348]
call fcn.00475e40
mov ecx, dword [ebp - 0x1c0]
cmp ecx, eax
jl 0x471780
jmp case.default.0x471b9b
mov eax, dword [edx]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xd8], 0
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xf4], 0x18
mov dword [ebp - 0xf0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xe4], eax
call fcn.0046fed0
mov ecx, dword [ebp - 0x1c8]
lea edx, [ebp - 0xf4]
mov word [ebp - 0xde], ax
mov dword [ebp - 0xd8], esi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0xdc], eax
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x471b9b
cmp dword [edi + 0xe0], 0
je case.default.0x471b9b
cmp byte [edi + 0x335], 0
jne 0x4718cf
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 0x4718ab
mov eax, dword [edi + 0xd8]
jmp 0x4718bb
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 + 0x335], 1
mov eax, dword [ebp - 0x1bc]
mov ecx, edi
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov dword [ebp - 0x1c8], esi
mov dword [ebp - 0x1d4], eax
mov dword [edi + 0xf4], esi
mov dword [edi + 0xf8], eax
call fcn.0046eb00
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x471918
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x471b9b
mov eax, dword [ebp - 0x1d4]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe8], esi
mov esi, dword [ebp - 0x1bc]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
call fcn.0046fed0
mov ecx, edi
mov word [ebp - 0xde], ax
call fcn.0046faf0
test al, al
jne 0x471b18
push dword [ebp - 0x1d4]
mov ecx, edi
push dword [ebp - 0x1c8]
call fcn.0046eb00
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je 0x4719c0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp eax, edi
jne case.default.0x471b9b
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x471ae3
test eax, eax
je 0x471ae3
lea ecx, [edi + 0x3b4]
mov dword [ebp - 0xf4], 0xa
mov dword [ebp - 0xf0], eax
call fcn.00475e40
push eax
lea ecx, [ebp - 0x130]
call fcn.0046b3a0
lea ecx, [edi + 0x3b4]
mov dword [ebp - 4], 4
call fcn.00475e40
push eax
lea ecx, [ebp - 0x130]
call fcn.0046c390
lea ecx, [edi + 0x3b4]
call fcn.00475e40
shl eax, 2
lea ecx, [edi + 0x3b4]
push eax
call fcn.00425990
push eax
lea ecx, [ebp - 0x130]
call fcn.00425990
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x130]
xor esi, esi
call fcn.00475e40
test eax, eax
jle 0x471a8d
jmp 0x471a60
push esi
lea ecx, [ebp - 0x130]
call fcn.0046b700
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + pe_nt_image_headers32]
lea ecx, [ebp - 0x130]
inc esi
call fcn.00475e40
cmp esi, eax
jl 0x471a60
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xf4]
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov ecx, dword [edi + 0xa8]
mov dword [edi + 0xe8], 0
test ecx, ecx
je 0x471acb
lea eax, [edi + 0xac]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.0046b5e0
mov esi, dword [ebp - 0x1c0]
cmp esi, dword [edi + 0xe8]
je 0x471b1e
test esi, esi
je 0x471b1e
mov dword [ebp - 0xf4], 0xb
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov dword [edi + 0xe8], esi
jmp 0x471b1e
mov esi, dword [ebp - 0x1c0]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x471b4c
mov dword [ebp - 0xf4], 9
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xf0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x471b9b
test esi, esi
je case.default.0x471b9b
mov dword [ebp - 0xf4], 9
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xf0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x471b9b
cmp edx, 0x20a
ja 0x4720a4
je 0x471f66
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x471b9b
jmp dword [edx*4 + 0x4727ec]
cmp byte [edi + 0xdc], 0
jne 0x471bb7
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0xe0], 0
je case.default.0x471b9b
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1d4], eax
mov dword [edi + 0xf8], eax
call fcn.0046eb00
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x471b9b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x471b9b
mov dword [edi + 0xec], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x108]
mov ecx, edi
call fcn.00473950
mov ecx, dword [ebp - 0x1c8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1b8]
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], esi
mov esi, dword [ebp - 0x1bc]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0xd
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], ecx
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c0]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x471b9b
cmp byte [edi + 0xdc], 0
jne 0x471cc9
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1d4], eax
mov dword [edi + 0xf8], eax
call fcn.0046eb00
mov esi, eax
test esi, esi
je case.default.0x471b9b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x471b9b
mov ecx, edi
call fcn.00473950
mov eax, dword [ebp - 0x1c8]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0xe4], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0x10
mov dword [ebp - 0xf0], esi
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
lea ecx, [ebp - 0xf4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov dword [edi + 0xec], esi
jmp case.default.0x471b9b
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cmp dword [edi + 0xec], 0
cwde
mov dword [ebp - 0x1c8], ecx
mov dword [ebp - 0x1d4], eax
mov dword [edi + 0xf4], ecx
mov dword [edi + 0xf8], eax
je case.default.0x471b9b
mov ecx, edi
call fcn.00472d80
mov eax, dword [edi + 0xec]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1c8]
mov esi, dword [ebp - 0x1bc]
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0xe
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], ecx
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xec]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
mov dword [edi + 0xec], 0
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
jmp case.default.0x471b9b
cmp byte [edi + 0xdc], 0
jne 0x471e7b
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c8], ecx
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1d4], eax
mov dword [edi + 0xf8], eax
call fcn.0046eb00
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x471b9b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x471b9b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x108]
mov ecx, dword [ebp - 0x1c8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1b8]
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], esi
mov esi, dword [ebp - 0x1bc]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe8], ecx
mov ecx, dword [ebp - 0x1d4]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0xf
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], ecx
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x1c0]
lea ecx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + pe_nt_image_headers32]
mov dword [edi + 0xec], esi
jmp case.default.0x471b9b
cmp dword [edi + 0xe0], 0
je case.default.0x471b9b
mov ecx, dword [ebp - 0x1bc]
movsx eax, cx
mov dword [ebp - 0x1d8], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1d4], eax
lea eax, [ebp - 0x1d8]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1d8]
push eax
mov dword [edi + 0xf4], ecx
push ecx
mov ecx, edi
mov dword [edi + 0xf8], eax
call fcn.0046eb00
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je case.default.0x471b9b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x471b9b
mov ecx, dword [ebp - 0x1b8]
xor eax, eax
shr ecx, 0x10
xorps xmm0, xmm0
test cx, cx
movq qword [ebp - 0xe0], xmm0
movdqu xmmword [ebp - 0xf0], xmm0
sets al
mov dword [ebp - 0xf0], esi
mov esi, dword [ebp - 0x1bc]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0xf4]
mov dword [ebp - 0xe8], eax
mov eax, dword [edi + 0xf8]
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0x12
mov dword [ebp - 0xd8], esi
mov dword [ebp - 0xe4], eax
call fcn.0046fed0
mov word [ebp - 0xde], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1c8]
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xec], eax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
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.0x471b9b
cmp edx, 0x318
ja 0x47254e
je 0x47245b
sub edx, 0x2a1
je 0x4721e7
sub edx, 2
jne case.default.0x471b9b
cmp dword [edi + 0xe0], edx
je case.default.0x471b9b
mov ecx, dword [edi + 0xa8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4720f7
lea eax, [edi + 0xac]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0x335], 0
je 0x4721db
lea eax, [ebp - 0x1cc]
mov dword [ebp - 0x1cc], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c8], 0
push eax
movdqu 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 0x4721ca
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x84]
jne 0x4721ca
push dword [ebp - 0x1c8]
lea eax, [ebp - 0x40]
push dword [ebp - 0x1cc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4721ca
movzx ecx, word [ebp - 0x1c8]
movzx eax, word [ebp - 0x1cc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [edi + 0x84]
call esi
cmp eax, 1
jne 0x4721ca
lea eax, [ebp - 0x1cc]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1c8]
movzx eax, word [ebp - 0x1cc]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x4721cc
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi + 0x84]
call esi
mov byte [edi + 0x335], 0
jmp case.default.0x471b9b
cmp dword [edi + 0xe0], 0
je case.default.0x471b9b
mov eax, dword [ebp - 0x1bc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1c8], ecx
push ecx
mov ecx, edi
mov byte [edi + 0x335], 0
mov dword [ebp - 0x1d4], eax
call fcn.0046eb00
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x471b9b
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x4722cb
mov esi, dword [ebp - 0x1bc]
xorps xmm0, xmm0
movdqu xmmword [ebp - 0xf0], xmm0
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0x1b8]
movq qword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], 0
mov dword [ebp - 0xf4], 0xc
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x1c8]
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0xe4], eax
call fcn.0046fed0
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xf4]
mov word [ebp - 0xde], ax
push edx
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
mov esi, dword [ebp - 0x1c0]
mov eax, dword [esi]
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, esi
call dword [eax + 0xac]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 4], 3
call fcn.0046bfb0
test al, al
jne 0x472442
lea eax, [ebp - 0xd4]
push eax
call fcn.00472a90
push 0x2c
lea eax, [edi + 0xac]
push 0
push eax
call sub.MSVCR120.dll_memset
mov eax, dword [edi + 0x84]
lea ecx, [ebp - 0xd4]
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 [0x4f814c]
mov dword [edi + 0xcc], eax
call fcn.00425990
mov dword [edi + 0xd0], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
call eax
cmp dword [edi + 0xa8], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [edi + 0xbc], xmm0
jne 0x4723f4
push 0
push dword [0x4f814c]
push 0
push dword [edi + 0x84]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [edi + 0xa8], eax
test eax, eax
je 0x4723da
mov ecx, dword [edi + 0xa4]
test ecx, ecx
js 0x4723da
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 - 0xd4]
mov dword [ebp - 4], 0xffffffff
call fcn.0046b5f0
mov al, 1
jmp 0x472697
cmp dword [edi + 0xe0], 0
je case.default.0x471b9b
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x1b8]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0xe0]
mov dword [ebp - 0x1c8], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x13c]
test byte [ebp - 0x1bc], 0x10
je 0x47253c
push 5
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x47253c
or dword [ebp - 0x1bc], 2
lea esp, [esp]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push eax
movdqu 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 - 0x1bc]
push esi
push 0x317
push dword [ebp - 0x1c0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1c0]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1c0], eax
test eax, eax
jne 0x4724d0
push dword [ebp - 0x1c8]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x471b9b
cmp edx, 0x8001
jne case.default.0x471b9b
lea eax, [edi + 0x39c]
mov byte [edi + 0x339], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1d4], eax
call fcn.0046bd50
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je 0x472661
lea eax, [edi + 0x33c]
mov dword [ebp - 0x1d0], eax
mov edi, eax
mov ecx, dword [ebp - 0x1d4]
push 1
push 0
call fcn.0046c0f0
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4725c8
add ecx, 0x38
call fcn.00491010
test al, al
je 0x4725c8
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.00491030
mov ecx, edi
xor esi, esi
call fcn.00475e40
test eax, eax
jle 0x472609
mov edi, dword [ebp - 0x1c0]
jmp 0x4725e0
mov ecx, dword [ebp - 0x1d0]
push esi
call fcn.0046b700
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1d0]
inc esi
call fcn.00475e40
cmp esi, eax
jl 0x4725e0
mov edi, dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c8], esi
lea ecx, [esi + 0x84]
mov dword [ebp - 4], 0
call fcn.0046b5f0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.0046b5f0
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp - 0x1d4]
add esp, 4
push 0
call fcn.0046bd50
mov esi, eax
mov dword [ebp - 0x1c0], eax
test esi, esi
jne 0x472594
mov edi, dword [ebp - 0x1e8]
add edi, 0x390
xor esi, esi
mov ecx, edi
call fcn.00475e40
test eax, eax
jle 0x47268e
push esi
mov ecx, edi
call fcn.0046b700
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, edi
inc esi
call fcn.00475e40
cmp esi, eax
jl 0x472674
mov ecx, edi
call fcn.0046bad0
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.004b64dc
mov esp, ebp
pop ebp
ret 0x10