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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f22b
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x55f904]
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 - 0x1d8], 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 - 0x1b4], eax
je case.default.0x4a56ad
lea ecx, [esi + 0x360]
mov dword [ebp - 0x1c0], 0
call fcn.004aa290
mov edi, dword [ebp - 0x1a8]
test eax, eax
jle 0x4a3d90
xor ecx, ecx
nop
push ecx
lea ecx, [esi + 0x360]
mov byte [ebp - 0x1c9], 0
call fcn.004a9c90
lea ecx, [ebp - 0x1c9]
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 - 0x1c9], 0
jne 0x4a3dec
inc dword [ebp - 0x1c0]
lea ecx, [esi + 0x360]
call fcn.004aa290
mov ecx, dword [ebp - 0x1c0]
cmp ecx, eax
jl 0x4a3d40
mov cl, byte [esi + 0x145]
mov edx, dword [ebp + 8]
test cl, cl
je 0x4a3ead
mov eax, edx
sub eax, 0x83
je 0x4a3e9a
sub eax, 2
je 0x4a3e9a
sub eax, 1
jne 0x4a3ead
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a3e92
cmp dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b4]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x4a60b8
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x200
ja 0x4a3e56
je case.0x4a3e6b.513
cmp eax, 0x7b
jne case.0x4a3e6b.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 + 0xf4], eax
mov al, 1
mov dword [esi + 0xf8], ecx
jmp 0x4a60b8
add eax, 0xfffffdff
cmp eax, 9
ja case.0x4a3e6b.516
movzx eax, byte [eax + 0x4a60e4]
jmp dword [eax*4 + 0x4a60d8]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0xf8], eax
mov al, 1
mov dword [esi + 0xf4], ecx
jmp 0x4a60b8
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
jmp 0x4a3ecd
mov ecx, dword [ebp - 0x1b4]
mov al, 1
mov dword [ecx], 0
jmp 0x4a60b8
cmp edx, 0x111
ja 0x4a523c
je 0x4a520c
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x4a56ad
movzx eax, byte [eax + 0x4a6128]
jmp dword [eax*4 + 0x4a60f0]
mov ecx, dword [esi + 0xf8]
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xf4]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.004a3c60
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe8]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x4a3f32
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x4a3f52
mov dword [ebp - 0x40], 0xe
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
push 1
push 0
mov ecx, esi
call fcn.004a76a0
mov edi, dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x4a3fa6
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 0x4a3f9b
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x4a3fa6
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xa8]
test eax, eax
je case.default.0x4a56ad
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xa8], 0
jmp case.default.0x4a56ad
mov ecx, dword [ebp - 0x1b4]
mov al, 1
mov dword [ecx], 1
jmp 0x4a60b8
cmp dword [esi + 0xe0], 0
mov edi, dword [esi + 0x84]
jne 0x4a4035
push 0x40
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004f0080
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.004ab910
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4a60b8
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 + 0x145], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x70], xmm0
je 0x4a40f4
movups xmm0, xmmword [esi + 0x15c]
lea eax, [esi + 0x15c]
mov byte [esi + 0x143], 1
push eax
movups xmmword [ebp - 0x70], xmm0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4a40c4
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004f0080
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 0x4a60b8
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 + 0x15c], xmm0
cmovg eax, edi
mov dword [ebp - 0x64], eax
jmp 0x4a4114
push 0
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je case.0x4a3e6b.516
mov edi, dword [ebp - 0x188]
cmp byte [esi + 0x142], 0
je 0x4a412c
push 1
mov ecx, esi
call fcn.004a7c40
mov edi, dword [ebp - 0x188]
push 1
mov ecx, esi
call fcn.004a7de0
cmp byte [esi + 0x141], 0
je 0x4a4336
lea eax, [ebp - 0x194]
mov byte [esi + 0x141], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a43c2
mov ecx, dword [esi + 0xe0]
call fcn.004b54d0
test al, al
je 0x4a4239
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 0x4a4193
push eax
call edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x4a41a0
push eax
call edi
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4a41b3
push eax
call edi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4a41c0
push eax
call edi
cmp byte [esi + 0x145], 0
mov dword [esi + 0x8c], 0
mov dword [esi + 0x90], 0
mov dword [esi + 0x94], 0
mov dword [esi + 0x9c], 0
je 0x4a421b
mov eax, dword [esi + 0x148]
add dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x150]
sub dword [ebp - 0x18], eax
mov eax, dword [esi + 0x154]
sub dword [ebp - 0x14], eax
movups xmm0, xmmword [ebp - 0x20]
jmp 0x4a421f
movups xmm0, xmmword [ebp - 0x80]
mov ecx, dword [esi + 0xe0]
push 1
sub esp, 0x10
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x4c]
jmp 0x4a42d7
lea edi, [esi + 0x3a8]
mov ecx, edi
mov dword [ebp - 0x1c4], edi
call fcn.004a9ff0
mov ecx, dword [esi + 0xe0]
push reloc.WS2_32.dll_htons
push 0
push 0x4a8970
mov eax, dword [ecx]
call dword [eax + 0x114]
mov ecx, edi
call fcn.004aa290
test eax, eax
jle 0x4a42d7
xor esi, esi
push esi
mov ecx, edi
call fcn.004a9c90
mov edi, eax
mov ecx, edi
mov edx, dword [edi]
mov edx, dword [edx + 0x10c]
call edx
mov edx, dword [edi]
mov ecx, edi
mov dword [ebp - 0x1b0], edx
test al, al
jne 0x4a429e
mov eax, dword [edx + 0x40]
call eax
jmp 0x4a42a7
lea eax, [ebp - 0x80]
push eax
mov eax, dword [edx + 0x44]
call eax
movups xmm0, xmmword [eax]
mov eax, dword [ebp - 0x1b0]
push 1
sub esp, 0x10
mov ecx, esp
movups xmmword [ecx], xmm0
mov ecx, edi
call dword [eax + 0x4c]
mov edi, dword [ebp - 0x1c4]
inc esi
mov ecx, edi
call fcn.004aa290
cmp esi, eax
jl 0x4a4273
mov esi, dword [ebp - 0x1d8]
cmp byte [esi + 0x140], 0
je 0x4a43c2
push 1
push 0
push 0
push 0
push str.windowinit
push dword [esi + 0xe0]
mov ecx, esi
mov byte [esi + 0x140], 0
call fcn.004a7220
cmp byte [esi + 0x145], 0
je 0x4a43c2
cmp byte [esi + 0x158], 0
je 0x4a43c2
mov ecx, esi
call fcn.004a3760
push 0
mov ecx, esi
call fcn.004a7de0
mov al, 1
jmp 0x4a60b8
cmp byte [esi + 0x145], 0
je 0x4a43c2
cmp byte [esi + 0x158], 0
je 0x4a43c2
movups xmm0, xmmword [ebp - 0x194]
mov ecx, dword [esi + 0x98]
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x4a4385
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.004f0080
add esp, 0xc
mov eax, dword [esi + 0x148]
add dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x150]
sub dword [ebp - 0x18], eax
mov ecx, dword [esi + 0xe0]
mov eax, dword [esi + 0x154]
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 + 0x143], 0
je 0x4a444c
cmp dword [esi + 0x94], 0
jne 0x4a444c
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [esi + 0x145], 0
mov ecx, dword [esi + 0x88]
mov dword [esi + 0x8c], eax
je 0x4a4425
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.004ab890
add esp, 0x10
jmp 0x4a4446
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.004f0080
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x143], 0
je 0x4a4cb8
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 + 0x145], 0
mov dword [ebp - 0x1d0], eax
je 0x4a4514
cmp dword [esi + 0x2fc], 0
jne 0x4a4514
mov eax, dword [ebp - 0x188]
mov edi, eax
sub edi, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
cmp edi, eax
jge 0x4a4514
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x70]
cmp edx, ecx
jge 0x4a4506
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 0x4a44e0
mov eax, dword [ebp - 0x188]
inc edi
sub eax, dword [ebp - 0x6c]
cmp edi, eax
jl 0x4a44d0
mov ecx, dword [esi + 0xe0]
lea edx, [ebp - 0x70]
push 0
push edx
push dword [esi + 0x8c]
mov eax, dword [ecx]
call dword [eax + 0x13c]
cmp byte [esi + 0x145], 0
je 0x4a47a3
lea ecx, [esi + 0x378]
mov dword [ebp - 0x1b4], 0
call fcn.004aa290
test eax, eax
jle 0x4a47a3
xor ecx, ecx
nop word [eax + eax]
push ecx
lea ecx, [esi + 0x378]
call fcn.004a9c90
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4a45a4
push 1
push dword [ebp - 0x1b4]
lea ecx, [esi + 0x378]
call fcn.004aa580
push 1
push dword [ebp - 0x1b4]
lea ecx, [esi + 0x384]
call fcn.004aa580
jmp 0x4a478a
inc dword [ebp - 0x1b4]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a478a
push edi
lea eax, [ebp - 0x1a4]
mov ecx, esi
push eax
call fcn.004a3020
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 0x4a478a
push dword [esi + 0x8c]
mov dword [ebp - 0x1c0], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x1c0]
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.004ab890
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 - 0x1dc], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x1c0]
call fcn.004f0080
add esp, 0x1c
push dword [ebp - 0x1dc]
push dword [ebp - 0x1a8]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x1a8]
mov dword [ebp - 0x1c4], 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 - 0x1b0], edx
test ecx, ecx
jle 0x4a4735
mov esi, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1ac]
mov eax, edi
xor edx, edx
sub eax, esi
test eax, eax
jle 0x4a4716
imul ecx, eax
mov eax, dword [ebp - 0x1c0]
add ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x4a46f9
or eax, 0xff000000
mov dword [ecx], eax
mov edi, dword [ebp - 0x19c]
mov esi, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1ac]
mov eax, edi
inc edx
sub eax, esi
cmp edx, eax
jl 0x4a46d2
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x1b0], edx
jmp 0x4a471c
mov edx, dword [ebp - 0x1b0]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1ac], ecx
cmp ecx, eax
jl 0x4a46c8
mov esi, dword [ebp - 0x1d8]
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 - 0x1c4]
mov edi, dword [ebp - 0x1a8]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1dc]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esi + 0x378]
call fcn.004aa290
mov ecx, dword [ebp - 0x1b4]
cmp ecx, eax
jl 0x4a4560
lea ecx, [esi + 0x36c]
xor edi, edi
call fcn.004aa290
test eax, eax
jle 0x4a47e4
push edi
lea ecx, [esi + 0x36c]
call fcn.004a9c90
lea ecx, [ebp - 0x70]
push ecx
push dword [esi + 0x8c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x15c]
lea ecx, [esi + 0x36c]
inc edi
call fcn.004aa290
cmp edi, eax
jl 0x4a47b4
push dword [ebp - 0x1d0]
push dword [esi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x145], 0
je 0x4a4c11
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 edx, dword [ebp - 0x188]
mov eax, edx
sub eax, dword [ebp - 0x190]
movups xmm0, xmmword [ebp - 0x194]
mov edi, dword [ebp - 0x18c]
sub edi, dword [ebp - 0x194]
mov dword [ebp - 0x1a8], eax
mov eax, dword [esi + 0x148]
add eax, dword [ebp - 0x194]
movups xmmword [ebp - 0x20], xmm0
mov dword [ebp - 0x20], eax
mov eax, dword [esi + 0x14c]
add dword [ebp - 0x1c], eax
mov eax, dword [esi + 0x150]
sub dword [ebp - 0x18], eax
mov eax, dword [esi + 0x154]
sub dword [ebp - 0x14], eax
cmp dword [esi + 0x2fc], 0
mov dword [ebp - 0x1b4], edi
je 0x4a4aca
cmp dword [esi + 0x9c], 0
jne 0x4a48f9
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 - 0x1a8]
push dword [ebp - 0x1b4]
push dword [esi + 0x88]
call fcn.004ab890
mov dword [esi + 0x9c], eax
mov eax, dword [ebp - 0x1a8]
imul eax, dword [ebp - 0x1b4]
shl eax, 2
push eax
push 0
push dword [edi]
call fcn.004f0080
add esp, 0x1c
push dword [esi + 0x9c]
push dword [esi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x4a492a
cmp byte [esi + 0x158], 0
je 0x4a4975
mov eax, dword [ebp - 0x1a8]
imul eax, edi
shl eax, 2
push eax
push 0
push dword [esi + 0xa0]
call fcn.004f0080
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.004b15a0
lea eax, [esi + 0x16c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push esi
push dword [esi + 0x90]
call fcn.004afbe0
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004ab330
mov edx, dword [ebp - 0x188]
mov eax, dword [esi + 0x2fc]
cmp byte [eax + 0x14], 0
je 0x4a4aca
mov ecx, dword [ebp - 0x6c]
mov edi, edx
sub edi, dword [ebp - 0x64]
mov eax, edx
sub eax, ecx
mov dword [ebp - 0x1b0], edi
cmp edi, eax
jge 0x4a4acd
imul edi, dword [ebp - 0x1b4]
mov dword [ebp - 0x1ac], edi
nop dword [eax]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x1d0], eax
cmp eax, dword [ebp - 0x68]
jge 0x4a4aa6
mov edx, dword [ebp - 0x1ac]
lea ecx, [edx + eax]
shl ecx, 2
mov dword [ebp - 0x1c4], ecx
mov edi, dword [esi + 0x98]
add edi, ecx
lea ecx, [edx + eax]
mov eax, dword [esi + 0xa0]
mov dword [ebp - 0x1d8], 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 - 0x1dc], edx
mul ecx
mov eax, dword [ebp - 0x1d8]
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 - 0x1dc]
mul ecx
mov ecx, dword [ebp - 0x1d8]
shr edx, 7
movzx eax, dl
or edi, eax
mov eax, dword [ecx]
movzx ecx, al
mov eax, 0x80808081
imul ecx, dword [ebp - 0x1dc]
shl edi, 8
mul ecx
mov ecx, dword [ebp - 0x1c4]
shr edx, 7
add ecx, 4
movzx eax, dl
mov edx, dword [ebp - 0x1ac]
or edi, eax
mov eax, dword [ebp - 0x1dc]
shl eax, 0x18
add edi, eax
mov dword [ebp - 0x1c4], ecx
mov eax, dword [ebp - 0x1d8]
mov dword [eax], edi
mov eax, dword [ebp - 0x1d0]
inc eax
mov dword [ebp - 0x1d0], eax
cmp eax, dword [ebp - 0x68]
jl 0x4a49d4
mov edx, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x6c]
mov edi, dword [ebp - 0x1ac]
add edi, dword [ebp - 0x1b4]
mov eax, edx
inc dword [ebp - 0x1b0]
sub eax, ecx
mov dword [ebp - 0x1ac], edi
cmp dword [ebp - 0x1b0], eax
jl 0x4a49b0
jmp 0x4a4acd
mov ecx, dword [ebp - 0x6c]
cmp byte [esi + 0x334], 0
je 0x4a4b7d
mov edi, edx
mov eax, edx
sub edi, dword [ebp - 0x64]
sub eax, ecx
mov dword [ebp - 0x1d0], edi
cmp edi, eax
jge 0x4a4b7d
mov eax, edi
imul eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b0], eax
mov edi, dword [ebp - 0x70]
cmp edi, dword [ebp - 0x68]
jge 0x4a4b56
add eax, edi
shl eax, 2
mov dword [ebp - 0x1c4], eax
mov edx, dword [esi + 0x98]
add edx, eax
mov ecx, dword [edx]
mov eax, ecx
shr eax, 0x18
test al, al
jne 0x4a4b32
test ecx, ecx
je 0x4a4b32
or ecx, 0xff000000
mov dword [edx], ecx
mov eax, dword [ebp - 0x1c4]
inc edi
add eax, 4
mov dword [ebp - 0x1c4], eax
cmp edi, dword [ebp - 0x68]
jl 0x4a4b13
mov edx, dword [ebp - 0x188]
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x1b0]
add eax, dword [ebp - 0x1b4]
mov edi, dword [ebp - 0x1d0]
mov dword [ebp - 0x1b0], eax
inc edi
mov eax, edx
mov dword [ebp - 0x1d0], edi
sub eax, ecx
cmp edi, eax
mov eax, dword [ebp - 0x1b0]
jl 0x4a4b00
mov al, byte [esi + 0x144]
mov byte [ebp - 0x1be], 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 - 0x1b4]
mov dword [ebp - 0x1ec], eax
mov eax, dword [ebp - 0x1a8]
push 2
mov dword [ebp - 0x1e8], eax
lea eax, [ebp - 0x1c0]
push eax
push 0
lea eax, [ebp - 0x1e4]
mov word [ebp - 0x1c0], 0
push eax
push dword [esi + 0x8c]
lea eax, [ebp - 0x1ec]
mov byte [ebp - 0x1bd], 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 [0x564730]
jmp 0x4a4c3e
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 + 0xdd], 0
je 0x4a4ced
cmp byte [esi + 0x145], 0
jne 0x4a4ced
push dword [0x564734]
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 0x4a4ced
push dword [esi + 0x88]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0xe0]
mov edi, eax
push 0
lea eax, [ebp - 0x70]
push eax
mov edx, dword [ecx]
push dword [esi + 0x88]
call dword [edx + 0x13c]
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.004a7de0
cmp byte [esi + 0x141], 0
mov byte [esi + 0x158], 0
je case.0x4a3e6b.516
mov ecx, esi
call fcn.004a3760
mov al, 1
jmp 0x4a60b8
mov ecx, dword [esi + 0xfc]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x4a4d3e
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x100]
test ecx, ecx
jle 0x4a4d4b
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x104]
test ecx, ecx
jle 0x4a4d58
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x108]
test ecx, ecx
jle case.default.0x4a56ad
mov dword [eax + 0x24], ecx
jmp case.default.0x4a56ad
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x4a4dca
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 + 0xf8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.004a3c60
mov ecx, dword [esi + 0xe4]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ecx, dword [esi + 0xe0]
test ecx, ecx
je 0x4a4dd9
call fcn.004b5650
cmp byte [esi + 0x145], 0
je case.0x4a3e6b.516
mov ecx, esi
call fcn.004a3760
mov al, 1
jmp 0x4a60b8
cmp byte [esi + 0xdc], 0
je case.default.0x4a56ad
mov ecx, dword [ebp - 0x1b4]
mov al, 1
mov dword [ecx], 3
jmp 0x4a60b8
cmp dword [esi + 0xe0], 0
je case.default.0x4a56ad
mov ecx, esi
call fcn.004a37d0
test al, al
jne case.default.0x4a56ad
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 + 0xec]
mov eax, dword [ebp - 0x1bc]
mov edx, dword [ebp - 0x1b8]
mov dword [esi + 0xf4], eax
mov dword [esi + 0xf8], edx
test ecx, ecx
je case.default.0x4a56ad
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 + 0xec]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov dword [esi + 0xec], edi
jmp case.default.0x4a56ad
cmp dword [esi + 0xe0], 0
je case.default.0x4a56ad
mov eax, dword [esi + 0xe4]
test eax, eax
je case.default.0x4a56ad
mov ecx, dword [esi + 0xf8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.004a3c60
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe4]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
jmp case.default.0x4a56ad
cmp dword [esi + 0xe0], 0
je case.default.0x4a56ad
mov eax, dword [esi + 0xe4]
test eax, eax
je case.default.0x4a56ad
mov ecx, dword [esi + 0xf8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.004a3c60
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xe4]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov eax, dword [esi + 0xe4]
mov dword [esi + 0xf0], eax
jmp case.default.0x4a56ad
cmp dword [esi + 0xe0], 0
je case.default.0x4a56ad
mov eax, dword [esi + 0xf0]
test eax, eax
je case.default.0x4a56ad
mov ecx, dword [esi + 0xf8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x28], eax
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.004a3c60
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
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov dword [esi + 0xf0], 0
jmp case.default.0x4a56ad
cmp dword [esi + 0xe0], 0
je case.default.0x4a56ad
cmp di, 1
jne case.default.0x4a56ad
cmp byte [esi + 0x336], 0
jne case.0x4a3e6b.516
lea eax, [ebp - 0x1d4]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x1d4], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1d4]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1d0]
mov ecx, esi
push dword [ebp - 0x1d4]
call fcn.004a28c0
mov esi, eax
test esi, esi
je case.default.0x4a56ad
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x4a56ad
mov ecx, dword [ebp - 0x1d0]
xor eax, eax
mov word [ebp - 0x8c], ax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x1d4]
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.004a3c60
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 + 0x120]
mov al, 1
jmp 0x4a60b8
cmp dword [ebp - 0x1ac], 0
je case.default.0x4a56ad
call dword [sym.imp.USER32.dll_GetFocus]
mov edi, eax
push edi
mov dword [ebp - 0x1c4], edi
mov edi, dword [sym.imp.USER32.dll_GetParent]
call edi
test eax, eax
je case.default.0x4a56ad
cmp dword [esi + 0x84], eax
je 0x4a516c
push eax
mov dword [ebp - 0x1c4], eax
call edi
test eax, eax
jne 0x4a5152
jmp case.default.0x4a56ad
lea ecx, [esi + 0x378]
xor edi, edi
call fcn.004aa290
test eax, eax
jle case.default.0x4a56ad
push edi
lea ecx, [esi + 0x378]
call fcn.004a9c90
cmp eax, dword [ebp - 0x1c4]
je 0x4a51aa
lea ecx, [esi + 0x378]
inc edi
call fcn.004aa290
cmp edi, eax
jl 0x4a5181
jmp case.default.0x4a56ad
lea ecx, [esi + 0x384]
push edi
call fcn.004a9c90
cmp eax, dword [esi + 0xe4]
je case.default.0x4a56ad
push 0
push edi
lea ecx, [esi + 0x384]
call fcn.004a9c90
push eax
mov ecx, esi
call fcn.004a76a0
jmp case.default.0x4a56ad
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.0x4a3e6b.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 - 0x1b4]
mov dword [ecx], eax
mov al, 1
jmp 0x4a60b8
mov eax, dword [ebp - 0x1a8]
test eax, eax
je case.default.0x4a56ad
push eax
push dword [ebp - 0x1ac]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx], eax
mov al, 1
jmp 0x4a60b8
cmp edx, 0x200
ja 0x4a568c
je 0x4a53dd
mov eax, edx
sub eax, 0x113
je 0x4a5297
sub eax, 0x20
je 0x4a5265
sub eax, 5
jne case.default.0x4a56ad
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.default.0x4a56ad
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 - 0x1b4]
mov dword [ecx], eax
mov al, 1
jmp 0x4a60b8
mov eax, dword [ebp - 0x1ac]
mov edx, 0x2000
movzx eax, ax
mov dword [ebp - 0x1b8], eax
cmp ax, dx
jne 0x4a5315
test cl, cl
je 0x4a5315
lea eax, [esi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a5315
mov dword [ebp - 0x1b8], eax
mov eax, dword [esi + 0x84]
test eax, eax
je case.default.0x4a56ad
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.default.0x4a56ad
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x4a56ad
lea eax, [ebp - 0x1b8]
mov ecx, esi
push eax
push 0
push 0
push 0xf
call fcn.004a3cc0
jmp case.default.0x4a56ad
lea ecx, [esi + 0x348]
mov dword [ebp - 0x1b0], 0
call fcn.004aa290
test eax, eax
jle case.default.0x4a56ad
xor ecx, ecx
push ecx
lea ecx, [esi + 0x348]
call fcn.004a9c90
mov dword [ebp - 0x1c4], eax
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 0x84]
jne 0x4a5365
mov ecx, dword [ebp - 0x1b8]
movzx ecx, cx
cmp dword [eax + 0xc], ecx
jne 0x4a5365
cmp byte [eax + 0x10], 0
je 0x4a5385
inc dword [ebp - 0x1b0]
lea ecx, [esi + 0x348]
call fcn.004aa290
mov ecx, dword [ebp - 0x1b0]
cmp ecx, eax
jl 0x4a5334
jmp case.default.0x4a56ad
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 + 0xf8]
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0xf4]
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.004a3c60
mov ecx, dword [ebp - 0x1c4]
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 + 0x120]
jmp case.default.0x4a56ad
cmp dword [esi + 0xe0], 0
je case.default.0x4a56ad
cmp byte [esi + 0x335], 0
jne 0x4a5440
mov eax, dword [esi + 0x84]
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xa8]
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], 3
test eax, eax
jne 0x4a541c
mov eax, dword [esi + 0xd8]
jmp 0x4a542c
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 + 0x335], 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 - 0x1c4], eax
mov dword [esi + 0xf4], edi
mov dword [esi + 0xf8], eax
call fcn.004a28c0
mov dword [ebp - 0x1b0], eax
test eax, eax
je 0x4a5489
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a56ad
xor eax, eax
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x1c4]
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.004a3c60
mov ecx, esi
mov word [ebp - 0x2a], ax
call fcn.004a37d0
test al, al
jne 0x4a563c
push dword [ebp - 0x1c4]
mov ecx, esi
push dword [ebp - 0x1b8]
call fcn.004a28c0
mov edi, eax
mov dword [ebp - 0x1b0], edi
test edi, edi
je 0x4a54fe
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
cmp eax, esi
jne case.default.0x4a56ad
mov eax, dword [esi + 0xe8]
cmp edi, eax
je 0x4a5610
test eax, eax
je 0x4a5610
lea ecx, [esi + 0x3b4]
mov dword [ebp - 0x40], 0xa
mov dword [ebp - 0x3c], eax
call fcn.004aa290
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004a9980
lea ecx, [esi + 0x3b4]
mov dword [ebp - 4], 3
call fcn.004aa290
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004aa820
lea ecx, [esi + 0x3b4]
call fcn.004aa290
shl eax, 2
lea ecx, [esi + 0x3b4]
push eax
call fcn.004113b0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004113b0
push eax
call fcn.004f0450
add esp, 0xc
lea ecx, [ebp - 0x1a0]
xor edi, edi
call fcn.004aa290
test eax, eax
jle 0x4a55bd
push edi
lea ecx, [ebp - 0x1a0]
call fcn.004a9c90
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x120]
lea ecx, [ebp - 0x1a0]
inc edi
call fcn.004aa290
cmp edi, eax
jl 0x4a5593
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x40]
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ecx, dword [esi + 0xa8]
mov dword [esi + 0xe8], 0
test ecx, ecx
je 0x4a55f8
lea eax, [esi + 0xac]
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.004a9b50
mov edi, dword [ebp - 0x1b0]
cmp edi, dword [esi + 0xe8]
je 0x4a5642
test edi, edi
je 0x4a5642
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 + 0x120]
mov dword [esi + 0xe8], edi
jmp 0x4a5642
mov edi, dword [ebp - 0x1b0]
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x4a5667
mov dword [ebp - 0x40], 9
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
jmp case.default.0x4a56ad
test edi, edi
je case.default.0x4a56ad
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 + 0x120]
jmp case.default.0x4a56ad
cmp edx, 0x20a
ja 0x4a5ac8
je 0x4a59be
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x4a56ad
jmp dword [edx*4 + 0x4a6228]
cmp byte [esi + 0xdc], 0
jne 0x4a56c9
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0xe0], 0
je case.default.0x4a56ad
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
mov dword [esi + 0xf4], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0xf8], eax
call fcn.004a28c0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4a56ad
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a56ad
mov dword [esi + 0xec], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x108]
mov ecx, esi
call fcn.004a7370
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 - 0x1c4]
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 + 0x120]
jmp case.default.0x4a56ad
cmp byte [esi + 0xdc], 0
jne 0x4a57a9
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 + 0xf4], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0xf8], eax
call fcn.004a28c0
mov edi, eax
test edi, edi
je case.default.0x4a56ad
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a56ad
mov ecx, esi
call fcn.004a7370
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 - 0x1c4]
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 + 0x120]
mov dword [esi + 0xec], edi
jmp case.default.0x4a56ad
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cmp dword [esi + 0xec], 0
cwde
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0xf4], ecx
mov dword [esi + 0xf8], eax
je case.default.0x4a56ad
mov ecx, esi
call fcn.004a67a0
mov ecx, dword [ebp - 0x1b8]
xor eax, eax
mov edi, dword [ebp - 0x1a8]
mov word [ebp - 0x2c], ax
mov eax, dword [esi + 0xec]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x1ac]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x1c4]
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 + 0xec]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
mov dword [esi + 0xec], 0
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
jmp case.default.0x4a56ad
cmp byte [esi + 0xdc], 0
jne 0x4a5905
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 + 0xf4], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x1c4], eax
mov dword [esi + 0xf8], eax
call fcn.004a28c0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4a56ad
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a56ad
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
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 - 0x1c4]
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 + 0x120]
mov dword [esi + 0xec], edi
jmp case.default.0x4a56ad
cmp dword [esi + 0xe0], 0
je case.default.0x4a56ad
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1c8], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x1c4], eax
lea eax, [ebp - 0x1c8]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [ebp - 0x1c8]
push eax
mov dword [esi + 0xf4], ecx
push ecx
mov ecx, esi
mov dword [esi + 0xf8], eax
call fcn.004a28c0
mov edi, eax
mov dword [ebp - 0x1b8], edi
test edi, edi
je case.default.0x4a56ad
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a56ad
mov ecx, dword [esi + 0xf8]
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 + 0xf4]
mov dword [ebp - 0x40], 0x12
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], ecx
call fcn.004a3c60
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 + 0x120]
movzx ecx, word [esi + 0xf8]
movzx eax, word [esi + 0xf4]
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.0x4a56ad
cmp edx, 0x318
ja 0x4a5f7f
je 0x4a5e8d
sub edx, 0x2a1
je 0x4a5c1f
sub edx, 2
jne case.default.0x4a56ad
cmp dword [esi + 0xe0], edx
je case.default.0x4a56ad
mov ecx, dword [esi + 0xa8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4a5b1b
lea eax, [esi + 0xac]
push eax
push edx
push 0x411
push ecx
call edi
cmp byte [esi + 0x335], 0
je 0x4a5c13
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 0x4a5c02
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x84]
jne 0x4a5c02
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 0x4a5c02
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 0x4a5bea
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 0x4a5c04
push 0xffffffffffffffff
push 0
push 0x200
push ecx
call edi
mov byte [esi + 0x335], 0
jmp case.default.0x4a56ad
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0x84]
call edi
mov byte [esi + 0x335], 0
jmp case.default.0x4a56ad
cmp dword [esi + 0xe0], 0
je case.default.0x4a56ad
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x1b8], ecx
push ecx
mov ecx, esi
mov byte [esi + 0x335], 0
mov dword [ebp - 0x1c4], eax
call fcn.004a28c0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4a56ad
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x4a5ccd
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 - 0x1b8]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x1c4]
mov dword [ebp - 0x30], eax
call fcn.004a3c60
mov ecx, dword [esi + 0xe8]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov edi, dword [ebp - 0x1d0]
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.004aa460
test al, al
jne 0x4a5e7b
lea eax, [ebp - 0x184]
push eax
call fcn.004a64c0
mov dword [esi + 0xbc], 0
lea ecx, [ebp - 0x184]
mov dword [esi + 0xc0], 0
add esp, 4
mov dword [esi + 0xc4], 0
mov dword [esi + 0xc8], 0
mov dword [esi + 0xcc], 0
mov dword [esi + 0xd0], 0
mov dword [esi + 0xd4], 0
mov eax, dword [esi + 0x84]
mov dword [esi + 0xac], 0x2c
mov dword [esi + 0xb0], 1
mov dword [esi + 0xb4], eax
mov dword [esi + 0xb8], eax
mov eax, dword [0x564724]
mov dword [esi + 0xcc], eax
call fcn.004113b0
mov dword [esi + 0xd0], eax
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x40]
call eax
cmp dword [esi + 0xa8], 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0xbc], xmm0
jne 0x4a5e2d
push 0
push dword [0x564724]
push 0
push dword [esi + 0x84]
push bind
push bind
push bind
push bind
push reloc.WS2_32.dll_closesocket
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov dword [esi + 0xa8], eax
mov ecx, eax
test eax, eax
je 0x4a5e18
mov edx, dword [esi + 0xa4]
test edx, edx
js 0x4a5e18
push edx
push 0
push 0x418
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0xa8]
mov dword [esi + 0xa4], eax
lea eax, [esi + 0xac]
push eax
push 0
push 0x432
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xb8]
call eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [esi + 0xa8]
call edi
lea eax, [esi + 0xac]
push eax
push 0
push 0x436
push dword [esi + 0xa8]
call edi
lea eax, [esi + 0xac]
push eax
push 1
push 0x411
push dword [esi + 0xa8]
call edi
lea ecx, [ebp - 0x184]
call fcn.004a9b60
mov al, 1
jmp 0x4a60b8
cmp dword [esi + 0xe0], 0
je case.default.0x4a56ad
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 + 0xe0]
mov dword [ebp - 0x1b8], eax
lea eax, [ebp - 0x80]
push 0
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x13c]
test byte [ebp - 0x1a8], 0x10
je 0x4a5f6d
push 5
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b0], eax
test eax, eax
je 0x4a5f6d
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 - 0x1b0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x1b0]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b0], eax
test eax, eax
jne 0x4a5f02
push dword [ebp - 0x1b8]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x4a56ad
cmp edx, 0x8001
jne case.default.0x4a56ad
lea eax, [esi + 0x39c]
mov byte [esi + 0x339], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1c4], eax
call fcn.004aa1e0
mov edi, eax
mov dword [ebp - 0x1b0], edi
test edi, edi
je 0x4a6082
lea eax, [esi + 0x33c]
mov dword [ebp - 0x1c0], eax
mov esi, eax
mov ecx, dword [ebp - 0x1c4]
push 1
push 0
call fcn.004aa580
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x4a5ff9
add ecx, 0x38
call fcn.004bbfa0
test al, al
je 0x4a5ff9
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.004bbfc0
mov ecx, esi
xor edi, edi
call fcn.004aa290
test eax, eax
jle 0x4a6039
mov esi, dword [ebp - 0x1b0]
nop dword [eax]
mov ecx, dword [ebp - 0x1c0]
push edi
call fcn.004a9c90
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1c0]
inc edi
call fcn.004aa290
cmp edi, eax
jl 0x4a6010
mov esi, dword [ebp - 0x1c0]
mov edi, dword [ebp - 0x1b0]
lea ecx, [edi + 0x84]
call fcn.004a9b60
mov ecx, edi
call fcn.004a9b60
push 0x120
push edi
call fcn.004ee3ca
mov ecx, dword [ebp - 0x1c4]
add esp, 8
push 0
call fcn.004aa1e0
mov edi, eax
mov dword [ebp - 0x1b0], eax
test edi, edi
jne 0x4a5fc5
mov esi, dword [ebp - 0x1d8]
add esi, 0x390
xor edi, edi
mov ecx, esi
call fcn.004aa290
test eax, eax
jle 0x4a60af
push edi
mov ecx, esi
call fcn.004a9c90
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, esi
inc edi
call fcn.004aa290
cmp edi, eax
jl 0x4a6095
mov ecx, esi
call fcn.004a9ff0
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.004edf30
mov esp, ebp
pop ebp
ret 0x10