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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51f82b
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x55e904]
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.0x4a5bcd
lea ecx, [esi + 0x360]
mov dword [ebp - 0x1c0], 0
call fcn.004aa7b0
mov edi, dword [ebp - 0x1a8]
test eax, eax
jle 0x4a42b0
xor ecx, ecx
nop
push ecx
lea ecx, [esi + 0x360]
mov byte [ebp - 0x1c9], 0
call fcn.004aa1b0
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 0x4a430c
inc dword [ebp - 0x1c0]
lea ecx, [esi + 0x360]
call fcn.004aa7b0
mov ecx, dword [ebp - 0x1c0]
cmp ecx, eax
jl 0x4a4260
mov cl, byte [esi + 0x145]
mov edx, dword [ebp + 8]
test cl, cl
je 0x4a43cd
mov eax, edx
sub eax, 0x83
je 0x4a43ba
sub eax, 2
je 0x4a43ba
sub eax, 1
jne 0x4a43cd
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a43b2
cmp dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b4]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x4a65d8
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x200
ja 0x4a4376
je case.0x4a438b.513
cmp eax, 0x7b
jne case.0x4a438b.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 0x4a65d8
add eax, 0xfffffdff
cmp eax, 9
ja case.0x4a438b.516
movzx eax, byte [eax + 0x4a6604]
jmp dword [eax*4 + 0x4a65f8]
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 0x4a65d8
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
jmp 0x4a43ed
mov ecx, dword [ebp - 0x1b4]
mov al, 1
mov dword [ecx], 0
jmp 0x4a65d8
cmp edx, 0x111
ja 0x4a575c
je 0x4a572c
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x4a5bcd
movzx eax, byte [eax + 0x4a6648]
jmp dword [eax*4 + 0x4a6610]
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.004a4190
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 0x4a4452
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 0x4a4472
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.004a7bc0
mov edi, dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x4a44c6
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 0x4a44bb
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x4a44c6
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xa8]
test eax, eax
je case.default.0x4a5bcd
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xa8], 0
jmp case.default.0x4a5bcd
mov ecx, dword [ebp - 0x1b4]
mov al, 1
mov dword [ecx], 1
jmp 0x4a65d8
cmp dword [esi + 0xe0], 0
mov edi, dword [esi + 0x84]
jne 0x4a4555
push 0x40
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004f05a0
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.004abe30
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4a65d8
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 0x4a4614
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 0x4a45e4
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004f05a0
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 0x4a65d8
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 0x4a4634
push 0
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je case.0x4a438b.516
mov edi, dword [ebp - 0x188]
cmp byte [esi + 0x142], 0
je 0x4a464c
push 1
mov ecx, esi
call fcn.004a8160
mov edi, dword [ebp - 0x188]
push 1
mov ecx, esi
call fcn.004a8300
cmp byte [esi + 0x141], 0
je 0x4a4856
lea eax, [ebp - 0x194]
mov byte [esi + 0x141], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a48e2
mov ecx, dword [esi + 0xe0]
call fcn.004b5a00
test al, al
je 0x4a4759
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 0x4a46b3
push eax
call edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x4a46c0
push eax
call edi
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4a46d3
push eax
call edi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4a46e0
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 0x4a473b
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 0x4a473f
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 0x4a47f7
lea edi, [esi + 0x3a8]
mov ecx, edi
mov dword [ebp - 0x1c4], edi
call fcn.004aa510
mov ecx, dword [esi + 0xe0]
push reloc.WS2_32.dll_htons
push 0
push 0x4a8e90
mov eax, dword [ecx]
call dword [eax + 0x114]
mov ecx, edi
call fcn.004aa7b0
test eax, eax
jle 0x4a47f7
xor esi, esi
push esi
mov ecx, edi
call fcn.004aa1b0
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 0x4a47be
mov eax, dword [edx + 0x40]
call eax
jmp 0x4a47c7
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.004aa7b0
cmp esi, eax
jl 0x4a4793
mov esi, dword [ebp - 0x1d8]
cmp byte [esi + 0x140], 0
je 0x4a48e2
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.004a7740
cmp byte [esi + 0x145], 0
je 0x4a48e2
cmp byte [esi + 0x158], 0
je 0x4a48e2
mov ecx, esi
call fcn.004a3c90
push 0
mov ecx, esi
call fcn.004a8300
mov al, 1
jmp 0x4a65d8
cmp byte [esi + 0x145], 0
je 0x4a48e2
cmp byte [esi + 0x158], 0
je 0x4a48e2
movups xmm0, xmmword [ebp - 0x194]
mov ecx, dword [esi + 0x98]
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x4a48a5
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.004f05a0
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 0x4a496c
cmp dword [esi + 0x94], 0
jne 0x4a496c
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 0x4a4945
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.004abdb0
add esp, 0x10
jmp 0x4a4966
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.004f05a0
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 0x4a51d8
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 0x4a4a34
cmp dword [esi + 0x2fc], 0
jne 0x4a4a34
mov eax, dword [ebp - 0x188]
mov edi, eax
sub edi, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
cmp edi, eax
jge 0x4a4a34
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x70]
cmp edx, ecx
jge 0x4a4a26
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 0x4a4a00
mov eax, dword [ebp - 0x188]
inc edi
sub eax, dword [ebp - 0x6c]
cmp edi, eax
jl 0x4a49f0
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 0x4a4cc3
lea ecx, [esi + 0x378]
mov dword [ebp - 0x1b4], 0
call fcn.004aa7b0
test eax, eax
jle 0x4a4cc3
xor ecx, ecx
nop word [eax + eax]
push ecx
lea ecx, [esi + 0x378]
call fcn.004aa1b0
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4a4ac4
push 1
push dword [ebp - 0x1b4]
lea ecx, [esi + 0x378]
call fcn.004aaaa0
push 1
push dword [ebp - 0x1b4]
lea ecx, [esi + 0x384]
call fcn.004aaaa0
jmp 0x4a4caa
inc dword [ebp - 0x1b4]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a4caa
push edi
lea eax, [ebp - 0x1a4]
mov ecx, esi
push eax
call fcn.004a3550
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 0x4a4caa
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.004abdb0
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.004f05a0
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 0x4a4c55
mov esi, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1ac]
mov eax, edi
xor edx, edx
sub eax, esi
test eax, eax
jle 0x4a4c36
imul ecx, eax
mov eax, dword [ebp - 0x1c0]
add ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x4a4c19
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 0x4a4bf2
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x1b0], edx
jmp 0x4a4c3c
mov edx, dword [ebp - 0x1b0]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1ac], ecx
cmp ecx, eax
jl 0x4a4be8
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.004aa7b0
mov ecx, dword [ebp - 0x1b4]
cmp ecx, eax
jl 0x4a4a80
lea ecx, [esi + 0x36c]
xor edi, edi
call fcn.004aa7b0
test eax, eax
jle 0x4a4d04
push edi
lea ecx, [esi + 0x36c]
call fcn.004aa1b0
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.004aa7b0
cmp edi, eax
jl 0x4a4cd4
push dword [ebp - 0x1d0]
push dword [esi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x145], 0
je 0x4a5131
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 0x4a4fea
cmp dword [esi + 0x9c], 0
jne 0x4a4e19
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.004abdb0
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.004f05a0
add esp, 0x1c
push dword [esi + 0x9c]
push dword [esi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x4a4e4a
cmp byte [esi + 0x158], 0
je 0x4a4e95
mov eax, dword [ebp - 0x1a8]
imul eax, edi
shl eax, 2
push eax
push 0
push dword [esi + 0xa0]
call fcn.004f05a0
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.004b1ac0
lea eax, [esi + 0x16c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push esi
push dword [esi + 0x90]
call fcn.004b0100
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004ab850
mov edx, dword [ebp - 0x188]
mov eax, dword [esi + 0x2fc]
cmp byte [eax + 0x14], 0
je 0x4a4fea
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 0x4a4fed
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 0x4a4fc6
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 0x4a4ef4
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 0x4a4ed0
jmp 0x4a4fed
mov ecx, dword [ebp - 0x6c]
cmp byte [esi + 0x334], 0
je 0x4a509d
mov edi, edx
mov eax, edx
sub edi, dword [ebp - 0x64]
sub eax, ecx
mov dword [ebp - 0x1d0], edi
cmp edi, eax
jge 0x4a509d
mov eax, edi
imul eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b0], eax
mov edi, dword [ebp - 0x70]
cmp edi, dword [ebp - 0x68]
jge 0x4a5076
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 0x4a5052
test ecx, ecx
je 0x4a5052
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 0x4a5033
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 0x4a5020
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 [0x563730]
jmp 0x4a515e
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 0x4a520d
cmp byte [esi + 0x145], 0
jne 0x4a520d
push dword [0x563734]
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 0x4a520d
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.004a8300
cmp byte [esi + 0x141], 0
mov byte [esi + 0x158], 0
je case.0x4a438b.516
mov ecx, esi
call fcn.004a3c90
mov al, 1
jmp 0x4a65d8
mov ecx, dword [esi + 0xfc]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x4a525e
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x100]
test ecx, ecx
jle 0x4a526b
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x104]
test ecx, ecx
jle 0x4a5278
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x108]
test ecx, ecx
jle case.default.0x4a5bcd
mov dword [eax + 0x24], ecx
jmp case.default.0x4a5bcd
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x4a52ea
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.004a4190
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 0x4a52f9
call fcn.004b5b80
cmp byte [esi + 0x145], 0
je case.0x4a438b.516
mov ecx, esi
call fcn.004a3c90
mov al, 1
jmp 0x4a65d8
cmp byte [esi + 0xdc], 0
je case.default.0x4a5bcd
mov ecx, dword [ebp - 0x1b4]
mov al, 1
mov dword [ecx], 3
jmp 0x4a65d8
cmp dword [esi + 0xe0], 0
je case.default.0x4a5bcd
mov ecx, esi
call fcn.004a3d00
test al, al
jne case.default.0x4a5bcd
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.0x4a5bcd
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.0x4a5bcd
cmp dword [esi + 0xe0], 0
je case.default.0x4a5bcd
mov eax, dword [esi + 0xe4]
test eax, eax
je case.default.0x4a5bcd
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.004a4190
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.0x4a5bcd
cmp dword [esi + 0xe0], 0
je case.default.0x4a5bcd
mov eax, dword [esi + 0xe4]
test eax, eax
je case.default.0x4a5bcd
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.004a4190
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.0x4a5bcd
cmp dword [esi + 0xe0], 0
je case.default.0x4a5bcd
mov eax, dword [esi + 0xf0]
test eax, eax
je case.default.0x4a5bcd
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.004a4190
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.0x4a5bcd
cmp dword [esi + 0xe0], 0
je case.default.0x4a5bcd
cmp di, 1
jne case.default.0x4a5bcd
cmp byte [esi + 0x336], 0
jne case.0x4a438b.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.004a2df0
mov esi, eax
test esi, esi
je case.default.0x4a5bcd
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x4a5bcd
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.004a4190
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 0x4a65d8
cmp dword [ebp - 0x1ac], 0
je case.default.0x4a5bcd
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.0x4a5bcd
cmp dword [esi + 0x84], eax
je 0x4a568c
push eax
mov dword [ebp - 0x1c4], eax
call edi
test eax, eax
jne 0x4a5672
jmp case.default.0x4a5bcd
lea ecx, [esi + 0x378]
xor edi, edi
call fcn.004aa7b0
test eax, eax
jle case.default.0x4a5bcd
push edi
lea ecx, [esi + 0x378]
call fcn.004aa1b0
cmp eax, dword [ebp - 0x1c4]
je 0x4a56ca
lea ecx, [esi + 0x378]
inc edi
call fcn.004aa7b0
cmp edi, eax
jl 0x4a56a1
jmp case.default.0x4a5bcd
lea ecx, [esi + 0x384]
push edi
call fcn.004aa1b0
cmp eax, dword [esi + 0xe4]
je case.default.0x4a5bcd
push 0
push edi
lea ecx, [esi + 0x384]
call fcn.004aa1b0
push eax
mov ecx, esi
call fcn.004a7bc0
jmp case.default.0x4a5bcd
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.0x4a438b.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 0x4a65d8
mov eax, dword [ebp - 0x1a8]
test eax, eax
je case.default.0x4a5bcd
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 0x4a65d8
cmp edx, 0x200
ja 0x4a5bac
je 0x4a58fd
mov eax, edx
sub eax, 0x113
je 0x4a57b7
sub eax, 0x20
je 0x4a5785
sub eax, 5
jne case.default.0x4a5bcd
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.default.0x4a5bcd
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 0x4a65d8
mov eax, dword [ebp - 0x1ac]
mov edx, 0x2000
movzx eax, ax
mov dword [ebp - 0x1b8], eax
cmp ax, dx
jne 0x4a5835
test cl, cl
je 0x4a5835
lea eax, [esi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a5835
mov dword [ebp - 0x1b8], eax
mov eax, dword [esi + 0x84]
test eax, eax
je case.default.0x4a5bcd
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.default.0x4a5bcd
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x4a5bcd
lea eax, [ebp - 0x1b8]
mov ecx, esi
push eax
push 0
push 0
push 0xf
call fcn.004a41e0
jmp case.default.0x4a5bcd
lea ecx, [esi + 0x348]
mov dword [ebp - 0x1b0], 0
call fcn.004aa7b0
test eax, eax
jle case.default.0x4a5bcd
xor ecx, ecx
push ecx
lea ecx, [esi + 0x348]
call fcn.004aa1b0
mov dword [ebp - 0x1c4], eax
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 0x84]
jne 0x4a5885
mov ecx, dword [ebp - 0x1b8]
movzx ecx, cx
cmp dword [eax + 0xc], ecx
jne 0x4a5885
cmp byte [eax + 0x10], 0
je 0x4a58a5
inc dword [ebp - 0x1b0]
lea ecx, [esi + 0x348]
call fcn.004aa7b0
mov ecx, dword [ebp - 0x1b0]
cmp ecx, eax
jl 0x4a5854
jmp case.default.0x4a5bcd
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.004a4190
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.0x4a5bcd
cmp dword [esi + 0xe0], 0
je case.default.0x4a5bcd
cmp byte [esi + 0x335], 0
jne 0x4a5960
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 0x4a593c
mov eax, dword [esi + 0xd8]
jmp 0x4a594c
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.004a2df0
mov dword [ebp - 0x1b0], eax
test eax, eax
je 0x4a59a9
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a5bcd
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.004a4190
mov ecx, esi
mov word [ebp - 0x2a], ax
call fcn.004a3d00
test al, al
jne 0x4a5b5c
push dword [ebp - 0x1c4]
mov ecx, esi
push dword [ebp - 0x1b8]
call fcn.004a2df0
mov edi, eax
mov dword [ebp - 0x1b0], edi
test edi, edi
je 0x4a5a1e
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
cmp eax, esi
jne case.default.0x4a5bcd
mov eax, dword [esi + 0xe8]
cmp edi, eax
je 0x4a5b30
test eax, eax
je 0x4a5b30
lea ecx, [esi + 0x3b4]
mov dword [ebp - 0x40], 0xa
mov dword [ebp - 0x3c], eax
call fcn.004aa7b0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004a9ea0
lea ecx, [esi + 0x3b4]
mov dword [ebp - 4], 3
call fcn.004aa7b0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004aad40
lea ecx, [esi + 0x3b4]
call fcn.004aa7b0
shl eax, 2
lea ecx, [esi + 0x3b4]
push eax
call fcn.004117c0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004117c0
push eax
call fcn.004f0970
add esp, 0xc
lea ecx, [ebp - 0x1a0]
xor edi, edi
call fcn.004aa7b0
test eax, eax
jle 0x4a5add
push edi
lea ecx, [ebp - 0x1a0]
call fcn.004aa1b0
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.004aa7b0
cmp edi, eax
jl 0x4a5ab3
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 0x4a5b18
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.004aa070
mov edi, dword [ebp - 0x1b0]
cmp edi, dword [esi + 0xe8]
je 0x4a5b62
test edi, edi
je 0x4a5b62
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 0x4a5b62
mov edi, dword [ebp - 0x1b0]
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x4a5b87
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.0x4a5bcd
test edi, edi
je case.default.0x4a5bcd
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.0x4a5bcd
cmp edx, 0x20a
ja 0x4a5fe8
je 0x4a5ede
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x4a5bcd
jmp dword [edx*4 + 0x4a6748]
cmp byte [esi + 0xdc], 0
jne 0x4a5be9
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0xe0], 0
je case.default.0x4a5bcd
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.004a2df0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4a5bcd
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a5bcd
mov dword [esi + 0xec], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x108]
mov ecx, esi
call fcn.004a7890
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.0x4a5bcd
cmp byte [esi + 0xdc], 0
jne 0x4a5cc9
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.004a2df0
mov edi, eax
test edi, edi
je case.default.0x4a5bcd
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a5bcd
mov ecx, esi
call fcn.004a7890
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.0x4a5bcd
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.0x4a5bcd
mov ecx, esi
call fcn.004a6cc0
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.0x4a5bcd
cmp byte [esi + 0xdc], 0
jne 0x4a5e25
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.004a2df0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4a5bcd
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a5bcd
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.0x4a5bcd
cmp dword [esi + 0xe0], 0
je case.default.0x4a5bcd
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.004a2df0
mov edi, eax
mov dword [ebp - 0x1b8], edi
test edi, edi
je case.default.0x4a5bcd
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a5bcd
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.004a4190
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.0x4a5bcd
cmp edx, 0x318
ja 0x4a649f
je 0x4a63ad
sub edx, 0x2a1
je 0x4a613f
sub edx, 2
jne case.default.0x4a5bcd
cmp dword [esi + 0xe0], edx
je case.default.0x4a5bcd
mov ecx, dword [esi + 0xa8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4a603b
lea eax, [esi + 0xac]
push eax
push edx
push 0x411
push ecx
call edi
cmp byte [esi + 0x335], 0
je 0x4a6133
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 0x4a6122
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x84]
jne 0x4a6122
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 0x4a6122
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 0x4a610a
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 0x4a6124
push 0xffffffffffffffff
push 0
push 0x200
push ecx
call edi
mov byte [esi + 0x335], 0
jmp case.default.0x4a5bcd
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0x84]
call edi
mov byte [esi + 0x335], 0
jmp case.default.0x4a5bcd
cmp dword [esi + 0xe0], 0
je case.default.0x4a5bcd
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.004a2df0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4a5bcd
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x4a61ed
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.004a4190
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.004aa980
test al, al
jne 0x4a639b
lea eax, [ebp - 0x184]
push eax
call fcn.004a69e0
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 [0x563724]
mov dword [esi + 0xcc], eax
call fcn.004117c0
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 0x4a634d
push 0
push dword [0x563724]
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 0x4a6338
mov edx, dword [esi + 0xa4]
test edx, edx
js 0x4a6338
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.004aa080
mov al, 1
jmp 0x4a65d8
cmp dword [esi + 0xe0], 0
je case.default.0x4a5bcd
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 0x4a648d
push 5
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b0], eax
test eax, eax
je 0x4a648d
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 0x4a6422
push dword [ebp - 0x1b8]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x4a5bcd
cmp edx, 0x8001
jne case.default.0x4a5bcd
lea eax, [esi + 0x39c]
mov byte [esi + 0x339], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1c4], eax
call fcn.004aa700
mov edi, eax
mov dword [ebp - 0x1b0], edi
test edi, edi
je 0x4a65a2
lea eax, [esi + 0x33c]
mov dword [ebp - 0x1c0], eax
mov esi, eax
mov ecx, dword [ebp - 0x1c4]
push 1
push 0
call fcn.004aaaa0
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x4a6519
add ecx, 0x38
call fcn.004bc4d0
test al, al
je 0x4a6519
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.004bc4f0
mov ecx, esi
xor edi, edi
call fcn.004aa7b0
test eax, eax
jle 0x4a6559
mov esi, dword [ebp - 0x1b0]
nop dword [eax]
mov ecx, dword [ebp - 0x1c0]
push edi
call fcn.004aa1b0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1c0]
inc edi
call fcn.004aa7b0
cmp edi, eax
jl 0x4a6530
mov esi, dword [ebp - 0x1c0]
mov edi, dword [ebp - 0x1b0]
lea ecx, [edi + 0x84]
call fcn.004aa080
mov ecx, edi
call fcn.004aa080
push 0x120
push edi
call fcn.004ee8e8
mov ecx, dword [ebp - 0x1c4]
add esp, 8
push 0
call fcn.004aa700
mov edi, eax
mov dword [ebp - 0x1b0], eax
test edi, edi
jne 0x4a64e5
mov esi, dword [ebp - 0x1d8]
add esi, 0x390
xor edi, edi
mov ecx, esi
call fcn.004aa7b0
test eax, eax
jle 0x4a65cf
push edi
mov ecx, esi
call fcn.004aa1b0
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, esi
inc edi
call fcn.004aa7b0
cmp edi, eax
jl 0x4a65b5
mov ecx, esi
call fcn.004aa510
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.004ee450
mov esp, ebp
pop ebp
ret 0x10