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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c8767
mov eax, dword fs:[0]
push eax
sub esp, 0x1f0
mov eax, dword [0x4fe320]
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.0x477edb
lea ecx, [edi + 0x360]
mov dword [ebp - 0x1d0], 0
call fcn.0044d250
mov esi, dword [ebp - 0x1bc]
test eax, eax
jle 0x476330
xor ecx, ecx
mov edi, edi
push ecx
lea ecx, [edi + 0x360]
mov byte [ebp - 0x1d9], 0
call fcn.00471a40
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 0x47638a
inc dword [ebp - 0x1d0]
lea ecx, [edi + 0x360]
call fcn.0044d250
mov ecx, dword [ebp - 0x1d0]
cmp ecx, eax
jl 0x4762e0
mov cl, byte [edi + 0x145]
mov edx, dword [ebp + 8]
test cl, cl
je 0x476436
mov eax, edx
sub eax, 0x83
je 0x476423
sub eax, 2
je 0x476423
dec eax
jne 0x476436
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x476474
cmp dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1c4]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x4789d7
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x4763cf
cmp eax, 0x200
jae 0x4763af
cmp eax, 0x7b
je 0x4763d6
mov al, 1
jmp 0x4789d7
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 0x4789d7
cmp eax, 0x20a
jne 0x47641c
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 0x4789d7
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 0
jmp 0x4789d7
cmp edx, 0x111
ja 0x4779cb
jne 0x476477
mov eax, dword [ebp - 0x1bc]
test eax, eax
je case.default.0x477edb
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 0x4789d7
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x477edb
movzx eax, byte [eax + 0x478a2c]
jmp dword [eax*4 + 0x4789f4]
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.00476210
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 0x476513
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 0x47653c
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.00479fc0
mov esi, dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x476590
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 0x476585
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x476590
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xa8]
test eax, eax
je case.default.0x477edb
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0xa8], 0
jmp case.default.0x477edb
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 1
jmp 0x4789d7
cmp dword [edi + 0xe0], 0
jne 0x476634
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.0049edd0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4789d7
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 0x476707
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 0x4766d6
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 0x4789d7
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 0x476727
push 0
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x47641c
mov esi, dword [ebp - 0x118]
cmp byte [edi + 0x142], 0
je 0x47673f
push 1
mov ecx, edi
call fcn.0047a560
mov esi, dword [ebp - 0x118]
push 1
mov ecx, edi
call fcn.0047a6f0
cmp byte [edi + 0x141], 0
je 0x476957
lea eax, [ebp - 0x124]
mov byte [edi + 0x141], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4769e7
mov ecx, dword [edi + 0xe0]
call fcn.0047dcc0
test al, al
je 0x476852
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 0x4767a9
push eax
call esi
mov eax, dword [edi + 0x90]
test eax, eax
je 0x4767b6
push eax
call esi
mov eax, dword [edi + 0x94]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4767c9
push eax
call esi
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x4767d6
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 0x476832
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 0x476837
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 0x4768f8
lea esi, [edi + 0x3a8]
mov ecx, esi
mov dword [ebp - 0x1d4], esi
call fcn.00471e00
mov ecx, dword [edi + 0xe0]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x47b890
mov eax, dword [ecx]
call dword [eax + 0x114]
mov ecx, esi
call fcn.0044d250
test eax, eax
jle 0x4768f8
xor edi, edi
lea esp, [esp]
push edi
mov ecx, esi
call fcn.00471a40
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 0x4768bf
mov eax, dword [esi + 0x40]
call eax
jmp 0x4768c8
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.0044d250
cmp edi, eax
jl 0x476890
mov edi, dword [ebp - 0x1e8]
cmp byte [edi + 0x140], 0
je 0x4769e7
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.00479b30
cmp byte [edi + 0x145], 0
je 0x4769e7
cmp byte [edi + 0x158], 0
je 0x4769e7
mov ecx, edi
call fcn.00475db0
push 0
mov ecx, edi
call fcn.0047a6f0
mov al, 1
jmp 0x4789d7
cmp byte [edi + 0x145], 0
je 0x4769e7
cmp byte [edi + 0x158], 0
je 0x4769e7
movdqu xmm0, xmmword [ebp - 0x124]
mov ecx, dword [edi + 0x98]
movdqu xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x4769a8
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 0x476a75
cmp dword [edi + 0x94], 0
jne 0x476a75
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [edi + 0x145], 0
mov dword [edi + 0x8c], eax
je 0x476a49
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.0049ed50
add esp, 0x10
jmp 0x476a6f
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 0x477340
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 0x476b47
cmp dword [edi + 0x2fc], 0
jne 0x476b47
mov eax, dword [ebp - 0x118]
mov esi, eax
sub esi, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jge 0x476b47
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
cmp edx, ecx
jge 0x476b39
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 0x476b10
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x118]
inc esi
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jl 0x476b06
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 0x476de1
lea ecx, [edi + 0x378]
mov dword [ebp - 0x1c4], 0
call fcn.0044d250
test eax, eax
jle 0x476de1
xor ecx, ecx
lea ecx, [ecx]
push ecx
lea ecx, [edi + 0x378]
call fcn.00471a40
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x476bd4
push 1
push dword [ebp - 0x1c4]
lea ecx, [edi + 0x378]
call fcn.00472430
push 1
push dword [ebp - 0x1c4]
lea ecx, [edi + 0x384]
call fcn.00472430
jmp 0x476dc8
inc dword [ebp - 0x1c4]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x476dc8
push esi
lea eax, [ebp - 0x134]
mov ecx, edi
push eax
call fcn.00475680
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 0x476dc8
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.0049ed50
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 0x476d73
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 0x476d54
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 0x476d37
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 0x476d10
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x1c0], edx
jmp 0x476d5a
mov edx, dword [ebp - 0x1c0]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x130]
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jl 0x476d00
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.0044d250
mov ecx, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x476b90
lea ecx, [edi + 0x36c]
xor esi, esi
call fcn.0044d250
test eax, eax
jle 0x476e22
push esi
lea ecx, [edi + 0x36c]
call fcn.00471a40
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.0044d250
cmp esi, eax
jl 0x476df2
push dword [ebp - 0x1ec]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [edi + 0x145], 0
je 0x477299
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 0x477134
cmp dword [edi + 0x9c], 0
jne 0x476f3a
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.0049ed50
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 0x476f67
cmp byte [edi + 0x158], 0
je 0x476fba
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.004a4b20
lea eax, [edi + 0x16c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push edi
push dword [edi + 0x90]
call fcn.004a3150
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0049e800
mov esi, dword [ebp - 0x118]
mov eax, dword [edi + 0x2fc]
cmp byte [eax + 0x14], 0
je 0x477134
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 0x47712f
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 0x4770ff
lea edx, [eax + ecx]
shl edx, 2
mov dword [ebp - 0x1d4], edx
jmp 0x477020
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 0x477020
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 0x477000
mov edx, dword [ebp - 0x1b8]
jmp 0x477137
mov edx, dword [ebp - 0x30]
jmp 0x47713a
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp byte [edi + 0x334], 0
je 0x477205
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 0x477205
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 0x4771dc
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 0x4771b5
test ecx, ecx
je 0x4771b5
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 0x477196
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 0x477180
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 [0x502bf8]
jmp 0x4772c6
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 0x477375
cmp byte [edi + 0x145], 0
jne 0x477375
push dword [0x502bfc]
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 0x477375
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.0047a6f0
cmp byte [edi + 0x141], 0
mov byte [edi + 0x158], 0
je 0x47641c
mov ecx, edi
call fcn.00475db0
mov al, 1
jmp 0x4789d7
mov ecx, dword [edi + 0xfc]
mov eax, dword [ebp - 0x1bc]
test ecx, ecx
jle 0x4773c6
mov dword [eax + 0x18], ecx
mov ecx, dword [edi + 0x100]
test ecx, ecx
jle 0x4773d3
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x104]
test ecx, ecx
jle 0x4773e0
mov dword [eax + 0x20], ecx
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle case.default.0x477edb
mov dword [eax + 0x24], ecx
jmp case.default.0x477edb
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x477488
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.00476210
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 0x477497
call fcn.0047de40
cmp byte [edi + 0x145], 0
je 0x47641c
mov ecx, edi
call fcn.00475db0
mov al, 1
jmp 0x4789d7
cmp byte [edi + 0xdc], 0
je case.default.0x477edb
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 3
jmp 0x4789d7
cmp dword [edi + 0xe0], 0
je case.default.0x477edb
mov ecx, edi
call fcn.00475e30
test al, al
jne case.default.0x477edb
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.0x477edb
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.0x477edb
cmp dword [edi + 0xe0], 0
je case.default.0x477edb
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x477edb
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.00476210
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.0x477edb
cmp dword [edi + 0xe0], 0
je case.default.0x477edb
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x477edb
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.00476210
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.0x477edb
cmp dword [edi + 0xe0], 0
je case.default.0x477edb
mov eax, dword [edi + 0xf0]
test eax, eax
je case.default.0x477edb
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.00476210
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.0x477edb
cmp dword [edi + 0xe0], 0
je case.default.0x477edb
cmp si, 1
jne case.default.0x477edb
cmp byte [edi + 0x336], 0
jne 0x47641c
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.00474e40
mov edi, eax
test edi, edi
je case.default.0x477edb
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x477edb
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.00476210
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 0x4789d7
cmp dword [ebp - 0x1b8], 0
je case.default.0x477edb
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.0x477edb
mov edi, edi
cmp dword [edi + 0x84], eax
je 0x47792a
push eax
mov dword [ebp - 0x1d4], eax
call esi
test eax, eax
jne 0x477910
jmp case.default.0x477edb
lea ecx, [edi + 0x378]
xor esi, esi
call fcn.0044d250
test eax, eax
jle case.default.0x477edb
nop
push esi
lea ecx, [edi + 0x378]
call fcn.00471a40
cmp eax, dword [ebp - 0x1d4]
je 0x477969
lea ecx, [edi + 0x378]
inc esi
call fcn.0044d250
cmp esi, eax
jl 0x477940
jmp case.default.0x477edb
lea ecx, [edi + 0x384]
push esi
call fcn.00471a40
cmp eax, dword [edi + 0xe4]
je case.default.0x477edb
push 0
push esi
lea ecx, [edi + 0x384]
call fcn.00471a40
push eax
mov ecx, edi
call fcn.00479fc0
jmp case.default.0x477edb
mov ecx, dword [ebp - 0x1bc]
test ecx, ecx
je 0x4779c4
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 0x4789d7
cmp edx, 0x200
ja 0x477eba
je 0x477b9d
mov eax, edx
sub eax, 0x113
je 0x477a26
sub eax, 0x20
je 0x4779f4
sub eax, 5
jne case.default.0x477edb
mov ecx, dword [ebp - 0x1bc]
test ecx, ecx
je case.default.0x477edb
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 0x4789d7
mov eax, 0x2000
cmp word [ebp - 0x1b8], ax
jne 0x477a99
test cl, cl
je 0x477a99
lea eax, [edi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x477a99
mov dword [ebp - 0x1c8], eax
mov eax, dword [edi + 0x84]
test eax, eax
je case.default.0x477edb
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.default.0x477edb
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x477edb
lea eax, [ebp - 0x1c8]
mov ecx, edi
push eax
push 0
push 0
push 0xf
call fcn.00476260
jmp case.default.0x477edb
lea ecx, [edi + 0x348]
mov dword [ebp - 0x1c0], 0
call fcn.0044d250
test eax, eax
jle case.default.0x477edb
xor ecx, ecx
jmp 0x477ac0
push ecx
lea ecx, [edi + 0x348]
call fcn.00471a40
mov edx, eax
mov dword [ebp - 0x1c8], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [edi + 0x84]
jne 0x477af3
mov eax, dword [ebp - 0x1b8]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x477af3
cmp byte [edx + 0x10], 0
je 0x477b13
inc dword [ebp - 0x1c0]
lea ecx, [edi + 0x348]
call fcn.0044d250
mov ecx, dword [ebp - 0x1c0]
cmp ecx, eax
jl 0x477ac0
jmp case.default.0x477edb
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.00476210
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.0x477edb
cmp dword [edi + 0xe0], 0
je case.default.0x477edb
cmp byte [edi + 0x335], 0
jne 0x477c0f
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 0x477beb
mov eax, dword [edi + 0xd8]
jmp 0x477bfb
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.00474e40
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x477c58
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x477edb
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.00476210
mov ecx, edi
mov word [ebp - 0xde], ax
call fcn.00475e30
test al, al
jne 0x477e58
push dword [ebp - 0x1d4]
mov ecx, edi
push dword [ebp - 0x1c8]
call fcn.00474e40
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je 0x477d00
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp eax, edi
jne case.default.0x477edb
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x477e23
test eax, eax
je 0x477e23
lea ecx, [edi + 0x3b4]
mov dword [ebp - 0xf4], 0xa
mov dword [ebp - 0xf0], eax
call fcn.0044d250
push eax
lea ecx, [ebp - 0x130]
call fcn.004716e0
lea ecx, [edi + 0x3b4]
mov dword [ebp - 4], 4
call fcn.0044d250
push eax
lea ecx, [ebp - 0x130]
call fcn.004726d0
lea ecx, [edi + 0x3b4]
call fcn.0044d250
shl eax, 2
lea ecx, [edi + 0x3b4]
push eax
call fcn.00425880
push eax
lea ecx, [ebp - 0x130]
call fcn.00425880
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x130]
xor esi, esi
call fcn.0044d250
test eax, eax
jle 0x477dcd
jmp 0x477da0
push esi
lea ecx, [ebp - 0x130]
call fcn.00471a40
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.0044d250
cmp esi, eax
jl 0x477da0
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 0x477e0b
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.00471920
mov esi, dword [ebp - 0x1c0]
cmp esi, dword [edi + 0xe8]
je 0x477e5e
test esi, esi
je 0x477e5e
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 0x477e5e
mov esi, dword [ebp - 0x1c0]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x477e8c
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.0x477edb
test esi, esi
je case.default.0x477edb
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.0x477edb
cmp edx, 0x20a
ja 0x4783e4
je 0x4782a6
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x477edb
jmp dword [edx*4 + 0x478b2c]
cmp byte [edi + 0xdc], 0
jne 0x477ef7
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0xe0], 0
je case.default.0x477edb
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.00474e40
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x477edb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x477edb
mov dword [edi + 0xec], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x108]
mov ecx, edi
call fcn.00479c90
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.0x477edb
cmp byte [edi + 0xdc], 0
jne 0x478009
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.00474e40
mov esi, eax
test esi, esi
je case.default.0x477edb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x477edb
mov ecx, edi
call fcn.00479c90
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.0x477edb
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.0x477edb
mov ecx, edi
call fcn.004790c0
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.0x477edb
cmp byte [edi + 0xdc], 0
jne 0x4781bb
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.00474e40
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x477edb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x477edb
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.0x477edb
cmp dword [edi + 0xe0], 0
je case.default.0x477edb
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.00474e40
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je case.default.0x477edb
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x477edb
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.00476210
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.0x477edb
cmp edx, 0x318
ja 0x47888e
je 0x47879b
sub edx, 0x2a1
je 0x478527
sub edx, 2
jne case.default.0x477edb
cmp dword [edi + 0xe0], edx
je case.default.0x477edb
mov ecx, dword [edi + 0xa8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x478437
lea eax, [edi + 0xac]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0x335], 0
je 0x47851b
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 0x47850a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x84]
jne 0x47850a
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 0x47850a
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 0x47850a
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 0x47850c
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi + 0x84]
call esi
mov byte [edi + 0x335], 0
jmp case.default.0x477edb
cmp dword [edi + 0xe0], 0
je case.default.0x477edb
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.00474e40
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x477edb
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x47860b
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.00476210
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.004722f0
test al, al
jne 0x478782
lea eax, [ebp - 0xd4]
push eax
call fcn.00478dd0
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 [0x502bec]
mov dword [edi + 0xcc], eax
call fcn.00425880
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 0x478734
push 0
push dword [0x502bec]
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 0x47871a
mov ecx, dword [edi + 0xa4]
test ecx, ecx
js 0x47871a
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.00471930
mov al, 1
jmp 0x4789d7
cmp dword [edi + 0xe0], 0
je case.default.0x477edb
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 0x47887c
push 5
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x47887c
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 0x478810
push dword [ebp - 0x1c8]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x477edb
cmp edx, 0x8001
jne case.default.0x477edb
lea eax, [edi + 0x39c]
mov byte [edi + 0x339], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1d4], eax
call fcn.00472080
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je 0x4789a1
lea eax, [edi + 0x33c]
mov dword [ebp - 0x1d0], eax
mov edi, eax
mov ecx, dword [ebp - 0x1d4]
push 1
push 0
call fcn.00472430
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x478908
add ecx, 0x38
call fcn.00497860
test al, al
je 0x478908
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.00497880
mov ecx, edi
xor esi, esi
call fcn.0044d250
test eax, eax
jle 0x478949
mov edi, dword [ebp - 0x1c0]
jmp 0x478920
mov ecx, dword [ebp - 0x1d0]
push esi
call fcn.00471a40
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1d0]
inc esi
call fcn.0044d250
cmp esi, eax
jl 0x478920
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.00471930
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.00471930
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp - 0x1d4]
add esp, 4
push 0
call fcn.00472080
mov esi, eax
mov dword [ebp - 0x1c0], eax
test esi, esi
jne 0x4788d4
mov edi, dword [ebp - 0x1e8]
add edi, 0x390
xor esi, esi
mov ecx, edi
call fcn.0044d250
test eax, eax
jle 0x4789ce
push esi
mov ecx, edi
call fcn.00471a40
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, edi
inc esi
call fcn.0044d250
cmp esi, eax
jl 0x4789b4
mov ecx, edi
call fcn.00471e00
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.004bce6c
mov esp, ebp
pop ebp
ret 0x10