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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e226
mov eax, dword fs:[0]
push eax
sub esp, 0x5f0
mov eax, dword [0x13413f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x218], ecx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x84], 0
jne 0x4769c7
xor al, al
jmp 0x47a78c
mov dword [ebp - 0x2a4], 0
jmp 0x4769e2
mov ecx, dword [ebp - 0x2a4]
add ecx, 1
mov dword [ebp - 0x2a4], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2ec
call fcn.004c6440
cmp dword [ebp - 0x2a4], eax
jge 0x476b5a
mov byte [ebp - 0x22d], 0
mov edx, dword [ebp - 0x2a4]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2ec
call fcn.00484790
mov dword [ebp - 0x344], eax
lea eax, [ebp - 0x22d]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x344]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x344]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x554], eax
movzx ecx, byte [ebp - 0x22d]
test ecx, ecx
je 0x476b55
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x554]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x2d0], ecx
cmp dword [ebp - 0x2d0], 0x203
ja 0x476a98
cmp dword [ebp - 0x2d0], 0x200
jae 0x476aa9
cmp dword [ebp - 0x2d0], 0x7b
je 0x476af0
jmp 0x476b4e
cmp dword [ebp - 0x2d0], 0x20a
je 0x476af0
jmp 0x476b4e
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x57c], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x578], edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x57c]
mov dword [eax + 0xfc], ecx
mov edx, dword [ebp - 0x578]
mov dword [eax + 0x100], edx
jmp 0x476b4e
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x39c], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x398], eax
lea ecx, [ebp - 0x39c]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x39c]
mov dword [ecx + 0xfc], edx
mov eax, dword [ebp - 0x398]
mov dword [ecx + 0x100], eax
mov al, 1
jmp 0x47a78c
jmp 0x4769d3
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x15a]
test edx, edx
je 0x476bf5
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 0x83
je 0x476be5
cmp dword [ebp - 0x30c], 0x85
je 0x476be5
cmp dword [ebp - 0x30c], 0x86
je 0x476b9e
jmp 0x476bf5
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x476be3
cmp dword [ebp + 0xc], 0
jne 0x476bc7
mov dword [ebp - 0x348], 1
jmp 0x476bd1
mov dword [ebp - 0x348], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x348]
mov dword [eax], ecx
mov al, 1
jmp 0x47a78c
jmp 0x476bf5
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov al, 1
jmp 0x47a78c
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0x111
ja 0x476c4d
cmp dword [ebp - 0x228], 0x111
je 0x47a716
mov ecx, dword [ebp - 0x228]
sub ecx, 5
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0xfd
ja case.0x476c98.1
mov edx, dword [ebp - 0x228]
movzx eax, byte [edx + 0x47a7e0]
jmp dword [eax*4 + 0x47a7a8]
cmp dword [ebp - 0x228], 0x2a1
ja 0x476c9f
cmp dword [ebp - 0x228], 0x2a1
je 0x478a8d
mov ecx, dword [ebp - 0x228]
sub ecx, 0x113
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0xf7
ja case.0x476c98.1
mov edx, dword [ebp - 0x228]
movzx eax, byte [edx + 0x47a908]
jmp dword [eax*4 + 0x47a8e0]
cmp dword [ebp - 0x228], 0x2a3
je 0x478fde
cmp dword [ebp - 0x228], 0x318
je 0x478579
cmp dword [ebp - 0x228], 0x8001
je 0x476cd0
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
mov byte [ecx + 0x2c4], 0
mov dword [ebp - 0x240], 0
push 0
mov ecx, dword [ebp - 0x218]
add ecx, 0x328
call fcn.00484f10
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x476e58
push 1
push 0
mov ecx, dword [ebp - 0x218]
add ecx, 0x328
call fcn.004854c0
mov edx, dword [ebp - 0x240]
cmp dword [edx + 0x108], 0
je 0x476d67
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 0x108]
add ecx, 0x38
call fcn.0048c3f0
movzx ecx, al
test ecx, ecx
je 0x476d67
mov edx, dword [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 0x108]
add ecx, 0x38
call fcn.0048c440
mov dword [ebp - 0x2bc], 0
jmp 0x476d82
mov ecx, dword [ebp - 0x2bc]
add ecx, 1
mov dword [ebp - 0x2bc], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2c8
call fcn.004c6440
cmp dword [ebp - 0x2bc], eax
jge 0x476dd4
mov edx, dword [ebp - 0x2bc]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2c8
call fcn.00484790
mov dword [ebp - 0x350], eax
mov eax, dword [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x350]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x350]
mov eax, dword [edx]
call eax
jmp 0x476d73
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x594], ecx
mov edx, dword [ebp - 0x594]
mov dword [ebp - 0x278], edx
cmp dword [ebp - 0x278], 0
je 0x476e49
mov eax, dword [ebp - 0x5fc]
mov dword [ebp - 0x360], eax
mov ecx, dword [ebp - 0x278]
add ecx, 0x84
call fcn.00484630
mov ecx, dword [ebp - 0x278]
call fcn.00484630
mov ecx, 1
and ecx, 1
je 0x476e3b
push 0x120
mov edx, dword [ebp - 0x278]
push edx
call fcn.004724ba
add esp, 8
mov eax, dword [ebp - 0x278]
mov dword [ebp - 0x360], eax
jmp 0x476e53
mov dword [ebp - 0x360], 0
jmp 0x476ce7
mov dword [ebp - 0x280], 0
jmp 0x476e73
mov ecx, dword [ebp - 0x280]
add ecx, 1
mov dword [ebp - 0x280], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x31c
call fcn.004c6440
cmp dword [ebp - 0x280], eax
jge 0x476ebe
mov edx, dword [ebp - 0x280]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x31c
call fcn.00484790
mov dword [ebp - 0x364], eax
mov eax, dword [ebp - 0x364]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x364]
mov eax, dword [edx]
call eax
jmp 0x476e64
mov ecx, dword [ebp - 0x218]
add ecx, 0x31c
call fcn.00484af0
jmp case.0x476c98.1
mov dword [ebp - 0x41c], 0
xor ecx, ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 0x414], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x40c], ecx
mov dword [ebp - 0x408], ecx
mov dword [ebp - 0x404], ecx
mov dword [ebp - 0x400], ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], ecx
call fcn.004768f0
mov word [ebp - 0x406], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x414], eax
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xec], 0
je 0x476f94
mov dword [ebp - 0x41c], 0xa
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xec]
mov dword [ebp - 0x418], ecx
lea edx, [ebp - 0x41c]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xec]
mov edx, dword [ebp - 0x218]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xec]
mov edx, dword [eax + 0x11c]
call edx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xf0], 0
je 0x476fe8
mov dword [ebp - 0x41c], 0xe
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov dword [ebp - 0x418], edx
lea eax, [ebp - 0x41c]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov eax, dword [ebp - 0x218]
mov edx, dword [edx]
mov ecx, dword [eax + 0xf0]
mov eax, dword [edx + 0x11c]
call eax
push 1
push 0
mov ecx, dword [ebp - 0x218]
call fcn.0047cdd0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x218]
cmp eax, dword [ecx + 0x84]
jne 0x477071
push 4
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x2d4], eax
push 0xfffffffffffffff0
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_GetWindowLongW]
and eax, 0x40000000
je 0x47705b
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x2d4], eax
cmp dword [ebp - 0x2d4], 0
je 0x477071
mov edx, dword [ebp - 0x2d4]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xac], 0
je 0x4770a3
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [ebp - 0x218]
mov dword [eax + 0xac], 0
jmp case.0x476c98.1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
mov al, 1
jmp 0x47a78c
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xe4], 0
jne 0x47713d
mov dword [ebp - 0x194], 0
push 0x3c
push 0
lea eax, [ebp - 0x190]
push eax
call fcn.004f3280
add esp, 0xc
lea ecx, [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
push 0
lea ecx, [ebp - 0x18c]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x88]
push eax
call fcn.0048ce80
add esp, 0xc
lea ecx, [ebp - 0x194]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x47a78c
mov dword [ebp - 0x144], 0
xor ecx, ecx
mov dword [ebp - 0x140], ecx
mov dword [ebp - 0x13c], ecx
mov dword [ebp - 0x138], ecx
lea edx, [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov dword [ebp - 0x20], 0
xor edx, edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
je 0x4772c9
mov edx, dword [ebp - 0x218]
add edx, 0x15c
mov eax, dword [edx]
mov dword [ebp - 0x20], eax
mov ecx, dword [edx + 4]
mov dword [ebp - 0x1c], ecx
mov eax, dword [edx + 8]
mov dword [ebp - 0x18], eax
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0x14], ecx
mov edx, dword [ebp - 0x218]
add edx, 0x15c
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x47722e
mov dword [ebp - 0x1d4], 0
push 0x3c
push 0
lea eax, [ebp - 0x1d0]
push eax
call fcn.004f3280
add esp, 0xc
lea ecx, [ebp - 0x1d4]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
lea ecx, [ebp - 0x1d4]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x47a78c
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x144]
jg 0x47724d
mov ecx, dword [ebp - 0x218]
call fcn.00476400
add eax, dword [ebp - 0x144]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x140]
jg 0x47726c
mov ecx, dword [ebp - 0x218]
call fcn.00476400
add eax, dword [ebp - 0x140]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x13c]
jl 0x47728d
mov ecx, dword [ebp - 0x218]
call fcn.00476400
mov ecx, dword [ebp - 0x13c]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x138]
jl 0x4772ae
mov ecx, dword [ebp - 0x218]
call fcn.00476400
mov ecx, dword [ebp - 0x138]
sub ecx, eax
mov dword [ebp - 0x14], ecx
push 0x10
push 0
mov edx, dword [ebp - 0x218]
add edx, 0x15c
push edx
call fcn.004f3280
add esp, 0xc
jmp 0x4772ed
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
jne 0x4772ed
mov al, 1
jmp 0x47a78c
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x14a]
test ecx, ecx
je 0x47730b
push 1
mov ecx, dword [ebp - 0x218]
call fcn.0047d400
push 1
mov ecx, dword [ebp - 0x218]
call fcn.0047d680
mov edx, dword [ebp - 0x218]
movzx eax, byte [edx + 0x149]
test eax, eax
je 0x4776d8
mov ecx, dword [ebp - 0x218]
mov byte [ecx + 0x149], 0
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4776d3
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xe4]
call fcn.00487280
movzx ecx, al
test ecx, ecx
je 0x4774ff
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x8c], 0
je 0x4773b1
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x8c]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x90], 0
je 0x4773d3
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x90]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x94], 0
je 0x4773f5
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x94]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x9c], 0
je 0x477417
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x9c]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x218]
mov dword [eax + 0x8c], 0
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x90], 0
mov edx, dword [ebp - 0x218]
mov dword [edx + 0x94], 0
mov eax, dword [ebp - 0x218]
mov dword [eax + 0x9c], 0
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x15a]
test edx, edx
je 0x4774bd
mov ecx, dword [ebp - 0x218]
call fcn.00476400
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x218]
call fcn.00476400
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x218]
call fcn.00476400
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x218]
call fcn.00476400
mov edx, dword [ebp - 0x34]
sub edx, eax
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x218]
mov byte [eax + 0x158], 1
push 1
sub esp, 0x10
mov ecx, esp
mov edx, dword [ebp - 0x40]
mov dword [ecx], edx
mov eax, dword [ebp - 0x3c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x38]
mov dword [ecx + 8], edx
mov eax, dword [ebp - 0x34]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xe4]
mov eax, dword [ebp - 0x218]
mov edx, dword [edx]
mov ecx, dword [eax + 0xe4]
mov eax, dword [edx + 0x4c]
call eax
jmp 0x47764f
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 0x218]
add ecx, 0x334
call fcn.00484af0
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x47e960
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xe4]
mov eax, dword [ebp - 0x218]
mov edx, dword [edx]
mov ecx, dword [eax + 0xe4]
mov eax, dword [edx + 0x110]
call eax
mov dword [ebp - 0x284], 0
jmp 0x477563
mov ecx, dword [ebp - 0x284]
add ecx, 1
mov dword [ebp - 0x284], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x334
call fcn.004c6440
cmp dword [ebp - 0x284], eax
jge 0x47764f
mov edx, dword [ebp - 0x284]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x334
call fcn.00484790
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x234]
mov eax, dword [edx + 0x108]
call eax
movzx ecx, al
test ecx, ecx
jne 0x477600
push 1
mov edx, dword [ebp - 0x234]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x234]
mov edx, dword [eax + 0x40]
call edx
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x234]
mov eax, dword [edx + 0x4c]
call eax
jmp 0x47764a
push 1
lea ecx, [ebp - 0xb0]
push ecx
mov edx, dword [ebp - 0x234]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x234]
mov edx, dword [eax + 0x44]
call edx
sub esp, 0x10
mov ecx, esp
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x234]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x234]
mov eax, dword [edx + 0x4c]
call eax
jmp 0x477554
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x148]
test edx, edx
je 0x4776d3
mov eax, dword [ebp - 0x218]
mov byte [eax + 0x148], 0
push 1
push 0
push 0
push 0
push 0x560470
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xe4]
push edx
mov ecx, dword [ebp - 0x218]
call fcn.0047c8b0
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
je 0x4776d3
mov edx, dword [ebp - 0x218]
movzx eax, byte [edx + 0x15b]
test eax, eax
je 0x4776d3
mov ecx, dword [ebp - 0x218]
call fcn.004765f0
push 0
mov ecx, dword [ebp - 0x218]
call fcn.0047d680
mov al, 1
jmp 0x47a78c
jmp 0x4777f1
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x15a]
test edx, edx
je 0x4777f1
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15b]
test ecx, ecx
je 0x4777f1
mov edx, dword [ebp - 0x144]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x138]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x98], 0
je 0x47775f
mov ecx, dword [ebp - 0x28]
sub ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x24]
sub edx, dword [ebp - 0x2c]
imul ecx, edx
shl ecx, 2
push ecx
push 0
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x98]
push ecx
call fcn.004f3280
add esp, 0xc
mov ecx, dword [ebp - 0x218]
call fcn.00476400
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x218]
call fcn.00476400
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x218]
call fcn.00476400
mov edx, dword [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x218]
call fcn.00476400
mov ecx, dword [ebp - 0x24]
sub ecx, eax
mov dword [ebp - 0x24], ecx
push 1
sub esp, 0x10
mov edx, esp
mov eax, dword [ebp - 0x30]
mov dword [edx], eax
mov ecx, dword [ebp - 0x2c]
mov dword [edx + 4], ecx
mov eax, dword [ebp - 0x28]
mov dword [edx + 8], eax
mov ecx, dword [ebp - 0x24]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xe4]
mov ecx, dword [ebp - 0x218]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xe4]
mov eax, dword [edx + 0x4c]
call eax
mov ecx, dword [ebp - 0x218]
mov byte [ecx + 0x158], 1
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0x94], 0
jne 0x4778b7
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x88]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x218]
mov dword [edx + 0x8c], eax
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
je 0x47787e
mov edx, dword [ebp - 0x218]
add edx, 0x98
push edx
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x140]
push eax
mov ecx, dword [ebp - 0x13c]
sub ecx, dword [ebp - 0x144]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x88]
push eax
call fcn.0048cda0
add esp, 0x10
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x94], eax
jmp 0x4778b7
mov edx, dword [ebp - 0x138]
sub edx, dword [ebp - 0x140]
push edx
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x88]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x94], eax
mov dword [ebp - 0x214], 0
push 0x3c
push 0
lea edx, [ebp - 0x210]
push edx
call fcn.004f3280
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x94]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x8c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x5b8], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x8c]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x580], eax
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
je 0x477c5d
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0x278], 0
je 0x477bb9
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp - 0x144]
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x138]
sub ecx, dword [ebp - 0x140]
mov dword [ebp - 0x2d8], ecx
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0x9c], 0
jne 0x477a67
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x88]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [ebp - 0x218]
mov dword [edx + 0x90], eax
mov eax, dword [ebp - 0x218]
add eax, 0xa0
push eax
mov ecx, dword [ebp - 0x2d8]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x88]
push ecx
call fcn.0048cda0
add esp, 0x10
mov edx, dword [ebp - 0x218]
mov dword [edx + 0x9c], eax
mov eax, dword [ebp - 0x270]
imul eax, dword [ebp - 0x2d8]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xa0]
push edx
call fcn.004f3280
add esp, 0xc
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x9c]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x90]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x218]
add ecx, 0x16c
push ecx
lea edx, [ebp - 0x144]
push edx
lea eax, [ebp - 0x144]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x90]
push eax
call fcn.00492e30
add esp, 0x14
jmp 0x477ad6
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x15b]
test edx, edx
je 0x477ad6
mov eax, dword [ebp - 0x270]
imul eax, dword [ebp - 0x2d8]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xa0]
push edx
call fcn.004f3280
add esp, 0xc
mov eax, dword [ebp - 0x218]
add eax, 0x16c
push eax
lea ecx, [ebp - 0x144]
push ecx
lea edx, [ebp - 0x144]
push edx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x90]
push edx
call fcn.00492e30
add esp, 0x14
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x368], 0
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x274], eax
jmp 0x477b0a
mov ecx, dword [ebp - 0x274]
add ecx, 1
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x138]
sub edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x274], edx
jge 0x477bb4
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x27c], eax
jmp 0x477b39
mov ecx, dword [ebp - 0x27c]
add ecx, 1
mov dword [ebp - 0x27c], ecx
mov edx, dword [ebp - 0x27c]
cmp edx, dword [ebp - 0x18]
jge 0x477baf
mov eax, dword [ebp - 0x274]
imul eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x98]
lea eax, [edx + eax*4]
mov ecx, dword [ebp - 0x27c]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x34c], edx
mov eax, dword [ebp - 0x274]
imul eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xa0]
lea eax, [edx + eax*4]
mov ecx, dword [ebp - 0x27c]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x368], edx
mov eax, dword [ebp - 0x34c]
mov ecx, dword [ebp - 0x368]
mov edx, dword [ecx]
mov dword [eax], edx
jmp 0x477b2a
jmp 0x477afb
jmp 0x477c5d
mov dword [ebp - 0x36c], 0
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x288], eax
jmp 0x477be3
mov ecx, dword [ebp - 0x288]
add ecx, 1
mov dword [ebp - 0x288], ecx
mov edx, dword [ebp - 0x138]
sub edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x288], edx
jge 0x477c5d
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x28c], eax
jmp 0x477c0e
mov ecx, dword [ebp - 0x28c]
add ecx, 1
mov dword [ebp - 0x28c], ecx
mov edx, dword [ebp - 0x28c]
cmp edx, dword [ebp - 0x18]
jge 0x477c58
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp - 0x144]
imul eax, dword [ebp - 0x288]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x98]
lea eax, [edx + eax*4]
mov ecx, dword [ebp - 0x28c]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x36c], edx
mov eax, dword [ebp - 0x36c]
mov dword [eax], 0
jmp 0x477bff
jmp 0x477bd4
push 0
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x8c]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xe4]
mov eax, dword [ebp - 0x218]
mov edx, dword [edx]
mov ecx, dword [eax + 0xe4]
mov eax, dword [edx + 0x148]
call eax
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x15a]
test edx, edx
je 0x477f95
mov dword [ebp - 0x25c], 0
mov ecx, dword [ebp - 0x218]
add ecx, 0x304
call fcn.004c6440
cmp dword [ebp - 0x25c], eax
jge 0x477f95
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x304
call fcn.00484790
mov dword [ebp - 0x290], eax
mov ecx, dword [ebp - 0x290]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x477d36
push 1
mov edx, dword [ebp - 0x25c]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x304
call fcn.004854c0
push 1
mov eax, dword [ebp - 0x25c]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x310
call fcn.004854c0
jmp 0x477cb1
mov ecx, dword [ebp - 0x25c]
add ecx, 1
mov dword [ebp - 0x25c], ecx
mov edx, dword [ebp - 0x290]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x477d5b
jmp 0x477cb1
mov eax, dword [ebp - 0x290]
push eax
lea ecx, [ebp - 0x154]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.004761d0
mov dword [ebp - 0x90], 0
xor edx, edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], edx
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x20]
push ecx
lea edx, [ebp - 0x90]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
jne 0x477db3
jmp 0x477cb1
mov dword [ebp - 0x2dc], 0
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x8c]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0x258], eax
lea edx, [ebp - 0x2dc]
push edx
mov eax, dword [ebp - 0x148]
sub eax, dword [ebp - 0x150]
push eax
mov ecx, dword [ebp - 0x14c]
sub ecx, dword [ebp - 0x154]
push ecx
mov edx, dword [ebp - 0x258]
push edx
call fcn.0048cda0
add esp, 0x10
mov dword [ebp - 0x388], eax
mov eax, dword [ebp - 0x14c]
sub eax, dword [ebp - 0x154]
mov ecx, dword [ebp - 0x148]
sub ecx, dword [ebp - 0x150]
imul eax, ecx
shl eax, 2
push eax
push 0
mov edx, dword [ebp - 0x2dc]
push edx
call fcn.004f3280
add esp, 0xc
mov eax, dword [ebp - 0x388]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x584], eax
push 0x35
mov edx, dword [ebp - 0x258]
push edx
push 0x317
mov eax, dword [ebp - 0x290]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x294], 0
jmp 0x477e8c
mov ecx, dword [ebp - 0x294]
add ecx, 1
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x148]
sub edx, dword [ebp - 0x150]
cmp dword [ebp - 0x294], edx
jge 0x477f17
mov dword [ebp - 0x298], 0
jmp 0x477ebb
mov eax, dword [ebp - 0x298]
add eax, 1
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x14c]
sub ecx, dword [ebp - 0x154]
cmp dword [ebp - 0x298], ecx
jge 0x477f12
mov edx, dword [ebp - 0x14c]
sub edx, dword [ebp - 0x154]
imul edx, dword [ebp - 0x294]
mov eax, dword [ebp - 0x2dc]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0x298]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x384], eax
mov ecx, dword [ebp - 0x384]
mov edx, dword [ecx]
or edx, 0xff000000
mov eax, dword [ebp - 0x384]
mov dword [eax], edx
jmp 0x477eac
jmp 0x477e7d
push 0xcc0020
push 0
push 0
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x148]
sub edx, dword [ebp - 0x150]
push edx
mov eax, dword [ebp - 0x14c]
sub eax, dword [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
mov edx, dword [ebp - 0x154]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x8c]
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x584]
push edx
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x388]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x477cb1
mov dword [ebp - 0x29c], 0
jmp 0x477fb0
mov eax, dword [ebp - 0x29c]
add eax, 1
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x2f8
call fcn.004c6440
cmp dword [ebp - 0x29c], eax
jge 0x478010
mov ecx, dword [ebp - 0x29c]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2f8
call fcn.00484790
mov dword [ebp - 0x390], eax
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [ebp - 0x390]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x390]
mov edx, dword [eax + 0x164]
call edx
jmp 0x477fa1
mov eax, dword [ebp - 0x580]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x8c]
push edx
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
je 0x478415
mov edx, dword [ebp - 0x13c]
sub edx, dword [ebp - 0x144]
mov dword [ebp - 0x380], edx
mov eax, dword [ebp - 0x138]
sub eax, dword [ebp - 0x140]
mov dword [ebp - 0x5bc], eax
mov ecx, dword [ebp - 0x218]
call fcn.004766b0
mov byte [ebp - 0x241], al
mov dword [ebp - 0x22c], 0
mov byte [ebp - 0x219], 0
mov byte [ebp - 0x21c], 0
mov byte [ebp - 0x21b], 0
mov byte [ebp - 0x21a], 0
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x50]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x50]
mov dword [ebp - 0x5c0], ecx
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x4c]
mov dword [ebp - 0x550], edx
mov ecx, dword [ebp - 0x218]
call fcn.00476250
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x218]
call fcn.00476250
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x218]
call fcn.00476250
mov edx, dword [ebp - 0x5c0]
sub edx, dword [eax + 8]
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x218]
call fcn.00476250
mov ecx, dword [ebp - 0x550]
sub ecx, dword [eax + 0xc]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x138]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x268], edx
jmp 0x478154
mov eax, dword [ebp - 0x268]
add eax, 1
mov dword [ebp - 0x268], eax
mov ecx, dword [ebp - 0x138]
sub ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x268], ecx
jge 0x478319
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x26c], edx
jmp 0x478183
mov eax, dword [ebp - 0x26c]
add eax, 1
mov dword [ebp - 0x26c], eax
mov ecx, dword [ebp - 0x26c]
cmp ecx, dword [ebp - 0x18]
jge 0x478314
mov edx, dword [ebp - 0x268]
imul edx, dword [ebp - 0x380]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x98]
lea edx, [ecx + edx*4]
mov eax, dword [ebp - 0x26c]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x26c]
mov dword [ebp - 0x58c], edx
mov eax, dword [ebp - 0x268]
mov dword [ebp - 0x588], eax
movzx ecx, byte [ebp - 0x241]
test ecx, ecx
je 0x47827a
mov edx, dword [ebp - 0x588]
push edx
mov eax, dword [ebp - 0x58c]
push eax
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x47827a
mov edx, dword [ebp - 0x22c]
cmp dword [edx], 0
je 0x478275
mov byte [ebp - 0x219], 0xff
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
shr ecx, 0x10
mov byte [ebp - 0x21c], cl
mov edx, dword [ebp - 0x22c]
mov eax, dword [edx]
shr eax, 8
mov byte [ebp - 0x21b], al
mov ecx, dword [ebp - 0x22c]
mov dl, byte [ecx]
mov byte [ebp - 0x21a], dl
movzx eax, byte [ebp - 0x21a]
movzx ecx, byte [ebp - 0x21b]
shl ecx, 8
or eax, ecx
movzx edx, byte [ebp - 0x21c]
shl edx, 0x10
or eax, edx
movzx ecx, byte [ebp - 0x219]
shl ecx, 0x18
add eax, ecx
mov edx, dword [ebp - 0x22c]
mov dword [edx], eax
jmp 0x47830f
mov eax, dword [ebp - 0x22c]
cmp dword [eax], 0
je 0x47830f
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
shr edx, 0x18
mov byte [ebp - 0x219], dl
movzx eax, byte [ebp - 0x219]
test eax, eax
jne 0x4782ac
mov byte [ebp - 0x219], 0xff
mov ecx, dword [ebp - 0x22c]
mov edx, dword [ecx]
shr edx, 0x10
mov byte [ebp - 0x21c], dl
mov eax, dword [ebp - 0x22c]
mov ecx, dword [eax]
shr ecx, 8
mov byte [ebp - 0x21b], cl
mov edx, dword [ebp - 0x22c]
mov al, byte [edx]
mov byte [ebp - 0x21a], al
movzx ecx, byte [ebp - 0x21a]
movzx edx, byte [ebp - 0x21b]
shl edx, 8
or ecx, edx
movzx eax, byte [ebp - 0x21c]
shl eax, 0x10
or ecx, eax
movzx edx, byte [ebp - 0x219]
shl edx, 0x18
add ecx, edx
mov eax, dword [ebp - 0x22c]
mov dword [eax], ecx
jmp 0x478174
jmp 0x478145
mov ecx, dword [ebp - 0x218]
call fcn.00476400
test eax, eax
jle 0x478338
mov ecx, dword [ebp - 0x218]
call fcn.0047aa20
jmp 0x478413
mov dword [ebp - 0x70], 0
xor ecx, ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], ecx
lea edx, [ebp - 0x70]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov byte [ebp - 0x2a0], 0
mov byte [ebp - 0x29f], 0
mov edx, dword [ebp - 0x218]
mov al, byte [edx + 0x159]
mov byte [ebp - 0x29e], al
mov byte [ebp - 0x29d], 1
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x5f8], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x5f4], edx
mov eax, dword [ebp - 0x380]
mov dword [ebp - 0x5e8], eax
mov ecx, dword [ebp - 0x5bc]
mov dword [ebp - 0x5e4], ecx
mov dword [ebp - 0x5f0], 0
mov dword [ebp - 0x5ec], 0
push 2
lea edx, [ebp - 0x2a0]
push edx
push 0
lea eax, [ebp - 0x5f0]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x8c]
push edx
lea eax, [ebp - 0x5e8]
push eax
lea ecx, [ebp - 0x5f8]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x88]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [0x13431e0]
jmp 0x478458
push 0xcc0020
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x8c]
push eax
mov ecx, dword [ebp - 0x14]
sub ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x18]
sub edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x88]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebp - 0x5b8]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x8c]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0xe1]
test edx, edx
je 0x478511
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
jne 0x478511
mov edx, dword [0x13431e4]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x88]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x568], eax
push 5
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x88]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x88]
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov ecx, dword [ebp - 0x568]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x88]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, dword [ebp - 0x218]
call fcn.0047d680
mov ecx, dword [ebp - 0x218]
mov byte [ecx + 0x15b], 0
mov edx, dword [ebp - 0x218]
movzx eax, byte [edx + 0x149]
test eax, eax
jne 0x478567
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x14a]
test edx, edx
je 0x478572
mov ecx, dword [ebp - 0x218]
call fcn.004765f0
mov al, 1
jmp 0x47a78c
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x47858d
jmp case.0x476c98.1
lea ecx, [ebp - 0xa0]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x2b8], ecx
mov edx, dword [ebp - 0x2b8]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x564], eax
push 0
lea eax, [ebp - 0xa0]
push eax
mov ecx, dword [ebp - 0x2b8]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xe4]
mov ecx, dword [ebp - 0x218]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xe4]
mov eax, dword [edx + 0x148]
call eax
mov ecx, dword [ebp + 0x10]
and ecx, 0x10
je 0x4786b9
push 5
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 0
je 0x4786b9
mov dword [ebp - 0x60], 0
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], ecx
lea edx, [ebp - 0x60]
push edx
mov eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea ecx, [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
push 0
mov ecx, dword [ebp - 0x5c]
neg ecx
push ecx
mov edx, dword [ebp - 0x60]
neg edx
push edx
mov eax, dword [ebp - 0x2b8]
push eax
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov ecx, dword [ebp + 0x10]
or ecx, 2
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x317
mov eax, dword [ebp - 0x264]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
mov ecx, dword [ebp - 0x264]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x264], eax
jmp 0x47861c
mov edx, dword [ebp - 0x564]
push edx
mov eax, dword [ebp - 0x2b8]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x476c98.1
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2c0], ecx
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0x104], 0
jle 0x4786ff
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x104]
mov dword [eax + 0x18], edx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x108], 0
jle 0x478723
mov ecx, dword [ebp - 0x2c0]
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x108]
mov dword [ecx + 0x1c], eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0x10c], 0
jle 0x478747
mov edx, dword [ebp - 0x2c0]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x10c]
mov dword [edx + 0x20], ecx
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0x110], 0
jle 0x47876b
mov eax, dword [ebp - 0x2c0]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x110]
mov dword [eax + 0x24], edx
jmp case.0x476c98.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe8], 0
je 0x478846
mov dword [ebp - 0x48c], 0
xor ecx, ecx
mov dword [ebp - 0x488], ecx
mov dword [ebp - 0x484], ecx
mov dword [ebp - 0x480], ecx
mov dword [ebp - 0x47c], ecx
mov dword [ebp - 0x478], ecx
mov dword [ebp - 0x474], ecx
mov dword [ebp - 0x470], ecx
mov dword [ebp - 0x48c], 0x17
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xe8]
mov dword [ebp - 0x488], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x474], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x470], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xfc]
mov edx, dword [eax + 0x100]
mov dword [ebp - 0x480], ecx
mov dword [ebp - 0x47c], edx
call fcn.004768f0
mov word [ebp - 0x476], ax
lea eax, [ebp - 0x48c]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xe8]
mov eax, dword [ebp - 0x218]
mov edx, dword [edx]
mov ecx, dword [eax + 0xe8]
mov eax, dword [edx + 0x11c]
call eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xe4], 0
je 0x478866
mov edx, dword [ebp - 0x218]
mov ecx, dword [edx + 0xe4]
call fcn.00487510
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
je 0x478882
mov ecx, dword [ebp - 0x218]
call fcn.004765f0
mov al, 1
jmp 0x47a78c
mov edx, dword [ebp + 0xc]
and edx, 0xffff
movzx eax, dx
cmp eax, 0x2000
jne 0x478901
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x15a]
test edx, edx
je 0x478901
mov eax, dword [ebp - 0x218]
add eax, 0x15c
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x478901
mov dword [ebp - 0x560], 0
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4788fc
lea eax, [ebp - 0x560]
push eax
push 0
push 0
push 0xf
mov ecx, dword [ebp - 0x218]
call fcn.00476980
jmp case.0x476c98.1
mov dword [ebp - 0x2c4], 0
jmp 0x47891c
mov ecx, dword [ebp - 0x2c4]
add ecx, 1
mov dword [ebp - 0x2c4], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2d4
call fcn.004c6440
cmp dword [ebp - 0x2c4], eax
jge 0x478a62
mov edx, dword [ebp - 0x2c4]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2d4
call fcn.00484790
mov dword [ebp - 0x248], eax
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0x218]
mov edx, dword [eax + 8]
cmp edx, dword [ecx + 0x84]
jne 0x478a5d
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x248]
cmp dword [edx + 0xc], ecx
jne 0x478a5d
mov eax, dword [ebp - 0x248]
movzx ecx, byte [eax + 0x10]
test ecx, ecx
jne 0x478a5d
mov dword [ebp - 0x4ac], 0
xor edx, edx
mov dword [ebp - 0x4a8], edx
mov dword [ebp - 0x4a4], edx
mov dword [ebp - 0x4a0], edx
mov dword [ebp - 0x49c], edx
mov dword [ebp - 0x498], edx
mov dword [ebp - 0x494], edx
mov dword [ebp - 0x490], edx
mov dword [ebp - 0x4ac], 0x19
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
mov dword [ebp - 0x4a8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4a4], eax
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x49c], ecx
call fcn.004768f0
mov word [ebp - 0x496], ax
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 4]
mov dword [ebp - 0x494], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x490], ecx
lea edx, [ebp - 0x4ac]
push edx
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x248]
mov eax, dword [ecx]
mov ecx, dword [edx]
mov edx, dword [eax + 0x11c]
call edx
jmp 0x478a62
jmp 0x47890d
jmp case.0x476c98.1
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0xe0]
test ecx, ecx
je 0x478a88
mov edx, dword [ebp + 0x14]
mov dword [edx], 3
mov al, 1
jmp 0x47a78c
jmp case.0x476c98.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x478aa1
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
mov byte [ecx + 0x2c0], 0
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x2e8], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x2e4], edx
mov eax, dword [ebp - 0x2e4]
push eax
mov ecx, dword [ebp - 0x2e8]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00475870
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x478b02
jmp case.0x476c98.1
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xec], 0
je 0x478bd2
mov dword [ebp - 0x4cc], 0
xor eax, eax
mov dword [ebp - 0x4c8], eax
mov dword [ebp - 0x4c4], eax
mov dword [ebp - 0x4c0], eax
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x4b4], eax
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 0x4cc], 0xc
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xec]
mov dword [ebp - 0x4c8], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4b4], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4b0], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c4], eax
mov edx, dword [ebp - 0x2e8]
mov dword [ebp - 0x4c0], edx
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x4bc], eax
call fcn.004768f0
mov word [ebp - 0x4b6], ax
lea ecx, [ebp - 0x4cc]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xec]
mov ecx, dword [ebp - 0x218]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xec]
mov eax, dword [edx + 0x11c]
call eax
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x224]
mov edx, dword [eax + 0xac]
call edx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x134]
call fcn.004852d0
movzx eax, al
test eax, eax
je 0x478c2c
mov byte [ebp - 0x242], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00484630
mov al, byte [ebp - 0x242]
jmp 0x47a78c
lea ecx, [ebp - 0x134]
push ecx
call fcn.0047b4d0
add esp, 4
push 0x2c
push 0
mov edx, dword [ebp - 0x218]
add edx, 0xb0
push edx
call fcn.004f3280
add esp, 0xc
mov eax, dword [ebp - 0x218]
mov dword [eax + 0xb0], 0x2c
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xb4], 1
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
mov dword [edx + 0xb8], ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
mov dword [edx + 0xbc], ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [0x13431d8]
mov dword [edx + 0xd0], eax
lea ecx, [ebp - 0x134]
call fcn.00403be0
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xd4], eax
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x224]
mov edx, dword [eax + 0x40]
call edx
mov ecx, dword [ebp - 0x218]
add ecx, 0xc0
mov edx, dword [eax]
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov dword [ecx + 8], edx
mov eax, dword [eax + 0xc]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xac], 0
jne 0x478e03
push 0
mov edx, dword [0x13431d8]
push edx
push 0
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push 0
push 0x560488
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edx, dword [ebp - 0x218]
mov dword [edx + 0xac], eax
mov eax, dword [ebp - 0x218]
add eax, 0xb0
push eax
push 0
push 0x432
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x224]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x224]
mov eax, dword [edx + 0xb8]
call eax
push eax
push 0
push 0x418
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x218]
add eax, 0xb0
push eax
push 0
push 0x436
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x218]
add eax, 0xb0
push eax
push 1
push 0x411
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xf8], 0
jne 0x478e29
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x224]
mov dword [ecx + 0xf8], edx
jmp 0x478f87
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xf8]
cmp ecx, dword [ebp - 0x224]
jne 0x478f08
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x224]
mov edx, dword [eax + 0xb8]
call edx
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xa8], eax
je 0x478eb8
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x224]
mov edx, dword [eax + 0xb8]
call edx
push eax
push 0
push 0x418
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x224]
mov edx, dword [eax + 0xb8]
call edx
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xa8], eax
mov edx, dword [ebp - 0x218]
add edx, 0xb0
push edx
push 0
push 0x436
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x218]
add edx, 0xb0
push edx
push 1
push 0x411
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x478f87
mov edx, dword [ebp - 0x224]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x224]
mov edx, dword [eax + 0xb8]
call edx
push eax
push 0
push 0x418
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x218]
add edx, 0xb0
push edx
push 0
push 0x436
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x218]
add edx, 0xb0
push edx
push 1
push 0x411
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x2e8]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x2e4]
and ecx, 0xffff
movzx edx, cx
shl edx, 0x10
or eax, edx
push eax
push 0
push 0x412
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xac]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x134]
call fcn.00484630
mov al, 1
jmp 0x47a78c
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xe4], 0
jne 0x478ff2
jmp case.0x476c98.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xac], 0
je 0x479028
mov ecx, dword [ebp - 0x218]
add ecx, 0xb0
push ecx
push 0
push 0x411
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x2c0]
test edx, edx
je 0x4791ad
mov dword [ebp - 0x2b4], 0
xor eax, eax
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x80], 0
xor ecx, ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
lea edx, [ebp - 0x2b4]
push edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x479191
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, dword [ebp - 0x218]
cmp eax, dword [edx + 0x84]
jne 0x479191
mov eax, dword [ebp - 0x2b0]
push eax
mov ecx, dword [ebp - 0x2b4]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x479191
mov eax, dword [ebp - 0x2b4]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2b0]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
push 0
push 0x84
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
jne 0x479173
lea eax, [ebp - 0x2b4]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x2b4]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2b0]
and edx, 0xffff
movzx eax, dx
shl eax, 0x10
or ecx, eax
push ecx
push 0
push 0x200
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x47918f
push 0xffffffffffffffff
push 0
push 0x200
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4791ad
push 0xffffffffffffffff
push 0
push 0x200
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x218]
mov byte [ecx + 0x2c0], 0
jmp case.0x476c98.1
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xe4], 0
jne 0x4791d3
jmp case.0x476c98.1
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x2c0]
test ecx, ecx
jne 0x479297
mov dword [ebp - 0x42c], 0
xor edx, edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x42c], 0x10
mov dword [ebp - 0x428], 3
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xac], 0
jne 0x47924f
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xdc]
mov dword [ebp - 0x340], ecx
jmp 0x479271
push 0
push 3
push 0x415
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xac]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x340]
mov dword [ebp - 0x420], ecx
lea edx, [ebp - 0x42c]
push edx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov eax, dword [ebp - 0x218]
mov byte [eax + 0x2c0], 1
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x2ac], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x2a8], ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x2ac]
mov dword [edx + 0xfc], eax
mov ecx, dword [ebp - 0x2a8]
mov dword [edx + 0x100], ecx
mov edx, dword [ebp - 0x2a8]
push edx
mov eax, dword [ebp - 0x2ac]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.00475870
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x479323
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx + 0x24]
call eax
cmp eax, dword [ebp - 0x218]
je 0x479323
jmp case.0x476c98.1
mov dword [ebp - 0x33c], 0
xor ecx, ecx
mov dword [ebp - 0x338], ecx
mov dword [ebp - 0x334], ecx
mov dword [ebp - 0x330], ecx
mov dword [ebp - 0x32c], ecx
mov dword [ebp - 0x328], ecx
mov dword [ebp - 0x324], ecx
mov dword [ebp - 0x320], ecx
mov edx, dword [ebp - 0x2ac]
mov dword [ebp - 0x330], edx
mov eax, dword [ebp - 0x2a8]
mov dword [ebp - 0x32c], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x324], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x320], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x334], eax
call fcn.004768f0
mov word [ebp - 0x326], ax
mov ecx, dword [ebp - 0x218]
call fcn.00476690
movzx eax, al
test eax, eax
jne 0x479603
mov ecx, dword [ebp - 0x2a8]
push ecx
mov edx, dword [ebp - 0x2ac]
push edx
mov ecx, dword [ebp - 0x218]
call fcn.00475870
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x4793f9
mov eax, dword [ebp - 0x220]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx + 0x24]
call eax
cmp eax, dword [ebp - 0x218]
je 0x4793f9
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x220]
cmp edx, dword [ecx + 0xec]
je 0x4795a1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xec], 0
je 0x4795a1
mov dword [ebp - 0x33c], 0xa
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xec]
mov dword [ebp - 0x338], edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x340
call fcn.004c6440
push eax
lea ecx, [ebp - 0x574]
call fcn.00484380
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x218]
add ecx, 0x340
call fcn.004c6440
push eax
lea ecx, [ebp - 0x574]
call fcn.00485900
mov ecx, dword [ebp - 0x218]
add ecx, 0x340
call fcn.004c6440
shl eax, 2
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x340
call fcn.00403be0
push eax
lea ecx, [ebp - 0x574]
call fcn.00403be0
push eax
call fcn.004f3650
add esp, 0xc
mov dword [ebp - 0x2c8], 0
jmp 0x4794d7
mov eax, dword [ebp - 0x2c8]
add eax, 1
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x574]
call fcn.004c6440
cmp dword [ebp - 0x2c8], eax
jge 0x479521
mov ecx, dword [ebp - 0x2c8]
push ecx
lea ecx, [ebp - 0x574]
call fcn.00484790
mov dword [ebp - 0x394], eax
lea edx, [ebp - 0x33c]
push edx
mov eax, dword [ebp - 0x394]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x394]
mov eax, dword [edx + 0x11c]
call eax
jmp 0x4794c8
lea ecx, [ebp - 0x33c]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xec]
mov ecx, dword [ebp - 0x218]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xec]
mov eax, dword [edx + 0x11c]
call eax
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xec], 0
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xac], 0
je 0x47958f
mov eax, dword [ebp - 0x218]
add eax, 0xb0
push eax
push 0
push 0x411
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xac]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x574]
call fcn.00484600
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x220]
cmp ecx, dword [eax + 0xec]
je 0x479603
cmp dword [ebp - 0x220], 0
je 0x479603
mov dword [ebp - 0x33c], 0xb
mov edx, dword [ebp - 0x220]
mov dword [ebp - 0x338], edx
lea eax, [ebp - 0x33c]
push eax
mov ecx, dword [ebp - 0x220]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx + 0x11c]
call eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x220]
mov dword [ecx + 0xec], edx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xf0], 0
je 0x479659
mov dword [ebp - 0x33c], 9
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov dword [ebp - 0x338], edx
lea eax, [ebp - 0x33c]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov eax, dword [ebp - 0x218]
mov edx, dword [edx]
mov ecx, dword [eax + 0xf0]
mov eax, dword [edx + 0x11c]
call eax
jmp 0x479695
cmp dword [ebp - 0x220], 0
je 0x479695
mov dword [ebp - 0x33c], 9
mov ecx, dword [ebp - 0x220]
mov dword [ebp - 0x338], ecx
lea edx, [ebp - 0x33c]
push edx
mov eax, dword [ebp - 0x220]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x220]
mov eax, dword [edx + 0x11c]
call eax
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0xe0]
test edx, edx
jne 0x4796be
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xe4], 0
jne 0x4796d2
jmp case.0x476c98.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x2f0], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x2ec], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x2f0]
mov dword [ecx + 0xfc], edx
mov eax, dword [ebp - 0x2ec]
mov dword [ecx + 0x100], eax
mov ecx, dword [ebp - 0x2ec]
push ecx
mov edx, dword [ebp - 0x2f0]
push edx
mov ecx, dword [ebp - 0x218]
call fcn.00475870
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x479743
jmp case.0x476c98.1
mov eax, dword [ebp - 0x238]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 0x24]
call eax
cmp eax, dword [ebp - 0x218]
je 0x479763
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x238]
mov dword [ecx + 0xf0], edx
mov eax, dword [ebp - 0x238]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 0x104]
call eax
mov ecx, dword [ebp - 0x218]
call fcn.0047c9b0
mov dword [ebp - 0x4ec], 0
xor ecx, ecx
mov dword [ebp - 0x4e8], ecx
mov dword [ebp - 0x4e4], ecx
mov dword [ebp - 0x4e0], ecx
mov dword [ebp - 0x4dc], ecx
mov dword [ebp - 0x4d8], ecx
mov dword [ebp - 0x4d4], ecx
mov dword [ebp - 0x4d0], ecx
mov dword [ebp - 0x4ec], 0xd
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x4e8], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4d4], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x4d0], ecx
mov edx, dword [ebp - 0x2f0]
mov dword [ebp - 0x4e0], edx
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x4dc], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x4d6], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4e4], eax
lea edx, [ebp - 0x4ec]
push edx
mov eax, dword [ebp - 0x238]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x238]
mov eax, dword [edx + 0x11c]
call eax
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0xe0]
test edx, edx
jne 0x479869
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x2f8], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x2f4], edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x2f8]
mov dword [eax + 0xfc], ecx
mov edx, dword [ebp - 0x2f4]
mov dword [eax + 0x100], edx
mov eax, dword [ebp - 0x2f4]
push eax
mov ecx, dword [ebp - 0x2f8]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00475870
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x4798db
jmp case.0x476c98.1
mov edx, dword [ebp - 0x24c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24c]
mov edx, dword [eax + 0x24]
call edx
cmp eax, dword [ebp - 0x218]
je 0x4798fb
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
call fcn.0047c9b0
mov dword [ebp - 0x5e0], 0
xor eax, eax
mov dword [ebp - 0x5dc], eax
mov dword [ebp - 0x5d8], eax
mov dword [ebp - 0x5d4], eax
mov dword [ebp - 0x5d0], eax
mov dword [ebp - 0x5cc], eax
mov dword [ebp - 0x5c8], eax
mov dword [ebp - 0x5c4], eax
mov dword [ebp - 0x5e0], 0x11
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x5dc], ecx
mov edx, dword [ebp - 0x2f8]
mov dword [ebp - 0x5d4], edx
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x5d0], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x5ca], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5d8], eax
lea edx, [ebp - 0x5e0]
push edx
mov eax, dword [ebp - 0x24c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x24c]
mov eax, dword [edx + 0x11c]
call eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x24c]
mov dword [ecx + 0xf0], edx
jmp case.0x476c98.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x374], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x374]
mov dword [ecx + 0xfc], edx
mov eax, dword [ebp - 0x370]
mov dword [ecx + 0x100], eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xf0], 0
jne 0x479a0d
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
call fcn.0047b860
mov dword [ebp - 0x50c], 0
xor edx, edx
mov dword [ebp - 0x508], edx
mov dword [ebp - 0x504], edx
mov dword [ebp - 0x500], edx
mov dword [ebp - 0x4fc], edx
mov dword [ebp - 0x4f8], edx
mov dword [ebp - 0x4f4], edx
mov dword [ebp - 0x4f0], edx
mov dword [ebp - 0x50c], 0xe
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xf0]
mov dword [ebp - 0x508], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x4f4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x374]
mov dword [ebp - 0x500], ecx
mov edx, dword [ebp - 0x370]
mov dword [ebp - 0x4fc], edx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x4f6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x504], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov dword [ebp - 0x38c], edx
mov eax, dword [ebp - 0x218]
mov dword [eax + 0xf0], 0
lea ecx, [ebp - 0x50c]
push ecx
mov edx, dword [ebp - 0x38c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38c]
mov edx, dword [eax + 0x11c]
call edx
jmp case.0x476c98.1
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0xe0]
test ecx, ecx
jne 0x479b13
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp + 0x10]
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x300], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x2fc], ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x300]
mov dword [edx + 0xfc], eax
mov ecx, dword [ebp - 0x2fc]
mov dword [edx + 0x100], ecx
mov edx, dword [ebp - 0x2fc]
push edx
mov eax, dword [ebp - 0x300]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.00475870
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x479b84
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [edx + 0x24]
call eax
cmp eax, dword [ebp - 0x218]
je 0x479ba4
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [edx + 0x104]
call eax
mov dword [ebp - 0x52c], 0
xor ecx, ecx
mov dword [ebp - 0x528], ecx
mov dword [ebp - 0x524], ecx
mov dword [ebp - 0x520], ecx
mov dword [ebp - 0x51c], ecx
mov dword [ebp - 0x518], ecx
mov dword [ebp - 0x514], ecx
mov dword [ebp - 0x510], ecx
mov dword [ebp - 0x52c], 0xf
mov edx, dword [ebp - 0x23c]
mov dword [ebp - 0x528], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x514], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x510], ecx
mov edx, dword [ebp - 0x300]
mov dword [ebp - 0x520], edx
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x51c], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x516], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x524], eax
lea edx, [ebp - 0x52c]
push edx
mov eax, dword [ebp - 0x23c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [edx + 0x11c]
call eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x23c]
mov dword [ecx + 0xf0], edx
jmp case.0x476c98.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x37c], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x378], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x37c]
mov dword [ecx + 0xfc], edx
mov eax, dword [ebp - 0x378]
mov dword [ecx + 0x100], eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xf0], 0
jne 0x479cd3
jmp case.0x476c98.1
mov dword [ebp - 0x54c], 0
xor edx, edx
mov dword [ebp - 0x548], edx
mov dword [ebp - 0x544], edx
mov dword [ebp - 0x540], edx
mov dword [ebp - 0x53c], edx
mov dword [ebp - 0x538], edx
mov dword [ebp - 0x534], edx
mov dword [ebp - 0x530], edx
mov dword [ebp - 0x54c], 0x10
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xf0]
mov dword [ebp - 0x548], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x534], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x530], eax
mov ecx, dword [ebp - 0x37c]
mov dword [ebp - 0x540], ecx
mov edx, dword [ebp - 0x378]
mov dword [ebp - 0x53c], edx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x536], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x544], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov dword [ebp - 0x358], edx
mov eax, dword [ebp - 0x218]
mov dword [eax + 0xf0], 0
lea ecx, [ebp - 0x54c]
push ecx
mov edx, dword [ebp - 0x358]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x358]
mov edx, dword [eax + 0x11c]
call edx
jmp case.0x476c98.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x479dbe
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
call fcn.00476690
movzx ecx, al
test ecx, ecx
je 0x479dd5
jmp case.0x476c98.1
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x314], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x310], edx
lea eax, [ebp - 0x314]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x314]
mov dword [eax + 0xfc], ecx
mov edx, dword [ebp - 0x310]
mov dword [eax + 0x100], edx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xf0], 0
jne 0x479e48
jmp case.0x476c98.1
mov dword [ebp - 0x5b4], 0
xor ecx, ecx
mov dword [ebp - 0x5b0], ecx
mov dword [ebp - 0x5ac], ecx
mov dword [ebp - 0x5a8], ecx
mov dword [ebp - 0x5a4], ecx
mov dword [ebp - 0x5a0], ecx
mov dword [ebp - 0x59c], ecx
mov dword [ebp - 0x598], ecx
mov dword [ebp - 0x5b4], 0x12
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xf0]
mov dword [ebp - 0x5b0], eax
mov ecx, dword [ebp - 0x314]
mov dword [ebp - 0x5a8], ecx
mov edx, dword [ebp - 0x310]
mov dword [ebp - 0x5a4], edx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x59e], ax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov dword [ebp - 0x598], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5ac], eax
lea eax, [ebp - 0x5b4]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov eax, dword [ebp - 0x218]
mov edx, dword [edx]
mov ecx, dword [eax + 0xf0]
mov eax, dword [edx + 0x11c]
call eax
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0xf0], 0
jmp case.0x476c98.1
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xe4], 0
jne 0x479f2d
jmp case.0x476c98.1
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 0x218]
cmp eax, dword [ecx + 0x84]
je 0x479f46
jmp case.0x476c98.1
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x318], edx
lea eax, [ebp - 0x31c]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x31c]
mov dword [eax + 0xfc], ecx
mov edx, dword [ebp - 0x318]
mov dword [eax + 0x100], edx
mov eax, dword [ebp - 0x318]
push eax
mov ecx, dword [ebp - 0x31c]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00475870
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 0
jne 0x479fd2
jmp case.0x476c98.1
mov edx, dword [ebp - 0x254]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x254]
mov edx, dword [eax + 0x24]
call edx
cmp eax, dword [ebp - 0x218]
je 0x479ff2
jmp case.0x476c98.1
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x55c], ecx
mov dword [ebp - 0x46c], 0
xor edx, edx
mov dword [ebp - 0x468], edx
mov dword [ebp - 0x464], edx
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x45c], edx
mov dword [ebp - 0x458], edx
mov dword [ebp - 0x454], edx
mov dword [ebp - 0x450], edx
mov dword [ebp - 0x46c], 0x13
mov eax, dword [ebp - 0x254]
mov dword [ebp - 0x468], eax
cmp dword [ebp - 0x55c], 0
jge 0x47a067
mov dword [ebp - 0x354], 1
jmp 0x47a071
mov dword [ebp - 0x354], 0
mov ecx, dword [ebp - 0x354]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x454], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x450], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xfc]
mov eax, dword [ecx + 0x100]
mov dword [ebp - 0x460], edx
mov dword [ebp - 0x45c], eax
call fcn.004768f0
mov word [ebp - 0x456], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x464], eax
lea ecx, [ebp - 0x46c]
push ecx
mov edx, dword [ebp - 0x254]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x254]
mov edx, dword [eax + 0x11c]
call edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xfc]
and ecx, 0xffff
movzx edx, cx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x100]
and ecx, 0xffff
movzx eax, cx
shl eax, 0x10
or edx, eax
push edx
push 0
push 0x200
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x476c98.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x47a145
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xe8], 0
jne 0x47a159
jmp case.0x476c98.1
mov dword [ebp - 0x3fc], 0
xor edx, edx
mov dword [ebp - 0x3f8], edx
mov dword [ebp - 0x3f4], edx
mov dword [ebp - 0x3f0], edx
mov dword [ebp - 0x3ec], edx
mov dword [ebp - 0x3e8], edx
mov dword [ebp - 0x3e4], edx
mov dword [ebp - 0x3e0], edx
mov dword [ebp - 0x3fc], 5
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xe8]
mov dword [ebp - 0x3f8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3e4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3e0], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x3e8], cx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [ebp - 0x3f0], eax
mov dword [ebp - 0x3ec], ecx
call fcn.004768f0
mov word [ebp - 0x3e6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3f4], eax
lea edx, [ebp - 0x3fc]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xe8]
mov edx, dword [ebp - 0x218]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xe8]
mov edx, dword [eax + 0x11c]
call edx
jmp case.0x476c98.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x47a240
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xe8], 0
jne 0x47a254
jmp case.0x476c98.1
mov dword [ebp - 0x3dc], 0
xor edx, edx
mov dword [ebp - 0x3d8], edx
mov dword [ebp - 0x3d4], edx
mov dword [ebp - 0x3d0], edx
mov dword [ebp - 0x3cc], edx
mov dword [ebp - 0x3c8], edx
mov dword [ebp - 0x3c4], edx
mov dword [ebp - 0x3c0], edx
mov dword [ebp - 0x3dc], 3
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xe8]
mov dword [ebp - 0x3d8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3c4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3c0], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x3c8], cx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [ebp - 0x3d0], eax
mov dword [ebp - 0x3cc], ecx
call fcn.004768f0
mov word [ebp - 0x3c6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3d4], eax
lea edx, [ebp - 0x3dc]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xe8]
mov edx, dword [ebp - 0x218]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xe8]
mov edx, dword [eax + 0x11c]
call edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xe8]
mov dword [eax + 0xf4], edx
jmp case.0x476c98.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x47a353
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xf4], 0
jne 0x47a367
jmp case.0x476c98.1
mov dword [ebp - 0x3bc], 0
xor edx, edx
mov dword [ebp - 0x3b8], edx
mov dword [ebp - 0x3b4], edx
mov dword [ebp - 0x3b0], edx
mov dword [ebp - 0x3ac], edx
mov dword [ebp - 0x3a8], edx
mov dword [ebp - 0x3a4], edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 0x3bc], 4
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xf4]
mov dword [ebp - 0x3b8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3a4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3a0], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x3a8], cx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3ac], ecx
call fcn.004768f0
mov word [ebp - 0x3a6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3b4], eax
lea edx, [ebp - 0x3bc]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xf4]
mov edx, dword [ebp - 0x218]
mov eax, dword [ecx]
mov ecx, dword [edx + 0xf4]
mov edx, dword [eax + 0x11c]
call edx
mov eax, dword [ebp - 0x218]
mov dword [eax + 0xf4], 0
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xe4], 0
jne 0x47a45e
jmp case.0x476c98.1
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
cmp eax, 1
je 0x47a474
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x2c1]
test edx, edx
je 0x47a48c
mov al, 1
jmp 0x47a78c
mov dword [ebp - 0x308], 0
xor eax, eax
mov dword [ebp - 0x304], eax
lea ecx, [ebp - 0x308]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x308]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov edx, dword [ebp - 0x304]
push edx
mov eax, dword [ebp - 0x308]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.00475870
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0
jne 0x47a4f2
jmp case.0x476c98.1
mov ecx, dword [ebp - 0x250]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x250]
mov eax, dword [edx + 0x18]
call eax
and eax, 2
jne 0x47a50f
jmp case.0x476c98.1
mov dword [ebp - 0x44c], 0
xor ecx, ecx
mov dword [ebp - 0x448], ecx
mov dword [ebp - 0x444], ecx
mov dword [ebp - 0x440], ecx
mov dword [ebp - 0x43c], ecx
mov dword [ebp - 0x438], ecx
mov dword [ebp - 0x434], ecx
mov dword [ebp - 0x430], ecx
mov dword [ebp - 0x44c], 0x18
mov edx, dword [ebp - 0x250]
mov dword [ebp - 0x448], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x434], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x430], ecx
mov edx, dword [ebp - 0x308]
mov dword [ebp - 0x440], edx
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x43c], eax
call fcn.004768f0
mov word [ebp - 0x436], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x444], eax
lea ecx, [ebp - 0x44c]
push ecx
mov edx, dword [ebp - 0x250]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x250]
mov edx, dword [eax + 0x11c]
call edx
mov al, 1
jmp 0x47a78c
cmp dword [ebp + 0xc], 0
je 0x47a6d3
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x2e0], eax
mov dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x2e0]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0
je 0x47a6d3
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
cmp edx, dword [ebp - 0x2cc]
jne 0x47a6c2
mov dword [ebp - 0x260], 0
jmp 0x47a634
mov eax, dword [ebp - 0x260]
add eax, 1
mov dword [ebp - 0x260], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x304
call fcn.004c6440
cmp dword [ebp - 0x260], eax
jge 0x47a6c0
mov ecx, dword [ebp - 0x260]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x304
call fcn.00484790
cmp eax, dword [ebp - 0x2e0]
jne 0x47a6bb
mov edx, dword [ebp - 0x260]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x310
call fcn.00484790
mov ecx, dword [ebp - 0x218]
cmp eax, dword [ecx + 0xe8]
je 0x47a6b9
push 0
mov edx, dword [ebp - 0x260]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x310
call fcn.00484790
push eax
mov ecx, dword [ebp - 0x218]
call fcn.0047cdd0
jmp 0x47a6c0
jmp 0x47a625
jmp 0x47a6d3
mov eax, dword [ebp - 0x2cc]
mov dword [ebp - 0x2e0], eax
jmp 0x47a5e1
jmp case.0x476c98.1
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x35c], ecx
cmp dword [ebp - 0x35c], 0
je 0x47a710
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x2000
push ecx
mov edx, dword [ebp - 0x35c]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, 1
jmp 0x47a78c
cmp dword [ebp + 0x10], 0
jne 0x47a71e
jmp case.0x476c98.1
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x590], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x2000
push edx
mov eax, dword [ebp - 0x590]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, 1
jmp 0x47a78c
cmp dword [ebp + 0x10], 0
jne 0x47a759
jmp case.0x476c98.1
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x558], edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
add edx, 0x2000
push edx
mov eax, dword [ebp - 0x558]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, 1
jmp 0x47a78c
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00472272
mov esp, ebp
pop ebp
ret 0x10