Function at 0x4750e0
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c6781
mov eax, dword fs:[0]
push eax
sub esp, 0x170
mov eax, dword [0x624500]
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 - 0x148], esi
cmp dword [esi + 0x34], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x130], eax
je case.0x476a0b.276
lea ecx, [esi + 0x288]
mov dword [ebp - 0x11c], 0
call fcn.00481170
mov edi, dword [ebp - 0x118]
test eax, eax
jle 0x4751b0
xor ecx, ecx
nop dword [eax + eax]
push ecx
lea ecx, [esi + 0x288]
mov byte [ebp - 0x11d], 0
call fcn.00480d60
mov ecx, dword [eax]
mov edx, dword [ecx]
lea ecx, [ebp - 0x11d]
push ecx
push edi
push dword [ebp - 0x114]
mov ecx, eax
push dword [ebp + 8]
call edx
cmp byte [ebp - 0x11d], 0
jne 0x475208
inc dword [ebp - 0x11c]
lea ecx, [esi + 0x288]
call fcn.00481170
mov ecx, dword [ebp - 0x11c]
cmp ecx, eax
jl 0x475160
cmp byte [esi + 0x123], 0
mov edx, dword [ebp + 8]
je 0x4752b1
mov eax, edx
sub eax, 0x83
je 0x47529e
sub eax, 2
je 0x47529e
sub eax, 1
jne 0x4752b1
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4752f7
cmp dword [ebp - 0x114], eax
mov ecx, dword [ebp - 0x130]
sete al
mov dword [ecx], eax
mov al, 1
jmp 0x477acf
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov eax, dword [ebp + 8]
cmp eax, 0x203
ja 0x47524d
cmp eax, 0x200
jae 0x47522d
cmp eax, 0x7b
je 0x475254
mov al, 1
jmp 0x477acf
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0xbc], eax
mov al, 1
mov dword [esi + 0xb8], ecx
jmp 0x477acf
cmp eax, 0x20a
jne 0x475297
mov ecx, dword [ebp - 0x118]
movsx eax, cx
mov dword [ebp - 0x154], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x154]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x154]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x150]
mov dword [esi + 0xbc], eax
mov al, 1
jmp 0x477acf
mov ecx, dword [ebp - 0x130]
mov al, 1
mov dword [ecx], 0
jmp 0x477acf
cmp edx, 0x111
ja 0x4769e1
jne 0x4752fa
mov eax, dword [ebp - 0x118]
test eax, eax
je case.0x476a0b.276
push eax
push dword [ebp - 0x114]
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
test eax, eax
je case.0x476a0b.276
mov al, 1
jmp 0x477acf
mov edx, dword [ebp + 8]
lea eax, [edx - 5]
cmp eax, 0xfd
ja case.0x476a0b.276
movzx eax, byte [eax + 0x477b28]
jmp dword [eax*4 + 0x477aec]
mov eax, dword [esi + 0xb8]
xorps xmm0, xmm0
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xbc]
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
call fcn.00475090
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa4]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x47536d
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x180]
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x47538d
mov dword [ebp - 0x30], 0xe
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x180]
push 0
mov ecx, esi
call fcn.0047d6e0
mov edi, dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, edi
jne 0x4753b7
push 4
push edi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4753b7
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esi + 0x54]
test eax, eax
je case.0x476a0b.276
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [esi + 0x54], 0
jmp case.0x476a0b.276
mov ecx, dword [ebp - 0x130]
mov al, 1
mov dword [ecx], 1
jmp 0x477acf
cmp dword [esi + 0x9c], 0
jne 0x475446
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0058dad0
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0
push 0
push 0xff000000
lea eax, [ebp - 0xb8]
push eax
push dword [esi + 0x38]
call fcn.004a3490
add esp, 0x14
lea eax, [ebp - 0xc0]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x477acf
lea eax, [ebp - 0x70]
xorps xmm0, xmm0
push eax
push dword [esi + 0x34]
movups xmmword [ebp - 0x70], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
push 0x40
mov dword [ebp - 0x118], eax
lea eax, [ebp - 0x100]
push 0
push eax
call fcn.0058dad0
mov edi, dword [sym.imp.USER32.dll_IsRectEmpty]
add esp, 0xc
cmp byte [esi + 0x123], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
je 0x4754b5
push 0
lea eax, [ebp - 0x40]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
jne 0x4754de
mov al, 1
jmp 0x477acf
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_BeginPaint]
movups xmm0, xmmword [ebp - 0xf8]
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x40], xmm0
call edi
test eax, eax
jne 0x4756fc
cmp byte [esi + 0x120], 0
je 0x4754f0
push 1
mov ecx, esi
call fcn.0047dc60
cmp byte [esi + 0x11f], 0
mov byte [ebp - 0x11d], 0
mov byte [esi + 0x21a], 1
je 0x475726
lea eax, [ebp - 0x70]
mov byte [esi + 0x11f], 0
push eax
call edi
test eax, eax
jne 0x4757a8
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4757a8
mov ecx, dword [esi + 0x9c]
call fcn.004842a0
test al, al
je 0x4755fa
movups xmm0, xmmword [ebp - 0x70]
mov eax, dword [esi + 0x3c]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
movups xmmword [ebp - 0x20], xmm0
movups xmmword [ebp - 0x50], xmm0
test eax, eax
je 0x475560
push eax
call edi
mov eax, dword [esi + 0x40]
test eax, eax
je 0x47556a
push eax
call edi
mov eax, dword [esi + 0x44]
mov edi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x47557a
push eax
call edi
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x475584
push eax
call edi
cmp byte [esi + 0x123], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x4c], 0
je 0x4755d3
mov eax, dword [esi + 0x124]
add dword [ebp - 0x50], eax
mov eax, dword [esi + 0x128]
add dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x12c]
sub dword [ebp - 0x48], eax
mov eax, dword [esi + 0x130]
sub dword [ebp - 0x44], eax
movups xmm0, xmmword [ebp - 0x50]
jmp 0x4755d7
movups xmm0, xmmword [ebp - 0x20]
mov ecx, dword [esi + 0x9c]
push 1
sub esp, 0x10
mov eax, dword [ecx]
mov edx, dword [eax + 0x70]
mov eax, esp
movups xmmword [eax], xmm0
call edx
mov byte [ebp - 0x11d], 1
jmp 0x4756a2
lea ecx, [esi + 0x2e8]
call fcn.00480f00
mov ecx, dword [esi + 0x9c]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x47ebb0
mov eax, dword [ecx]
call dword [eax + 0x174]
xor edi, edi
lea ecx, [esi + 0x2e8]
mov dword [ebp - 0x11c], edi
call fcn.00481170
test eax, eax
jle 0x4756a2
nop word [eax + eax]
push edi
lea ecx, [esi + 0x2e8]
call fcn.00480d60
mov ecx, eax
mov dword [ebp - 0x12c], eax
mov edx, dword [eax]
mov edi, dword [edx + 0x70]
mov edx, dword [edx + 0x68]
call edx
push 1
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x12c]
call edi
mov eax, dword [ebp - 0x12c]
lea ecx, [esi + 0x2e8]
cmp eax, dword [esi + 0x9c]
mov edi, dword [ebp - 0x11c]
sete byte [ebp - 0x11d]
inc edi
mov dword [ebp - 0x11c], edi
call fcn.00481170
cmp edi, eax
jl 0x475640
cmp byte [esi + 0x11e], 0
je 0x4757a8
mov ecx, dword [esi + 0x9c]
push 0
push 0
push 0
sub esp, 8
mov byte [esi + 0x11e], 0
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], str.windowinit
mov dword [eax + 4], 0xa
call fcn.0047c9e0
cmp byte [esi + 0x123], 0
je 0x475713
cmp byte [esi + 0x134], 0
je 0x475713
mov ecx, esi
call fcn.00474dc0
mov byte [esi + 0x21a], 0
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x477acf
push dword [esi + 0x34]
lea ecx, [esi + 0x438]
call fcn.0049e570
jmp 0x4757a8
cmp byte [esi + 0x123], 0
je 0x475827
cmp byte [esi + 0x134], 0
je 0x4757a8
movups xmm0, xmmword [ebp - 0x70]
mov edx, dword [esi + 0x48]
movups xmmword [ebp - 0x50], xmm0
test edx, edx
je 0x475769
mov ecx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x68]
sub ecx, dword [ebp - 0x6c]
sub eax, dword [ebp - 0x70]
imul ecx, eax
shl ecx, 2
push ecx
push 0
push edx
call fcn.0058dad0
add esp, 0xc
mov eax, dword [esi + 0x124]
add dword [ebp - 0x50], eax
mov eax, dword [esi + 0x128]
add dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x12c]
sub dword [ebp - 0x48], eax
mov ecx, dword [esi + 0x9c]
mov eax, dword [esi + 0x130]
sub dword [ebp - 0x44], eax
movups xmm0, xmmword [ebp - 0x50]
mov eax, dword [ecx]
push 1
sub esp, 0x10
mov edx, dword [eax + 0x70]
mov eax, esp
movups xmmword [eax], xmm0
call edx
cmp byte [esi + 0x123], 0
je 0x475827
push 0xffffffffffffffec
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x4757d4
push ecx
push 0xffffffffffffffec
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea edi, [esi + 0x138]
mov byte [esi + 0x121], 1
push edi
lea eax, [ebp - 0x40]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
mov ecx, dword [ebp - 0x70]
xorps xmm0, xmm0
cmp dword [ebp - 0x40], ecx
movups xmmword [edi], xmm0
cmovg ecx, dword [ebp - 0x40]
mov dword [ebp - 0x40], ecx
mov ecx, dword [ebp - 0x6c]
cmp dword [ebp - 0x3c], ecx
cmovg ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x3c], ecx
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [ebp - 0x68]
cmovg ecx, dword [ebp - 0x68]
mov dword [ebp - 0x38], ecx
mov ecx, dword [ebp - 0x34]
cmp ecx, dword [ebp - 0x64]
cmovg ecx, dword [ebp - 0x64]
mov dword [ebp - 0x34], ecx
cmp byte [esi + 0x121], 0
je 0x475890
cmp dword [esi + 0x44], 0
jne 0x475890
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea edi, [esi + 0x48]
mov dword [esi + 0x3c], eax
push edi
push dword [ebp - 0x118]
push dword [ebp - 0x114]
push dword [esi + 0x38]
call fcn.004a3130
add esp, 0x10
mov dword [esi + 0x44], eax
test eax, eax
je 0x475869
cmp dword [edi], 0
jne 0x475890
cmp byte [esi + 0x123], 0
jne 0x475882
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, esi
call fcn.00474dc0
mov al, 1
jmp 0x477acf
cmp byte [esi + 0x123], 0
je 0x4758a9
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0x121], 0
je 0x47639f
push dword [esi + 0x44]
push dword [esi + 0x3c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x3c]
mov dword [ebp - 0x124], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp dword [esi + 0x48], 0
mov dword [ebp - 0x140], eax
je 0x475965
mov eax, dword [ebp - 0x64]
mov edx, 0
mov ecx, eax
sub ecx, dword [ebp - 0x34]
cmovns edx, ecx
sub eax, dword [ebp - 0x3c]
mov ecx, edx
mov dword [ebp - 0x11c], edx
cmp ecx, eax
jge 0x475965
mov edi, dword [ebp - 0x38]
mov eax, ecx
imul eax, dword [ebp - 0x114]
mov dword [ebp - 0x138], eax
mov edx, dword [ebp - 0x40]
cmp edx, edi
jge 0x475942
lea ecx, [edx + eax]
shl ecx, 2
nop
mov eax, dword [esi + 0x48]
lea ecx, [ecx + 4]
inc edx
mov dword [ecx + eax - 4], 0
mov edi, dword [ebp - 0x38]
cmp edx, edi
jl 0x475920
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x138]
add eax, dword [ebp - 0x114]
inc ecx
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x3c]
cmp ecx, eax
mov dword [ebp - 0x11c], ecx
mov eax, dword [ebp - 0x138]
jl 0x475912
cmp byte [esi + 0x50d], 0
je 0x475c25
mov ecx, 0x62a600
call fcn.00481a20
test al, al
jne 0x475c15
push 2
push 0xff
push 0
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
cmp dword [esi + 0x510], 0
je 0x475c15
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push dword [ebp - 0x118]
mov edi, eax
push dword [ebp - 0x114]
mov dword [ebp - 0x11c], edi
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebp - 0x138], eax
test edi, edi
je 0x475bff
test eax, eax
je 0x475c0a
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
mov ecx, 0x62a600
mov dword [ebp - 0x134], edi
call fcn.00481170
test eax, eax
jle 0x475b7b
xor esi, esi
push esi
mov ecx, 0x62a600
call fcn.00480d60
mov edi, eax
test edi, edi
je 0x475b5c
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x68]
call edx
mov ecx, edi
movups xmm0, xmmword [eax]
lea eax, [ebp - 0x108]
push eax
movups xmmword [ebp - 0x50], xmm0
call fcn.00483a50
cmp dword [ebp - 0x108], 0
jne 0x475a6f
cmp dword [ebp - 0x104], 0
jne 0x475a6f
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov edi, eax
jmp 0x475b40
lea eax, [ebp - 0x154]
mov dword [ebp - 0x154], 0
push eax
push 0
call sub.gdiplus.dll_GdipCreatePath
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x154]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.004a31b0
add esp, 0xc
mov dword [ebp - 0x12c], 0
lea eax, [ebp - 0x12c]
push eax
push dword [ebp - 0x11c]
call sub.gdiplus.dll_GdipCreateFromHDC
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x14c], eax
lea eax, [ebp - 0x130]
push eax
push dword [ebp - 0x154]
mov dword [ebp - 0x130], 0
call sub.gdiplus.dll_GdipCreateRegionPath
mov edi, dword [ebp - 0x130]
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x14c]
push edi
call sub.gdiplus.dll_GdipGetRegionHRgn
mov eax, dword [ebp - 0x158]
push edi
mov dword [ebp - 0x13c], eax
call sub.gdiplus.dll_GdipDeleteRegion
push dword [ebp - 0x14c]
call sub.gdiplus.dll_GdipDeleteGraphics
push dword [ebp - 0x154]
mov dword [ebp - 4], 0xffffffff
call sub.gdiplus.dll_GdipDeletePath
mov edi, dword [ebp - 0x13c]
mov eax, dword [ebp - 0x134]
push 2
push edi
push eax
push eax
call dword [sym.imp.GDI32.dll_CombineRgn]
test edi, edi
je 0x475b5c
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, 0x62a600
inc esi
call fcn.00481170
cmp esi, eax
jl 0x475a11
mov esi, dword [ebp - 0x148]
mov edi, dword [ebp - 0x134]
push edi
push dword [ebp - 0x11c]
call dword [sym.imp.GDI32.dll_SelectClipRgn]
test edi, edi
je 0x475b93
push edi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [ebp - 0x11c]
push 0xcc0020
push 0
push 0
push dword [esi + 0x510]
push dword [ebp - 0x118]
push dword [ebp - 0x114]
push 0
push 0
push edi
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
je 0x475bf9
push 0xcc0020
push 0
push 0
push edi
push dword [ebp - 0x118]
push dword [ebp - 0x114]
push 0
push 0
push dword [esi + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
test eax, eax
mov eax, dword [ebp - 0x138]
je 0x475bff
mov byte [esi + 0x50f], 1
jmp 0x475bff
mov eax, dword [ebp - 0x138]
test eax, eax
je 0x475c0a
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
test edi, edi
je 0x475c15
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp byte [esi + 0x50d], 0
je 0x475c25
mov byte [esi + 0x50e], 1
mov ecx, dword [esi + 0x9c]
lea edx, [ebp - 0x40]
push 0
push edx
push dword [esi + 0x3c]
mov eax, dword [ecx]
call dword [eax + 0x194]
cmp byte [esi + 0x50e], 0
je 0x475c4e
mov word [esi + 0x50e], 0
cmp byte [esi + 0x123], 0
je 0x475ebe
lea ecx, [esi + 0x2a8]
mov dword [ebp - 0x130], 0
call fcn.00481170
test eax, eax
jle 0x475ebe
xor ecx, ecx
nop word [eax + eax]
push ecx
lea ecx, [esi + 0x2a8]
call fcn.00480d60
mov edi, eax
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x475cc0
push dword [ebp - 0x130]
lea ecx, [esi + 0x2a8]
call fcn.004813e0
push dword [ebp - 0x130]
lea ecx, [esi + 0x2b8]
call fcn.004813e0
jmp 0x475ea5
inc dword [ebp - 0x130]
push edi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x475ea5
push edi
lea eax, [ebp - 0x110]
mov ecx, esi
push eax
call fcn.00474900
lea eax, [ebp - 0x110]
xorps xmm0, xmm0
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x20]
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x475ea5
push dword [esi + 0x3c]
mov dword [ebp - 0x12c], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea ecx, [ebp - 0x12c]
mov dword [ebp - 0x11c], eax
push ecx
mov ecx, dword [ebp - 0x104]
sub ecx, dword [ebp - 0x10c]
push ecx
mov ecx, dword [ebp - 0x108]
sub ecx, dword [ebp - 0x110]
push ecx
push eax
call fcn.004a3130
mov edx, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x104]
sub edx, dword [ebp - 0x110]
sub ecx, dword [ebp - 0x10c]
imul edx, ecx
mov dword [ebp - 0x14c], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x12c]
call fcn.0058dad0
add esp, 0x1c
push dword [ebp - 0x14c]
push dword [ebp - 0x11c]
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push dword [ebp - 0x11c]
mov dword [ebp - 0x13c], eax
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebp - 0x104]
mov ecx, edx
sub ecx, dword [ebp - 0x10c]
mov edi, dword [ebp - 0x108]
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], edx
test ecx, ecx
jle 0x475e53
mov esi, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x138]
mov eax, edi
xor edx, edx
sub eax, esi
test eax, eax
jle 0x475e34
nop dword [eax + eax]
imul ecx, eax
mov eax, dword [ebp - 0x12c]
add ecx, edx
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
test eax, eax
je 0x475e17
or eax, 0xff000000
mov dword [ecx], eax
mov edi, dword [ebp - 0x108]
mov esi, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x138]
mov eax, edi
inc edx
sub eax, esi
cmp edx, eax
jl 0x475df0
mov edx, dword [ebp - 0x104]
mov dword [ebp - 0x134], edx
jmp 0x475e3a
mov edx, dword [ebp - 0x134]
mov eax, edx
inc ecx
sub eax, dword [ebp - 0x10c]
mov dword [ebp - 0x138], ecx
cmp ecx, eax
jl 0x475de1
mov esi, dword [ebp - 0x148]
mov ecx, dword [ebp - 0x10c]
sub edx, ecx
mov eax, dword [ebp - 0x110]
sub edi, eax
push 0xcc0020
push 0
push 0
push dword [ebp - 0x11c]
push edx
push edi
push ecx
push eax
push dword [esi + 0x3c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x13c]
mov edi, dword [ebp - 0x11c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x14c]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [esi + 0x2a8]
call fcn.00481170
mov ecx, dword [ebp - 0x130]
cmp ecx, eax
jl 0x475c80
lea ecx, [esi + 0x298]
xor edi, edi
call fcn.00481170
test eax, eax
jle 0x475eff
nop
push edi
lea ecx, [esi + 0x298]
call fcn.00480d60
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1b8]
lea ecx, [ebp - 0x40]
push ecx
push dword [esi + 0x3c]
mov ecx, eax
call edx
lea ecx, [esi + 0x298]
inc edi
call fcn.00481170
cmp edi, eax
jl 0x475ed0
push dword [ebp - 0x140]
push dword [esi + 0x3c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [esi + 0x123], 0
je 0x47630a
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 0x34]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
cmp dword [esi + 0x158], 0
mov edx, dword [ebp - 0x64]
je 0x4761d8
mov eax, dword [ebp - 0x68]
mov edi, edx
sub eax, dword [ebp - 0x70]
movups xmm0, xmmword [ebp - 0x70]
sub edi, dword [ebp - 0x6c]
mov dword [ebp - 0x130], eax
mov eax, dword [esi + 0x124]
add eax, dword [ebp - 0x70]
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x50], eax
mov eax, dword [esi + 0x128]
add dword [ebp - 0x4c], eax
mov eax, dword [esi + 0x12c]
sub dword [ebp - 0x48], eax
mov eax, dword [esi + 0x130]
sub dword [ebp - 0x44], eax
cmp dword [esi + 0x4c], 0
mov dword [ebp - 0x134], edi
jne 0x475ffc
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
lea edi, [esi + 0x50]
mov dword [esi + 0x40], eax
push edi
push dword [ebp - 0x134]
push dword [ebp - 0x130]
push dword [esi + 0x38]
call fcn.004a3130
mov dword [esi + 0x4c], eax
mov eax, dword [ebp - 0x134]
imul eax, dword [ebp - 0x130]
shl eax, 2
push eax
push 0
push dword [edi]
call fcn.0058dad0
add esp, 0x1c
push dword [esi + 0x4c]
push dword [esi + 0x40]
call dword [sym.imp.GDI32.dll_SelectObject]
xorps xmm0, xmm0
mov dword [ebp - 0xa0], vtable.DuiLib::CRenderClip.0
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 4], 1
jmp 0x47603c
cmp byte [esi + 0x134], 0
je 0x476086
imul edi, dword [ebp - 0x130]
shl edi, 2
push edi
push 0
push dword [esi + 0x50]
call fcn.0058dad0
xorps xmm0, xmm0
mov dword [ebp - 0xa0], vtable.DuiLib::CRenderClip.0
add esp, 0xc
movups xmmword [ebp - 0x9c], xmm0
mov dword [ebp - 4], 2
movups xmm0, xmmword [ebp - 0x50]
lea eax, [ebp - 0xa0]
push eax
sub esp, 0x10
mov eax, esp
push dword [esi + 0x40]
movups xmmword [eax], xmm0
call fcn.004ae180
push 0
lea eax, [esi + 0x148]
push eax
lea eax, [ebp - 0x50]
push eax
push eax
push esi
push dword [esi + 0x40]
call fcn.004a8670
add esp, 0x30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.004a23f0
mov edx, dword [ebp - 0x64]
mov eax, edx
mov edi, 0
sub eax, dword [ebp - 0x34]
cmovns edi, eax
mov eax, edx
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x148], edi
cmp edi, eax
jge 0x47627f
mov eax, dword [ebp - 0x130]
imul edi, eax
mov dword [ebp - 0x138], edi
nop word [eax + eax]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x134], ecx
cmp ecx, dword [ebp - 0x38]
jge 0x4761ab
lea edx, [edi + ecx]
shl edx, 2
mov dword [ebp - 0x14c], edx
nop
add ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x50]
add ecx, edi
mov dword [ebp - 0x12c], ecx
movzx edi, byte [eax + edx + 3]
mov eax, dword [ecx]
shr eax, 0x10
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
mul ecx
mov eax, edx
shr eax, 7
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x12c]
mov eax, dword [eax]
shr eax, 8
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
mul ecx
mov ecx, dword [ebp - 0x12c]
mov eax, edx
shr eax, 7
mov dword [ebp - 0x13c], eax
mov eax, dword [ecx]
movzx ecx, al
mov eax, 0x80808081
imul ecx, edi
shl edi, 0x18
mul ecx
mov eax, dword [ebp - 0x140]
movzx ecx, al
mov eax, dword [ebp - 0x13c]
shl ecx, 8
movzx eax, al
or ecx, eax
shr edx, 7
shl ecx, 8
movzx eax, dl
mov edx, dword [ebp - 0x14c]
or ecx, eax
mov eax, dword [ebp - 0x12c]
add ecx, edi
mov edi, dword [ebp - 0x138]
add edx, 4
mov dword [ebp - 0x14c], edx
mov dword [eax], ecx
mov ecx, dword [ebp - 0x134]
inc ecx
mov dword [ebp - 0x134], ecx
cmp ecx, dword [ebp - 0x38]
jl 0x4760e0
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x148]
add edi, eax
mov eax, edx
mov dword [ebp - 0x138], edi
sub eax, dword [ebp - 0x3c]
inc ecx
cmp ecx, eax
mov dword [ebp - 0x148], ecx
mov eax, dword [ebp - 0x130]
jl 0x4760c0
jmp 0x47627f
mov eax, edx
mov ecx, 0
sub eax, dword [ebp - 0x34]
cmovns ecx, eax
mov eax, edx
sub eax, dword [ebp - 0x3c]
mov dword [ebp - 0x134], ecx
cmp ecx, eax
jge 0x47627f
mov edi, dword [ebp - 0x38]
mov eax, ecx
imul eax, dword [ebp - 0x114]
mov dword [ebp - 0x12c], eax
nop word [eax + eax]
mov ecx, dword [ebp - 0x40]
cmp ecx, edi
jge 0x476257
lea edx, [ecx + eax]
shl edx, 2
nop dword [eax]
mov eax, dword [esi + 0x48]
cmp byte [eax + edx + 3], 0
jne 0x476246
cmp byte [eax + edx], 0
jne 0x47623e
cmp byte [eax + edx + 1], 0
jne 0x47623e
cmp byte [eax + edx + 2], 0
je 0x476246
mov byte [eax + edx + 3], 0xff
mov edi, dword [ebp - 0x38]
inc ecx
add edx, 4
cmp ecx, edi
jl 0x476220
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 0x12c]
add eax, dword [ebp - 0x114]
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x12c], eax
inc ecx
mov eax, edx
mov dword [ebp - 0x134], ecx
sub eax, dword [ebp - 0x3c]
cmp ecx, eax
mov eax, dword [ebp - 0x12c]
jl 0x476210
mov al, byte [esi + 0x122]
mov byte [ebp - 0x11a], al
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x158], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x118]
push 2
mov dword [ebp - 0x150], eax
lea eax, [ebp - 0x11c]
push eax
push 0
lea eax, [ebp - 0x108]
mov word [ebp - 0x11c], 0
push eax
push dword [esi + 0x3c]
lea eax, [ebp - 0x154]
mov byte [ebp - 0x119], 1
push eax
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x108], 0
push eax
push dword [esi + 0x38]
mov dword [ebp - 0x104], 0
push dword [esi + 0x34]
call dword [0x62a4f0]
jmp 0x476331
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x34]
push 0xcc0020
push edx
push ecx
push dword [esi + 0x3c]
sub eax, edx
push eax
mov eax, dword [ebp - 0x38]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x124]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0x3c]
call edi
cmp byte [esi + 0x99], 0
je 0x47641e
cmp byte [esi + 0x123], 0
jne 0x47641e
push dword [0x62a4f4]
push dword [esi + 0x38]
call edi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x47641e
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x9c]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x40]
push 0
push eax
mov edx, dword [ecx]
push dword [esi + 0x38]
call dword [edx + 0x194]
lea ecx, [esi + 0x298]
xor edi, edi
call fcn.00481170
test eax, eax
jle 0x47640f
nop word [eax + eax]
push edi
lea ecx, [esi + 0x298]
call fcn.00480d60
mov ecx, dword [eax]
mov edx, dword [ecx + 0x1b8]
lea ecx, [ebp - 0x40]
push ecx
push dword [esi + 0x38]
mov ecx, eax
call edx
lea ecx, [esi + 0x298]
inc edi
call fcn.00481170
cmp edi, eax
jl 0x4763e0
push dword [ebp - 0x124]
push dword [esi + 0x38]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x100]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [esi + 0x11f], 0
mov byte [esi + 0x21a], 0
mov byte [esi + 0x134], 0
je 0x476478
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 0x34]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea ecx, [ebp - 0x20]
lea eax, [esi + 0x138]
push ecx
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
push 0
push 0
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_InvalidateRect]
cmp byte [ebp - 0x11d], 0
je 0x475297
mov ecx, dword [esi + 0x9c]
push 1
push 0
push 0
sub esp, 8
mov eax, esp
push ecx
mov ecx, esi
mov dword [eax], str.windowsize
mov dword [eax + 4], 0xa
call fcn.0047c9e0
mov al, 1
jmp 0x477acf
lea eax, [ebp - 0xa8]
xorps xmm0, xmm0
push eax
push 1
push dword [esi + 0x34]
movups xmmword [ebp - 0xa8], xmm0
mov dword [ebp - 0xa8], 0x28
movups xmmword [ebp - 0x98], xmm0
movq qword [ebp - 0x88], xmm0
call dword [sym.imp.USER32.dll_MonitorFromWindow]
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
cmp dword [ebp - 0x84], 1
movups xmm0, xmmword [ebp - 0x94]
movups xmmword [ebp - 0x20], xmm0
je 0x47651e
mov eax, dword [ebp - 0x90]
neg eax
push eax
mov eax, dword [ebp - 0x94]
neg eax
push eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov ecx, dword [esi + 0xc8]
mov eax, dword [ebp - 0x118]
test ecx, ecx
jle 0x476531
mov dword [eax + 0x18], ecx
mov ecx, dword [esi + 0xcc]
test ecx, ecx
jle 0x47653e
mov dword [eax + 0x1c], ecx
mov ecx, dword [esi + 0xd0]
test ecx, ecx
jle 0x47654b
mov dword [eax + 0x20], ecx
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jle 0x476558
mov dword [eax + 0x24], ecx
mov ecx, dword [esi + 0xd0]
test ecx, ecx
jle 0x476565
mov dword [eax + 8], ecx
mov ecx, dword [esi + 0xd4]
test ecx, ecx
jle case.0x476a0b.276
mov dword [eax + 0xc], ecx
jmp case.0x476a0b.276
mov eax, dword [esi + 0xa0]
test eax, eax
je 0x4765b6
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0x1d
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], eax
movq qword [ebp - 0x18], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov ecx, dword [esi + 0x9c]
test ecx, ecx
je 0x475297
call fcn.004843b0
mov al, 1
jmp 0x477acf
mov ecx, esi
call fcn.0047af20
jmp case.0x476a0b.276
cmp dword [esi + 0x9c], 0
je case.0x476a0b.276
mov ecx, dword [ebp - 0x118]
movsx eax, cx
mov dword [ebp - 0x128], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x128]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0xac], 0
mov eax, dword [ebp - 0x128]
mov dword [esi + 0xb8], eax
mov eax, dword [ebp - 0x124]
mov dword [esi + 0xbc], eax
je case.0x476a0b.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x128]
xorps xmm0, xmm0
mov ecx, dword [esi + 0xac]
mov edx, dword [ebp - 0x114]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x124]
movq qword [ebp - 0x18], xmm0
mov byte [esi + 0x219], 0
mov dword [ebp - 0x30], 0x14
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x20], eax
mov word [ebp - 0x1a], dx
mov dword [ebp - 0x14], ecx
jmp 0x4771bb
cmp dword [esi + 0x9c], 0
je case.0x476a0b.276
mov eax, dword [esi + 0xa0]
test eax, eax
je case.0x476a0b.276
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00475090
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x476a0b.276
cmp dword [esi + 0x9c], 0
je case.0x476a0b.276
mov eax, dword [esi + 0xa0]
test eax, eax
je case.0x476a0b.276
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00475090
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov eax, dword [esi + 0xa0]
mov dword [esi + 0xb0], eax
jmp case.0x476a0b.276
cmp dword [esi + 0x9c], 0
je case.0x476a0b.276
mov eax, dword [esi + 0xb0]
test eax, eax
je case.0x476a0b.276
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x28], xmm0
mov word [ebp - 0x1c], ax
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00475090
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xb0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov dword [esi + 0xb0], 0
jmp case.0x476a0b.276
cmp dword [esi + 0x9c], 0
je case.0x476a0b.276
cmp di, 1
jne case.0x476a0b.276
cmp byte [esi + 0x219], 0
jne 0x475297
lea eax, [ebp - 0x128]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x128], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x128]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x124]
mov ecx, esi
push dword [ebp - 0x128]
call fcn.00473870
mov esi, eax
test esi, esi
je case.0x476a0b.276
mov edx, dword [esi]
mov ecx, esi
mov edx, dword [edx + 0x14]
call edx
test al, 2
je case.0x476a0b.276
mov eax, dword [ebp - 0x114]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x128]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x30], 0x1e
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00475090
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x180]
mov al, 1
jmp 0x477acf
mov ecx, dword [esi + 0xa0]
test ecx, ecx
je case.0x476a0b.276
mov eax, dword [ebp - 0x114]
xorps xmm0, xmm0
movq qword [ebp - 0x18], xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x30], 0x1c
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xa0]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x476a0b.276
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x4769a0
cmp byte [esi + 0x220], 0
je 0x4769a0
mov eax, dword [ebp - 0x114]
xorps xmm0, xmm0
movq qword [ebp - 0x164], xmm0
movups xmmword [ebp - 0x174], xmm0
mov dword [ebp - 0x17c], 0xe
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x160], edi
mov dword [ebp - 0x178], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x17c]
mov dword [ebp - 0x174], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
push 0
mov ecx, esi
call fcn.0047d6e0
jmp case.0x476a0b.276
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je case.0x476a0b.276
push ecx
push dword [ebp - 0x114]
lea eax, [edx + 0x2000]
push eax
push dword [ecx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x130]
mov dword [ecx], eax
mov al, 1
jmp 0x477acf
cmp edx, 0x232
ja 0x477565
je 0x477550
lea eax, [edx - 0x113]
cmp eax, 0xf7
ja case.0x476a0b.276
movzx eax, byte [eax + 0x477c58]
jmp dword [eax*4 + 0x477c28]
mov eax, dword [0x624080]
cmp eax, 0xffffffff
je 0x476a2b
cmp dword [ebp - 0x114], eax
jne 0x476a2b
mov ecx, esi
call fcn.0047a5b0
lea ecx, [esi + 0x258]
mov dword [ebp - 0x12c], 0
call fcn.00481170
test eax, eax
jle case.0x476a0b.276
xor ecx, ecx
nop word [eax + eax]
push ecx
lea ecx, [esi + 0x258]
call fcn.00480d60
mov edx, eax
mov dword [ebp - 0x124], edx
mov ecx, dword [edx + 8]
cmp ecx, dword [esi + 0x34]
jne 0x476a80
mov eax, dword [ebp - 0x114]
movzx ecx, ax
cmp dword [edx + 0xc], ecx
jne 0x476a80
cmp byte [edx + 0x10], 0
je 0x476aa0
inc dword [ebp - 0x12c]
lea ecx, [esi + 0x258]
call fcn.00481170
mov ecx, dword [ebp - 0x12c]
cmp ecx, eax
jl 0x476a50
jmp case.0x476a0b.276
mov eax, dword [edx]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x30], 0x1f
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x20], eax
call fcn.00475090
mov ecx, dword [ebp - 0x124]
lea edx, [ebp - 0x30]
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x14], edi
push edx
mov eax, dword [ecx + 4]
mov ecx, dword [ecx]
mov dword [ebp - 0x18], eax
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x476a0b.276
mov ecx, esi
call fcn.0047af20
cmp byte [esi + 0x218], 0
jne 0x476b55
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x54]
mov dword [ebp - 0x50], 0x10
mov dword [ebp - 0x4c], 3
test eax, eax
jne 0x476b31
mov eax, dword [esi + 0x94]
jmp 0x476b41
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x44], eax
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0x218], 1
mov eax, dword [ebp - 0x118]
mov ecx, esi
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x134], edi
mov dword [ebp - 0x11c], eax
call fcn.00473870
mov dword [ebp - 0x12c], eax
xorps xmm0, xmm0
mov eax, dword [esi + 0xb8]
mov dword [ebp - 0x124], eax
mov eax, dword [esi + 0xbc]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x11c]
movups xmmword [ebp - 0x24], xmm0
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], eax
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x14], 0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
call fcn.00475090
cmp byte [esi + 0x219], 0
mov word [ebp - 0x1a], ax
jne 0x476d5f
push dword [ebp - 0x11c]
mov ecx, esi
push dword [ebp - 0x134]
call fcn.00473870
mov edi, eax
mov dword [ebp - 0x12c], edi
test edi, edi
je 0x476c21
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x1c]
call eax
cmp eax, esi
jne case.0x476a0b.276
mov eax, dword [esi + 0xa4]
cmp edi, eax
je 0x476d2a
test eax, eax
je 0x476d2a
lea ecx, [esi + 0x308]
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], eax
call fcn.00481170
push eax
lea ecx, [ebp - 0x50]
call fcn.00480c00
lea ecx, [esi + 0x308]
mov dword [ebp - 4], 4
call fcn.00481170
push eax
lea ecx, [ebp - 0x50]
call fcn.00481660
lea ecx, [esi + 0x308]
call fcn.00481170
shl eax, 2
lea ecx, [esi + 0x308]
push eax
call fcn.00481150
push eax
lea ecx, [ebp - 0x50]
call fcn.00481150
push eax
call fcn.0058cfa0
add esp, 0xc
lea ecx, [ebp - 0x50]
xor edi, edi
call fcn.00481170
test eax, eax
jle 0x476cd6
nop word [eax + eax]
push edi
lea ecx, [ebp - 0x50]
call fcn.00480d60
mov ecx, dword [eax]
mov edx, dword [ecx + 0x180]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, eax
call edx
lea ecx, [ebp - 0x50]
inc edi
call fcn.00481170
cmp edi, eax
jl 0x476cb0
mov ecx, dword [esi + 0xa4]
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov ecx, dword [esi + 0x54]
mov dword [esi + 0xa4], 0
test ecx, ecx
je 0x476d15
lea eax, [esi + 0x58]
mov dword [esi + 0xa8], 0
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x50]
mov dword [ebp - 4], 0xffffffff
call fcn.00480ca0
mov edi, dword [ebp - 0x12c]
cmp edi, dword [esi + 0xa4]
je 0x476d65
test edi, edi
je 0x476d65
cmp byte [esi + 0x49a], 0
jne 0x476d65
mov dword [ebp - 0x30], 0xb
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x180]
mov dword [esi + 0xa4], edi
jmp 0x476d65
mov edi, dword [ebp - 0x12c]
mov eax, dword [esi + 0xac]
test eax, eax
je 0x476e71
push eax
mov ecx, esi
call fcn.004738b0
mov ecx, eax
test ecx, ecx
je 0x476dd1
mov eax, dword [esi + 0xc0]
sub eax, dword [ebp - 0x134]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jg 0x476dad
mov eax, dword [esi + 0xc4]
sub eax, dword [ebp - 0x11c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jle 0x476dd1
test byte [ebp - 0x114], 1
je 0x476dd1
mov dword [ebp - 0x30], 0x16
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x180]
jmp case.0x476a0b.276
mov ecx, dword [esi + 0xac]
test ecx, ecx
je 0x476e50
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test al, al
je 0x476e50
test byte [ebp - 0x114], 1
je 0x476e50
mov eax, dword [ebp - 0x124]
cmp dword [esi + 0xb8], eax
jne 0x476e12
mov eax, dword [ebp - 0x140]
cmp dword [esi + 0xbc], eax
je case.0x476a0b.276
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x30]
push edx
cmp byte [ecx + 0x132], 0
mov dword [ebp - 0x2c], ecx
jne 0x476e3c
mov dword [ebp - 0x30], 0x17
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x476a0b.276
mov dword [ebp - 0x30], 0x18
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x476a0b.276
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], ecx
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x476a0b.276
test edi, edi
je case.0x476a0b.276
mov dword [ebp - 0x30], 9
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], edi
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x180]
jmp case.0x476a0b.276
cmp byte [esi + 0x98], 0
jne 0x476ea8
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [esi + 0x9c], 0
je case.0x476a0b.276
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x124], ecx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xc0], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x140], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc4], eax
call fcn.00473870
mov edi, eax
mov dword [ebp - 0x13c], edi
test edi, edi
je case.0x476a0b.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x476a0b.276
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetCapture]
mov byte [esi + 0x219], 1
mov ecx, edi
mov dword [esi + 0xac], edi
mov eax, dword [edi]
call dword [eax + 0x15c]
mov ecx, dword [ebp - 0x124]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x118]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x30], 0xd
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x13c]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x476a0b.276
cmp byte [esi + 0x98], 0
jne 0x476fa0
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x124], ecx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xc0], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x140], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc4], eax
call fcn.00473870
mov edi, eax
mov dword [ebp - 0x13c], edi
test edi, edi
je case.0x476a0b.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x476a0b.276
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebp - 0x124]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x30], 0x13
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x114]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x118]
mov byte [esi + 0x219], 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, dword [ebp - 0x13c]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x180]
mov dword [esi + 0xac], edi
jmp case.0x476a0b.276
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cmp dword [esi + 0xac], 0
cwde
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x140], eax
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], eax
je case.0x476a0b.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov ecx, dword [esi + 0xac]
mov byte [esi + 0x219], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0xf8]
call eax
test al, al
je 0x477177
mov ecx, dword [esi + 0xac]
cmp byte [ecx + 0x132], 0
je 0x477177
mov eax, dword [ecx]
mov eax, dword [eax + 0x68]
call eax
push eax
lea ecx, [ebp - 0x20]
call fcn.00480ae0
mov eax, dword [esi + 0xac]
xorps xmm0, xmm0
mov edi, dword [ebp - 0x118]
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x60], 0xe
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edi
mov word [ebp - 0x4a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x58], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x60]
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
movq qword [ebp - 0x80], xmm0
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0x64], 0
movups xmm0, xmmword [ebp - 0x80]
movups xmmword [ebp - 0x60], xmm0
mov dword [ebp - 0x60], 0x19
movups xmm0, xmmword [ebp - 0x70]
mov dword [ebp - 0x5c], ecx
movups xmmword [ebp - 0x50], xmm0
jmp 0x4771cd
mov dword [ebp - 0x30], 0xe
mov eax, dword [esi + 0xac]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x124]
mov edi, dword [ebp - 0x118]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x140]
movq qword [ebp - 0x18], xmm0
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x180]
mov dword [esi + 0xac], 0
jmp case.0x476a0b.276
cmp byte [esi + 0x98], 0
jne 0x4771f7
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x124], ecx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xc0], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x140], eax
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc4], eax
call fcn.00473870
mov edi, eax
mov dword [ebp - 0x13c], edi
test edi, edi
je case.0x476a0b.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x476a0b.276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x15c]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x30], 0xf
mov ecx, dword [ebp - 0x124]
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x140]
mov dword [ebp - 0x20], ecx
jmp 0x477024
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x140], edx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], edx
test eax, eax
jne 0x4772d2
push edx
push ecx
mov ecx, esi
call fcn.00473870
mov dword [esi + 0xac], eax
test eax, eax
je case.0x476a0b.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0xac]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x124]
mov edi, dword [ebp - 0x118]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x114]
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x140]
mov byte [esi + 0x219], 0
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xac]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
jmp case.0x476a0b.276
cmp byte [esi + 0x98], 0
jne 0x477355
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x124], ecx
mov dword [esi + 0xb8], ecx
push ecx
mov ecx, esi
mov dword [ebp - 0x140], eax
mov dword [esi + 0xbc], eax
call fcn.00473870
mov edi, eax
mov dword [ebp - 0x13c], edi
test edi, edi
je case.0x476a0b.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x476a0b.276
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x15c]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SetCapture]
mov dword [ebp - 0x30], 0x11
jmp 0x47726c
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov eax, dword [esi + 0xac]
mov dword [ebp - 0x124], ecx
mov dword [ebp - 0x140], edx
mov dword [esi + 0xb8], ecx
mov dword [esi + 0xbc], edx
test eax, eax
jne 0x47740b
push edx
push ecx
mov ecx, esi
call fcn.00473870
mov dword [esi + 0xac], eax
test eax, eax
je case.0x476a0b.276
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov byte [esi + 0x219], 0
mov dword [ebp - 0x30], 0x12
jmp 0x47717e
cmp dword [esi + 0x9c], 0
je case.0x476a0b.276
mov ecx, dword [ebp - 0x118]
movsx eax, cx
mov dword [ebp - 0x144], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x140], eax
lea eax, [ebp - 0x144]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp - 0x144]
push eax
mov dword [esi + 0xb8], ecx
push ecx
mov ecx, esi
mov dword [esi + 0xbc], eax
call fcn.00473870
mov edi, eax
mov dword [ebp - 0x124], edi
test edi, edi
je case.0x476a0b.276
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.0x476a0b.276
mov eax, dword [ebp - 0x114]
xorps xmm0, xmm0
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
movq qword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x144]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x30], 0x15
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.00475090
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x124]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x180]
movzx ecx, word [esi + 0xbc]
movzx eax, word [esi + 0xb8]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x476a0b.276
mov ecx, dword [ebp - 0x118]
test ecx, ecx
je case.0x476a0b.276
push ecx
push dword [ebp - 0x114]
lea eax, [edx + 0x2000]
push eax
push ecx
jmp 0x4752da
push 0
mov ecx, esi
call fcn.0047a790
mov ecx, esi
call fcn.0047a350
jmp case.0x476a0b.276
cmp edx, 0x2a3
ja 0x4778b2
je 0x4777b7
sub edx, 0x2a1
je 0x477595
sub edx, 1
jne case.0x476a0b.276
push edx
mov ecx, esi
call fcn.0047a790
jmp case.0x476a0b.276
mov eax, dword [ebp - 0x118]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x124], ecx
push ecx
mov ecx, esi
mov byte [esi + 0x218], 0
mov dword [ebp - 0x140], eax
call fcn.00473870
mov dword [ebp - 0x13c], eax
test eax, eax
je case.0x476a0b.276
mov edi, dword [ebp - 0x118]
xorps xmm0, xmm0
movq qword [ebp - 0x48], xmm0
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x114]
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x60], 0xc
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x50], eax
call fcn.00475090
mov edi, dword [ebp - 0x13c]
lea ecx, [ebp - 0x60]
mov word [ebp - 0x4a], ax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x180]
cmp dword [esi + 0xa8], edi
je case.0x476a0b.276
mov dword [esi + 0xa8], edi
lea ecx, [ebp - 0x2c]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0xfc]
cmp dword [ebp - 0x1c], 0
mov dword [ebp - 4], 3
je 0x4777a8
push 0x30
lea eax, [esi + 0x58]
push 0
push eax
call fcn.0058dad0
add esp, 0xc
call fcn.00474e90
neg eax
mov dword [esi + 0x5c], 1
mov ecx, edi
sbb eax, eax
and eax, 0xfffffffc
add eax, 0x30
cmp dword [ebp - 0x18], 8
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], eax
mov eax, dword [0x62a4d8]
mov dword [esi + 0x78], eax
lea eax, [ebp - 0x2c]
cmovae eax, dword [ebp - 0x2c]
mov dword [esi + 0x7c], eax
mov eax, dword [edi]
mov eax, dword [eax + 0x68]
call eax
mov ecx, dword [esi + 0x54]
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x68], xmm0
test ecx, ecx
jne 0x477784
push ecx
push dword [0x62a4d8]
push ecx
push dword [esi + 0x34]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push reloc.WS2_32.dll_closesocket
push ecx
push str.tooltips_class32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esi + 0x58]
mov dword [esi + 0x54], eax
push ecx
push 0
push 0x432
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x108]
call eax
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push eax
push 0
push 0x418
push dword [esi + 0x54]
call edi
movzx ecx, word [esi + 0x8c]
movzx edx, byte [esi + 0x8e]
mov eax, ecx
shl edx, 8
shr eax, 8
or edx, eax
movzx eax, cl
push 0
shl edx, 8
or edx, eax
push edx
push 0x413
push dword [esi + 0x54]
call edi
movzx ecx, word [esi + 0x90]
movzx edx, byte [esi + 0x92]
mov eax, ecx
shl edx, 8
shr eax, 8
or edx, eax
movzx eax, cl
push 0
shl edx, 8
or edx, eax
push edx
push 0x414
push dword [esi + 0x54]
call edi
mov ecx, dword [esi + 0x54]
jmp 0x47778a
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [esi + 0x58]
push eax
push 0
push 0x436
push ecx
call edi
lea eax, [esi + 0x58]
push eax
push 1
push 0x411
push dword [esi + 0x54]
call edi
lea ecx, [ebp - 0x2c]
call fcn.00405f7b
mov al, 1
jmp 0x477acf
mov ecx, dword [esi + 0x54]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x4777d2
lea eax, [esi + 0x58]
push eax
push 0
push 0x411
push ecx
call edi
cmp byte [esi + 0x218], 0
je 0x477893
xorps xmm0, xmm0
lea eax, [ebp - 0x128]
push eax
movlpd qword [ebp - 0x128], xmm0
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x477885
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 0x34]
jne 0x477885
push dword [ebp - 0x124]
lea eax, [ebp - 0x20]
push dword [ebp - 0x128]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x477885
movzx ecx, word [ebp - 0x124]
movzx eax, word [ebp - 0x128]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [esi + 0x34]
call edi
cmp eax, 1
jne 0x477885
lea eax, [ebp - 0x128]
push eax
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x124]
movzx eax, word [ebp - 0x128]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x477887
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi + 0x34]
call edi
push 0
mov ecx, esi
mov byte [esi + 0x218], 0
mov dword [esi + 0xa8], 0
call fcn.0047a790
jmp case.0x476a0b.276
cmp edx, 0x318
je 0x4779e9
cmp edx, 0x8001
jne case.0x476a0b.276
lea eax, [esi + 0x2c8]
xor edi, edi
mov ecx, eax
mov dword [ebp - 0x124], eax
call fcn.00481170
test eax, eax
jle 0x477916
mov esi, dword [ebp - 0x124]
nop dword [eax]
push edi
mov ecx, esi
call fcn.00480d60
test eax, eax
je 0x477904
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, esi
inc edi
call fcn.00481170
cmp edi, eax
jl 0x4778f0
mov esi, dword [ebp - 0x148]
lea ecx, [esi + 0x2c8]
call fcn.00480f00
lea eax, [esi + 0x2d8]
mov byte [esi + 0x21c], 0
push 0
mov ecx, eax
mov dword [ebp - 0x134], eax
call fcn.004810e0
mov edi, eax
test edi, edi
je case.0x476a0b.276
lea eax, [esi + 0x248]
mov dword [ebp - 0x148], eax
mov ecx, dword [ebp - 0x134]
push 0
call fcn.004813e0
mov ecx, dword [edi + 0x38]
test ecx, ecx
je 0x47797f
add ecx, 0x48
call fcn.0049ea70
test al, al
je 0x47797f
mov ecx, dword [edi + 0x38]
push edi
add ecx, 0x48
call fcn.0049ea80
mov ecx, dword [ebp - 0x148]
xor esi, esi
call fcn.00481170
test eax, eax
jle 0x4779b3
mov ecx, dword [ebp - 0x148]
push esi
call fcn.00480d60
push edi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x148]
inc esi
call fcn.00481170
cmp esi, eax
jl 0x477990
lea ecx, [edi + 0x1c]
call fcn.00405f7b
mov ecx, edi
call fcn.00405f7b
push 0x50
push edi
call fcn.0053a186
mov ecx, dword [ebp - 0x134]
add esp, 8
push 0
call fcn.004810e0
mov edi, eax
test edi, edi
jne 0x477953
jmp case.0x476a0b.276
cmp dword [esi + 0x9c], 0
je case.0x476a0b.276
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi + 0x34]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x9c]
mov dword [ebp - 0x124], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov edx, dword [ecx]
push dword [ebp - 0x114]
call dword [edx + 0x194]
test byte [ebp - 0x118], 0x10
je 0x477abb
push 5
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
je 0x477abb
or dword [ebp - 0x118], 2
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
push eax
push edi
movups xmmword [ebp - 0x50], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x50]
push eax
push dword [esi + 0x34]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x4c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x50]
neg eax
push eax
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x118]
push dword [ebp - 0x114]
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov edi, eax
test edi, edi
jne 0x477a57
push dword [ebp - 0x124]
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_RestoreDC]
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.0053a175
mov esp, ebp
pop ebp
ret 0x10