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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55293b
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x5a0800]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1d4], esi
cmp dword [esi + 0x84], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b0], eax
je case.default.0x4176fa
lea ecx, [esi + 0x2e4]
mov dword [ebp - 0x1cc], 0
call fcn.00412770
mov edi, dword [ebp - 0x1a8]
test eax, eax
jle 0x415ed0
xor ecx, ecx
nop
push ecx
lea ecx, [esi + 0x2e4]
mov byte [ebp - 0x1c5], 0
call fcn.00411e70
lea ecx, [ebp - 0x1c5]
push ecx
push edi
mov edx, dword [eax]
mov ecx, eax
push dword [ebp - 0x1ac]
push dword [ebp + 8]
mov eax, dword [edx]
call eax
cmp byte [ebp - 0x1c5], 0
jne 0x415f2b
inc dword [ebp - 0x1cc]
lea ecx, [esi + 0x2e4]
call fcn.00412770
mov ecx, dword [ebp - 0x1cc]
cmp ecx, eax
jl 0x415e80
cmp byte [esi + 0x14d], 0
mov edx, dword [ebp + 8]
je 0x415fec
mov eax, edx
sub eax, 0x83
je 0x415fd9
sub eax, 2
je 0x415fd9
sub eax, 1
jne 0x415fec
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x415fd1
cmp dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b0]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x4181b8
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x200
ja 0x415f95
je case.0x415faa.513
cmp eax, 0x7b
jne case.0x415faa.516
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1bc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1bc]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1bc]
mov ecx, dword [ebp - 0x1b8]
mov dword [esi + 0xfc], eax
mov al, 1
mov dword [esi + 0x100], ecx
jmp 0x4181b8
add eax, 0xfffffdff
cmp eax, 9
ja case.0x415faa.516
movzx eax, byte [eax + 0x4181e4]
jmp dword [eax*4 + 0x4181d8]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x100], eax
mov al, 1
mov dword [esi + 0xfc], ecx
jmp 0x4181b8
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
jmp 0x41600c
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 0
jmp 0x4181b8
cmp edx, 0x111
ja 0x41729e
je 0x4172c7
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x4176fa
movzx eax, byte [eax + 0x418228]
jmp dword [eax*4 + 0x4181f0]
mov ecx, dword [esi + 0x100]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xfc]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00415da0
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xec]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x416071
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x416091
mov dword [ebp - 0x40], 0xe
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
push 0
mov ecx, esi
call fcn.00419ee0
mov edi, dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x4160e5
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
push 0xfffffffffffffff0
push dword [esi + 0x84]
mov edi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4160da
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x4160e5
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xac]
test eax, eax
je case.default.0x4176fa
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xac], 0
jmp case.default.0x4176fa
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 1
jmp 0x4181b8
cmp dword [esi + 0xe4], 0
mov edi, dword [esi + 0x84]
jne 0x416174
push 0x40
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004ea040
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x58]
push eax
push dword [esi + 0x88]
call fcn.00429040
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4181b8
lea eax, [ebp - 0x194]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x194], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esi + 0x14d], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
je 0x416233
movups xmm0, xmmword [esi + 0x164]
lea eax, [esi + 0x164]
mov byte [esi + 0x14b], 1
push eax
movups xmmword [ebp - 0x70], xmm0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x416203
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004ea040
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0xc0]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4181b8
mov eax, dword [ebp - 0x68]
xorps xmm0, xmm0
cmp eax, dword [ebp - 0x18c]
mov edi, dword [ebp - 0x188]
cmovg eax, dword [ebp - 0x18c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
cmp eax, edi
movups xmmword [esi + 0x164], xmm0
cmovg eax, edi
mov dword [ebp - 0x64], eax
jmp 0x416253
push 0
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je case.0x415faa.516
mov edi, dword [ebp - 0x188]
cmp byte [esi + 0x14a], 0
je 0x41626b
push 1
mov ecx, esi
call fcn.0041a450
mov edi, dword [ebp - 0x188]
push 1
mov ecx, esi
call fcn.0041a5e0
cmp byte [esi + 0x149], 0
je 0x416475
lea eax, [ebp - 0x194]
mov byte [esi + 0x149], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x416501
mov ecx, dword [esi + 0xe4]
call fcn.0041d500
test al, al
je 0x416378
movups xmm0, xmmword [ebp - 0x194]
mov eax, dword [esi + 0x8c]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
movups xmmword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x4162d2
push eax
call edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x4162df
push eax
call edi
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4162f2
push eax
call edi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4162ff
push eax
call edi
cmp byte [esi + 0x14d], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x9c], 0
je 0x41635a
mov eax, dword [esi + 0x150]
add dword [ebp - 0x20], eax
mov eax, dword [esi + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [esi + 0x15c]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
jmp 0x41635e
movups xmm0, xmmword [ebp - 0x80]
mov ecx, dword [esi + 0xe4]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x4c]
jmp 0x416416
lea edi, [esi + 0x32c]
mov ecx, edi
mov dword [ebp - 0x1c0], edi
call fcn.00412390
mov ecx, dword [esi + 0xe4]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x41b600
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, edi
call fcn.00412770
test eax, eax
jle 0x416416
xor esi, esi
push esi
mov ecx, edi
call fcn.00411e70
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
mov edx, dword [edx + 0x108]
call edx
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0x1b4], edx
test al, al
jne 0x4163dd
mov eax, dword [edx + 0x40]
call eax
jmp 0x4163e6
lea eax, [ebp - 0x80]
push eax
mov eax, dword [edx + 0x44]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x1b4]
push 1
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, edi
call dword [eax + 0x4c]
mov edi, dword [ebp - 0x1c0]
inc esi
mov ecx, edi
call fcn.00412770
cmp esi, eax
jl 0x4163b2
mov esi, dword [ebp - 0x1d4]
cmp byte [esi + 0x148], 0
je 0x416501
push 1
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0xe4]
mov ecx, esi
mov byte [esi + 0x148], 0
call fcn.00419ae0
cmp byte [esi + 0x14d], 0
je 0x416501
cmp byte [esi + 0x160], 0
je 0x416501
mov ecx, esi
call fcn.00415b30
push 0
mov ecx, esi
call fcn.0041a5e0
mov al, 1
jmp 0x4181b8
cmp byte [esi + 0x14d], 0
je 0x416501
cmp byte [esi + 0x160], 0
je 0x416501
movups xmm0, xmmword [ebp - 0x194]
mov ecx, dword [esi + 0x98]
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x4164c4
mov eax, dword [ebp - 0x18c]
sub edi, dword [ebp - 0x190]
sub eax, dword [ebp - 0x194]
imul edi, eax
shl edi, 2
push edi
push 0
push ecx
call fcn.004ea040
add esp, 0xc
mov eax, dword [esi + 0x150]
add dword [ebp - 0x20], eax
mov eax, dword [esi + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x158]
sub dword [ebp - 0x18], eax
mov ecx, dword [esi + 0xe4]
mov eax, dword [esi + 0x15c]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
movups xmmword [eax], xmm0
call dword [edx + 0x4c]
cmp byte [esi + 0x14b], 0
je 0x41658b
cmp dword [esi + 0x94], 0
jne 0x41658b
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [esi + 0x14d], 0
mov ecx, dword [esi + 0x88]
mov dword [esi + 0x8c], eax
je 0x416564
lea eax, [esi + 0x98]
push eax
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x194]
push eax
push ecx
call fcn.00428fc0
add esp, 0x10
jmp 0x416585
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x190]
push eax
mov eax, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x194]
push eax
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x94], eax
push 0x40
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.004ea040
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x14b], 0
je 0x416d4a
push dword [esi + 0x94]
push dword [esi + 0x8c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x8c]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [esi + 0x14d], 0
mov dword [ebp - 0x1d0], eax
je 0x416654
cmp dword [esi + 0x280], 0
jne 0x416654
mov eax, dword [ebp - 0x188]
mov edi, eax
sub edi, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
cmp edi, eax
jge 0x416654
mov ecx, dword [ebp - 0x68]
nop
mov edx, dword [ebp - 0x70]
cmp edx, ecx
jge 0x416646
nop word [eax + eax]
mov ecx, dword [ebp - 0x18c]
sub ecx, dword [ebp - 0x194]
mov eax, dword [esi + 0x98]
imul ecx, edi
add ecx, edx
inc edx
mov dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x68]
cmp edx, ecx
jl 0x416620
mov eax, dword [ebp - 0x188]
inc edi
sub eax, dword [ebp - 0x6c]
cmp edi, eax
jl 0x416610
mov ecx, dword [esi + 0xe4]
lea edx, [ebp - 0x70]
push 0
push edx
push dword [esi + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x138]
cmp byte [esi + 0x14d], 0
je 0x4168eb
lea ecx, [esi + 0x2fc]
mov dword [ebp - 0x1b0], 0
call fcn.00412770
test eax, eax
jle 0x4168eb
xor ecx, ecx
nop word [eax + eax]
push ecx
lea ecx, [esi + 0x2fc]
call fcn.00411e70
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4166e4
push 1
push dword [ebp - 0x1b0]
lea ecx, [esi + 0x2fc]
call fcn.00412b00
push 1
push dword [ebp - 0x1b0]
lea ecx, [esi + 0x308]
call fcn.00412b00
jmp 0x4168d2
inc dword [ebp - 0x1b0]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4168d2
push edi
lea eax, [ebp - 0x1a4]
mov ecx, esi
push eax
call fcn.004154b0
lea eax, [ebp - 0x1a4]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
movups xmmword [ebp - 0x80], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4168d2
push dword [esi + 0x8c]
mov dword [ebp - 0x1cc], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1cc]
mov dword [ebp - 0x1a8], eax
push ecx
mov ecx, dword [ebp - 0x198]
sub ecx, dword [ebp - 0x1a0]
push ecx
mov ecx, dword [ebp - 0x19c]
sub ecx, dword [ebp - 0x1a4]
push ecx
push eax
call fcn.00428fc0
mov edx, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x198]
sub edx, dword [ebp - 0x1a4]
sub ecx, dword [ebp - 0x1a0]
imul edx, ecx
mov dword [ebp - 0x1d8], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1cc]
call fcn.004ea040
add esp, 0x1c
push dword [ebp - 0x1d8]
push dword [ebp - 0x1a8]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1a8]
mov dword [ebp - 0x1c0], eax
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x198]
mov ecx, edx
sub ecx, dword [ebp - 0x1a0]
mov edi, dword [ebp - 0x19c]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1b4], edx
test ecx, ecx
jle 0x41687d
mov esi, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1ac]
mov eax, edi
xor edx, edx
sub eax, esi
test eax, eax
jle 0x41685e
mov eax, dword [ebp - 0x1cc]
mov ecx, edi
sub ecx, esi
imul ecx, dword [ebp - 0x1ac]
add ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x416841
or eax, 0xff000000
mov dword [ecx], eax
mov edi, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x1a4]
mov eax, edi
inc edx
sub eax, esi
cmp edx, eax
jl 0x416812
mov edx, dword [ebp - 0x198]
mov ecx, dword [ebp - 0x1ac]
mov dword [ebp - 0x1b4], edx
jmp 0x416864
mov edx, dword [ebp - 0x1b4]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1ac], ecx
cmp ecx, eax
jl 0x416808
mov esi, dword [ebp - 0x1d4]
mov ecx, dword [ebp - 0x1a0]
sub edx, ecx
mov eax, dword [ebp - 0x1a4]
sub edi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1a8]
push edx
push edi
push ecx
push eax
push dword [esi + 0x8c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1c0]
mov edi, dword [ebp - 0x1a8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1d8]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esi + 0x2fc]
call fcn.00412770
mov ecx, dword [ebp - 0x1b0]
cmp ecx, eax
jl 0x4166a0
lea ecx, [esi + 0x2f0]
xor edi, edi
call fcn.00412770
test eax, eax
jle 0x416930
nop dword [eax]
push edi
lea ecx, [esi + 0x2f0]
call fcn.00411e70
lea ecx, [ebp - 0x70]
push ecx
push dword [esi + 0x8c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x154]
lea ecx, [esi + 0x2f0]
inc edi
call fcn.00412770
cmp edi, eax
jl 0x416900
push dword [ebp - 0x1d0]
push dword [esi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x14d], 0
je 0x416ca3
lea eax, [ebp - 0x80]
xorps xmm0, xmm0
push eax
push dword [esi + 0x84]
movups xmmword [ebp - 0x80], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edi, dword [ebp - 0x188]
mov eax, edi
sub eax, dword [ebp - 0x190]
movups xmm0, xmmword [ebp - 0x194]
mov edx, dword [ebp - 0x18c]
sub edx, dword [ebp - 0x194]
mov dword [ebp - 0x1ac], eax
mov eax, dword [esi + 0x150]
add eax, dword [ebp - 0x194]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [esi + 0x15c]
sub dword [ebp - 0x14], eax
cmp dword [esi + 0x280], 0
mov dword [ebp - 0x1b0], edx
je 0x416c0f
cmp dword [esi + 0x9c], 0
jne 0x416a49
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea edi, [esi + 0xa0]
mov dword [esi + 0x90], eax
push edi
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b0]
push dword [esi + 0x88]
call fcn.00428fc0
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 0x1ac]
imul eax, dword [ebp - 0x1b0]
shl eax, 2
push eax
push 0
push dword [edi]
call fcn.004ea040
add esp, 0x1c
push dword [esi + 0x9c]
push dword [esi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x416a7a
cmp byte [esi + 0x160], 0
je 0x416ac5
mov eax, dword [ebp - 0x1ac]
imul eax, edx
shl eax, 2
push eax
push 0
push dword [esi + 0xa0]
call fcn.004ea040
add esp, 0xc
mov dword [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
mov eax, esp
push dword [esi + 0x90]
movups xmmword [eax], xmm0
call fcn.0042e3d0
lea eax, [esi + 0x174]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push esi
push dword [esi + 0x90]
call fcn.0042d2f0
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.00428a60
mov edi, dword [ebp - 0x188]
mov eax, dword [esi + 0x280]
cmp byte [eax + 0x14], 0
je 0x416c0f
mov ecx, edi
mov eax, edi
sub ecx, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
mov dword [ebp - 0x1c0], ecx
cmp ecx, eax
jge 0x416c0f
mov edx, ecx
imul edx, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], edx
nop dword [eax]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x1d8], eax
cmp eax, dword [ebp - 0x68]
jge 0x416bef
lea ecx, [eax + edx]
shl ecx, 2
mov dword [ebp - 0x1d0], ecx
nop
mov edi, dword [esi + 0x98]
add edi, ecx
lea ecx, [edx + eax]
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x1d4], edi
movzx edx, byte [eax + ecx*4 + 3]
mov eax, dword [edi]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edx
mov dword [ebp - 0x1cc], edx
mul ecx
mov eax, dword [ebp - 0x1d4]
shr edx, 7
movzx edi, dl
shl edi, 8
mov eax, dword [eax]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, dword [ebp - 0x1cc]
mul ecx
mov ecx, dword [ebp - 0x1d4]
shr edx, 7
movzx eax, dl
or edi, eax
mov eax, dword [ecx]
movzx ecx, al
mov eax, 0x80808081
imul ecx, dword [ebp - 0x1cc]
shl edi, 8
mul ecx
mov ecx, dword [ebp - 0x1d0]
shr edx, 7
add ecx, 4
movzx eax, dl
mov edx, dword [ebp - 0x1b4]
or edi, eax
mov eax, dword [ebp - 0x1cc]
shl eax, 0x18
add edi, eax
mov dword [ebp - 0x1d0], ecx
mov eax, dword [ebp - 0x1d4]
mov dword [eax], edi
mov eax, dword [ebp - 0x1d8]
inc eax
mov dword [ebp - 0x1d8], eax
cmp eax, dword [ebp - 0x68]
jl 0x416b20
mov edi, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x1c0]
add edx, dword [ebp - 0x1b0]
mov eax, edi
sub eax, dword [ebp - 0x6c]
inc ecx
mov dword [ebp - 0x1c0], ecx
mov dword [ebp - 0x1b4], edx
cmp ecx, eax
jl 0x416b00
mov al, byte [esi + 0x14c]
mov byte [ebp - 0x1a6], al
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1ac]
push 2
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1a8]
push eax
push 0
lea eax, [ebp - 0x1e4]
mov word [ebp - 0x1a8], 0
push eax
push dword [esi + 0x8c]
lea eax, [ebp - 0x1ec]
mov byte [ebp - 0x1a5], 1
push eax
lea eax, [ebp - 0x19c]
mov dword [ebp - 0x1e4], 0
push eax
push dword [esi + 0x88]
mov dword [ebp - 0x1e0], 0
push dword [esi + 0x84]
call dword [0x5a34b8]
jmp 0x416cd0
mov edx, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x70]
mov eax, dword [ebp - 0x64]
push 0xcc0020
push edx
push ecx
push dword [esi + 0x8c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x68]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1b8]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x8c]
call edi
cmp byte [esi + 0xe1], 0
je 0x416d7f
cmp byte [esi + 0x14d], 0
jne 0x416d7f
push dword [0x5a34bc]
push dword [esi + 0x88]
call edi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x416d7f
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0xe4]
mov edi, eax
push 0
lea eax, [ebp - 0x70]
push eax
mov edx, dword [ecx]
push dword [esi + 0x88]
call dword [edx + 0x138]
push edi
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, esi
call fcn.0041a5e0
cmp byte [esi + 0x149], 0
mov byte [esi + 0x160], 0
je case.0x415faa.516
mov ecx, esi
call fcn.00415b30
mov al, 1
jmp 0x4181b8
mov ecx, dword [esi + 0x104]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x416dd0
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x108]
test ecx, ecx
jle 0x416ddd
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x10c]
test ecx, ecx
jle 0x416dea
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x110]
test ecx, ecx
jle case.default.0x4176fa
mov dword [eax + 0x24], ecx
jmp case.default.0x4176fa
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x416e5c
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x40], 0x16
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x100]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00415da0
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [esi + 0xe4]
test ecx, ecx
je 0x416e6b
call fcn.0041d680
cmp byte [esi + 0x14d], 0
je case.0x415faa.516
mov ecx, esi
call fcn.00415b30
mov al, 1
jmp 0x4181b8
cmp byte [esi + 0xe0], 0
je case.default.0x4176fa
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 3
jmp 0x4181b8
cmp dword [esi + 0xe4], 0
je case.default.0x4176fa
mov ecx, esi
call fcn.00415bb0
test al, al
jne case.default.0x4176fa
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1bc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x1bc]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esi + 0xf0]
mov eax, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1b8]
mov dword [esi + 0xfc], eax
mov dword [esi + 0x100], edx
test ecx, ecx
je case.default.0x4176fa
xor edi, edi
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1ac]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x40], 0x11
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x30], edx
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xf0]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov dword [esi + 0xf0], edi
jmp case.default.0x4176fa
cmp dword [esi + 0xe4], 0
je case.default.0x4176fa
mov eax, dword [esi + 0xe8]
test eax, eax
je case.default.0x4176fa
mov ecx, dword [esi + 0x100]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00415da0
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x4176fa
cmp dword [esi + 0xe4], 0
je case.default.0x4176fa
mov eax, dword [esi + 0xe8]
test eax, eax
je case.default.0x4176fa
mov ecx, dword [esi + 0x100]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00415da0
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov eax, dword [esi + 0xe8]
mov dword [esi + 0xf4], eax
jmp case.default.0x4176fa
cmp dword [esi + 0xe4], 0
je case.default.0x4176fa
mov eax, dword [esi + 0xf4]
test eax, eax
je case.default.0x4176fa
mov ecx, dword [esi + 0x100]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00415da0
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xf4]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov dword [esi + 0xf4], 0
jmp case.default.0x4176fa
cmp dword [esi + 0xe4], 0
je case.default.0x4176fa
cmp di, 1
jne case.default.0x4176fa
cmp byte [esi + 0x2b9], 0
jne case.0x415faa.516
lea eax, [ebp - 0x1dc]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1dc], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1dc]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1d8]
mov ecx, esi
push dword [ebp - 0x1dc]
call fcn.00414860
mov esi, eax
test esi, esi
je case.default.0x4176fa
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x4176fa
mov ecx, dword [ebp - 0x1d8]
xor eax, eax
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x1dc]
mov dword [ebp - 0xa0], 0x17
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
call fcn.00415da0
mov word [ebp - 0x8a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0xa0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov al, 1
jmp 0x4181b8
cmp dword [ebp - 0x1ac], 0
je case.default.0x4176fa
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
push edi
mov dword [ebp - 0x1c0], edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
test eax, eax
je case.default.0x4176fa
cmp dword [esi + 0x84], eax
je 0x4171fe
push eax
mov dword [ebp - 0x1c0], eax
call edi
test eax, eax
jne 0x4171e4
jmp case.default.0x4176fa
lea ecx, [esi + 0x2fc]
xor edi, edi
call fcn.00412770
test eax, eax
jle case.default.0x4176fa
push edi
lea ecx, [esi + 0x2fc]
call fcn.00411e70
cmp eax, dword [ebp - 0x1c0]
je 0x41723c
lea ecx, [esi + 0x2fc]
inc edi
call fcn.00412770
cmp edi, eax
jl 0x417213
jmp case.default.0x4176fa
lea ecx, [esi + 0x308]
push edi
call fcn.00411e70
cmp eax, dword [esi + 0xe8]
je case.default.0x4176fa
push 0
push edi
lea ecx, [esi + 0x308]
call fcn.00411e70
push eax
mov ecx, esi
call fcn.00419ee0
jmp case.default.0x4176fa
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.0x415faa.516
push ecx
push dword [ebp - 0x1ac]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x4181b8
cmp edx, 0x200
ja 0x4176d9
je 0x417429
mov eax, edx
sub eax, 0x113
je 0x4172f9
sub eax, 0x20
je 0x4172c7
sub eax, 5
jne case.default.0x4176fa
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.default.0x4176fa
push ecx
push dword [ebp - 0x1ac]
lea eax, [edx + 0x2000]
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x4181b8
mov eax, dword [ebp - 0x1ac]
mov ecx, 0x2000
movzx eax, ax
mov dword [ebp - 0x1b8], eax
cmp ax, cx
jne 0x41735f
cmp byte [esi + 0x14d], 0
je 0x41735f
lea eax, [esi + 0x164]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x41735f
push dword [esi + 0x84]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x4176fa
lea eax, [ebp - 0x1b8]
mov ecx, esi
push eax
push 0
push 0
push 0xf
call fcn.00415e00
jmp case.default.0x4176fa
lea ecx, [esi + 0x2cc]
mov dword [ebp - 0x1b4], 0
call fcn.00412770
test eax, eax
jle case.default.0x4176fa
xor ecx, ecx
nop
push ecx
lea ecx, [esi + 0x2cc]
call fcn.00411e70
mov dword [ebp - 0x1c0], eax
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 0x84]
jne 0x4173b1
mov ecx, dword [ebp - 0x1b8]
movzx ecx, cx
cmp dword [eax + 0xc], ecx
jne 0x4173b1
cmp byte [eax + 0x10], 0
je 0x4173d1
inc dword [ebp - 0x1b4]
lea ecx, [esi + 0x2cc]
call fcn.00412770
mov ecx, dword [ebp - 0x1b4]
cmp ecx, eax
jl 0x417380
jmp case.default.0x4176fa
mov eax, dword [eax]
xor ecx, ecx
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x100]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00415da0
mov ecx, dword [ebp - 0x1c0]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x24], edi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x4176fa
cmp dword [esi + 0xe4], 0
je case.default.0x4176fa
cmp byte [esi + 0x2b8], 0
jne 0x41748c
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 3
test eax, eax
jne 0x417468
mov eax, dword [esi + 0xdc]
jmp 0x417478
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0x2b8], 1
mov eax, dword [ebp - 0x1a8]
mov ecx, esi
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x1b8], edi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0xfc], edi
mov dword [esi + 0x100], eax
call fcn.00414860
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x4174d5
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4176fa
xor eax, eax
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
call fcn.00415da0
mov ecx, esi
mov word [ebp - 0x2a], ax
call fcn.00415bb0
test al, al
jne 0x417689
push dword [ebp - 0x1c0]
mov ecx, esi
push dword [ebp - 0x1b8]
call fcn.00414860
mov edi, eax
mov dword [ebp - 0x1b4], edi
test edi, edi
je 0x41754a
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
cmp eax, esi
jne case.default.0x4176fa
mov eax, dword [esi + 0xec]
cmp edi, eax
je 0x41765d
test eax, eax
je 0x41765d
lea ecx, [esi + 0x338]
mov dword [ebp - 0x40], 0xa
mov dword [ebp - 0x3c], eax
call fcn.00412770
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004118f0
lea ecx, [esi + 0x338]
mov dword [ebp - 4], 3
call fcn.00412770
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00412e00
lea ecx, [esi + 0x338]
call fcn.00412770
shl eax, 2
lea ecx, [esi + 0x338]
push eax
call fcn.00412710
push eax
lea ecx, [ebp - 0x1a0]
call fcn.00412710
push eax
call fcn.004e9540
add esp, 0xc
lea ecx, [ebp - 0x1a0]
xor edi, edi
call fcn.00412770
test eax, eax
jle 0x41760a
nop
push edi
lea ecx, [ebp - 0x1a0]
call fcn.00411e70
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x11c]
lea ecx, [ebp - 0x1a0]
inc edi
call fcn.00412770
cmp edi, eax
jl 0x4175e0
mov ecx, dword [esi + 0xec]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [esi + 0xac]
mov dword [esi + 0xec], 0
test ecx, ecx
je 0x417645
lea eax, [esi + 0xb0]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1a0]
mov dword [ebp - 4], 0xffffffff
call fcn.00411c80
mov edi, dword [ebp - 0x1b4]
cmp edi, dword [esi + 0xec]
je 0x41768f
test edi, edi
je 0x41768f
mov dword [ebp - 0x40], 0xb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x11c]
mov dword [esi + 0xec], edi
jmp 0x41768f
mov edi, dword [ebp - 0x1b4]
mov ecx, dword [esi + 0xf0]
test ecx, ecx
je 0x4176b4
mov dword [ebp - 0x40], 9
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
jmp case.default.0x4176fa
test edi, edi
je case.default.0x4176fa
mov dword [ebp - 0x40], 9
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x11c]
jmp case.default.0x4176fa
cmp edx, 0x20a
ja 0x417b15
je 0x417a0b
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x4176fa
jmp dword [edx*4 + 0x418328]
cmp byte [esi + 0xe0], 0
jne 0x417716
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0xe4], 0
je case.default.0x4176fa
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [esi + 0xfc], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0x100], eax
call fcn.00414860
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4176fa
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4176fa
mov dword [esi + 0xf0], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x104]
mov ecx, esi
call fcn.00419bc0
mov ecx, dword [ebp - 0x1b8]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x1a8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1d0]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x4176fa
cmp byte [esi + 0xe0], 0
jne 0x4177f6
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [esi + 0xfc], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0x100], eax
call fcn.00414860
mov edi, eax
test edi, edi
je case.default.0x4176fa
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4176fa
mov ecx, esi
call fcn.00419bc0
xor eax, eax
mov dword [ebp - 0x40], 0x10
mov word [ebp - 0x2c], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1b8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1ac]
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x3c], edi
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x11c]
mov dword [esi + 0xf0], edi
jmp case.default.0x4176fa
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cmp dword [esi + 0xf0], 0
cwde
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0xfc], ecx
mov dword [esi + 0x100], eax
je case.default.0x4176fa
mov ecx, esi
call fcn.00418840
mov ecx, dword [ebp - 0x1b8]
xor eax, eax
mov edi, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xf0]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x40], 0xe
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xf0]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov dword [esi + 0xf0], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x4176fa
cmp byte [esi + 0xe0], 0
jne 0x417952
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [esi + 0xfc], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c0], eax
mov dword [esi + 0x100], eax
call fcn.00414860
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4176fa
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4176fa
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x104]
mov ecx, dword [ebp - 0x1b8]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x1a8]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x1d0]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x11c]
mov dword [esi + 0xf0], edi
jmp case.default.0x4176fa
cmp dword [esi + 0xe4], 0
je case.default.0x4176fa
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1c4], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1c0], eax
lea eax, [ebp - 0x1c4]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1c0]
mov ecx, dword [ebp - 0x1c4]
push eax
mov dword [esi + 0xfc], ecx
push ecx
mov ecx, esi
mov dword [esi + 0x100], eax
call fcn.00414860
mov edi, eax
mov dword [ebp - 0x1b8], edi
test edi, edi
je case.default.0x4176fa
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4176fa
mov ecx, dword [esi + 0x100]
xor eax, eax
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1ac]
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0x3c], edi
mov edi, dword [ebp - 0x1a8]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xfc]
mov dword [ebp - 0x40], 0x12
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.00415da0
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1b8]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
movzx ecx, word [esi + 0x100]
movzx eax, word [esi + 0xfc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x4176fa
cmp edx, 0x318
ja 0x41807f
je 0x417f8d
sub edx, 0x2a1
je 0x417c6c
sub edx, 2
jne case.default.0x4176fa
cmp dword [esi + 0xe4], edx
je case.default.0x4176fa
mov ecx, dword [esi + 0xac]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x417b68
lea eax, [esi + 0xb0]
push eax
push edx
push 0x411
push ecx
call edi
cmp byte [esi + 0x2b8], 0
je 0x417c60
xorps xmm0, xmm0
lea eax, [ebp - 0x1bc]
push eax
movlpd qword [ebp - 0x1bc], xmm0
movups xmmword [ebp - 0x80], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x417c4f
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x84]
jne 0x417c4f
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x80]
push dword [ebp - 0x1bc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x417c4f
movzx ecx, word [ebp - 0x1b8]
movzx eax, word [ebp - 0x1bc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [esi + 0x84]
call edi
mov ecx, dword [esi + 0x84]
cmp eax, 1
jne 0x417c37
lea eax, [ebp - 0x1bc]
push eax
push ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x1b8]
movzx eax, word [ebp - 0x1bc]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x417c51
push 0xffffffffffffffff
push 0
push 0x200
push ecx
call edi
mov byte [esi + 0x2b8], 0
jmp case.default.0x4176fa
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0x84]
call edi
mov byte [esi + 0x2b8], 0
jmp case.default.0x4176fa
cmp dword [esi + 0xe4], 0
je case.default.0x4176fa
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1d0], ecx
push ecx
mov ecx, esi
mov byte [esi + 0x2b8], 0
mov dword [ebp - 0x1c0], eax
call fcn.00414860
mov edi, eax
mov dword [ebp - 0x1b8], edi
test edi, edi
je case.default.0x4176fa
mov eax, dword [esi + 0xec]
test eax, eax
je 0x417d1a
mov edi, dword [ebp - 0x1a8]
xor ecx, ecx
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov word [ebp - 0x2c], cx
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x30], eax
call fcn.00415da0
mov ecx, dword [esi + 0xec]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov edi, dword [ebp - 0x1b8]
mov eax, dword [edi]
lea ecx, [ebp - 0x184]
push ecx
mov ecx, edi
call dword [eax + 0xac]
lea ecx, [ebp - 0x184]
mov dword [ebp - 4], 2
call fcn.00412970
test al, al
jne 0x417f7b
lea eax, [ebp - 0x184]
push eax
call fcn.004185c0
mov dword [esi + 0xc0], 0
lea ecx, [ebp - 0x184]
mov dword [esi + 0xc4], 0
add esp, 4
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov dword [esi + 0xd8], 0
mov eax, dword [esi + 0x84]
mov dword [esi + 0xb0], 0x2c
mov dword [esi + 0xb4], 1
mov dword [esi + 0xb8], eax
mov dword [esi + 0xbc], eax
mov eax, dword [0x5a34c8]
mov dword [esi + 0xd0], eax
call fcn.00411eb0
mov dword [esi + 0xd4], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x40]
call eax
cmp dword [esi + 0xac], 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0xc0], xmm0
jne 0x417ea3
push 0
push dword [0x5a34c8]
push 0
push dword [esi + 0x84]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esi + 0xb0]
mov dword [esi + 0xac], eax
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xb8]
call eax
push eax
push 0
push 0x418
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0xb0]
push eax
push 0
push 0x436
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0xb0]
push eax
push 1
push 0x411
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0xf8]
test ecx, ecx
jne 0x417ebe
mov dword [esi + 0xf8], edi
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x417f54
mov eax, dword [edi]
cmp ecx, edi
mov ecx, edi
mov eax, dword [eax + 0xb8]
jne 0x417f10
call eax
cmp dword [esi + 0xa8], eax
je 0x417f08
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xb8]
call eax
push eax
push 0
push 0x418
push dword [esi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xb8]
call eax
mov dword [esi + 0xa8], eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x417f28
call eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [esi + 0xac]
call edi
lea eax, [esi + 0xb0]
push eax
push 0
push 0x436
push dword [esi + 0xac]
call edi
lea eax, [esi + 0xb0]
push eax
push 1
push 0x411
push dword [esi + 0xac]
call edi
mov eax, dword [ebp - 0x1c0]
movzx ecx, ax
mov eax, dword [ebp - 0x1d0]
shl ecx, 0x10
movzx eax, ax
or ecx, eax
push ecx
push 0
push 0x412
push dword [esi + 0xac]
call edi
lea ecx, [ebp - 0x184]
call fcn.00411c90
mov al, 1
jmp 0x4181b8
cmp dword [esi + 0xe4], 0
je case.default.0x4176fa
lea eax, [ebp - 0x80]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x1ac]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0xe4]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x80]
push 0
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x138]
test byte [ebp - 0x1a8], 0x10
je 0x41806d
push 5
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x41806d
or dword [ebp - 0x1a8], 2
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x84]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1a8]
push edi
push 0x317
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1b4]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b4], eax
test eax, eax
jne 0x418002
push dword [ebp - 0x1b8]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x4176fa
cmp edx, 0x8001
jne case.default.0x4176fa
lea eax, [esi + 0x320]
mov byte [esi + 0x2bc], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1c0], eax
call fcn.00412650
mov edi, eax
mov dword [ebp - 0x1b4], edi
test edi, edi
je 0x418182
lea eax, [esi + 0x2c0]
mov dword [ebp - 0x1b0], eax
mov esi, eax
mov ecx, dword [ebp - 0x1c0]
push 1
push 0
call fcn.00412b00
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x4180f9
add ecx, 0x38
call fcn.00428770
test al, al
je 0x4180f9
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.00428790
mov ecx, esi
xor edi, edi
call fcn.00412770
test eax, eax
jle 0x418139
mov esi, dword [ebp - 0x1b4]
nop dword [eax]
mov ecx, dword [ebp - 0x1b0]
push edi
call fcn.00411e70
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1b0]
inc edi
call fcn.00412770
cmp edi, eax
jl 0x418110
mov esi, dword [ebp - 0x1b0]
mov edi, dword [ebp - 0x1b4]
lea ecx, [edi + 0x84]
call fcn.00411c90
mov ecx, edi
call fcn.00411c90
push 0x120
push edi
call fcn.004e6cae
mov ecx, dword [ebp - 0x1c0]
add esp, 8
push 0
call fcn.00412650
mov edi, eax
mov dword [ebp - 0x1b4], eax
test edi, edi
jne 0x4180c5
mov esi, dword [ebp - 0x1d4]
add esi, 0x314
xor edi, edi
mov ecx, esi
call fcn.00412770
test eax, eax
jle 0x4181af
push edi
mov ecx, esi
call fcn.00411e70
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, esi
inc edi
call fcn.00412770
cmp edi, eax
jl 0x418195
mov ecx, esi
call fcn.00412390
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e6d11
mov esp, ebp
pop ebp
ret 0x10