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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c75f7
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.0x476e8b
lea ecx, [edi + 0x360]
mov dword [ebp - 0x1d0], 0
call fcn.004577e0
mov esi, dword [ebp - 0x1bc]
test eax, eax
jle 0x4752e0
xor ecx, ecx
mov edi, edi
push ecx
lea ecx, [edi + 0x360]
mov byte [ebp - 0x1d9], 0
call fcn.004709f0
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 0x47533a
inc dword [ebp - 0x1d0]
lea ecx, [edi + 0x360]
call fcn.004577e0
mov ecx, dword [ebp - 0x1d0]
cmp ecx, eax
jl 0x475290
mov cl, byte [edi + 0x145]
mov edx, dword [ebp + 8]
test cl, cl
je 0x4753e6
mov eax, edx
sub eax, 0x83
je 0x4753d3
sub eax, 2
je 0x4753d3
dec eax
jne 0x4753e6
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x475424
cmp dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1c4]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x477987
mov ecx, dword [ebp - 0x1c4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x47537f
cmp eax, 0x200
jae 0x47535f
cmp eax, 0x7b
je 0x475386
mov al, 1
jmp 0x477987
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 0x477987
cmp eax, 0x20a
jne 0x4753cc
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 0x477987
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 0
jmp 0x477987
cmp edx, 0x111
ja 0x47697b
jne 0x475427
mov eax, dword [ebp - 0x1bc]
test eax, eax
je case.default.0x476e8b
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 0x477987
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x476e8b
movzx eax, byte [eax + 0x4779dc]
jmp dword [eax*4 + 0x4779a4]
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.004751c0
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 0x4754c3
mov dword [ebp - 0xf4], 0xa
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xf0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x4754ec
mov dword [ebp - 0xf4], 0xe
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xf0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
push 1
push 0
mov ecx, edi
call fcn.00478f80
mov esi, dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x475540
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 0x475535
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x475540
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xa8]
test eax, eax
je case.default.0x476e8b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0xa8], 0
jmp case.default.0x476e8b
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 1
jmp 0x477987
cmp dword [edi + 0xe0], 0
jne 0x4755e4
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.0049d9f0
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x477987
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 0x4756b7
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 0x475686
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 0x477987
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 0x4756d7
push 0
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4753cc
mov esi, dword [ebp - 0x118]
cmp byte [edi + 0x142], 0
je 0x4756ef
push 1
mov ecx, edi
call fcn.00479520
mov esi, dword [ebp - 0x118]
push 1
mov ecx, edi
call fcn.004796b0
cmp byte [edi + 0x141], 0
je 0x475907
lea eax, [ebp - 0x124]
mov byte [edi + 0x141], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x475997
mov ecx, dword [edi + 0xe0]
call fcn.0047ca20
test al, al
je 0x475802
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 0x475759
push eax
call esi
mov eax, dword [edi + 0x90]
test eax, eax
je 0x475766
push eax
call esi
mov eax, dword [edi + 0x94]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x475779
push eax
call esi
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x475786
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 0x4757e2
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 0x4757e7
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 0x4758a8
lea esi, [edi + 0x3a8]
mov ecx, esi
mov dword [ebp - 0x1d4], esi
call fcn.00470dc0
mov ecx, dword [edi + 0xe0]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x47a850
mov eax, dword [ecx]
call dword [eax + 0x114]
mov ecx, esi
call fcn.004577e0
test eax, eax
jle 0x4758a8
xor edi, edi
lea esp, [esp]
push edi
mov ecx, esi
call fcn.004709f0
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 0x47586f
mov eax, dword [esi + 0x40]
call eax
jmp 0x475878
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.004577e0
cmp edi, eax
jl 0x475840
mov edi, dword [ebp - 0x1e8]
cmp byte [edi + 0x140], 0
je 0x475997
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.00478ae0
cmp byte [edi + 0x145], 0
je 0x475997
cmp byte [edi + 0x158], 0
je 0x475997
mov ecx, edi
call fcn.00474d60
push 0
mov ecx, edi
call fcn.004796b0
mov al, 1
jmp 0x477987
cmp byte [edi + 0x145], 0
je 0x475997
cmp byte [edi + 0x158], 0
je 0x475997
movdqu xmm0, xmmword [ebp - 0x124]
mov ecx, dword [edi + 0x98]
movdqu xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x475958
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 0x475a25
cmp dword [edi + 0x94], 0
jne 0x475a25
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [edi + 0x145], 0
mov dword [edi + 0x8c], eax
je 0x4759f9
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.0049d970
add esp, 0x10
jmp 0x475a1f
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 0x4762f0
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 0x475af7
cmp dword [edi + 0x2fc], 0
jne 0x475af7
mov eax, dword [ebp - 0x118]
mov esi, eax
sub esi, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jge 0x475af7
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
cmp edx, ecx
jge 0x475ae9
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 0x475ac0
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x118]
inc esi
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jl 0x475ab6
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 0x475d91
lea ecx, [edi + 0x378]
mov dword [ebp - 0x1c4], 0
call fcn.004577e0
test eax, eax
jle 0x475d91
xor ecx, ecx
lea ecx, [ecx]
push ecx
lea ecx, [edi + 0x378]
call fcn.004709f0
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x475b84
push 1
push dword [ebp - 0x1c4]
lea ecx, [edi + 0x378]
call fcn.004713e0
push 1
push dword [ebp - 0x1c4]
lea ecx, [edi + 0x384]
call fcn.004713e0
jmp 0x475d78
inc dword [ebp - 0x1c4]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x475d78
push esi
lea eax, [ebp - 0x134]
mov ecx, edi
push eax
call fcn.00474630
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 0x475d78
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.0049d970
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 0x475d23
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 0x475d04
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 0x475ce7
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 0x475cc0
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x1c0], edx
jmp 0x475d0a
mov edx, dword [ebp - 0x1c0]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x130]
mov dword [ebp - 0x1b8], ecx
cmp ecx, eax
jl 0x475cb0
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.004577e0
mov ecx, dword [ebp - 0x1c4]
cmp ecx, eax
jl 0x475b40
lea ecx, [edi + 0x36c]
xor esi, esi
call fcn.004577e0
test eax, eax
jle 0x475dd2
push esi
lea ecx, [edi + 0x36c]
call fcn.004709f0
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.004577e0
cmp esi, eax
jl 0x475da2
push dword [ebp - 0x1ec]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [edi + 0x145], 0
je 0x476249
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 0x4760e4
cmp dword [edi + 0x9c], 0
jne 0x475eea
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.0049d970
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 0x475f17
cmp byte [edi + 0x158], 0
je 0x475f6a
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.004a3730
lea eax, [edi + 0x16c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push edi
push dword [edi + 0x90]
call fcn.004a1d60
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
call fcn.0049d420
mov esi, dword [ebp - 0x118]
mov eax, dword [edi + 0x2fc]
cmp byte [eax + 0x14], 0
je 0x4760e4
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 0x4760df
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 0x4760af
lea edx, [eax + ecx]
shl edx, 2
mov dword [ebp - 0x1d4], edx
jmp 0x475fd0
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 0x475fd0
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 0x475fb0
mov edx, dword [ebp - 0x1b8]
jmp 0x4760e7
mov edx, dword [ebp - 0x30]
jmp 0x4760ea
mov edx, dword [ebp - 0x30]
mov ecx, dword [ebp - 0x2c]
cmp byte [edi + 0x334], 0
je 0x4761b5
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 0x4761b5
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 0x47618c
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 0x476165
test ecx, ecx
je 0x476165
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 0x476146
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 0x476130
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 [0x502e18]
jmp 0x476276
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 0x476325
cmp byte [edi + 0x145], 0
jne 0x476325
push dword [0x502e1c]
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 0x476325
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.004796b0
cmp byte [edi + 0x141], 0
mov byte [edi + 0x158], 0
je 0x4753cc
mov ecx, edi
call fcn.00474d60
mov al, 1
jmp 0x477987
mov ecx, dword [edi + 0xfc]
mov eax, dword [ebp - 0x1bc]
test ecx, ecx
jle 0x476376
mov dword [eax + 0x18], ecx
mov ecx, dword [edi + 0x100]
test ecx, ecx
jle 0x476383
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x104]
test ecx, ecx
jle 0x476390
mov dword [eax + 0x20], ecx
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle case.default.0x476e8b
mov dword [eax + 0x24], ecx
jmp case.default.0x476e8b
mov eax, dword [edi + 0xe4]
test eax, eax
je 0x476438
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.004751c0
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0xf4]
mov word [ebp - 0xde], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ecx, dword [edi + 0xe0]
test ecx, ecx
je 0x476447
call fcn.0047cba0
cmp byte [edi + 0x145], 0
je 0x4753cc
mov ecx, edi
call fcn.00474d60
mov al, 1
jmp 0x477987
cmp byte [edi + 0xdc], 0
je case.default.0x476e8b
mov ecx, dword [ebp - 0x1c4]
mov al, 1
mov dword [ecx], 3
jmp 0x477987
cmp dword [edi + 0xe0], 0
je case.default.0x476e8b
mov ecx, edi
call fcn.00474de0
test al, al
jne case.default.0x476e8b
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.0x476e8b
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 + 0x120]
mov dword [edi + 0xec], 0
jmp case.default.0x476e8b
cmp dword [edi + 0xe0], 0
je case.default.0x476e8b
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x476e8b
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.004751c0
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 + 0x120]
jmp case.default.0x476e8b
cmp dword [edi + 0xe0], 0
je case.default.0x476e8b
mov eax, dword [edi + 0xe4]
test eax, eax
je case.default.0x476e8b
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.004751c0
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 + 0x120]
mov eax, dword [edi + 0xe4]
mov dword [edi + 0xf0], eax
jmp case.default.0x476e8b
cmp dword [edi + 0xe0], 0
je case.default.0x476e8b
mov eax, dword [edi + 0xf0]
test eax, eax
je case.default.0x476e8b
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.004751c0
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 + 0x120]
mov dword [edi + 0xf0], 0
jmp case.default.0x476e8b
cmp dword [edi + 0xe0], 0
je case.default.0x476e8b
cmp si, 1
jne case.default.0x476e8b
cmp byte [edi + 0x336], 0
jne 0x4753cc
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.00473df0
mov edi, eax
test edi, edi
je case.default.0x476e8b
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x476e8b
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.004751c0
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 + 0x120]
mov al, 1
jmp 0x477987
cmp dword [ebp - 0x1b8], 0
je case.default.0x476e8b
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.0x476e8b
mov edi, edi
cmp dword [edi + 0x84], eax
je 0x4768da
push eax
mov dword [ebp - 0x1d4], eax
call esi
test eax, eax
jne 0x4768c0
jmp case.default.0x476e8b
lea ecx, [edi + 0x378]
xor esi, esi
call fcn.004577e0
test eax, eax
jle case.default.0x476e8b
nop
push esi
lea ecx, [edi + 0x378]
call fcn.004709f0
cmp eax, dword [ebp - 0x1d4]
je 0x476919
lea ecx, [edi + 0x378]
inc esi
call fcn.004577e0
cmp esi, eax
jl 0x4768f0
jmp case.default.0x476e8b
lea ecx, [edi + 0x384]
push esi
call fcn.004709f0
cmp eax, dword [edi + 0xe4]
je case.default.0x476e8b
push 0
push esi
lea ecx, [edi + 0x384]
call fcn.004709f0
push eax
mov ecx, edi
call fcn.00478f80
jmp case.default.0x476e8b
mov ecx, dword [ebp - 0x1bc]
test ecx, ecx
je 0x476974
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 0x477987
cmp edx, 0x200
ja 0x476e6a
je 0x476b4d
mov eax, edx
sub eax, 0x113
je 0x4769d6
sub eax, 0x20
je 0x4769a4
sub eax, 5
jne case.default.0x476e8b
mov ecx, dword [ebp - 0x1bc]
test ecx, ecx
je case.default.0x476e8b
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 0x477987
mov eax, 0x2000
cmp word [ebp - 0x1b8], ax
jne 0x476a49
test cl, cl
je 0x476a49
lea eax, [edi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x476a49
mov dword [ebp - 0x1c8], eax
mov eax, dword [edi + 0x84]
test eax, eax
je case.default.0x476e8b
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.default.0x476e8b
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x476e8b
lea eax, [ebp - 0x1c8]
mov ecx, edi
push eax
push 0
push 0
push 0xf
call fcn.00475210
jmp case.default.0x476e8b
lea ecx, [edi + 0x348]
mov dword [ebp - 0x1c0], 0
call fcn.004577e0
test eax, eax
jle case.default.0x476e8b
xor ecx, ecx
jmp 0x476a70
push ecx
lea ecx, [edi + 0x348]
call fcn.004709f0
mov edx, eax
mov dword [ebp - 0x1c8], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [edi + 0x84]
jne 0x476aa3
mov eax, dword [ebp - 0x1b8]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x476aa3
cmp byte [edx + 0x10], 0
je 0x476ac3
inc dword [ebp - 0x1c0]
lea ecx, [edi + 0x348]
call fcn.004577e0
mov ecx, dword [ebp - 0x1c0]
cmp ecx, eax
jl 0x476a70
jmp case.default.0x476e8b
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.004751c0
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 + 0x120]
jmp case.default.0x476e8b
cmp dword [edi + 0xe0], 0
je case.default.0x476e8b
cmp byte [edi + 0x335], 0
jne 0x476bbf
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 0x476b9b
mov eax, dword [edi + 0xd8]
jmp 0x476bab
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.00473df0
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x476c08
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x476e8b
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.004751c0
mov ecx, edi
mov word [ebp - 0xde], ax
call fcn.00474de0
test al, al
jne 0x476e08
push dword [ebp - 0x1d4]
mov ecx, edi
push dword [ebp - 0x1c8]
call fcn.00473df0
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je 0x476cb0
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp eax, edi
jne case.default.0x476e8b
mov eax, dword [edi + 0xe8]
cmp esi, eax
je 0x476dd3
test eax, eax
je 0x476dd3
lea ecx, [edi + 0x3b4]
mov dword [ebp - 0xf4], 0xa
mov dword [ebp - 0xf0], eax
call fcn.004577e0
push eax
lea ecx, [ebp - 0x130]
call fcn.00470690
lea ecx, [edi + 0x3b4]
mov dword [ebp - 4], 4
call fcn.004577e0
push eax
lea ecx, [ebp - 0x130]
call fcn.00471680
lea ecx, [edi + 0x3b4]
call fcn.004577e0
shl eax, 2
lea ecx, [edi + 0x3b4]
push eax
call fcn.00426a30
push eax
lea ecx, [ebp - 0x130]
call fcn.00426a30
push eax
call sub.MSVCR120.dll_memcpy
add esp, 0xc
lea ecx, [ebp - 0x130]
xor esi, esi
call fcn.004577e0
test eax, eax
jle 0x476d7d
jmp 0x476d50
push esi
lea ecx, [ebp - 0x130]
call fcn.004709f0
lea ecx, [ebp - 0xf4]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x120]
lea ecx, [ebp - 0x130]
inc esi
call fcn.004577e0
cmp esi, eax
jl 0x476d50
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xf4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ecx, dword [edi + 0xa8]
mov dword [edi + 0xe8], 0
test ecx, ecx
je 0x476dbb
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.004708d0
mov esi, dword [ebp - 0x1c0]
cmp esi, dword [edi + 0xe8]
je 0x476e0e
test esi, esi
je 0x476e0e
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 + 0x120]
mov dword [edi + 0xe8], esi
jmp 0x476e0e
mov esi, dword [ebp - 0x1c0]
mov ecx, dword [edi + 0xec]
test ecx, ecx
je 0x476e3c
mov dword [ebp - 0xf4], 9
lea edx, [ebp - 0xf4]
mov dword [ebp - 0xf0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
jmp case.default.0x476e8b
test esi, esi
je case.default.0x476e8b
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 + 0x120]
jmp case.default.0x476e8b
cmp edx, 0x20a
ja 0x477394
je 0x477256
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x476e8b
jmp dword [edx*4 + 0x477adc]
cmp byte [edi + 0xdc], 0
jne 0x476ea7
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0xe0], 0
je case.default.0x476e8b
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.00473df0
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x476e8b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x476e8b
mov dword [edi + 0xec], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x108]
mov ecx, edi
call fcn.00478c40
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 + 0x120]
jmp case.default.0x476e8b
cmp byte [edi + 0xdc], 0
jne 0x476fb9
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.00473df0
mov esi, eax
test esi, esi
je case.default.0x476e8b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x476e8b
mov ecx, edi
call fcn.00478c40
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 + 0x120]
mov dword [edi + 0xec], esi
jmp case.default.0x476e8b
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.0x476e8b
mov ecx, edi
call fcn.00478070
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 + 0x120]
jmp case.default.0x476e8b
cmp byte [edi + 0xdc], 0
jne 0x47716b
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.00473df0
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x476e8b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x476e8b
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 + 0x120]
mov dword [edi + 0xec], esi
jmp case.default.0x476e8b
cmp dword [edi + 0xe0], 0
je case.default.0x476e8b
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.00473df0
mov esi, eax
mov dword [ebp - 0x1c8], esi
test esi, esi
je case.default.0x476e8b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x476e8b
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.004751c0
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 + 0x120]
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.0x476e8b
cmp edx, 0x318
ja 0x47783e
je 0x47774b
sub edx, 0x2a1
je 0x4774d7
sub edx, 2
jne case.default.0x476e8b
cmp dword [edi + 0xe0], edx
je case.default.0x476e8b
mov ecx, dword [edi + 0xa8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4773e7
lea eax, [edi + 0xac]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0x335], 0
je 0x4774cb
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 0x4774ba
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x84]
jne 0x4774ba
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 0x4774ba
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 0x4774ba
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 0x4774bc
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi + 0x84]
call esi
mov byte [edi + 0x335], 0
jmp case.default.0x476e8b
cmp dword [edi + 0xe0], 0
je case.default.0x476e8b
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.00473df0
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je case.default.0x476e8b
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x4775bb
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.004751c0
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xf4]
mov word [ebp - 0xde], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
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.004712a0
test al, al
jne 0x477732
lea eax, [ebp - 0xd4]
push eax
call fcn.00477d80
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 [0x502e0c]
mov dword [edi + 0xcc], eax
call fcn.00426a30
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 0x4776e4
push 0
push dword [0x502e0c]
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 0x4776ca
mov ecx, dword [edi + 0xa4]
test ecx, ecx
js 0x4776ca
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.004708e0
mov al, 1
jmp 0x477987
cmp dword [edi + 0xe0], 0
je case.default.0x476e8b
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 0x47782c
push 5
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1c0], eax
test eax, eax
je 0x47782c
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 0x4777c0
push dword [ebp - 0x1c8]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x476e8b
cmp edx, 0x8001
jne case.default.0x476e8b
lea eax, [edi + 0x39c]
mov byte [edi + 0x339], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1d4], eax
call fcn.00471040
mov esi, eax
mov dword [ebp - 0x1c0], esi
test esi, esi
je 0x477951
lea eax, [edi + 0x33c]
mov dword [ebp - 0x1d0], eax
mov edi, eax
mov ecx, dword [ebp - 0x1d4]
push 1
push 0
call fcn.004713e0
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4778b8
add ecx, 0x38
call fcn.00496490
test al, al
je 0x4778b8
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004964b0
mov ecx, edi
xor esi, esi
call fcn.004577e0
test eax, eax
jle 0x4778f9
mov edi, dword [ebp - 0x1c0]
jmp 0x4778d0
mov ecx, dword [ebp - 0x1d0]
push esi
call fcn.004709f0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1d0]
inc esi
call fcn.004577e0
cmp esi, eax
jl 0x4778d0
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.004708e0
mov ecx, esi
mov dword [ebp - 4], 0xffffffff
call fcn.004708e0
push esi
call sub.MSVCR120.dll_void___cdecl_operator_delete_void__
mov ecx, dword [ebp - 0x1d4]
add esp, 4
push 0
call fcn.00471040
mov esi, eax
mov dword [ebp - 0x1c0], eax
test esi, esi
jne 0x477884
mov edi, dword [ebp - 0x1e8]
add edi, 0x390
xor esi, esi
mov ecx, edi
call fcn.004577e0
test eax, eax
jle 0x47797e
push esi
mov ecx, edi
call fcn.004709f0
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, edi
inc esi
call fcn.004577e0
cmp esi, eax
jl 0x477964
mov ecx, edi
call fcn.00470dc0
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.004bbbfc
mov esp, ebp
pop ebp
ret 0x10