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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54e45b
mov eax, dword fs:[0]
push eax
sub esp, 0x5ec
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 0x476a87
xor al, al
jmp 0x47a7e0
mov dword [ebp - 0x284], 0
jmp 0x476aa2
mov ecx, dword [ebp - 0x284]
add ecx, 1
mov dword [ebp - 0x284], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2ec
call fcn.00488690
cmp dword [ebp - 0x284], eax
jge 0x476c3c
mov byte [ebp - 0x22d], 0
mov edx, dword [ebp - 0x284]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2ec
call fcn.004846a0
mov dword [ebp - 0x394], 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 - 0x394]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x394]
mov eax, dword [edx]
call eax
mov dword [ebp - 0x550], eax
movzx ecx, byte [ebp - 0x22d]
test ecx, ecx
je 0x476c37
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp - 0x550]
mov dword [edx], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x250], ecx
cmp dword [ebp - 0x250], 0x200
ja 0x476b58
cmp dword [ebp - 0x250], 0x200
je case.0x476b84.0
cmp dword [ebp - 0x250], 0x7b
je case.0x476b84.9
jmp case.0x476b84.3
mov edx, dword [ebp - 0x250]
sub edx, 0x201
mov dword [ebp - 0x250], edx
cmp dword [ebp - 0x250], 9
ja case.0x476b84.3
mov eax, dword [ebp - 0x250]
movzx ecx, byte [eax + 0x47a808]
jmp dword [ecx*4 + 0x47a7fc]
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 edx, dword [ebp - 0x578]
mov dword [eax + 0xfc], ecx
mov dword [eax + 0x100], edx
jmp case.0x476b84.3
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 eax, dword [ebp - 0x398]
mov dword [ecx + 0xfc], edx
mov dword [ecx + 0x100], eax
mov al, 1
jmp 0x47a7e0
jmp 0x476a93
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x15a]
test edx, edx
je 0x476cd7
mov eax, dword [ebp + 8]
mov dword [ebp - 0x2e0], eax
cmp dword [ebp - 0x2e0], 0x83
je 0x476cc7
cmp dword [ebp - 0x2e0], 0x85
je 0x476cc7
cmp dword [ebp - 0x2e0], 0x86
je 0x476c80
jmp 0x476cd7
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
push edx
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x476cc5
cmp dword [ebp + 0xc], 0
jne 0x476ca9
mov dword [ebp - 0x390], 1
jmp 0x476cb3
mov dword [ebp - 0x390], 0
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x390]
mov dword [eax], ecx
mov al, 1
jmp 0x47a7e0
jmp 0x476cd7
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov al, 1
jmp 0x47a7e0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x228], eax
cmp dword [ebp - 0x228], 0x111
ja 0x476d2f
cmp dword [ebp - 0x228], 0x111
je 0x47a76a
mov ecx, dword [ebp - 0x228]
sub ecx, 5
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0xfd
ja case.0x476d7a.1
mov edx, dword [ebp - 0x228]
movzx eax, byte [edx + 0x47a84c]
jmp dword [eax*4 + 0x47a814]
cmp dword [ebp - 0x228], 0x2a1
ja 0x476d81
cmp dword [ebp - 0x228], 0x2a1
je 0x478b25
mov ecx, dword [ebp - 0x228]
sub ecx, 0x113
mov dword [ebp - 0x228], ecx
cmp dword [ebp - 0x228], 0xf7
ja case.0x476d7a.1
mov edx, dword [ebp - 0x228]
movzx eax, byte [edx + 0x47a974]
jmp dword [eax*4 + 0x47a94c]
cmp dword [ebp - 0x228], 0x2a3
je 0x479072
cmp dword [ebp - 0x228], 0x318
je 0x47861d
cmp dword [ebp - 0x228], 0x8001
je 0x476db2
jmp case.0x476d7a.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.00484e10
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x476f2e
push 1
push 0
mov ecx, dword [ebp - 0x218]
add ecx, 0x328
call fcn.004853c0
mov edx, dword [ebp - 0x240]
cmp dword [edx + 0x108], 0
je 0x476e49
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 0x108]
add ecx, 0x38
call fcn.00488500
movzx ecx, al
test ecx, ecx
je 0x476e49
mov edx, dword [ebp - 0x240]
push edx
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 0x108]
add ecx, 0x38
call fcn.00488550
mov dword [ebp - 0x288], 0
jmp 0x476e64
mov ecx, dword [ebp - 0x288]
add ecx, 1
mov dword [ebp - 0x288], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2c8
call fcn.00488690
cmp dword [ebp - 0x288], eax
jge 0x476eb6
mov edx, dword [ebp - 0x288]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2c8
call fcn.004846a0
mov dword [ebp - 0x38c], eax
mov eax, dword [ebp - 0x240]
push eax
mov ecx, dword [ebp - 0x38c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x38c]
mov eax, dword [edx]
call eax
jmp 0x476e55
mov ecx, dword [ebp - 0x240]
mov dword [ebp - 0x268], ecx
cmp dword [ebp - 0x268], 0
je 0x476f1f
mov edx, dword [ebp - 0x5f8]
mov dword [ebp - 0x384], edx
mov ecx, dword [ebp - 0x268]
add ecx, 0x84
call fcn.00484540
mov ecx, dword [ebp - 0x268]
call fcn.00484540
mov eax, 1
and eax, 1
je 0x476f11
push 0x120
mov ecx, dword [ebp - 0x268]
push ecx
call fcn.00472569
add esp, 8
mov edx, dword [ebp - 0x268]
mov dword [ebp - 0x384], edx
jmp 0x476f29
mov dword [ebp - 0x384], 0
jmp 0x476dc9
mov dword [ebp - 0x28c], 0
jmp 0x476f49
mov eax, dword [ebp - 0x28c]
add eax, 1
mov dword [ebp - 0x28c], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x31c
call fcn.00488690
cmp dword [ebp - 0x28c], eax
jge 0x476f94
mov ecx, dword [ebp - 0x28c]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x31c
call fcn.004846a0
mov dword [ebp - 0x380], eax
mov edx, dword [ebp - 0x380]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x380]
mov edx, dword [eax]
call edx
jmp 0x476f3a
mov ecx, dword [ebp - 0x218]
add ecx, 0x31c
call fcn.00484a00
jmp case.0x476d7a.1
xor eax, eax
mov dword [ebp - 0x40c], eax
mov dword [ebp - 0x408], eax
mov dword [ebp - 0x404], eax
mov dword [ebp - 0x400], eax
mov dword [ebp - 0x3fc], eax
mov dword [ebp - 0x3f8], eax
mov dword [ebp - 0x3f4], eax
mov dword [ebp - 0x3f0], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xfc]
mov eax, dword [ecx + 0x100]
mov dword [ebp - 0x400], edx
mov dword [ebp - 0x3fc], eax
call fcn.004769b0
mov word [ebp - 0x3f6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x404], eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xec], 0
je 0x477066
mov dword [ebp - 0x40c], 0xa
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xec]
mov dword [ebp - 0x408], eax
lea ecx, [ebp - 0x40c]
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]
cmp dword [ecx + 0xf0], 0
je 0x4770ba
mov dword [ebp - 0x40c], 0xe
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xf0]
mov dword [ebp - 0x408], eax
lea ecx, [ebp - 0x40c]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xf0]
mov ecx, dword [ebp - 0x218]
mov edx, dword [eax]
mov ecx, dword [ecx + 0xf0]
mov eax, dword [edx + 0x11c]
call eax
push 1
push 0
mov ecx, dword [ebp - 0x218]
call fcn.0047cde0
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x218]
cmp eax, dword [ecx + 0x84]
jne 0x477143
push 4
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x30c], 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 0x47712d
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x30c], eax
cmp dword [ebp - 0x30c], 0
je 0x477143
mov edx, dword [ebp - 0x30c]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xac], 0
je 0x477175
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.0x476d7a.1
mov ecx, dword [ebp + 0x14]
mov dword [ecx], 1
mov al, 1
jmp 0x47a7e0
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xe4], 0
jne 0x477205
push 0x40
push 0
lea eax, [ebp - 0xe0]
push eax
call fcn.004f3400
add esp, 0xc
lea ecx, [ebp - 0xe0]
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 - 0xd8]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x88]
push eax
call fcn.0048d790
add esp, 0xc
lea ecx, [ebp - 0xe0]
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 0x47a7e0
xor ecx, ecx
mov dword [ebp - 0x204], ecx
mov dword [ebp - 0x200], ecx
mov dword [ebp - 0x1fc], ecx
mov dword [ebp - 0x1f8], ecx
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
xor edx, edx
mov dword [ebp - 0x20], 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 0x47737f
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 0x4772e4
push 0x40
push 0
lea eax, [ebp - 0x170]
push eax
call fcn.004f3400
add esp, 0xc
lea ecx, [ebp - 0x170]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
lea ecx, [ebp - 0x170]
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 0x47a7e0
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x204]
jg 0x477303
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
add eax, dword [ebp - 0x204]
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x1c]
cmp edx, dword [ebp - 0x200]
jg 0x477322
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
add eax, dword [ebp - 0x200]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x1fc]
jl 0x477343
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
mov ecx, dword [ebp - 0x1fc]
sub ecx, eax
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x14]
cmp edx, dword [ebp - 0x1f8]
jl 0x477364
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
mov ecx, dword [ebp - 0x1f8]
sub ecx, eax
mov dword [ebp - 0x14], ecx
push 0x10
push 0
mov edx, dword [ebp - 0x218]
add edx, 0x15c
push edx
call fcn.004f3400
add esp, 0xc
jmp 0x4773a3
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 0x4773a3
mov al, 1
jmp 0x47a7e0
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x14a]
test ecx, ecx
je 0x4773c1
push 1
mov ecx, dword [ebp - 0x218]
call fcn.0047d3e0
push 1
mov ecx, dword [ebp - 0x218]
call fcn.0047d660
mov edx, dword [ebp - 0x218]
movzx eax, byte [edx + 0x149]
test eax, eax
je 0x47778e
mov ecx, dword [ebp - 0x218]
mov byte [ecx + 0x149], 0
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x477789
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xe4]
call fcn.00489ca0
movzx ecx, al
test ecx, ecx
je 0x4775b5
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x40], edx
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x34], edx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x8c], 0
je 0x477467
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 0x477489
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 0x4774ab
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 0x4774cd
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 0x477573
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
add eax, dword [ebp - 0x40]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
add eax, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
mov ecx, dword [ebp - 0x38]
sub ecx, eax
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
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 0x477705
mov dword [ebp - 0x234], 0
mov ecx, dword [ebp - 0x218]
add ecx, 0x334
call fcn.00484a00
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x47e940
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 - 0x290], 0
jmp 0x477619
mov ecx, dword [ebp - 0x290]
add ecx, 1
mov dword [ebp - 0x290], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x334
call fcn.00488690
cmp dword [ebp - 0x290], eax
jge 0x477705
mov edx, dword [ebp - 0x290]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x334
call fcn.004846a0
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 0x4776b6
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 0x477700
push 1
lea ecx, [ebp - 0xf0]
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 0x47760a
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x148]
test edx, edx
je 0x477789
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.0047c8d0
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
je 0x477789
mov edx, dword [ebp - 0x218]
movzx eax, byte [edx + 0x15b]
test eax, eax
je 0x477789
mov ecx, dword [ebp - 0x218]
call fcn.004766b0
push 0
mov ecx, dword [ebp - 0x218]
call fcn.0047d660
mov al, 1
jmp 0x47a7e0
jmp 0x4778a7
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x15a]
test edx, edx
je 0x4778a7
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15b]
test ecx, ecx
je 0x4778a7
mov edx, dword [ebp - 0x204]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x200]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x1fc]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x1f8]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0x98], 0
je 0x477815
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.004f3400
add esp, 0xc
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
add eax, dword [ebp - 0x30]
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
add eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
mov edx, dword [ebp - 0x28]
sub edx, eax
mov dword [ebp - 0x28], edx
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
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 0x47796d
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 0x477934
mov edx, dword [ebp - 0x218]
add edx, 0x98
push edx
mov eax, dword [ebp - 0x1f8]
sub eax, dword [ebp - 0x200]
push eax
mov ecx, dword [ebp - 0x1fc]
sub ecx, dword [ebp - 0x204]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x88]
push eax
call fcn.0048d6b0
add esp, 0x10
mov ecx, dword [ebp - 0x218]
mov dword [ecx + 0x94], eax
jmp 0x47796d
mov edx, dword [ebp - 0x1f8]
sub edx, dword [ebp - 0x200]
push edx
mov eax, dword [ebp - 0x1fc]
sub eax, dword [ebp - 0x204]
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
push 0x40
push 0
lea edx, [ebp - 0x130]
push edx
call fcn.004f3400
add esp, 0xc
lea eax, [ebp - 0x130]
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 - 0x56c], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x8c]
push edx
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x5b8], eax
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
je 0x477d09
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0x278], 0
je 0x477c65
mov eax, dword [ebp - 0x1fc]
sub eax, dword [ebp - 0x204]
mov dword [ebp - 0x270], eax
mov ecx, dword [ebp - 0x1f8]
sub ecx, dword [ebp - 0x200]
mov dword [ebp - 0x2d4], ecx
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0x9c], 0
jne 0x477b13
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 - 0x2d4]
push ecx
mov edx, dword [ebp - 0x270]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x88]
push ecx
call fcn.0048d6b0
add esp, 0x10
mov edx, dword [ebp - 0x218]
mov dword [edx + 0x9c], eax
mov eax, dword [ebp - 0x270]
imul eax, dword [ebp - 0x2d4]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xa0]
push edx
call fcn.004f3400
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 - 0x204]
push edx
lea eax, [ebp - 0x204]
push eax
mov ecx, dword [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x90]
push eax
call fcn.00493730
add esp, 0x14
jmp 0x477b82
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x15b]
test edx, edx
je 0x477b82
mov eax, dword [ebp - 0x270]
imul eax, dword [ebp - 0x2d4]
shl eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xa0]
push edx
call fcn.004f3400
add esp, 0xc
mov eax, dword [ebp - 0x218]
add eax, 0x16c
push eax
lea ecx, [ebp - 0x204]
push ecx
lea edx, [ebp - 0x204]
push edx
mov eax, dword [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x90]
push edx
call fcn.00493730
add esp, 0x14
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 0
mov eax, dword [ebp - 0x1f8]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x26c], eax
jmp 0x477bb6
mov ecx, dword [ebp - 0x26c]
add ecx, 1
mov dword [ebp - 0x26c], ecx
mov edx, dword [ebp - 0x1f8]
sub edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x26c], edx
jge 0x477c60
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x274], eax
jmp 0x477be5
mov ecx, dword [ebp - 0x274]
add ecx, 1
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x274]
cmp edx, dword [ebp - 0x18]
jge 0x477c5b
mov eax, dword [ebp - 0x26c]
imul eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x98]
lea eax, [edx + eax*4]
mov ecx, dword [ebp - 0x274]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x37c], edx
mov eax, dword [ebp - 0x26c]
imul eax, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xa0]
lea eax, [edx + eax*4]
mov ecx, dword [ebp - 0x274]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x378], edx
mov eax, dword [ebp - 0x37c]
mov ecx, dword [ebp - 0x378]
mov edx, dword [ecx]
mov dword [eax], edx
jmp 0x477bd6
jmp 0x477ba7
jmp 0x477d09
mov dword [ebp - 0x374], 0
mov eax, dword [ebp - 0x1f8]
sub eax, dword [ebp - 0x14]
mov dword [ebp - 0x294], eax
jmp 0x477c8f
mov ecx, dword [ebp - 0x294]
add ecx, 1
mov dword [ebp - 0x294], ecx
mov edx, dword [ebp - 0x1f8]
sub edx, dword [ebp - 0x1c]
cmp dword [ebp - 0x294], edx
jge 0x477d09
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x298], eax
jmp 0x477cba
mov ecx, dword [ebp - 0x298]
add ecx, 1
mov dword [ebp - 0x298], ecx
mov edx, dword [ebp - 0x298]
cmp edx, dword [ebp - 0x18]
jge 0x477d04
mov eax, dword [ebp - 0x1fc]
sub eax, dword [ebp - 0x204]
imul eax, dword [ebp - 0x294]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x98]
lea eax, [edx + eax*4]
mov ecx, dword [ebp - 0x298]
lea edx, [eax + ecx*4]
mov dword [ebp - 0x374], edx
mov eax, dword [ebp - 0x374]
mov dword [eax], 0
jmp 0x477cab
jmp 0x477c80
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 0x47803d
mov dword [ebp - 0x254], 0
mov ecx, dword [ebp - 0x218]
add ecx, 0x304
call fcn.00488690
cmp dword [ebp - 0x254], eax
jge 0x47803d
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x304
call fcn.004846a0
mov dword [ebp - 0x29c], eax
mov ecx, dword [ebp - 0x29c]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x477de2
push 1
mov edx, dword [ebp - 0x254]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x304
call fcn.004853c0
push 1
mov eax, dword [ebp - 0x254]
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x310
call fcn.004853c0
jmp 0x477d5d
mov ecx, dword [ebp - 0x254]
add ecx, 1
mov dword [ebp - 0x254], ecx
mov edx, dword [ebp - 0x29c]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x477e07
jmp 0x477d5d
mov eax, dword [ebp - 0x29c]
push eax
lea ecx, [ebp - 0x214]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00476290
xor edx, edx
mov dword [ebp - 0x90], edx
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x88], edx
mov dword [ebp - 0x84], edx
lea eax, [ebp - 0x214]
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 0x477e5b
jmp 0x477d5d
mov dword [ebp - 0x2d8], 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 - 0x2d8]
push edx
mov eax, dword [ebp - 0x208]
sub eax, dword [ebp - 0x210]
push eax
mov ecx, dword [ebp - 0x20c]
sub ecx, dword [ebp - 0x214]
push ecx
mov edx, dword [ebp - 0x258]
push edx
call fcn.0048d6b0
add esp, 0x10
mov dword [ebp - 0x36c], eax
mov eax, dword [ebp - 0x20c]
sub eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 0x208]
sub ecx, dword [ebp - 0x210]
imul eax, ecx
shl eax, 2
push eax
push 0
mov edx, dword [ebp - 0x2d8]
push edx
call fcn.004f3400
add esp, 0xc
mov eax, dword [ebp - 0x36c]
push eax
mov ecx, dword [ebp - 0x258]
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 0x5bc], eax
push 0x35
mov edx, dword [ebp - 0x258]
push edx
push 0x317
mov eax, dword [ebp - 0x29c]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x2a0], 0
jmp 0x477f34
mov ecx, dword [ebp - 0x2a0]
add ecx, 1
mov dword [ebp - 0x2a0], ecx
mov edx, dword [ebp - 0x208]
sub edx, dword [ebp - 0x210]
cmp dword [ebp - 0x2a0], edx
jge 0x477fbf
mov dword [ebp - 0x2a4], 0
jmp 0x477f63
mov eax, dword [ebp - 0x2a4]
add eax, 1
mov dword [ebp - 0x2a4], eax
mov ecx, dword [ebp - 0x20c]
sub ecx, dword [ebp - 0x214]
cmp dword [ebp - 0x2a4], ecx
jge 0x477fba
mov edx, dword [ebp - 0x20c]
sub edx, dword [ebp - 0x214]
imul edx, dword [ebp - 0x2a0]
mov eax, dword [ebp - 0x2d8]
lea ecx, [eax + edx*4]
mov edx, dword [ebp - 0x2a4]
lea eax, [ecx + edx*4]
mov dword [ebp - 0x370], eax
mov ecx, dword [ebp - 0x370]
mov edx, dword [ecx]
or edx, 0xff000000
mov eax, dword [ebp - 0x370]
mov dword [eax], edx
jmp 0x477f54
jmp 0x477f25
push 0xcc0020
push 0
push 0
mov ecx, dword [ebp - 0x258]
push ecx
mov edx, dword [ebp - 0x208]
sub edx, dword [ebp - 0x210]
push edx
mov eax, dword [ebp - 0x20c]
sub eax, dword [ebp - 0x214]
push eax
mov ecx, dword [ebp - 0x210]
push ecx
mov edx, dword [ebp - 0x214]
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 - 0x5bc]
push edx
mov eax, dword [ebp - 0x258]
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebp - 0x36c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edx, dword [ebp - 0x258]
push edx
call dword [sym.imp.GDI32.dll_DeleteDC]
jmp 0x477d5d
mov dword [ebp - 0x2a8], 0
jmp 0x478058
mov eax, dword [ebp - 0x2a8]
add eax, 1
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x2f8
call fcn.00488690
cmp dword [ebp - 0x2a8], eax
jge 0x4780b8
mov ecx, dword [ebp - 0x2a8]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2f8
call fcn.004846a0
mov dword [ebp - 0x368], eax
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x8c]
push ecx
mov edx, dword [ebp - 0x368]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x368]
mov edx, dword [eax + 0x164]
call edx
jmp 0x478049
mov eax, dword [ebp - 0x5b8]
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 0x4784b9
mov edx, dword [ebp - 0x1fc]
sub edx, dword [ebp - 0x204]
mov dword [ebp - 0x364], edx
mov eax, dword [ebp - 0x1f8]
sub eax, dword [ebp - 0x200]
mov dword [ebp - 0x570], eax
mov ecx, dword [ebp - 0x218]
call fcn.00476770
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 - 0x588], ecx
mov edx, dword [ebp - 0x44]
sub edx, dword [ebp - 0x4c]
mov dword [ebp - 0x574], edx
mov ecx, dword [ebp - 0x218]
call fcn.00476310
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov ecx, dword [ebp - 0x218]
call fcn.00476310
mov ecx, dword [eax + 4]
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 0x218]
call fcn.00476310
mov edx, dword [ebp - 0x588]
sub edx, dword [eax + 8]
mov dword [ebp - 0x48], edx
mov ecx, dword [ebp - 0x218]
call fcn.00476310
mov ecx, dword [ebp - 0x574]
sub ecx, dword [eax + 0xc]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp - 0x1f8]
sub edx, dword [ebp - 0x14]
mov dword [ebp - 0x27c], edx
jmp 0x4781fc
mov eax, dword [ebp - 0x27c]
add eax, 1
mov dword [ebp - 0x27c], eax
mov ecx, dword [ebp - 0x1f8]
sub ecx, dword [ebp - 0x1c]
cmp dword [ebp - 0x27c], ecx
jge 0x4783c1
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x278], edx
jmp 0x47822b
mov eax, dword [ebp - 0x278]
add eax, 1
mov dword [ebp - 0x278], eax
mov ecx, dword [ebp - 0x278]
cmp ecx, dword [ebp - 0x18]
jge 0x4783bc
mov edx, dword [ebp - 0x27c]
imul edx, dword [ebp - 0x364]
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x98]
lea edx, [ecx + edx*4]
mov eax, dword [ebp - 0x278]
lea ecx, [edx + eax*4]
mov dword [ebp - 0x22c], ecx
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x584], edx
mov eax, dword [ebp - 0x27c]
mov dword [ebp - 0x580], eax
movzx ecx, byte [ebp - 0x241]
test ecx, ecx
je 0x478322
mov edx, dword [ebp - 0x580]
push edx
mov eax, dword [ebp - 0x584]
push eax
lea ecx, [ebp - 0x50]
push ecx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x478322
mov edx, dword [ebp - 0x22c]
cmp dword [edx], 0
je 0x47831d
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 0x4783b7
mov eax, dword [ebp - 0x22c]
cmp dword [eax], 0
je 0x4783b7
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 0x478354
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 0x47821c
jmp 0x4781ed
mov ecx, dword [ebp - 0x218]
call fcn.004764c0
test eax, eax
jle 0x4783e0
mov ecx, dword [ebp - 0x218]
call fcn.0047aa90
jmp 0x4784b7
xor ecx, ecx
mov dword [ebp - 0x70], 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 - 0x2ac], 0
mov byte [ebp - 0x2ab], 0
mov edx, dword [ebp - 0x218]
mov al, byte [edx + 0x159]
mov byte [ebp - 0x2aa], al
mov byte [ebp - 0x2a9], 1
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0x5f4], ecx
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x5f0], edx
mov eax, dword [ebp - 0x364]
mov dword [ebp - 0x5ec], eax
mov ecx, dword [ebp - 0x570]
mov dword [ebp - 0x5e8], ecx
mov dword [ebp - 0x5e4], 0
mov dword [ebp - 0x5e0], 0
push 2
lea edx, [ebp - 0x2ac]
push edx
push 0
lea eax, [ebp - 0x5e4]
push eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x8c]
push edx
lea eax, [ebp - 0x5ec]
push eax
lea ecx, [ebp - 0x5f4]
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 0x4784fc
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 - 0x56c]
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 0x4785b5
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
jne 0x4785b5
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 - 0x130]
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.0047d660
mov ecx, dword [ebp - 0x218]
mov byte [ecx + 0x15b], 0
mov edx, dword [ebp - 0x218]
movzx eax, byte [edx + 0x149]
test eax, eax
jne 0x47860b
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x14a]
test edx, edx
je 0x478616
mov ecx, dword [ebp - 0x218]
call fcn.004766b0
mov al, 1
jmp 0x47a7e0
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x478631
jmp case.0x476d7a.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 - 0x2b0], ecx
mov edx, dword [ebp - 0x2b0]
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 - 0x2b0]
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 0x478759
push 5
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0x84]
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 0
je 0x478759
xor ecx, ecx
mov dword [ebp - 0x60], 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 - 0x280]
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 - 0x2b0]
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 - 0x280]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
mov ecx, dword [ebp - 0x280]
push ecx
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x280], eax
jmp 0x4786c0
mov edx, dword [ebp - 0x564]
push edx
mov eax, dword [ebp - 0x2b0]
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x476d7a.1
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x2b4], ecx
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0x104], 0
jle 0x47879f
mov eax, dword [ebp - 0x2b4]
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 0x4787c3
mov ecx, dword [ebp - 0x2b4]
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 0x4787e7
mov edx, dword [ebp - 0x2b4]
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 0x47880b
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x110]
mov dword [eax + 0x24], edx
jmp case.0x476d7a.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe8], 0
je 0x4788e2
xor ecx, ecx
mov dword [ebp - 0x44c], 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], 0x17
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xe8]
mov dword [ebp - 0x448], eax
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x434], ecx
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x430], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x444], eax
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xfc]
mov edx, dword [eax + 0x100]
mov dword [ebp - 0x440], ecx
mov dword [ebp - 0x43c], edx
call fcn.004769b0
mov word [ebp - 0x436], ax
lea eax, [ebp - 0x44c]
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 0x478902
mov edx, dword [ebp - 0x218]
mov ecx, dword [edx + 0xe4]
call fcn.00489f30
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x15a]
test ecx, ecx
je 0x47891e
mov ecx, dword [ebp - 0x218]
call fcn.004766b0
mov al, 1
jmp 0x47a7e0
mov edx, dword [ebp + 0xc]
and edx, 0xffff
movzx eax, dx
cmp eax, 0x2000
jne 0x47899d
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x15a]
test edx, edx
je 0x47899d
mov eax, dword [ebp - 0x218]
add eax, 0x15c
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x47899d
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 0x478998
lea eax, [ebp - 0x560]
push eax
push 0
push 0
push 0xf
mov ecx, dword [ebp - 0x218]
call fcn.00476a40
jmp case.0x476d7a.1
mov dword [ebp - 0x2b8], 0
jmp 0x4789b8
mov ecx, dword [ebp - 0x2b8]
add ecx, 1
mov dword [ebp - 0x2b8], ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2d4
call fcn.00488690
cmp dword [ebp - 0x2b8], eax
jge 0x478afa
mov edx, dword [ebp - 0x2b8]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x2d4
call fcn.004846a0
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 0x478af5
mov eax, dword [ebp + 0xc]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x248]
cmp dword [edx + 0xc], ecx
jne 0x478af5
mov eax, dword [ebp - 0x248]
movzx ecx, byte [eax + 0x10]
test ecx, ecx
jne 0x478af5
xor edx, edx
mov dword [ebp - 0x46c], 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], 0x19
mov eax, dword [ebp - 0x248]
mov ecx, dword [eax]
mov dword [ebp - 0x468], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x464], eax
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [ebp - 0x460], eax
mov dword [ebp - 0x45c], ecx
call fcn.004769b0
mov word [ebp - 0x456], ax
mov edx, dword [ebp - 0x248]
mov eax, dword [edx + 4]
mov dword [ebp - 0x454], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x450], ecx
lea edx, [ebp - 0x46c]
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 0x478afa
jmp 0x4789a9
jmp case.0x476d7a.1
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0xe0]
test ecx, ecx
je 0x478b20
mov edx, dword [ebp + 0x14]
mov dword [edx], 3
mov al, 1
jmp 0x47a7e0
jmp case.0x476d7a.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x478b39
jmp case.0x476d7a.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 - 0x308], eax
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and ecx, 0xffff
movsx edx, cx
mov dword [ebp - 0x304], edx
mov eax, dword [ebp - 0x304]
push eax
mov ecx, dword [ebp - 0x308]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00475920
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 0
jne 0x478b9a
jmp case.0x476d7a.1
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xec], 0
je 0x478c66
xor eax, eax
mov dword [ebp - 0x54c], eax
mov dword [ebp - 0x548], eax
mov dword [ebp - 0x544], eax
mov dword [ebp - 0x540], eax
mov dword [ebp - 0x53c], eax
mov dword [ebp - 0x538], eax
mov dword [ebp - 0x534], eax
mov dword [ebp - 0x530], eax
mov dword [ebp - 0x54c], 0xc
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xec]
mov dword [ebp - 0x548], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x534], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x530], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x544], eax
mov edx, dword [ebp - 0x308]
mov eax, dword [ebp - 0x304]
mov dword [ebp - 0x540], edx
mov dword [ebp - 0x53c], eax
call fcn.004769b0
mov word [ebp - 0x536], ax
lea ecx, [ebp - 0x54c]
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 - 0x1f4]
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 - 0x1f4]
call fcn.004851d0
movzx eax, al
test eax, eax
je 0x478cc0
mov byte [ebp - 0x242], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1f4]
call fcn.00484540
mov al, byte [ebp - 0x242]
jmp 0x47a7e0
lea ecx, [ebp - 0x1f4]
push ecx
call fcn.0047b520
add esp, 4
push 0x2c
push 0
mov edx, dword [ebp - 0x218]
add edx, 0xb0
push edx
call fcn.004f3400
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 - 0x1f4]
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 0x478e97
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 0x478ebd
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x224]
mov dword [ecx + 0xf8], edx
jmp 0x47901b
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xf8]
cmp ecx, dword [ebp - 0x224]
jne 0x478f9c
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 0x478f4c
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 0x47901b
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 - 0x308]
and edx, 0xffff
movzx eax, dx
mov ecx, dword [ebp - 0x304]
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 - 0x1f4]
call fcn.00484540
mov al, 1
jmp 0x47a7e0
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xe4], 0
jne 0x479086
jmp case.0x476d7a.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xac], 0
je 0x4790bc
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 0x479239
xor eax, eax
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x2cc], eax
xor ecx, ecx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x78], ecx
mov dword [ebp - 0x74], ecx
lea edx, [ebp - 0x2d0]
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 0x47921d
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edx, dword [ebp - 0x218]
cmp eax, dword [edx + 0x84]
jne 0x47921d
mov eax, dword [ebp - 0x2cc]
push eax
mov ecx, dword [ebp - 0x2d0]
push ecx
lea edx, [ebp - 0x80]
push edx
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x47921d
mov eax, dword [ebp - 0x2d0]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2cc]
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 0x4791ff
lea eax, [ebp - 0x2d0]
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 - 0x2d0]
and eax, 0xffff
movzx ecx, ax
mov edx, dword [ebp - 0x2cc]
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 0x47921b
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 0x479239
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.0x476d7a.1
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xe4], 0
jne 0x47925f
jmp case.0x476d7a.1
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0x2c0]
test ecx, ecx
jne 0x47931f
xor edx, edx
mov dword [ebp - 0x3ac], edx
mov dword [ebp - 0x3a8], edx
mov dword [ebp - 0x3a4], edx
mov dword [ebp - 0x3a0], edx
mov dword [ebp - 0x3ac], 0x10
mov dword [ebp - 0x3a8], 3
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0x84]
mov dword [ebp - 0x3a4], ecx
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xac], 0
jne 0x4792d7
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xdc]
mov dword [ebp - 0x354], ecx
jmp 0x4792f9
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 - 0x354], eax
mov ecx, dword [ebp - 0x354]
mov dword [ebp - 0x3a0], ecx
lea edx, [ebp - 0x3ac]
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 - 0x2c8], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x2c8]
mov ecx, dword [ebp - 0x2c4]
mov dword [edx + 0xfc], eax
mov dword [edx + 0x100], ecx
mov edx, dword [ebp - 0x2c4]
push edx
mov eax, dword [ebp - 0x2c8]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.00475920
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x4793ab
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 0x4793ab
jmp case.0x476d7a.1
xor ecx, ecx
mov dword [ebp - 0x33c], 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 - 0x2c8]
mov eax, dword [ebp - 0x2c4]
mov dword [ebp - 0x330], edx
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.004769b0
mov word [ebp - 0x326], ax
mov ecx, dword [ebp - 0x218]
call fcn.00476750
movzx eax, al
test eax, eax
jne 0x479687
mov ecx, dword [ebp - 0x2c4]
push ecx
mov edx, dword [ebp - 0x2c8]
push edx
mov ecx, dword [ebp - 0x218]
call fcn.00475920
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0
je 0x47947d
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 0x47947d
jmp case.0x476d7a.1
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x220]
cmp edx, dword [ecx + 0xec]
je 0x479625
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xec], 0
je 0x479625
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.00488690
push eax
lea ecx, [ebp - 0x5b4]
call fcn.00484290
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x218]
add ecx, 0x340
call fcn.00488690
push eax
lea ecx, [ebp - 0x5b4]
call fcn.00485800
mov ecx, dword [ebp - 0x218]
add ecx, 0x340
call fcn.00488690
shl eax, 2
push eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x340
call fcn.00403be0
push eax
lea ecx, [ebp - 0x5b4]
call fcn.00403be0
push eax
call fcn.004f37d0
add esp, 0xc
mov dword [ebp - 0x2bc], 0
jmp 0x47955b
mov eax, dword [ebp - 0x2bc]
add eax, 1
mov dword [ebp - 0x2bc], eax
lea ecx, [ebp - 0x5b4]
call fcn.00488690
cmp dword [ebp - 0x2bc], eax
jge 0x4795a5
mov ecx, dword [ebp - 0x2bc]
push ecx
lea ecx, [ebp - 0x5b4]
call fcn.004846a0
mov dword [ebp - 0x358], eax
lea edx, [ebp - 0x33c]
push edx
mov eax, dword [ebp - 0x358]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x358]
mov eax, dword [edx + 0x11c]
call eax
jmp 0x47954c
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 0x479613
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 - 0x5b4]
call fcn.00484510
mov eax, dword [ebp - 0x218]
mov ecx, dword [ebp - 0x220]
cmp ecx, dword [eax + 0xec]
je 0x479687
cmp dword [ebp - 0x220], 0
je 0x479687
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 0x4796dd
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 0x479719
cmp dword [ebp - 0x220], 0
je 0x479719
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.0x476d7a.1
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0xe0]
test edx, edx
jne 0x479742
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 0x479756
jmp case.0x476d7a.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x300], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x2fc], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x300]
mov eax, dword [ebp - 0x2fc]
mov dword [ecx + 0xfc], edx
mov dword [ecx + 0x100], eax
mov ecx, dword [ebp - 0x2fc]
push ecx
mov edx, dword [ebp - 0x300]
push edx
mov ecx, dword [ebp - 0x218]
call fcn.00475920
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x4797c7
jmp case.0x476d7a.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 0x4797e7
jmp case.0x476d7a.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.0047c9d0
xor ecx, ecx
mov dword [ebp - 0x48c], 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], 0xd
mov edx, dword [ebp - 0x238]
mov dword [ebp - 0x488], edx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x474], eax
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x470], ecx
mov edx, dword [ebp - 0x300]
mov eax, dword [ebp - 0x2fc]
mov dword [ebp - 0x480], edx
mov dword [ebp - 0x47c], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x476], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x484], eax
lea edx, [ebp - 0x48c]
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.0x476d7a.1
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0xe0]
test edx, edx
jne 0x4798e9
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 edx, dword [ebp - 0x2f4]
mov dword [eax + 0xfc], ecx
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.00475920
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 0
jne 0x47995b
jmp case.0x476d7a.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 0x47997b
jmp case.0x476d7a.1
mov ecx, dword [ebp - 0x218]
call fcn.0047c9d0
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 - 0x5c0], eax
mov dword [ebp - 0x5dc], 0x11
mov ecx, dword [ebp - 0x24c]
mov dword [ebp - 0x5d8], ecx
mov edx, dword [ebp - 0x2f8]
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x5d0], edx
mov dword [ebp - 0x5cc], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x5c6], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5d4], eax
lea edx, [ebp - 0x5dc]
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.0x476d7a.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x34c], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x348], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x34c]
mov eax, dword [ebp - 0x348]
mov dword [ecx + 0xfc], edx
mov dword [ecx + 0x100], eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xf0], 0
jne 0x479a89
jmp case.0x476d7a.1
mov ecx, dword [ebp - 0x218]
call fcn.0047b8b0
xor edx, edx
mov dword [ebp - 0x4ac], 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], 0xe
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xf0]
mov dword [ebp - 0x4a8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x494], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x490], eax
mov ecx, dword [ebp - 0x34c]
mov edx, dword [ebp - 0x348]
mov dword [ebp - 0x4a0], ecx
mov dword [ebp - 0x49c], edx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x496], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4a4], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov dword [ebp - 0x35c], edx
mov eax, dword [ebp - 0x218]
mov dword [eax + 0xf0], 0
lea ecx, [ebp - 0x4ac]
push ecx
mov edx, dword [ebp - 0x35c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x35c]
mov edx, dword [eax + 0x11c]
call edx
jmp case.0x476d7a.1
mov eax, dword [ebp - 0x218]
movzx ecx, byte [eax + 0xe0]
test ecx, ecx
jne 0x479b8b
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 - 0x2f0], edx
mov eax, dword [ebp + 0x10]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x2ec], ecx
mov edx, dword [ebp - 0x218]
mov eax, dword [ebp - 0x2f0]
mov ecx, dword [ebp - 0x2ec]
mov dword [edx + 0xfc], eax
mov dword [edx + 0x100], ecx
mov edx, dword [ebp - 0x2ec]
push edx
mov eax, dword [ebp - 0x2f0]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.00475920
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0
jne 0x479bfc
jmp case.0x476d7a.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 0x479c1c
jmp case.0x476d7a.1
mov ecx, dword [ebp - 0x23c]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x23c]
mov eax, dword [edx + 0x104]
call eax
xor ecx, ecx
mov dword [ebp - 0x4cc], ecx
mov dword [ebp - 0x4c8], ecx
mov dword [ebp - 0x4c4], ecx
mov dword [ebp - 0x4c0], ecx
mov dword [ebp - 0x4bc], ecx
mov dword [ebp - 0x4b8], ecx
mov dword [ebp - 0x4b4], ecx
mov dword [ebp - 0x4b0], ecx
mov dword [ebp - 0x4cc], 0xf
mov edx, dword [ebp - 0x23c]
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
mov edx, dword [ebp - 0x2f0]
mov eax, dword [ebp - 0x2ec]
mov dword [ebp - 0x4c0], edx
mov dword [ebp - 0x4bc], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x4b6], cx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4c4], eax
lea edx, [ebp - 0x4cc]
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.0x476d7a.1
mov eax, dword [ebp + 0x10]
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x344], ecx
mov edx, dword [ebp + 0x10]
shr edx, 0x10
and edx, 0xffff
movsx eax, dx
mov dword [ebp - 0x340], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ebp - 0x344]
mov eax, dword [ebp - 0x340]
mov dword [ecx + 0xfc], edx
mov dword [ecx + 0x100], eax
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xf0], 0
jne 0x479d47
jmp case.0x476d7a.1
xor edx, edx
mov dword [ebp - 0x4ec], edx
mov dword [ebp - 0x4e8], edx
mov dword [ebp - 0x4e4], edx
mov dword [ebp - 0x4e0], edx
mov dword [ebp - 0x4dc], edx
mov dword [ebp - 0x4d8], edx
mov dword [ebp - 0x4d4], edx
mov dword [ebp - 0x4d0], edx
mov dword [ebp - 0x4ec], 0x10
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xf0]
mov dword [ebp - 0x4e8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x4d4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4d0], eax
mov ecx, dword [ebp - 0x344]
mov edx, dword [ebp - 0x340]
mov dword [ebp - 0x4e0], ecx
mov dword [ebp - 0x4dc], edx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x4d6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x4e4], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov dword [ebp - 0x388], edx
mov eax, dword [ebp - 0x218]
mov dword [eax + 0xf0], 0
lea ecx, [ebp - 0x4ec]
push ecx
mov edx, dword [ebp - 0x388]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x388]
mov edx, dword [eax + 0x11c]
call edx
jmp case.0x476d7a.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x479e2e
jmp case.0x476d7a.1
mov ecx, dword [ebp - 0x218]
call fcn.00476750
movzx ecx, al
test ecx, ecx
je 0x479e45
jmp case.0x476d7a.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 edx, dword [ebp - 0x318]
mov dword [eax + 0xfc], ecx
mov dword [eax + 0x100], edx
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xf0], 0
jne 0x479eb8
jmp case.0x476d7a.1
xor ecx, 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 - 0x594], ecx
mov dword [ebp - 0x590], ecx
mov dword [ebp - 0x58c], ecx
mov dword [ebp - 0x5a8], 0x12
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xf0]
mov dword [ebp - 0x5a4], eax
mov ecx, dword [ebp - 0x31c]
mov edx, dword [ebp - 0x318]
mov dword [ebp - 0x59c], ecx
mov dword [ebp - 0x598], edx
mov ax, word [ebp + 0xc]
mov word [ebp - 0x592], ax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xf0]
mov dword [ebp - 0x58c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x5a0], eax
lea eax, [ebp - 0x5a8]
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.0x476d7a.1
mov edx, dword [ebp - 0x218]
cmp dword [edx + 0xe4], 0
jne 0x479f99
jmp case.0x476d7a.1
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [ebp - 0x218]
cmp eax, dword [ecx + 0x84]
je 0x479fb2
jmp case.0x476d7a.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 edx, dword [ebp - 0x310]
mov dword [eax + 0xfc], ecx
mov dword [eax + 0x100], edx
mov eax, dword [ebp - 0x310]
push eax
mov ecx, dword [ebp - 0x314]
push ecx
mov ecx, dword [ebp - 0x218]
call fcn.00475920
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 0
jne 0x47a03e
jmp case.0x476d7a.1
mov edx, dword [ebp - 0x25c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x25c]
mov edx, dword [eax + 0x24]
call edx
cmp eax, dword [ebp - 0x218]
je 0x47a05e
jmp case.0x476d7a.1
mov eax, dword [ebp + 0xc]
shr eax, 0x10
and eax, 0xffff
movsx ecx, ax
mov dword [ebp - 0x55c], ecx
xor edx, edx
mov dword [ebp - 0x50c], 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], 0x13
mov eax, dword [ebp - 0x25c]
mov dword [ebp - 0x508], eax
cmp dword [ebp - 0x55c], 0
jge 0x47a0cf
mov dword [ebp - 0x360], 1
jmp 0x47a0d9
mov dword [ebp - 0x360], 0
mov ecx, dword [ebp - 0x360]
and ecx, 0xffff
movzx edx, cx
mov dword [ebp - 0x4f4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x4f0], eax
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0xfc]
mov eax, dword [ecx + 0x100]
mov dword [ebp - 0x500], edx
mov dword [ebp - 0x4fc], eax
call fcn.004769b0
mov word [ebp - 0x4f6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x504], eax
lea ecx, [ebp - 0x50c]
push ecx
mov edx, dword [ebp - 0x25c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x25c]
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.0x476d7a.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x47a1ad
jmp case.0x476d7a.1
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xe8], 0
jne 0x47a1c1
jmp case.0x476d7a.1
xor edx, edx
mov dword [ebp - 0x42c], edx
mov dword [ebp - 0x428], edx
mov dword [ebp - 0x424], edx
mov dword [ebp - 0x420], edx
mov dword [ebp - 0x41c], edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x410], edx
mov dword [ebp - 0x42c], 5
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xe8]
mov dword [ebp - 0x428], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x414], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x410], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x418], cx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [ebp - 0x420], eax
mov dword [ebp - 0x41c], ecx
call fcn.004769b0
mov word [ebp - 0x416], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x424], eax
lea edx, [ebp - 0x42c]
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.0x476d7a.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x47a2a4
jmp case.0x476d7a.1
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xe8], 0
jne 0x47a2b8
jmp case.0x476d7a.1
xor edx, edx
mov dword [ebp - 0x3ec], edx
mov dword [ebp - 0x3e8], edx
mov dword [ebp - 0x3e4], edx
mov dword [ebp - 0x3e0], edx
mov dword [ebp - 0x3dc], edx
mov dword [ebp - 0x3d8], edx
mov dword [ebp - 0x3d4], edx
mov dword [ebp - 0x3d0], edx
mov dword [ebp - 0x3ec], 3
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xe8]
mov dword [ebp - 0x3e8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3d4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3d0], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x3d8], cx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [ebp - 0x3e0], eax
mov dword [ebp - 0x3dc], ecx
call fcn.004769b0
mov word [ebp - 0x3d6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3e4], eax
lea edx, [ebp - 0x3ec]
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.0x476d7a.1
mov eax, dword [ebp - 0x218]
cmp dword [eax + 0xe4], 0
jne 0x47a3b3
jmp case.0x476d7a.1
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xf4], 0
jne 0x47a3c7
jmp case.0x476d7a.1
xor edx, edx
mov dword [ebp - 0x3cc], edx
mov dword [ebp - 0x3c8], edx
mov dword [ebp - 0x3c4], edx
mov dword [ebp - 0x3c0], edx
mov dword [ebp - 0x3bc], edx
mov dword [ebp - 0x3b8], edx
mov dword [ebp - 0x3b4], edx
mov dword [ebp - 0x3b0], edx
mov dword [ebp - 0x3cc], 4
mov eax, dword [ebp - 0x218]
mov ecx, dword [eax + 0xf4]
mov dword [ebp - 0x3c8], ecx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x3b4], edx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x3b0], eax
mov cx, word [ebp + 0xc]
mov word [ebp - 0x3b8], cx
mov edx, dword [ebp - 0x218]
mov eax, dword [edx + 0xfc]
mov ecx, dword [edx + 0x100]
mov dword [ebp - 0x3c0], eax
mov dword [ebp - 0x3bc], ecx
call fcn.004769b0
mov word [ebp - 0x3b6], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x3c4], eax
lea edx, [ebp - 0x3cc]
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.0x476d7a.1
mov ecx, dword [ebp - 0x218]
cmp dword [ecx + 0xe4], 0
jne 0x47a4ba
jmp case.0x476d7a.1
mov edx, dword [ebp + 0x10]
and edx, 0xffff
movzx eax, dx
cmp eax, 1
je 0x47a4d0
jmp case.0x476d7a.1
mov ecx, dword [ebp - 0x218]
movzx edx, byte [ecx + 0x2c1]
test edx, edx
je 0x47a4e8
mov al, 1
jmp 0x47a7e0
xor eax, eax
mov dword [ebp - 0x2e8], eax
mov dword [ebp - 0x2e4], eax
lea ecx, [ebp - 0x2e8]
push ecx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea edx, [ebp - 0x2e8]
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 - 0x2e4]
push edx
mov eax, dword [ebp - 0x2e8]
push eax
mov ecx, dword [ebp - 0x218]
call fcn.00475920
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 0
jne 0x47a54a
jmp case.0x476d7a.1
mov ecx, dword [ebp - 0x260]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x260]
mov eax, dword [edx + 0x18]
call eax
and eax, 2
jne 0x47a567
jmp case.0x476d7a.1
xor ecx, ecx
mov dword [ebp - 0x52c], 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], 0x18
mov edx, dword [ebp - 0x260]
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 - 0x2e8]
mov eax, dword [ebp - 0x2e4]
mov dword [ebp - 0x520], edx
mov dword [ebp - 0x51c], eax
call fcn.004769b0
mov word [ebp - 0x516], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x524], eax
lea ecx, [ebp - 0x52c]
push ecx
mov edx, dword [ebp - 0x260]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x260]
mov edx, dword [eax + 0x11c]
call edx
mov al, 1
jmp 0x47a7e0
cmp dword [ebp + 0xc], 0
je 0x47a727
call dword [sym.imp.USER32.dll_GetFocus]
mov dword [ebp - 0x2dc], eax
mov dword [ebp - 0x2c0], 0
mov eax, dword [ebp - 0x2dc]
push eax
call dword [sym.imp.USER32.dll_GetParent]
mov dword [ebp - 0x2c0], eax
cmp dword [ebp - 0x2c0], 0
je 0x47a727
mov ecx, dword [ebp - 0x218]
mov edx, dword [ecx + 0x84]
cmp edx, dword [ebp - 0x2c0]
jne 0x47a716
mov dword [ebp - 0x264], 0
jmp 0x47a688
mov eax, dword [ebp - 0x264]
add eax, 1
mov dword [ebp - 0x264], eax
mov ecx, dword [ebp - 0x218]
add ecx, 0x304
call fcn.00488690
cmp dword [ebp - 0x264], eax
jge 0x47a714
mov ecx, dword [ebp - 0x264]
push ecx
mov ecx, dword [ebp - 0x218]
add ecx, 0x304
call fcn.004846a0
cmp eax, dword [ebp - 0x2dc]
jne 0x47a70f
mov edx, dword [ebp - 0x264]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x310
call fcn.004846a0
mov ecx, dword [ebp - 0x218]
cmp eax, dword [ecx + 0xe8]
je 0x47a70d
push 0
mov edx, dword [ebp - 0x264]
push edx
mov ecx, dword [ebp - 0x218]
add ecx, 0x310
call fcn.004846a0
push eax
mov ecx, dword [ebp - 0x218]
call fcn.0047cde0
jmp 0x47a714
jmp 0x47a679
jmp 0x47a727
mov eax, dword [ebp - 0x2c0]
mov dword [ebp - 0x2dc], eax
jmp 0x47a635
jmp case.0x476d7a.1
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x350], ecx
cmp dword [ebp - 0x350], 0
je 0x47a764
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 - 0x350]
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 0x47a7e0
cmp dword [ebp + 0x10], 0
jne 0x47a772
jmp case.0x476d7a.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 0x47a7e0
cmp dword [ebp + 0x10], 0
jne 0x47a7ad
jmp case.0x476d7a.1
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x554], 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 - 0x554]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov al, 1
jmp 0x47a7e0
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.00472312
mov esp, ebp
pop ebp
ret 0x10