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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b06c
mov eax, dword fs:[0]
push eax
sub esp, 0x1e4
mov eax, dword [0x5903c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x1dc], edi
cmp dword [edi + 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.0x4e1d1b
lea ecx, [edi + 0x2e4]
mov dword [ebp - 0x1cc], 0
call fcn.004db330
mov esi, dword [ebp - 0x1a8]
test eax, eax
jle 0x4e02c0
xor ecx, ecx
nop
push ecx
lea ecx, [edi + 0x2e4]
mov byte [ebp - 0x1c5], 0
call fcn.004eabd0
lea ecx, [ebp - 0x1c5]
push ecx
push esi
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 0x4e031c
inc dword [ebp - 0x1cc]
lea ecx, [edi + 0x2e4]
call fcn.004db330
mov ecx, dword [ebp - 0x1cc]
cmp ecx, eax
jl 0x4e0270
mov cl, byte [edi + 0x14d]
mov edx, dword [ebp + 8]
test cl, cl
je 0x4e03c8
mov eax, edx
sub eax, 0x83
je 0x4e03b5
sub eax, 2
je 0x4e03b5
sub eax, 1
jne 0x4e03c8
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4e0406
cmp dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b0]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x4e28d8
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x4e0361
cmp eax, 0x200
jae 0x4e0341
cmp eax, 0x7b
je 0x4e0368
mov al, 1
jmp 0x4e28d8
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [edi + 0x100], eax
mov al, 1
mov dword [edi + 0xfc], ecx
jmp 0x4e28d8
cmp eax, 0x20a
jne 0x4e03ae
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 [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1bc]
mov dword [edi + 0xfc], eax
mov eax, dword [ebp - 0x1b8]
mov dword [edi + 0x100], eax
mov al, 1
jmp 0x4e28d8
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 0
jmp 0x4e28d8
cmp edx, 0x111
ja 0x4e180e
jne 0x4e0409
mov eax, dword [ebp - 0x1a8]
test eax, eax
je case.default.0x4e1d1b
push eax
push dword [ebp - 0x1ac]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b0]
mov dword [ecx], eax
mov al, 1
jmp 0x4e28d8
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x4e1d1b
movzx eax, byte [eax + 0x4e2930]
jmp dword [eax*4 + 0x4e28f8]
mov eax, dword [edi + 0xfc]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0xe4], 0
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xd4], eax
call fcn.004e01a0
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xec]
mov dword [ebp - 0xdc], eax
test ecx, ecx
je 0x4e04a4
mov dword [ebp - 0xe4], 0xa
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
mov ecx, dword [edi + 0xf0]
test ecx, ecx
je 0x4e04cd
mov dword [ebp - 0xe4], 0xe
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
push 1
push 0
mov ecx, edi
call fcn.004e3aa0
mov esi, dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x4e0521
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
push 0xfffffffffffffff0
push dword [edi + 0x84]
mov esi, eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x40000000
je 0x4e0516
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov esi, eax
test esi, esi
je 0x4e0521
push esi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [edi + 0xac]
test eax, eax
je case.default.0x4e1d1b
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [edi + 0xac], 0
jmp case.default.0x4e1d1b
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 1
jmp 0x4e28d8
cmp dword [edi + 0xe4], 0
jne 0x4e05bb
push 0x40
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.0051df40
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0xfc]
push eax
push dword [edi + 0x88]
call fcn.00500d70
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4e28d8
lea eax, [ebp - 0x114]
xorps xmm0, xmm0
push eax
push dword [edi + 0x84]
movups xmmword [ebp - 0x114], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [edi + 0x14d], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x30], xmm0
je 0x4e0679
movups xmm0, xmmword [edi + 0x164]
lea esi, [edi + 0x164]
mov byte [edi + 0x14b], 1
push esi
movups xmmword [ebp - 0x30], xmm0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4e064f
push 0x40
lea eax, [ebp - 0x164]
push 0
push eax
call fcn.0051df40
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x164]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4e28d8
mov eax, dword [ebp - 0x28]
xorps xmm0, xmm0
mov edx, dword [ebp - 0x10c]
cmp eax, edx
mov ecx, dword [ebp - 0x108]
cmovg eax, edx
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
cmp eax, ecx
movups xmmword [esi], xmm0
cmovg eax, ecx
mov dword [ebp - 0x24], eax
jmp 0x4e069f
push 0
lea eax, [ebp - 0x30]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4e03ae
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
cmp byte [edi + 0x14a], 0
je 0x4e06bd
push 1
mov ecx, edi
call fcn.004e3eb0
mov ecx, dword [ebp - 0x108]
mov edx, dword [ebp - 0x10c]
cmp byte [edi + 0x149], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
mov byte [edi + 0x2ba], 1
je 0x4e08c5
lea eax, [ebp - 0x114]
mov byte [edi + 0x149], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4e094b
mov ecx, dword [edi + 0xe4]
call fcn.004f2fc0
test al, al
je 0x4e07c8
movups xmm0, xmmword [ebp - 0x114]
mov eax, dword [edi + 0x8c]
movups xmmword [ebp - 0x40], xmm0
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x4e0722
push eax
call esi
mov eax, dword [edi + 0x90]
test eax, eax
je 0x4e072f
push eax
call esi
mov eax, dword [edi + 0x94]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4e0742
push eax
call esi
mov eax, dword [edi + 0x9c]
test eax, eax
je 0x4e074f
push eax
call esi
cmp byte [edi + 0x14d], 0
mov dword [edi + 0x8c], 0
mov dword [edi + 0x90], 0
mov dword [edi + 0x94], 0
mov dword [edi + 0x9c], 0
je 0x4e07aa
mov eax, dword [edi + 0x150]
add dword [ebp - 0x20], eax
mov eax, dword [edi + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [edi + 0x15c]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
jmp 0x4e07ae
movups xmm0, xmmword [ebp - 0x40]
mov ecx, dword [edi + 0xe4]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x4c]
jmp 0x4e0868
lea esi, [edi + 0x32c]
mov ecx, esi
mov dword [ebp - 0x1c0], esi
call fcn.004eaed0
mov ecx, dword [edi + 0xe4]
push reloc.WS2_32.dll_htons
push 0
push 0x4e49a0
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, esi
call fcn.004db330
test eax, eax
jle 0x4e0868
xor edi, edi
push edi
mov ecx, esi
call fcn.004eabd0
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x1b0], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x108]
call edx
mov esi, dword [esi]
mov ecx, dword [ebp - 0x1b0]
test al, al
jne 0x4e0831
mov eax, dword [esi + 0x40]
call eax
jmp 0x4e083a
lea eax, [ebp - 0x40]
push eax
mov eax, dword [esi + 0x44]
call eax
movups xmm0, xmmword [eax]
push 1
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x1b0]
call dword [esi + 0x4c]
mov esi, dword [ebp - 0x1c0]
inc edi
mov ecx, esi
call fcn.004db330
cmp edi, eax
jl 0x4e0802
mov edi, dword [ebp - 0x1dc]
cmp byte [edi + 0x148], 0
je 0x4e094b
push 1
push 0
push 0
push 0
push str.windowinit
push dword [edi + 0xe4]
mov ecx, edi
mov byte [edi + 0x148], 0
call fcn.004e3810
cmp byte [edi + 0x14d], 0
je 0x4e094b
cmp byte [edi + 0x160], 0
je 0x4e094b
mov ecx, edi
call fcn.004dffa0
mov byte [edi + 0x2ba], 0
mov al, 1
jmp 0x4e28d8
cmp byte [edi + 0x14d], 0
je 0x4e094b
cmp byte [edi + 0x160], 0
je 0x4e094b
movups xmm0, xmmword [ebp - 0x114]
mov eax, dword [edi + 0x98]
movups xmmword [ebp - 0x20], xmm0
test eax, eax
je 0x4e090e
sub ecx, dword [ebp - 0x110]
sub edx, dword [ebp - 0x114]
imul ecx, edx
shl ecx, 2
push ecx
push 0
push eax
call fcn.0051df40
add esp, 0xc
mov eax, dword [edi + 0x150]
add dword [ebp - 0x20], eax
mov eax, dword [edi + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x158]
sub dword [ebp - 0x18], eax
mov ecx, dword [edi + 0xe4]
mov eax, dword [edi + 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 [edi + 0x14b], 0
je 0x4e09dd
cmp dword [edi + 0x94], 0
jne 0x4e09dd
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [edi + 0x14d], 0
mov dword [edi + 0x8c], eax
je 0x4e09b1
lea eax, [edi + 0x98]
push eax
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [edi + 0x88]
call fcn.00500cf0
add esp, 0x10
jmp 0x4e09d7
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [edi + 0x94], eax
push 0x40
lea eax, [ebp - 0x1a4]
push 0
push eax
call fcn.0051df40
add esp, 0xc
lea eax, [ebp - 0x1a4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [edi + 0x14b], 0
je 0x4e1190
push dword [edi + 0x94]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x8c]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [edi + 0x14d], 0
mov dword [ebp - 0x1d0], eax
je 0x4e0aa7
cmp dword [edi + 0x280], 0
jne 0x4e0aa7
mov eax, dword [ebp - 0x108]
mov esi, eax
sub esi, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jge 0x4e0aa7
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x30]
cmp edx, ecx
jge 0x4e0a99
nop dword [eax + eax]
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp - 0x114]
mov eax, dword [edi + 0x98]
imul ecx, esi
add ecx, edx
inc edx
mov dword [eax + ecx*4], 0
mov ecx, dword [ebp - 0x28]
cmp edx, ecx
jl 0x4e0a70
mov edx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x108]
inc esi
sub eax, dword [ebp - 0x2c]
cmp esi, eax
jl 0x4e0a64
mov ecx, dword [edi + 0xe4]
lea edx, [ebp - 0x30]
push 0
push edx
push dword [edi + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x138]
cmp byte [edi + 0x14d], 0
je 0x4e0d33
lea ecx, [edi + 0x2fc]
mov dword [ebp - 0x1b0], 0
call fcn.004db330
test eax, eax
jle 0x4e0d33
xor ecx, ecx
nop dword [eax]
push ecx
lea ecx, [edi + 0x2fc]
call fcn.004eabd0
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4e0b34
push 1
push dword [ebp - 0x1b0]
lea ecx, [edi + 0x2fc]
call fcn.004eb570
push 1
push dword [ebp - 0x1b0]
lea ecx, [edi + 0x308]
call fcn.004eb570
jmp 0x4e0d1a
inc dword [ebp - 0x1b0]
push esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4e0d1a
push esi
lea eax, [ebp - 0x124]
mov ecx, edi
push eax
call fcn.004dfd30
lea eax, [ebp - 0x124]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4e0d1a
push dword [edi + 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 - 0x118]
sub ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [ebp - 0x124]
push ecx
push eax
call fcn.00500cf0
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
sub edx, dword [ebp - 0x124]
sub ecx, dword [ebp - 0x120]
imul edx, ecx
mov dword [ebp - 0x1d4], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1cc]
call fcn.0051df40
add esp, 0x1c
push dword [ebp - 0x1d4]
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 esi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x118]
mov ecx, edx
sub ecx, dword [ebp - 0x120]
mov esi, dword [ebp - 0x11c]
mov dword [ebp - 0x1ac], 0
mov dword [ebp - 0x1b4], edx
test ecx, ecx
jle 0x4e0cc5
mov edi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x1ac]
mov eax, esi
xor edx, edx
sub eax, edi
test eax, eax
jle 0x4e0ca6
imul eax, ecx
mov ecx, dword [ebp - 0x1cc]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
test eax, eax
je 0x4e0c89
or eax, 0xff000000
mov dword [ecx], eax
mov esi, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x1ac]
mov eax, esi
inc edx
sub eax, edi
cmp edx, eax
jl 0x4e0c62
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x1b4], edx
jmp 0x4e0cac
mov edx, dword [ebp - 0x1b4]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x120]
mov dword [ebp - 0x1ac], ecx
cmp ecx, eax
jl 0x4e0c58
mov edi, dword [ebp - 0x1dc]
mov ecx, dword [ebp - 0x120]
sub edx, ecx
mov eax, dword [ebp - 0x124]
sub esi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x1a8]
push edx
push esi
push ecx
push eax
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1c0]
mov esi, dword [ebp - 0x1a8]
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1d4]
call dword [sym.imp.GDI32.dll_DeleteObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [edi + 0x2fc]
call fcn.004db330
mov ecx, dword [ebp - 0x1b0]
cmp ecx, eax
jl 0x4e0af0
lea ecx, [edi + 0x2f0]
xor esi, esi
call fcn.004db330
test eax, eax
jle 0x4e0d74
push esi
lea ecx, [edi + 0x2f0]
call fcn.004eabd0
lea ecx, [ebp - 0x30]
push ecx
push dword [edi + 0x8c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x154]
lea ecx, [edi + 0x2f0]
inc esi
call fcn.004db330
cmp esi, eax
jl 0x4e0d44
push dword [ebp - 0x1d0]
push dword [edi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [edi + 0x14d], 0
je 0x4e10e9
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [edi + 0x84]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [ebp - 0x108]
mov eax, esi
sub eax, dword [ebp - 0x110]
movups xmm0, xmmword [ebp - 0x114]
mov edx, dword [ebp - 0x10c]
sub edx, dword [ebp - 0x114]
mov dword [ebp - 0x1ac], eax
mov eax, dword [edi + 0x150]
add eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x154]
add dword [ebp - 0x1c], eax
mov eax, dword [edi + 0x158]
sub dword [ebp - 0x18], eax
mov eax, dword [edi + 0x15c]
sub dword [ebp - 0x14], eax
cmp dword [edi + 0x280], 0
mov dword [ebp - 0x1b0], edx
je 0x4e1055
cmp dword [edi + 0x9c], 0
jne 0x4e0e8d
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea esi, [edi + 0xa0]
mov dword [edi + 0x90], eax
push esi
push dword [ebp - 0x1ac]
push dword [ebp - 0x1b0]
push dword [edi + 0x88]
call fcn.00500cf0
mov dword [edi + 0x9c], eax
mov eax, dword [ebp - 0x1ac]
imul eax, dword [ebp - 0x1b0]
shl eax, 2
push eax
push 0
push dword [esi]
call fcn.0051df40
add esp, 0x1c
push dword [edi + 0x9c]
push dword [edi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x4e0ebe
cmp byte [edi + 0x160], 0
je 0x4e0f0f
mov eax, dword [ebp - 0x1ac]
imul eax, edx
shl eax, 2
push eax
push 0
push dword [edi + 0xa0]
call fcn.0051df40
add esp, 0xc
mov dword [ebp - 4], 1
movups xmm0, xmmword [ebp - 0x20]
lea eax, [ebp - 0xe0]
push eax
sub esp, 0x10
mov eax, esp
push dword [edi + 0x90]
movups xmmword [eax], xmm0
call fcn.00505fe0
lea eax, [edi + 0x174]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push edi
push dword [edi + 0x90]
call fcn.005050c0
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe0]
call fcn.005007a0
mov esi, dword [ebp - 0x108]
mov eax, dword [edi + 0x280]
cmp byte [eax + 0x14], 0
je 0x4e1055
mov edx, esi
mov eax, esi
sub edx, dword [ebp - 0x24]
sub eax, dword [ebp - 0x2c]
mov dword [ebp - 0x1c0], edx
cmp edx, eax
jge 0x4e1055
mov eax, dword [ebp - 0x1b0]
mov esi, edx
mov ecx, dword [ebp - 0x30]
imul esi, eax
mov dword [ebp - 0x1d4], ecx
mov dword [ebp - 0x1b4], esi
cmp ecx, dword [ebp - 0x28]
jge 0x4e102f
lea eax, [ecx + esi]
shl eax, 2
mov dword [ebp - 0x1d0], eax
mov edx, dword [edi + 0x98]
add ecx, esi
add edx, eax
mov eax, dword [edi + 0xa0]
mov dword [ebp - 0x1cc], edx
mov al, byte [eax + ecx*4 + 3]
movzx edi, al
mov eax, dword [edx]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
mul ecx
mov ecx, dword [ebp - 0x1cc]
shr edx, 7
movzx esi, dl
shl esi, 8
mov eax, dword [ecx]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
mul ecx
shr edx, 7
movzx eax, dl
or esi, eax
mov eax, dword [ebp - 0x1cc]
shl esi, 8
movzx ecx, byte [eax]
mov eax, 0x80808081
imul ecx, edi
shl edi, 0x18
mul ecx
mov ecx, dword [ebp - 0x1d4]
shr edx, 7
inc ecx
movzx eax, dl
or esi, eax
mov dword [ebp - 0x1d4], ecx
mov eax, dword [ebp - 0x1cc]
add esi, edi
mov edi, dword [ebp - 0x1dc]
mov dword [eax], esi
mov eax, dword [ebp - 0x1d0]
mov esi, dword [ebp - 0x1b4]
add eax, 4
mov dword [ebp - 0x1d0], eax
cmp ecx, dword [ebp - 0x28]
jl 0x4e0f66
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 0x1c0]
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1d4], ecx
add esi, eax
inc edx
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x2c]
cmp edx, eax
mov dword [ebp - 0x1c0], edx
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], esi
jl 0x4e0f51
mov al, byte [edi + 0x14c]
mov byte [ebp - 0x1a6], al
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1e4], eax
mov eax, dword [ebp - 0x1ac]
push 2
mov dword [ebp - 0x1e0], eax
lea eax, [ebp - 0x1a8]
push eax
push 0
lea eax, [ebp - 0x1f0]
mov word [ebp - 0x1a8], 0
push eax
push dword [edi + 0x8c]
lea eax, [ebp - 0x1e4]
mov byte [ebp - 0x1a5], 1
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x1f0], 0
push eax
push dword [edi + 0x88]
mov dword [ebp - 0x1ec], 0
push dword [edi + 0x84]
call dword [0x598108]
jmp 0x4e1116
mov edx, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x24]
push 0xcc0020
push edx
push ecx
push dword [edi + 0x8c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x28]
sub eax, ecx
push eax
push edx
push ecx
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x1b8]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [edi + 0x8c]
call esi
cmp byte [edi + 0xe1], 0
je 0x4e11c5
cmp byte [edi + 0x14d], 0
jne 0x4e11c5
push dword [0x59810c]
push dword [edi + 0x88]
call esi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x4e11c5
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0xe4]
mov esi, eax
push 0
lea eax, [ebp - 0x30]
push eax
mov edx, dword [ecx]
push dword [edi + 0x88]
call dword [edx + 0x138]
push esi
push dword [edi + 0x88]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x1a4]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [edi + 0x149], 0
mov byte [edi + 0x2ba], 0
mov byte [edi + 0x160], 0
je 0x4e03ae
mov ecx, edi
call fcn.004dffa0
mov al, 1
jmp 0x4e28d8
mov ecx, dword [edi + 0x104]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x4e1214
mov dword [eax + 0x18], ecx
mov ecx, dword [edi + 0x108]
test ecx, ecx
jle 0x4e1221
mov dword [eax + 0x1c], ecx
mov ecx, dword [edi + 0x10c]
test ecx, ecx
jle 0x4e122e
mov dword [eax + 0x20], ecx
mov ecx, dword [edi + 0x110]
test ecx, ecx
jle case.default.0x4e1d1b
mov dword [eax + 0x24], ecx
jmp case.default.0x4e1d1b
mov eax, dword [edi + 0xe8]
test eax, eax
je 0x4e12d5
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xe4], 0x16
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0xd4], eax
call fcn.004e01a0
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xe4]
mov word [ebp - 0xce], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [edi + 0xe4]
test ecx, ecx
je 0x4e12e4
call fcn.004f3190
cmp byte [edi + 0x14d], 0
je 0x4e03ae
mov ecx, edi
call fcn.004dffa0
mov al, 1
jmp 0x4e28d8
cmp byte [edi + 0xe0], 0
je case.default.0x4e1d1b
mov ecx, dword [ebp - 0x1b0]
mov al, 1
mov dword [ecx], 3
jmp 0x4e28d8
cmp dword [edi + 0xe4], 0
je case.default.0x4e1d1b
cmp byte [edi + 0x2b9], 0
jne case.default.0x4e1d1b
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 [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [edi + 0xf0]
mov eax, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1b8]
mov dword [edi + 0xfc], eax
mov dword [edi + 0x100], edx
test ecx, ecx
je case.default.0x4e1d1b
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xe4], 0x11
mov dword [ebp - 0xe0], ecx
mov dword [ebp - 0xd4], edx
mov word [ebp - 0xce], ax
mov dword [ebp - 0xc8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xf0]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov dword [edi + 0xf0], 0
jmp case.default.0x4e1d1b
cmp dword [edi + 0xe4], 0
je case.default.0x4e1d1b
mov eax, dword [edi + 0xe8]
test eax, eax
je case.default.0x4e1d1b
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xd0], ax
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0xe4], 5
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.004e01a0
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x4e1d1b
cmp dword [edi + 0xe4], 0
je case.default.0x4e1d1b
mov eax, dword [edi + 0xe8]
test eax, eax
je case.default.0x4e1d1b
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xd0], ax
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0xe4], 3
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.004e01a0
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xe8]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov eax, dword [edi + 0xe8]
mov dword [edi + 0xf4], eax
jmp case.default.0x4e1d1b
cmp dword [edi + 0xe4], 0
je case.default.0x4e1d1b
mov eax, dword [edi + 0xf4]
test eax, eax
je case.default.0x4e1d1b
xorps xmm0, xmm0
mov dword [ebp - 0xc8], 0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov word [ebp - 0xd0], ax
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0xe4], 4
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.004e01a0
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xf4]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov dword [edi + 0xf4], 0
jmp case.default.0x4e1d1b
cmp dword [edi + 0xe4], 0
je case.default.0x4e1d1b
cmp si, 1
jne case.default.0x4e1d1b
cmp byte [edi + 0x2b9], 0
jne 0x4e03ae
lea eax, [ebp - 0x1d8]
mov dword [ebp - 0x1d8], 0
push eax
mov dword [ebp - 0x1d4], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1d8]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1d4]
mov ecx, edi
push dword [ebp - 0x1d8]
call fcn.004df630
mov edi, eax
test edi, edi
je case.default.0x4e1d1b
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x4e1d1b
mov eax, dword [ebp - 0x1ac]
xorps xmm0, xmm0
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x128], 0
movq qword [ebp - 0x130], xmm0
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x144], 0x17
mov dword [ebp - 0x140], edi
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x134], eax
call fcn.004e01a0
mov word [ebp - 0x12e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x13c], eax
lea ecx, [ebp - 0x144]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x11c]
mov al, 1
jmp 0x4e28d8
cmp dword [ebp - 0x1ac], 0
je case.default.0x4e1d1b
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
push esi
mov dword [ebp - 0x1c0], esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
call esi
test eax, eax
je case.default.0x4e1d1b
cmp dword [edi + 0x84], eax
je 0x4e176e
push eax
mov dword [ebp - 0x1c0], eax
call esi
test eax, eax
jne 0x4e1754
jmp case.default.0x4e1d1b
lea ecx, [edi + 0x2fc]
xor esi, esi
call fcn.004db330
test eax, eax
jle case.default.0x4e1d1b
push esi
lea ecx, [edi + 0x2fc]
call fcn.004eabd0
cmp eax, dword [ebp - 0x1c0]
je 0x4e17ac
lea ecx, [edi + 0x2fc]
inc esi
call fcn.004db330
cmp esi, eax
jl 0x4e1783
jmp case.default.0x4e1d1b
lea ecx, [edi + 0x308]
push esi
call fcn.004eabd0
cmp eax, dword [edi + 0xe8]
je case.default.0x4e1d1b
push 0
push esi
lea ecx, [edi + 0x308]
call fcn.004eabd0
push eax
mov ecx, edi
call fcn.004e3aa0
jmp case.default.0x4e1d1b
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x4e1807
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 0x4e28d8
cmp edx, 0x200
ja 0x4e1cfa
je 0x4e19bc
mov eax, edx
sub eax, 0x113
je 0x4e1869
sub eax, 0x20
je 0x4e1837
sub eax, 5
jne case.default.0x4e1d1b
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.default.0x4e1d1b
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 0x4e28d8
mov eax, 0x2000
cmp word [ebp - 0x1ac], ax
jne 0x4e18bf
test cl, cl
je 0x4e18bf
lea eax, [edi + 0x164]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4e18bf
push dword [edi + 0x84]
mov dword [ebp - 0x1b8], eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x4e1d1b
lea eax, [ebp - 0x1b8]
mov ecx, edi
push eax
push 0
push 0
push 0xf
call fcn.004e01f0
jmp case.default.0x4e1d1b
lea ecx, [edi + 0x2cc]
mov dword [ebp - 0x1b4], 0
call fcn.004db330
test eax, eax
jle case.default.0x4e1d1b
xor ecx, ecx
nop
push ecx
lea ecx, [edi + 0x2cc]
call fcn.004eabd0
mov edx, eax
mov dword [ebp - 0x1b8], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [edi + 0x84]
jne 0x4e1913
mov eax, dword [ebp - 0x1ac]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x4e1913
cmp byte [edx + 0x10], 0
je 0x4e1933
inc dword [ebp - 0x1b4]
lea ecx, [edi + 0x2cc]
call fcn.004db330
mov ecx, dword [ebp - 0x1b4]
cmp ecx, eax
jl 0x4e18e0
jmp case.default.0x4e1d1b
mov eax, dword [edx]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xc8], 0
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xe4], 0x18
mov dword [ebp - 0xe0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0xd4], eax
call fcn.004e01a0
mov ecx, dword [ebp - 0x1b8]
lea edx, [ebp - 0xe4]
mov word [ebp - 0xce], ax
mov dword [ebp - 0xc8], esi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x4e1d1b
cmp dword [edi + 0xe4], 0
je case.default.0x4e1d1b
cmp byte [edi + 0x2b8], 0
jne 0x4e1a32
mov eax, dword [edi + 0x84]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0xac]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 3
test eax, eax
jne 0x4e1a0e
mov eax, dword [edi + 0xdc]
jmp 0x4e1a1e
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [edi + 0x2b8], 1
mov eax, dword [ebp - 0x1a8]
lea edx, [ebp - 0x11c]
mov ecx, dword [edi + 0xe4]
movsx esi, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0x100], eax
mov dword [ebp - 0x118], eax
mov dword [edi + 0xfc], esi
mov dword [ebp - 0x11c], esi
mov eax, dword [ecx]
push 0x15
push edx
push 0x4e4910
mov eax, dword [eax + 0x110]
mov dword [ebp - 0x1b8], esi
call eax
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x4e1a9c
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x4e1d1b
mov eax, dword [ebp - 0x1c0]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], esi
mov esi, dword [ebp - 0x1a8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
call fcn.004e01a0
mov word [ebp - 0xce], ax
mov al, byte [edi + 0x2b9]
test al, al
jne 0x4e1c98
push dword [ebp - 0x1c0]
mov ecx, edi
push dword [ebp - 0x1b8]
call fcn.004df630
mov esi, eax
mov dword [ebp - 0x1b4], esi
test esi, esi
je 0x4e1b42
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
cmp eax, edi
jne case.default.0x4e1d1b
mov eax, dword [edi + 0xec]
cmp esi, eax
je 0x4e1c63
test eax, eax
je 0x4e1c63
lea ecx, [edi + 0x338]
mov dword [ebp - 0xe4], 0xa
mov dword [ebp - 0xe0], eax
call fcn.004db330
push eax
lea ecx, [ebp - 0x1e8]
call fcn.004ea820
lea ecx, [edi + 0x338]
mov dword [ebp - 4], 3
call fcn.004db330
push eax
lea ecx, [ebp - 0x1e8]
call fcn.004eba20
lea ecx, [edi + 0x338]
call fcn.004db330
shl eax, 2
lea ecx, [edi + 0x338]
push eax
call fcn.004eb180
push eax
lea ecx, [ebp - 0x1e8]
call fcn.004eb180
push eax
call fcn.0051d9c0
add esp, 0xc
lea ecx, [ebp - 0x1e8]
xor esi, esi
call fcn.004db330
test eax, eax
jle 0x4e1c0d
nop dword [eax]
push esi
lea ecx, [ebp - 0x1e8]
call fcn.004eabd0
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x11c]
lea ecx, [ebp - 0x1e8]
inc esi
call fcn.004db330
cmp esi, eax
jl 0x4e1be0
mov ecx, dword [edi + 0xec]
lea edx, [ebp - 0xe4]
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov ecx, dword [edi + 0xac]
mov dword [edi + 0xec], 0
test ecx, ecx
je 0x4e1c4b
lea eax, [edi + 0xb0]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x1e8]
mov dword [ebp - 4], 0xffffffff
call fcn.00427680
mov esi, dword [ebp - 0x1b4]
cmp esi, dword [edi + 0xec]
je 0x4e1c9e
test esi, esi
je 0x4e1c9e
mov dword [ebp - 0xe4], 0xb
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [edi + 0xec], esi
jmp 0x4e1c9e
mov esi, dword [ebp - 0x1b4]
mov ecx, dword [edi + 0xf0]
test ecx, ecx
je 0x4e1ccc
mov dword [ebp - 0xe4], 9
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xe0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x11c]
jmp case.default.0x4e1d1b
test esi, esi
je case.default.0x4e1d1b
mov dword [ebp - 0xe4], 9
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xe0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
jmp case.default.0x4e1d1b
cmp edx, 0x20a
ja 0x4e2241
je 0x4e20e8
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x4e1d1b
jmp dword [edx*4 + 0x4e2a30]
cmp byte [edi + 0xe0], 0
jne 0x4e1d37
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [edi + 0xe4], 0
je case.default.0x4e1d1b
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [edi + 0xfc], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0x100], eax
call fcn.004df630
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x4e1d1b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x4e1d1b
mov dword [edi + 0xf0], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x104]
mov ecx, edi
call fcn.004e38d0
mov ecx, dword [ebp - 0x1b8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1ac]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], esi
mov esi, dword [ebp - 0x1a8]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0xd
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1d0]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x4e1d1b
cmp byte [edi + 0xe0], 0
jne 0x4e1e48
push dword [edi + 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 [edi + 0xfc], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0x100], eax
call fcn.004df630
mov esi, eax
test esi, esi
je case.default.0x4e1d1b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x4e1d1b
mov ecx, edi
call fcn.004e38d0
mov eax, dword [ebp - 0x1b8]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0x10
mov dword [ebp - 0xe0], esi
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0xe4]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x11c]
mov dword [edi + 0xf0], esi
jmp case.default.0x4e1d1b
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cmp dword [edi + 0xf0], 0
cwde
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0xfc], ecx
mov dword [edi + 0x100], eax
je case.default.0x4e1d1b
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [edi + 0xf0]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1b8]
mov esi, dword [ebp - 0x1a8]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0xc8], 0
mov byte [edi + 0x2b9], 0
mov dword [ebp - 0xe4], 0xe
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi + 0xf0]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
mov dword [edi + 0xf0], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
jmp case.default.0x4e1d1b
cmp byte [edi + 0xe0], 0
jne 0x4e1ffe
push dword [edi + 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 [edi + 0xfc], ecx
push ecx
mov ecx, edi
mov dword [ebp - 0x1c0], eax
mov dword [edi + 0x100], eax
call fcn.004df630
mov esi, eax
mov dword [ebp - 0x1d0], esi
test esi, esi
je case.default.0x4e1d1b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x4e1d1b
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x104]
mov ecx, dword [ebp - 0x1b8]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1ac]
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], esi
mov esi, dword [ebp - 0x1a8]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xd8], ecx
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0xf
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], ecx
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x1d0]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x11c]
mov dword [edi + 0xf0], esi
jmp case.default.0x4e1d1b
cmp dword [edi + 0xe4], 0
je case.default.0x4e1d1b
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 [edi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x1c4]
lea edx, [ebp - 0x11c]
mov eax, dword [ebp - 0x1c0]
mov dword [edi + 0xfc], ecx
mov dword [ebp - 0x11c], ecx
mov ecx, dword [edi + 0xe4]
mov dword [edi + 0x100], eax
mov dword [ebp - 0x118], eax
push 0x15
mov eax, dword [ecx]
push edx
push 0x4e4910
mov eax, dword [eax + 0x110]
call eax
mov esi, eax
mov dword [ebp - 0x1b8], esi
test esi, esi
je case.default.0x4e1d1b
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x24]
call edx
cmp eax, edi
jne case.default.0x4e1d1b
mov eax, dword [ebp - 0x1ac]
xorps xmm0, xmm0
shr eax, 0x10
shr eax, 0xf
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], esi
mov esi, dword [ebp - 0x1a8]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xcc], eax
mov eax, dword [edi + 0xfc]
mov dword [ebp - 0xd8], eax
mov eax, dword [edi + 0x100]
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0x12
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xd4], eax
call fcn.004e01a0
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x1b8]
lea edx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
movzx ecx, word [edi + 0x100]
movzx eax, word [edi + 0xfc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x4e1d1b
cmp edx, 0x318
ja 0x4e279d
je 0x4e26a7
sub edx, 0x2a1
je 0x4e2387
sub edx, 2
jne case.default.0x4e1d1b
cmp dword [edi + 0xe4], edx
je case.default.0x4e1d1b
mov ecx, dword [edi + 0xac]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4e2294
lea eax, [edi + 0xb0]
push eax
push edx
push 0x411
push ecx
call esi
cmp byte [edi + 0x2b8], 0
je 0x4e237b
lea eax, [ebp - 0x1bc]
mov dword [ebp - 0x1bc], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1b8], 0
push eax
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4e236a
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [edi + 0x84]
jne 0x4e236a
push dword [ebp - 0x1b8]
lea eax, [ebp - 0x40]
push dword [ebp - 0x1bc]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4e236a
movzx ecx, word [ebp - 0x1b8]
movzx eax, word [ebp - 0x1bc]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [edi + 0x84]
call esi
cmp eax, 1
jne 0x4e236a
lea eax, [ebp - 0x1bc]
push eax
push dword [edi + 0x84]
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 0x4e236c
push 0xffffffffffffffff
push 0
push 0x200
push dword [edi + 0x84]
call esi
mov byte [edi + 0x2b8], 0
jmp case.default.0x4e1d1b
cmp dword [edi + 0xe4], 0
je case.default.0x4e1d1b
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1d0], ecx
push ecx
mov ecx, edi
mov byte [edi + 0x2b8], 0
mov dword [ebp - 0x1c0], eax
call fcn.004df630
mov esi, eax
mov dword [ebp - 0x1b8], esi
test esi, esi
je case.default.0x4e1d1b
mov eax, dword [edi + 0xec]
test eax, eax
je 0x4e246a
mov esi, dword [ebp - 0x1a8]
xorps xmm0, xmm0
movups xmmword [ebp - 0xe0], xmm0
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0x1ac]
movq qword [ebp - 0xd0], xmm0
mov dword [ebp - 0xc8], 0
mov dword [ebp - 0xe4], 0xc
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0xdc], eax
mov eax, dword [ebp - 0x1d0]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0xd4], eax
call fcn.004e01a0
mov ecx, dword [edi + 0xec]
lea edx, [ebp - 0xe4]
mov word [ebp - 0xce], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x11c]
mov esi, dword [ebp - 0x1b8]
mov eax, dword [esi]
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, esi
call dword [eax + 0xac]
lea ecx, [ebp - 0xc4]
mov dword [ebp - 4], 2
call fcn.004eb3d0
test al, al
jne 0x4e2695
lea eax, [ebp - 0xc4]
push eax
call fcn.004e2a50
push 0x2c
lea eax, [edi + 0xb0]
push 0
push eax
call fcn.0051df40
mov eax, dword [edi + 0x84]
lea ecx, [ebp - 0xc4]
add esp, 0x10
mov dword [edi + 0xb0], 0x2c
mov dword [edi + 0xb4], 1
mov dword [edi + 0xb8], eax
mov dword [edi + 0xbc], eax
mov eax, dword [0x598118]
mov dword [edi + 0xd0], eax
call fcn.004eb180
mov dword [edi + 0xd4], eax
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0x40]
call eax
cmp dword [edi + 0xac], 0
movups xmm0, xmmword [eax]
movups xmmword [edi + 0xc0], xmm0
jne 0x4e25bd
push 0
push dword [0x598118]
push 0
push dword [edi + 0x84]
push connect
push connect
push connect
push connect
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [edi + 0xb0]
mov dword [edi + 0xac], eax
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xb8]
call eax
push eax
push 0
push 0x418
push dword [edi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [edi + 0xb0]
push eax
push 0
push 0x436
push dword [edi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [edi + 0xb0]
push eax
push 1
push 0x411
push dword [edi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi + 0xf8]
test eax, eax
jne 0x4e25d8
mov dword [edi + 0xf8], esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4e266e
cmp eax, esi
mov ecx, esi
mov eax, dword [esi]
mov eax, dword [eax + 0xb8]
jne 0x4e262a
call eax
cmp dword [edi + 0xa8], eax
je 0x4e2622
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xb8]
call eax
push eax
push 0
push 0x418
push dword [edi + 0xac]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0xb8]
call eax
mov dword [edi + 0xa8], eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4e2642
call eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [edi + 0xac]
call esi
lea eax, [edi + 0xb0]
push eax
push 0
push 0x436
push dword [edi + 0xac]
call esi
lea eax, [edi + 0xb0]
push eax
push 1
push 0x411
push dword [edi + 0xac]
call esi
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 [edi + 0xac]
call esi
lea ecx, [ebp - 0xc4]
call fcn.004eaa40
mov al, 1
jmp 0x4e28d8
cmp dword [edi + 0xe4], 0
je case.default.0x4e1d1b
lea eax, [ebp - 0x40]
push eax
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x1ac]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [edi + 0xe4]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov edx, dword [ecx]
push esi
call dword [edx + 0x138]
test byte [ebp - 0x1a8], 0x10
je 0x4e278b
push 5
push dword [edi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b4], eax
test eax, eax
je 0x4e278b
or dword [ebp - 0x1a8], 2
nop dword [eax]
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 [edi + 0x84]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x1a8]
push esi
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 0x4e2720
push dword [ebp - 0x1b8]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x4e1d1b
cmp edx, 0x8001
jne case.default.0x4e1d1b
lea eax, [edi + 0x320]
mov byte [edi + 0x2bc], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1c0], eax
call fcn.004eb100
mov esi, eax
mov dword [ebp - 0x1b4], esi
test esi, esi
je 0x4e28a2
lea eax, [edi + 0x2c0]
mov dword [ebp - 0x1b0], eax
mov edi, eax
mov ecx, dword [ebp - 0x1c0]
push 1
push 0
call fcn.004eb570
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4e2817
add ecx, 0x38
call fcn.004db240
test al, al
je 0x4e2817
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x38
call fcn.004db250
mov ecx, edi
xor esi, esi
call fcn.004db330
test eax, eax
jle 0x4e2859
mov edi, dword [ebp - 0x1b4]
nop word [eax + eax]
mov ecx, dword [ebp - 0x1b0]
push esi
call fcn.004eabd0
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1b0]
inc esi
call fcn.004db330
cmp esi, eax
jl 0x4e2830
mov edi, dword [ebp - 0x1b0]
mov esi, dword [ebp - 0x1b4]
lea ecx, [esi + 0x84]
call fcn.004eaa40
mov ecx, esi
call fcn.004eaa40
push 0x120
push esi
call fcn.00519e9a
mov ecx, dword [ebp - 0x1c0]
add esp, 8
push 0
call fcn.004eb100
mov esi, eax
mov dword [ebp - 0x1b4], eax
test esi, esi
jne 0x4e27e3
mov edi, dword [ebp - 0x1dc]
add edi, 0x314
xor esi, esi
mov ecx, edi
call fcn.004db330
test eax, eax
jle 0x4e28cf
push esi
mov ecx, edi
call fcn.004eabd0
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, edi
inc esi
call fcn.004db330
cmp esi, eax
jl 0x4e28b5
mov ecx, edi
call fcn.004eaed0
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.00519876
mov esp, ebp
pop ebp
ret 0x10