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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x522f0b
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x562904]
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.0x4a8cad
lea ecx, [esi + 0x360]
mov dword [ebp - 0x1c0], 0
call fcn.004ad890
mov edi, dword [ebp - 0x1a8]
test eax, eax
jle 0x4a7390
xor ecx, ecx
nop
push ecx
lea ecx, [esi + 0x360]
mov byte [ebp - 0x1c9], 0
call fcn.004ad290
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 0x4a73ec
inc dword [ebp - 0x1c0]
lea ecx, [esi + 0x360]
call fcn.004ad890
mov ecx, dword [ebp - 0x1c0]
cmp ecx, eax
jl 0x4a7340
mov cl, byte [esi + 0x145]
mov edx, dword [ebp + 8]
test cl, cl
je 0x4a74ad
mov eax, edx
sub eax, 0x83
je 0x4a749a
sub eax, 2
je 0x4a749a
sub eax, 1
jne 0x4a74ad
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4a7492
cmp dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1b4]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x4a96b8
mov ecx, dword [ebp - 0x1b4]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x200
ja 0x4a7456
je case.0x4a746b.513
cmp eax, 0x7b
jne case.0x4a746b.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 0x4a96b8
add eax, 0xfffffdff
cmp eax, 9
ja case.0x4a746b.516
movzx eax, byte [eax + 0x4a96e4]
jmp dword [eax*4 + 0x4a96d8]
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 0x4a96b8
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
jmp 0x4a74cd
mov ecx, dword [ebp - 0x1b4]
mov al, 1
mov dword [ecx], 0
jmp 0x4a96b8
cmp edx, 0x111
ja 0x4a883c
je 0x4a880c
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.default.0x4a8cad
movzx eax, byte [eax + 0x4a9728]
jmp dword [eax*4 + 0x4a96f0]
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.004a7270
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 0x4a7532
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 0x4a7552
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.004aaca0
mov edi, dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x4a75a6
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 0x4a759b
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetParent]
mov edi, eax
test edi, edi
je 0x4a75a6
push edi
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0xa8]
test eax, eax
je case.default.0x4a8cad
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0xa8], 0
jmp case.default.0x4a8cad
mov ecx, dword [ebp - 0x1b4]
mov al, 1
mov dword [ecx], 1
jmp 0x4a96b8
cmp dword [esi + 0xe0], 0
mov edi, dword [esi + 0x84]
jne 0x4a7635
push 0x40
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004f3680
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.004aef10
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x4a96b8
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 0x4a76f4
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 0x4a76c4
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.004f3680
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 0x4a96b8
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 0x4a7714
push 0
lea eax, [ebp - 0x70]
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je case.0x4a746b.516
mov edi, dword [ebp - 0x188]
cmp byte [esi + 0x142], 0
je 0x4a772c
push 1
mov ecx, esi
call fcn.004ab240
mov edi, dword [ebp - 0x188]
push 1
mov ecx, esi
call fcn.004ab3e0
cmp byte [esi + 0x141], 0
je 0x4a7936
lea eax, [ebp - 0x194]
mov byte [esi + 0x141], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a79c2
mov ecx, dword [esi + 0xe0]
call fcn.004b8ad0
test al, al
je 0x4a7839
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 0x4a7793
push eax
call edi
mov eax, dword [esi + 0x90]
test eax, eax
je 0x4a77a0
push eax
call edi
mov eax, dword [esi + 0x94]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x4a77b3
push eax
call edi
mov eax, dword [esi + 0x9c]
test eax, eax
je 0x4a77c0
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 0x4a781b
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 0x4a781f
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 0x4a78d7
lea edi, [esi + 0x3a8]
mov ecx, edi
mov dword [ebp - 0x1c4], edi
call fcn.004ad5f0
mov ecx, dword [esi + 0xe0]
push reloc.WS2_32.dll_htons
push 0
push 0x4abf70
mov eax, dword [ecx]
call dword [eax + 0x114]
mov ecx, edi
call fcn.004ad890
test eax, eax
jle 0x4a78d7
xor esi, esi
push esi
mov ecx, edi
call fcn.004ad290
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 0x4a789e
mov eax, dword [edx + 0x40]
call eax
jmp 0x4a78a7
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.004ad890
cmp esi, eax
jl 0x4a7873
mov esi, dword [ebp - 0x1d8]
cmp byte [esi + 0x140], 0
je 0x4a79c2
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.004aa820
cmp byte [esi + 0x145], 0
je 0x4a79c2
cmp byte [esi + 0x158], 0
je 0x4a79c2
mov ecx, esi
call fcn.004a6d70
push 0
mov ecx, esi
call fcn.004ab3e0
mov al, 1
jmp 0x4a96b8
cmp byte [esi + 0x145], 0
je 0x4a79c2
cmp byte [esi + 0x158], 0
je 0x4a79c2
movups xmm0, xmmword [ebp - 0x194]
mov ecx, dword [esi + 0x98]
movups xmmword [ebp - 0x20], xmm0
test ecx, ecx
je 0x4a7985
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.004f3680
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 0x4a7a4c
cmp dword [esi + 0x94], 0
jne 0x4a7a4c
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 0x4a7a25
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.004aee90
add esp, 0x10
jmp 0x4a7a46
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.004f3680
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 0x4a82b8
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 0x4a7b14
cmp dword [esi + 0x2fc], 0
jne 0x4a7b14
mov eax, dword [ebp - 0x188]
mov edi, eax
sub edi, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
cmp edi, eax
jge 0x4a7b14
mov ecx, dword [ebp - 0x68]
mov edx, dword [ebp - 0x70]
cmp edx, ecx
jge 0x4a7b06
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 0x4a7ae0
mov eax, dword [ebp - 0x188]
inc edi
sub eax, dword [ebp - 0x6c]
cmp edi, eax
jl 0x4a7ad0
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 0x4a7da3
lea ecx, [esi + 0x378]
mov dword [ebp - 0x1b4], 0
call fcn.004ad890
test eax, eax
jle 0x4a7da3
xor ecx, ecx
nop word [eax + eax]
push ecx
lea ecx, [esi + 0x378]
call fcn.004ad290
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x4a7ba4
push 1
push dword [ebp - 0x1b4]
lea ecx, [esi + 0x378]
call fcn.004adb80
push 1
push dword [ebp - 0x1b4]
lea ecx, [esi + 0x384]
call fcn.004adb80
jmp 0x4a7d8a
inc dword [ebp - 0x1b4]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x4a7d8a
push edi
lea eax, [ebp - 0x1a4]
mov ecx, esi
push eax
call fcn.004a6630
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 0x4a7d8a
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.004aee90
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.004f3680
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 0x4a7d35
mov esi, dword [ebp - 0x1a4]
mov ecx, dword [ebp - 0x1ac]
mov eax, edi
xor edx, edx
sub eax, esi
test eax, eax
jle 0x4a7d16
imul ecx, eax
mov eax, dword [ebp - 0x1c0]
add ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x4a7cf9
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 0x4a7cd2
mov edx, dword [ebp - 0x198]
mov dword [ebp - 0x1b0], edx
jmp 0x4a7d1c
mov edx, dword [ebp - 0x1b0]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x1a0]
mov dword [ebp - 0x1ac], ecx
cmp ecx, eax
jl 0x4a7cc8
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.004ad890
mov ecx, dword [ebp - 0x1b4]
cmp ecx, eax
jl 0x4a7b60
lea ecx, [esi + 0x36c]
xor edi, edi
call fcn.004ad890
test eax, eax
jle 0x4a7de4
push edi
lea ecx, [esi + 0x36c]
call fcn.004ad290
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.004ad890
cmp edi, eax
jl 0x4a7db4
push dword [ebp - 0x1d0]
push dword [esi + 0x8c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x145], 0
je 0x4a8211
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 0x4a80ca
cmp dword [esi + 0x9c], 0
jne 0x4a7ef9
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.004aee90
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.004f3680
add esp, 0x1c
push dword [esi + 0x9c]
push dword [esi + 0x90]
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [ebp - 4], 0
jmp 0x4a7f2a
cmp byte [esi + 0x158], 0
je 0x4a7f75
mov eax, dword [ebp - 0x1a8]
imul eax, edi
shl eax, 2
push eax
push 0
push dword [esi + 0xa0]
call fcn.004f3680
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.004b4ba0
lea eax, [esi + 0x16c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push esi
push dword [esi + 0x90]
call fcn.004b31e0
add esp, 0x2c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004ae930
mov edx, dword [ebp - 0x188]
mov eax, dword [esi + 0x2fc]
cmp byte [eax + 0x14], 0
je 0x4a80ca
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 0x4a80cd
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 0x4a80a6
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 0x4a7fd4
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 0x4a7fb0
jmp 0x4a80cd
mov ecx, dword [ebp - 0x6c]
cmp byte [esi + 0x334], 0
je 0x4a817d
mov edi, edx
mov eax, edx
sub edi, dword [ebp - 0x64]
sub eax, ecx
mov dword [ebp - 0x1d0], edi
cmp edi, eax
jge 0x4a817d
mov eax, edi
imul eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b0], eax
mov edi, dword [ebp - 0x70]
cmp edi, dword [ebp - 0x68]
jge 0x4a8156
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 0x4a8132
test ecx, ecx
je 0x4a8132
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 0x4a8113
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 0x4a8100
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 [0x567730]
jmp 0x4a823e
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 0x4a82ed
cmp byte [esi + 0x145], 0
jne 0x4a82ed
push dword [0x567734]
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 0x4a82ed
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.004ab3e0
cmp byte [esi + 0x141], 0
mov byte [esi + 0x158], 0
je case.0x4a746b.516
mov ecx, esi
call fcn.004a6d70
mov al, 1
jmp 0x4a96b8
mov ecx, dword [esi + 0xfc]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x4a833e
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0x100]
test ecx, ecx
jle 0x4a834b
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0x104]
test ecx, ecx
jle 0x4a8358
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0x108]
test ecx, ecx
jle case.default.0x4a8cad
mov dword [eax + 0x24], ecx
jmp case.default.0x4a8cad
mov eax, dword [esi + 0xe4]
test eax, eax
je 0x4a83ca
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.004a7270
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 0x4a83d9
call fcn.004b8c50
cmp byte [esi + 0x145], 0
je case.0x4a746b.516
mov ecx, esi
call fcn.004a6d70
mov al, 1
jmp 0x4a96b8
cmp byte [esi + 0xdc], 0
je case.default.0x4a8cad
mov ecx, dword [ebp - 0x1b4]
mov al, 1
mov dword [ecx], 3
jmp 0x4a96b8
cmp dword [esi + 0xe0], 0
je case.default.0x4a8cad
mov ecx, esi
call fcn.004a6de0
test al, al
jne case.default.0x4a8cad
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.0x4a8cad
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.0x4a8cad
cmp dword [esi + 0xe0], 0
je case.default.0x4a8cad
mov eax, dword [esi + 0xe4]
test eax, eax
je case.default.0x4a8cad
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.004a7270
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.0x4a8cad
cmp dword [esi + 0xe0], 0
je case.default.0x4a8cad
mov eax, dword [esi + 0xe4]
test eax, eax
je case.default.0x4a8cad
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.004a7270
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.0x4a8cad
cmp dword [esi + 0xe0], 0
je case.default.0x4a8cad
mov eax, dword [esi + 0xf0]
test eax, eax
je case.default.0x4a8cad
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.004a7270
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.0x4a8cad
cmp dword [esi + 0xe0], 0
je case.default.0x4a8cad
cmp di, 1
jne case.default.0x4a8cad
cmp byte [esi + 0x336], 0
jne case.0x4a746b.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.004a5ed0
mov esi, eax
test esi, esi
je case.default.0x4a8cad
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x18]
call edx
test al, 2
je case.default.0x4a8cad
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.004a7270
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 0x4a96b8
cmp dword [ebp - 0x1ac], 0
je case.default.0x4a8cad
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.0x4a8cad
cmp dword [esi + 0x84], eax
je 0x4a876c
push eax
mov dword [ebp - 0x1c4], eax
call edi
test eax, eax
jne 0x4a8752
jmp case.default.0x4a8cad
lea ecx, [esi + 0x378]
xor edi, edi
call fcn.004ad890
test eax, eax
jle case.default.0x4a8cad
push edi
lea ecx, [esi + 0x378]
call fcn.004ad290
cmp eax, dword [ebp - 0x1c4]
je 0x4a87aa
lea ecx, [esi + 0x378]
inc edi
call fcn.004ad890
cmp edi, eax
jl 0x4a8781
jmp case.default.0x4a8cad
lea ecx, [esi + 0x384]
push edi
call fcn.004ad290
cmp eax, dword [esi + 0xe4]
je case.default.0x4a8cad
push 0
push edi
lea ecx, [esi + 0x384]
call fcn.004ad290
push eax
mov ecx, esi
call fcn.004aaca0
jmp case.default.0x4a8cad
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.0x4a746b.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 0x4a96b8
mov eax, dword [ebp - 0x1a8]
test eax, eax
je case.default.0x4a8cad
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 0x4a96b8
cmp edx, 0x200
ja 0x4a8c8c
je 0x4a89dd
mov eax, edx
sub eax, 0x113
je 0x4a8897
sub eax, 0x20
je 0x4a8865
sub eax, 5
jne case.default.0x4a8cad
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je case.default.0x4a8cad
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 0x4a96b8
mov eax, dword [ebp - 0x1ac]
mov edx, 0x2000
movzx eax, ax
mov dword [ebp - 0x1b8], eax
cmp ax, dx
jne 0x4a8915
test cl, cl
je 0x4a8915
lea eax, [esi + 0x15c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4a8915
mov dword [ebp - 0x1b8], eax
mov eax, dword [esi + 0x84]
test eax, eax
je case.default.0x4a8cad
push eax
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je case.default.0x4a8cad
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne case.default.0x4a8cad
lea eax, [ebp - 0x1b8]
mov ecx, esi
push eax
push 0
push 0
push 0xf
call fcn.004a72c0
jmp case.default.0x4a8cad
lea ecx, [esi + 0x348]
mov dword [ebp - 0x1b0], 0
call fcn.004ad890
test eax, eax
jle case.default.0x4a8cad
xor ecx, ecx
push ecx
lea ecx, [esi + 0x348]
call fcn.004ad290
mov dword [ebp - 0x1c4], eax
mov ecx, dword [eax + 8]
cmp ecx, dword [esi + 0x84]
jne 0x4a8965
mov ecx, dword [ebp - 0x1b8]
movzx ecx, cx
cmp dword [eax + 0xc], ecx
jne 0x4a8965
cmp byte [eax + 0x10], 0
je 0x4a8985
inc dword [ebp - 0x1b0]
lea ecx, [esi + 0x348]
call fcn.004ad890
mov ecx, dword [ebp - 0x1b0]
cmp ecx, eax
jl 0x4a8934
jmp case.default.0x4a8cad
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.004a7270
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.0x4a8cad
cmp dword [esi + 0xe0], 0
je case.default.0x4a8cad
cmp byte [esi + 0x335], 0
jne 0x4a8a40
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 0x4a8a1c
mov eax, dword [esi + 0xd8]
jmp 0x4a8a2c
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.004a5ed0
mov dword [ebp - 0x1b0], eax
test eax, eax
je 0x4a8a89
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a8cad
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.004a7270
mov ecx, esi
mov word [ebp - 0x2a], ax
call fcn.004a6de0
test al, al
jne 0x4a8c3c
push dword [ebp - 0x1c4]
mov ecx, esi
push dword [ebp - 0x1b8]
call fcn.004a5ed0
mov edi, eax
mov dword [ebp - 0x1b0], edi
test edi, edi
je 0x4a8afe
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x24]
call eax
cmp eax, esi
jne case.default.0x4a8cad
mov eax, dword [esi + 0xe8]
cmp edi, eax
je 0x4a8c10
test eax, eax
je 0x4a8c10
lea ecx, [esi + 0x3b4]
mov dword [ebp - 0x40], 0xa
mov dword [ebp - 0x3c], eax
call fcn.004ad890
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004acf80
lea ecx, [esi + 0x3b4]
mov dword [ebp - 4], 3
call fcn.004ad890
push eax
lea ecx, [ebp - 0x1a0]
call fcn.004ade20
lea ecx, [esi + 0x3b4]
call fcn.004ad890
shl eax, 2
lea ecx, [esi + 0x3b4]
push eax
call fcn.0040f7b0
push eax
lea ecx, [ebp - 0x1a0]
call fcn.0040f7b0
push eax
call fcn.004f3a50
add esp, 0xc
lea ecx, [ebp - 0x1a0]
xor edi, edi
call fcn.004ad890
test eax, eax
jle 0x4a8bbd
push edi
lea ecx, [ebp - 0x1a0]
call fcn.004ad290
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.004ad890
cmp edi, eax
jl 0x4a8b93
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 0x4a8bf8
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.004ad150
mov edi, dword [ebp - 0x1b0]
cmp edi, dword [esi + 0xe8]
je 0x4a8c42
test edi, edi
je 0x4a8c42
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 0x4a8c42
mov edi, dword [ebp - 0x1b0]
mov ecx, dword [esi + 0xec]
test ecx, ecx
je 0x4a8c67
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.0x4a8cad
test edi, edi
je case.default.0x4a8cad
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.0x4a8cad
cmp edx, 0x20a
ja 0x4a90c8
je 0x4a8fbe
add edx, 0xfffffdff
cmp edx, 3
ja case.default.0x4a8cad
jmp dword [edx*4 + 0x4a9828]
cmp byte [esi + 0xdc], 0
jne 0x4a8cc9
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0xe0], 0
je case.default.0x4a8cad
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.004a5ed0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4a8cad
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a8cad
mov dword [esi + 0xec], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x108]
mov ecx, esi
call fcn.004aa970
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.0x4a8cad
cmp byte [esi + 0xdc], 0
jne 0x4a8da9
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.004a5ed0
mov edi, eax
test edi, edi
je case.default.0x4a8cad
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a8cad
mov ecx, esi
call fcn.004aa970
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.0x4a8cad
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.0x4a8cad
mov ecx, esi
call fcn.004a9da0
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.0x4a8cad
cmp byte [esi + 0xdc], 0
jne 0x4a8f05
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.004a5ed0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4a8cad
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a8cad
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.0x4a8cad
cmp dword [esi + 0xe0], 0
je case.default.0x4a8cad
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.004a5ed0
mov edi, eax
mov dword [ebp - 0x1b8], edi
test edi, edi
je case.default.0x4a8cad
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x24]
call edx
cmp eax, esi
jne case.default.0x4a8cad
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.004a7270
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.0x4a8cad
cmp edx, 0x318
ja 0x4a957f
je 0x4a948d
sub edx, 0x2a1
je 0x4a921f
sub edx, 2
jne case.default.0x4a8cad
cmp dword [esi + 0xe0], edx
je case.default.0x4a8cad
mov ecx, dword [esi + 0xa8]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4a911b
lea eax, [esi + 0xac]
push eax
push edx
push 0x411
push ecx
call edi
cmp byte [esi + 0x335], 0
je 0x4a9213
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 0x4a9202
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x84]
jne 0x4a9202
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 0x4a9202
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 0x4a91ea
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 0x4a9204
push 0xffffffffffffffff
push 0
push 0x200
push ecx
call edi
mov byte [esi + 0x335], 0
jmp case.default.0x4a8cad
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0x84]
call edi
mov byte [esi + 0x335], 0
jmp case.default.0x4a8cad
cmp dword [esi + 0xe0], 0
je case.default.0x4a8cad
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.004a5ed0
mov edi, eax
mov dword [ebp - 0x1d0], edi
test edi, edi
je case.default.0x4a8cad
mov eax, dword [esi + 0xe8]
test eax, eax
je 0x4a92cd
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.004a7270
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.004ada60
test al, al
jne 0x4a947b
lea eax, [ebp - 0x184]
push eax
call fcn.004a9ac0
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 [0x567724]
mov dword [esi + 0xcc], eax
call fcn.0040f7b0
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 0x4a942d
push 0
push dword [0x567724]
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 0x4a9418
mov edx, dword [esi + 0xa4]
test edx, edx
js 0x4a9418
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.004ad160
mov al, 1
jmp 0x4a96b8
cmp dword [esi + 0xe0], 0
je case.default.0x4a8cad
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 0x4a956d
push 5
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x1b0], eax
test eax, eax
je 0x4a956d
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 0x4a9502
push dword [ebp - 0x1b8]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x4a8cad
cmp edx, 0x8001
jne case.default.0x4a8cad
lea eax, [esi + 0x39c]
mov byte [esi + 0x339], 0
push 0
mov ecx, eax
mov dword [ebp - 0x1c4], eax
call fcn.004ad7e0
mov edi, eax
mov dword [ebp - 0x1b0], edi
test edi, edi
je 0x4a9682
lea eax, [esi + 0x33c]
mov dword [ebp - 0x1c0], eax
mov esi, eax
mov ecx, dword [ebp - 0x1c4]
push 1
push 0
call fcn.004adb80
mov ecx, dword [edi + 0x108]
test ecx, ecx
je 0x4a95f9
add ecx, 0x38
call fcn.004bf5a0
test al, al
je 0x4a95f9
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x38
call fcn.004bf5c0
mov ecx, esi
xor edi, edi
call fcn.004ad890
test eax, eax
jle 0x4a9639
mov esi, dword [ebp - 0x1b0]
nop dword [eax]
mov ecx, dword [ebp - 0x1c0]
push edi
call fcn.004ad290
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x1c0]
inc edi
call fcn.004ad890
cmp edi, eax
jl 0x4a9610
mov esi, dword [ebp - 0x1c0]
mov edi, dword [ebp - 0x1b0]
lea ecx, [edi + 0x84]
call fcn.004ad160
mov ecx, edi
call fcn.004ad160
push 0x120
push edi
call fcn.004f19ca
mov ecx, dword [ebp - 0x1c4]
add esp, 8
push 0
call fcn.004ad7e0
mov edi, eax
mov dword [ebp - 0x1b0], eax
test edi, edi
jne 0x4a95c5
mov esi, dword [ebp - 0x1d8]
add esi, 0x390
xor edi, edi
mov ecx, esi
call fcn.004ad890
test eax, eax
jle 0x4a96af
push edi
mov ecx, esi
call fcn.004ad290
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, esi
inc edi
call fcn.004ad890
cmp edi, eax
jl 0x4a9695
mov ecx, esi
call fcn.004ad5f0
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.004f1532
mov esp, ebp
pop ebp
ret 0x10