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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b2ed4
mov eax, dword fs:[0]
push eax
sub esp, 0x1b0
mov eax, dword [0x100e3f88]
xor eax, esp
mov dword [esp + 0x1a8], eax
push ebx
push esi
push edi
mov eax, dword [0x100e3f88]
xor eax, esp
push eax
lea eax, [esp + 0x1c0]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
cmp dword [ebx + 0xb4], 0
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], edx
je case.0x10028b02.276
mov edx, dword [ebx + 0x2b4]
xor esi, esi
test edx, edx
jle 0x100279ae
lea ecx, [ecx]
mov eax, dword [ebx + 0x2b0]
mov byte [esp + 0x1b], 0
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx]
lea eax, [esp + 0x1b]
push eax
mov eax, dword [esp + 0x18]
push eax
mov eax, dword [ebp + 0xc]
push edi
push eax
call edx
cmp byte [esp + 0x1b], 0
jne 0x10028a9b
inc esi
cmp esi, dword [ebx + 0x2b4]
jl 0x10027970
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
cmp ecx, 0x111
ja 0x10028ad7
je 0x10028aa8
add ecx, 0xfffffffb
cmp ecx, 0xfd
ja case.0x10028b02.276
movzx edx, byte [ecx + 0x10029e88]
jmp dword [edx*4 + 0x10029e54]
mov ecx, dword [ebx + 0x208]
xor eax, eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov eax, dword [ebx + 0x204]
mov dword [esp + 0xac], 0
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
call fcn.10025bf0
mov word [esp + 0xc2], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f8]
mov dword [esp + 0xb4], eax
test ecx, ecx
je 0x10027a7d
mov dword [esp + 0xac], 0xa
mov dword [esp + 0xb0], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
call edx
mov ecx, dword [ebx + 0x1fc]
test ecx, ecx
je 0x10027aab
mov dword [esp + 0xac], 0xe
mov dword [esp + 0xb0], ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x12c]
lea edx, [esp + 0xac]
push edx
call eax
xor esi, esi
mov eax, ebx
call fcn.1002a610
mov esi, dword [ebx + 0xb4]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x10027ad8
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x10027ad8
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebx + 0xe8]
test eax, eax
je case.0x10028b02.276
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
mov dword [ebx + 0xe8], 0
jmp case.0x10028b02.276
mov ecx, dword [esp + 0x1c]
mov dword [ecx], 1
mov al, 1
jmp 0x10029e2b
xor eax, eax
xor esi, esi
push esi
lea edx, [esp + 0x64]
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0xb4]
push edx
push eax
mov dword [esp + 0x6c], esi
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x1002999a
cmp dword [ebx + 0x1f0], esi
jne 0x10027b8f
push 0x3c
lea ecx, [esp + 0xf4]
push esi
push ecx
mov dword [esp + 0xf8], esi
call fcn.10091ac0
mov eax, dword [ebx + 0xb4]
add esp, 0xc
lea edx, [esp + 0xec]
push edx
push eax
call dword [sym.imp.USER32.dll_BeginPaint]
mov edx, dword [ebx + 0xb4]
lea ecx, [esp + 0xec]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x10029e2b
mov ecx, dword [ebx + 0xb4]
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x2c]
push eax
push ecx
mov byte [esp + 0x23], 0
mov dword [esp + 0x34], esi
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x38]
sub edi, dword [esp + 0x2c]
sub eax, dword [esp + 0x30]
cmp byte [ebx + 0x251], 0
mov dword [esp + 0x14], edi
mov dword [esp + 0x3c], eax
mov byte [ebx + 0x27e], 1
je 0x10027d69
lea edx, [esp + 0x2c]
push edx
mov byte [ebx + 0x251], 0
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x10027d69
mov eax, dword [ebx + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x10027d69
mov ecx, dword [ebx + 0x1f0]
cmp byte [ecx + 0x154], al
je 0x10027c8a
mov eax, dword [ebx + 0xbc]
xor esi, esi
cmp eax, esi
je 0x10027c34
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0xc4]
cmp eax, esi
je 0x10027c45
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [ebx + 0x1f0]
mov dword [ebx + 0xbc], esi
mov dword [ebx + 0xc4], esi
mov esi, dword [esp + 0x2c]
mov edx, dword [ecx]
push 1
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov esi, dword [esp + 0x44]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x48]
mov dword [eax + 8], esi
mov esi, dword [esp + 0x4c]
mov dword [eax + 0xc], esi
mov eax, dword [edx + 0x54]
call eax
mov byte [esp + 0x1b], 1
jmp 0x10027d2a
lea esi, [ebx + 0x2ec]
call fcn.1002d690
mov ecx, dword [ebx + 0x1f0]
mov edx, dword [ecx]
mov eax, dword [edx + 0x120]
push reloc.OLEAUT32.dll_VariantCopy
push 0
push 0x1002c650
call eax
xor eax, eax
cmp dword [ebx + 0x2f0], eax
mov dword [esp + 0x40], eax
jle 0x10027d2a
nop
mov ecx, dword [ebx + 0x2ec]
mov esi, dword [ecx + eax*4]
mov edx, dword [esi]
mov eax, dword [edx + 0x118]
mov ecx, esi
call eax
mov edi, dword [esi]
mov ecx, esi
test al, al
jne 0x10027ce4
mov edx, dword [edi + 0x50]
call edx
jmp 0x10027cf1
mov edx, dword [edi + 0x48]
lea eax, [esp + 0x9c]
push eax
call edx
mov edx, dword [eax]
push 1
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ecx + 8], edx
mov edx, dword [edi + 0x54]
mov dword [ecx + 0xc], eax
mov ecx, esi
call edx
mov eax, dword [esp + 0x40]
inc eax
cmp eax, dword [ebx + 0x2f0]
mov dword [esp + 0x40], eax
jl 0x10027cc0
mov edi, dword [esp + 0x14]
cmp byte [ebx + 0x250], 0
je 0x10027d69
mov ecx, dword [ebx + 0x1f0]
push 0
push 0
push 0
push str.windowinit
mov edi, ebx
mov byte [ebx + 0x250], 0
call fcn.1002ae50
mov eax, dword [ebx + 0xb4]
push eax
lea ecx, [ebx + 0x134]
push ecx
call 0x1003d660
mov edi, dword [esp + 0x14]
cmp byte [ebx + 0x252], 0
je 0x10027e1c
cmp byte [ebx + 0x251], 0
je 0x10027d9c
mov edx, dword [ebx + 0xb4]
push 0
push 0
push edx
mov byte [ebx + 0x252], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x10027e1c
mov ecx, dword [ebx + 0x1f0]
xor eax, eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x1f4]
mov dword [esp + 0x44], eax
push SysReAllocStringLen
lea eax, [esp + 0x48]
mov byte [esp + 0x50], 1
mov edx, dword [ecx]
mov edx, dword [edx + 0x120]
push eax
push 0x1002c4d0
call edx
test eax, eax
jne 0x10027e0c
mov ecx, dword [ebx + 0x1f0]
mov dword [esp + 0x28], eax
push SysReAllocStringLen
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], eax
lea edx, [esp + 0x24]
mov byte [esp + 0x2c], 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
push edx
push 0x1002c4d0
call eax
test eax, eax
je 0x10027e15
mov esi, eax
mov eax, ebx
call fcn.1002a610
mov byte [ebx + 0x252], 0
cmp byte [ebx + 0x255], 0
je 0x10027e95
mov ecx, dword [ebx + 0xb4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, eax
or ecx, 0x80000
cmp eax, ecx
je 0x10027e50
mov edx, dword [ebx + 0xb4]
push ecx
push 0xffffffffffffffec
push edx
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea esi, [ebx + 0x26c]
push esi
lea eax, [esp + 0x64]
push eax
mov ecx, eax
push ecx
mov byte [ebx + 0x253], 1
call dword [sym.imp.USER32.dll_UnionRect]
mov eax, dword [esp + 0x34]
cmp dword [esp + 0x68], eax
jle 0x10027e7a
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x38]
cmp dword [esp + 0x6c], eax
jle 0x10027e88
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
cmp byte [ebx + 0x253], 0
je 0x10027edd
cmp dword [ebx + 0xc4], 0
jne 0x10027edd
mov edx, dword [ebx + 0xb8]
push edx
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x3c]
mov edx, dword [ebx + 0xb8]
mov dword [ebx + 0xbc], eax
lea eax, [ebx + 0xc8]
push eax
push ecx
push edx
mov eax, edi
call fcn.10057950
add esp, 0xc
mov dword [ebx + 0xc4], eax
push 0x3c
lea eax, [esp + 0xb4]
push 0
push eax
mov dword [esp + 0xb8], 0
call fcn.10091ac0
mov edx, dword [ebx + 0xb4]
add esp, 0xc
lea ecx, [esp + 0xac]
push ecx
push edx
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x253], 0
je 0x1002840c
mov eax, dword [ebx + 0xc4]
mov ecx, dword [ebx + 0xbc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebx + 0xbc]
push edx
mov dword [esp + 0x24], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x255], 0
mov dword [esp + 0x54], eax
je 0x10027fc0
mov eax, dword [esp + 0x38]
mov esi, eax
sub esi, dword [esp + 0x6c]
mov ecx, eax
sub ecx, dword [esp + 0x64]
cmp esi, ecx
jge 0x10027fc0
mov edx, dword [esp + 0x68]
mov ecx, esi
imul ecx, edi
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x60]
cmp ecx, edx
jge 0x10027fad
mov edx, dword [esp + 0x1c]
lea eax, [edx + ecx]
add eax, eax
add eax, eax
jmp 0x10027f90
mov edx, dword [ebx + 0xc8]
mov dword [eax + edx], 0
mov edx, dword [esp + 0x68]
inc ecx
add eax, 4
cmp ecx, edx
jl 0x10027f90
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x1c], ecx
mov ecx, eax
sub ecx, dword [esp + 0x64]
inc esi
cmp esi, ecx
jl 0x10027f71
mov ecx, dword [ebx + 0x1f0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
lea eax, [esp + 0x60]
push eax
mov eax, dword [ebx + 0xbc]
push eax
call edx
mov ecx, dword [ebx + 0xbc]
lea eax, [esp + 0x60]
push eax
push ecx
mov eax, ebx
call fcn.10027640
xor esi, esi
cmp dword [ebx + 0x2c0], esi
jle 0x10028028
lea esp, [esp]
mov edx, dword [ebx + 0x2bc]
mov ecx, dword [edx + esi*4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x15c]
lea edx, [esp + 0x60]
push edx
mov edx, dword [ebx + 0xbc]
push edx
call eax
inc esi
cmp esi, dword [ebx + 0x2c0]
jl 0x10028000
cmp byte [ebx + 0x255], 0
je 0x100282d6
mov eax, dword [esp + 0x38]
mov edx, eax
sub edx, dword [esp + 0x6c]
mov ecx, eax
sub ecx, dword [esp + 0x64]
cmp edx, ecx
jge 0x100280be
mov edi, dword [esp + 0x68]
mov esi, dword [esp + 0x60]
mov ecx, edx
imul ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
cmp esi, edi
jge 0x100280a7
mov eax, dword [esp + 0x1c]
lea ecx, [eax + esi]
add ecx, ecx
add ecx, ecx
jmp 0x10028070
mov eax, dword [ebx + 0xc8]
add eax, ecx
cmp byte [eax + 3], 0
jne 0x10028097
cmp byte [eax], 0
jne 0x1002808f
cmp byte [eax + 1], 0
jne 0x1002808f
cmp byte [eax + 2], 0
je 0x10028097
mov byte [eax + 3], 0xff
mov edi, dword [esp + 0x68]
inc esi
add ecx, 4
cmp esi, edi
jl 0x10028070
mov esi, dword [esp + 0x60]
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x14]
add dword [esp + 0x1c], ecx
mov ecx, eax
sub ecx, dword [esp + 0x64]
inc edx
cmp edx, ecx
mov dword [esp + 0x5c], edx
jl 0x1002805c
xor esi, esi
cmp dword [ebx + 0x2cc], esi
jle 0x100282d6
lea esp, [esp]
mov edx, dword [ebx + 0x2c8]
mov edi, dword [edx + esi*4]
push edi
mov dword [esp + 0x20], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x1002812f
test esi, esi
jl 0x100282ca
mov eax, dword [ebx + 0x2cc]
cmp esi, eax
jge 0x100282ca
dec eax
cmp esi, eax
mov dword [ebx + 0x2cc], eax
jge 0x100282ca
mov ecx, dword [ebx + 0x2c8]
sub eax, esi
add eax, eax
lea ecx, [ecx + esi*4]
add eax, eax
push eax
lea edx, [ecx + 4]
push edx
push ecx
call fcn.10094cc0
add esp, 0xc
jmp 0x100282ca
inc esi
push edi
mov dword [esp + 0x60], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x100282ca
mov eax, dword [esp + 0x1c]
mov edi, dword [ebx + 0xb4]
lea esi, [esp + 0x44]
call fcn.10025b90
xor eax, eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov eax, esi
push eax
lea ecx, [esp + 0x64]
push ecx
lea edx, [esp + 0x88]
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x100282c6
mov eax, dword [ebx + 0xbc]
push eax
mov dword [esp + 0x44], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edx, dword [esp + 0x50]
sub edx, dword [esp + 0x48]
mov edi, eax
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
lea ecx, [esp + 0x40]
push ecx
push edx
push edi
call fcn.10057950
mov ecx, dword [esp + 0x5c]
sub ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x4c]
mov esi, eax
mov eax, dword [esp + 0x58]
sub eax, dword [esp + 0x50]
add esp, 0xc
imul eax, ecx
add eax, eax
add eax, eax
push eax
push 0
push edx
mov dword [esp + 0xa0], esi
call fcn.10091ac0
add esp, 0xc
push esi
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x24]
push 0x317
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x50]
mov esi, dword [esp + 0x4c]
mov edx, ecx
sub edx, dword [esp + 0x48]
mov dword [esp + 0x1c], 0
test edx, edx
jle 0x1002827e
mov eax, esi
sub eax, dword [esp + 0x44]
xor edx, edx
test eax, eax
jle 0x1002826e
imul eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
add eax, edx
lea ecx, [ecx + eax*4]
mov eax, dword [ecx]
test eax, eax
je 0x1002825f
or eax, 0xff000000
mov dword [ecx], eax
mov esi, dword [esp + 0x4c]
mov eax, esi
sub eax, dword [esp + 0x44]
inc edx
cmp edx, eax
jl 0x10028240
mov ecx, dword [esp + 0x50]
inc dword [esp + 0x1c]
mov edx, ecx
sub edx, dword [esp + 0x48]
cmp dword [esp + 0x1c], edx
jl 0x10028234
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x44]
push 0xcc0020
push 0
push 0
push edi
sub ecx, edx
push ecx
sub esi, eax
push esi
push edx
push eax
mov eax, dword [ebx + 0xbc]
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x78]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x94]
push edx
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
mov esi, dword [esp + 0x5c]
cmp esi, dword [ebx + 0x2cc]
jl 0x100280d0
mov eax, dword [esp + 0x54]
mov ecx, dword [ebx + 0xbc]
push eax
push ecx
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x255], 0
je 0x1002839f
xor eax, eax
lea edx, [esp + 0x44]
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov eax, dword [ebx + 0xb4]
push edx
xor esi, esi
push eax
mov dword [esp + 0x4c], esi
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x48]
mov cl, byte [ebx + 0x254]
mov edx, dword [esp + 0x44]
push 2
mov dword [esp + 0x80], eax
mov byte [esp + 0x22], cl
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x7c], edx
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x20]
push eax
push esi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov edx, dword [ebx + 0xbc]
lea ecx, [esp + 0x60]
push ecx
push edx
mov edx, dword [ebx + 0xb8]
lea eax, [esp + 0xa8]
push eax
mov eax, dword [ebx + 0xb4]
lea ecx, [esp + 0x90]
push ecx
push edx
push eax
mov byte [esp + 0x40], 0
mov byte [esp + 0x41], 0
mov byte [esp + 0x43], 1
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], esi
call dword [0x100ed3ac]
jmp 0x100283d2
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov edx, dword [ebx + 0xbc]
push 0xcc0020
push eax
push ecx
push edx
mov edx, dword [esp + 0x7c]
sub edx, eax
push edx
mov edx, dword [esp + 0x7c]
sub edx, ecx
push edx
push eax
mov eax, dword [ebx + 0xb8]
push ecx
push eax
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [esp + 0x20]
mov edx, dword [ebx + 0xbc]
push ecx
push edx
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [ebx + 0xd8], 0
je 0x10028477
mov ecx, dword [ebx + 0xb8]
push 0xffff0000
push 1
lea esi, [esp + 0x68]
call fcn.10054eb0
add esp, 8
jmp 0x10028477
mov eax, dword [ebx + 0xb8]
push eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x1f0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
mov edi, eax
lea eax, [esp + 0x60]
push eax
mov eax, dword [ebx + 0xb8]
push eax
call edx
xor esi, esi
cmp dword [ebx + 0x2c0], esi
jle 0x10028469
mov eax, dword [ebx + 0x2bc]
mov ecx, dword [eax + esi*4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x15c]
lea eax, [esp + 0x60]
push eax
mov eax, dword [ebx + 0xb8]
push eax
call edx
inc esi
cmp esi, dword [ebx + 0x2c0]
jl 0x10028441
mov eax, dword [ebx + 0xb8]
push edi
push eax
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebx + 0xb4]
lea ecx, [esp + 0xac]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0x251], 0
je 0x1002849c
mov esi, ebx
call fcn.1002a0b0
cmp byte [esp + 0x1b], 0
mov byte [ebx + 0x27e], 0
je 0x100284c2
mov ecx, dword [ebx + 0x1f0]
push 1
push 0
push 0
push str.windowsize
mov edi, ebx
call fcn.1002ae50
mov al, 1
jmp 0x10029e2b
mov ecx, dword [ebx + 0x20c]
test ecx, ecx
jle 0x100284d6
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x210]
test ecx, ecx
jle 0x100284e3
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x214]
test ecx, ecx
jle 0x100284f0
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x218]
test ecx, ecx
jle 0x100284fd
mov dword [eax + 0x24], ecx
mov ecx, dword [ebx + 0x214]
test ecx, ecx
jle 0x1002850a
mov dword [eax + 8], ecx
mov ebx, dword [ebx + 0x218]
test ebx, ebx
jle case.0x10028b02.276
mov dword [eax + 0xc], ebx
jmp case.0x10028b02.276
mov ecx, dword [ebx + 0x1f4]
test ecx, ecx
je 0x10028594
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xac], 0x19
mov dword [esp + 0xb0], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f4]
mov dword [esp + 0xb4], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x12c]
lea edx, [esp + 0xac]
push edx
call eax
mov ebx, dword [ebx + 0x1f0]
test ebx, ebx
je 0x100285a5
mov eax, ebx
call fcn.100352f0
mov al, 1
jmp 0x10029e2b
mov eax, dword [esp + 0x14]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0xb4]
push eax
push ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x1fc], 0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x204], edx
mov dword [ebx + 0x208], eax
je case.0x10028b02.276
mov esi, ebx
call fcn.1002ab40
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov eax, dword [ebx + 0x1fc]
mov dword [esp + 0xac], 0x14
mov dword [esp + 0xb0], eax
mov dword [esp + 0xc4], edi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov word [esp + 0xc2], di
mov dword [esp + 0xc8], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1fc]
mov dword [esp + 0xb4], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x12c]
lea edx, [esp + 0xac]
push edx
call eax
mov dword [ebx + 0x1fc], 0
jmp case.0x10028b02.276
mov ecx, dword [ebx + 0x1f4]
test ecx, ecx
je case.0x10028b02.276
mov edx, dword [ebx + 0x204]
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov eax, dword [ebx + 0x208]
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xac], 5
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], ecx
mov word [esp + 0xc0], di
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
call fcn.10025bf0
mov word [esp + 0xc2], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebx + 0x1f4]
jmp 0x10029625
mov ecx, dword [ebx + 0x1f4]
test ecx, ecx
je case.0x10028b02.276
mov edx, dword [ebx + 0x208]
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xb0], ecx
mov ecx, dword [ebx + 0x204]
mov dword [esp + 0xac], 3
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], eax
mov word [esp + 0xc0], di
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
call fcn.10025bf0
mov word [esp + 0xc2], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f4]
mov dword [esp + 0xb4], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x12c]
lea edx, [esp + 0xac]
push edx
call eax
mov ecx, dword [ebx + 0x1f4]
mov dword [ebx + 0x200], ecx
jmp case.0x10028b02.276
mov ecx, dword [ebx + 0x200]
test ecx, ecx
je case.0x10028b02.276
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov eax, dword [ebx + 0x204]
mov dword [esp + 0xb0], ecx
mov ecx, dword [ebx + 0x208]
mov dword [esp + 0xac], 4
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], edx
mov word [esp + 0xc0], di
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
call fcn.10025bf0
mov word [esp + 0xc2], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x200]
mov dword [esp + 0xb4], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
call edx
mov dword [ebx + 0x200], 0
jmp case.0x10028b02.276
cmp ax, 1
jne case.0x10028b02.276
cmp byte [ebx + 0x27d], 0
jne 0x1002999a
lea eax, [esp + 0x20]
xor esi, esi
push eax
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx + 0xb4]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
push ecx
mov eax, ebx
call fcn.1002c3c0
mov ebx, eax
cmp ebx, esi
je case.0x10028b02.276
mov edx, dword [ebx]
mov eax, dword [edx + 0x14]
mov ecx, ebx
call eax
test al, 2
je case.0x10028b02.276
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xac], 0x1a
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
call fcn.10025bf0
mov word [esp + 0xc2], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xb4], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
mov ecx, ebx
call edx
mov al, 1
jmp 0x10029e2b
mov ecx, dword [ebx + 0x1f4]
test ecx, ecx
je case.0x10028b02.276
xor eax, eax
mov dword [esp + 0xf0], eax
mov dword [esp + 0x104], eax
mov dword [esp + 0x108], eax
mov dword [esp + 0xf4], eax
mov dword [esp + 0xf8], eax
mov dword [esp + 0xfc], eax
mov dword [esp + 0x100], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xec], 0x18
mov dword [esp + 0x104], edi
mov dword [esp + 0x108], eax
mov dword [esp + 0xf0], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebx + 0x1f4]
mov dword [esp + 0xf4], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xec]
push eax
mov ecx, ebx
call edx
jmp case.0x10028b02.276
test eax, eax
je 0x1002999a
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
push eax
push edi
add ecx, 0x2000
push ecx
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
mov al, 1
jmp 0x10029e2b
test eax, eax
je case.0x10028b02.276
mov eax, dword [esp + 0x14]
push eax
push edi
push 0x2111
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
test eax, eax
je case.0x10028b02.276
mov al, 1
jmp 0x10029e2b
cmp ecx, 0x2a1
ja 0x10029ae0
je 0x10029865
add ecx, 0xfffffeed
cmp ecx, 0xf7
ja case.0x10028b02.276
movzx ecx, byte [ecx + 0x10029fb8]
jmp dword [ecx*4 + 0x10029f88]
mov edx, 0x1999
cmp dx, di
jne 0x10028b35
lea esi, [ebx + 0x11c]
mov edi, ebx
call fcn.1002a110
cmp byte [ebx + 0x12c], 0
sete al
mov byte [ebx + 0x12c], al
jmp case.0x10028b02.276
xor ecx, ecx
cmp dword [ebx + 0x290], ecx
jle case.0x10028b02.276
mov eax, dword [ebx + 0x28c]
lea esp, [esp]
mov esi, dword [eax]
mov edx, dword [ebx + 0xb4]
cmp dword [esi + 8], edx
jne 0x10028b6b
movzx edx, di
cmp dword [esi + 0xc], edx
jne 0x10028b6b
cmp byte [esi + 0x10], 0
je 0x10028b7c
inc ecx
add eax, 4
cmp ecx, dword [ebx + 0x290]
jl 0x10028b50
jmp case.0x10028b02.276
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov eax, dword [esi]
mov dword [esp + 0xac], 0x1b
mov dword [esp + 0xb0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x204]
mov edx, dword [ebx + 0x208]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
call fcn.10025bf0
mov ecx, dword [esp + 0x14]
mov word [esp + 0xc2], ax
mov eax, dword [esi + 4]
mov dword [esp + 0xc8], ecx
mov ecx, dword [esi]
mov dword [esp + 0xc4], eax
mov edx, dword [ecx]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
call edx
jmp case.0x10028b02.276
cmp byte [ebx + 0x27c], 0
jne 0x10028c94
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0xb4]
mov dword [esp + 0x34], eax
mov eax, dword [ebx + 0xe8]
mov dword [esp + 0x2c], 0x10
mov dword [esp + 0x30], 3
test eax, eax
jne 0x10028c6a
mov dword [esp + 0x38], 0x190
jmp 0x10028c7e
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [esp + 0x38], eax
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov eax, dword [esp + 0x14]
mov byte [ebx + 0x27c], 1
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], eax
mov byte [esp + 0x1b], 1
cmp dword [ebx + 0x204], ecx
jne 0x10028cbd
cmp dword [ebx + 0x208], eax
jne 0x10028cbd
mov byte [esp + 0x1b], 0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov dword [ebx + 0x204], eax
push eax
mov eax, ebx
mov dword [ebx + 0x208], ecx
call fcn.1002c3c0
mov esi, eax
test esi, esi
je 0x10028cf1
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x10028b02.276
cmp byte [esp + 0x1b], 0
je 0x10028fbd
cmp byte [ebx + 0x43c], 0
je 0x10028fbd
cmp edi, 1
jne 0x10028fbd
call dword [sym.imp.USER32.dll_ReleaseCapture]
push 0xc
call fcn.1007de1b
mov esi, eax
xor edi, edi
add esp, 4
mov dword [esp + 0x54], esi
cmp esi, edi
je case.0x10028b02.276
mov dword [esi], vtable.DuiLib::CIDropSource.0
mov dword [esi + 4], edi
mov byte [esi + 8], 0
mov ecx, dword [esi]
mov edx, dword [ecx + 4]
push esi
call edx
push 0x3c
call fcn.1007de1b
add esp, 4
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c8], 1
cmp eax, edi
je 0x10028d73
push esi
push eax
call fcn.1003be50
mov edi, eax
mov dword [esp + 0x40], eax
jmp 0x10028d77
mov dword [esp + 0x40], edi
or esi, 0xffffffff
mov dword [esp + 0x1c8], esi
test edi, edi
je case.0x10028b02.276
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
xor eax, eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov eax, 0x10
mov edx, 2
push 0
mov dword [esp + 0x94], eax
mov dword [esp + 0x48], eax
mov eax, dword [ebx + 0x440]
push edx
push eax
mov dword [esp + 0x94], 1
mov dword [esp + 0x98], esi
mov word [esp + 0x8c], dx
call dword [sym.imp.ole32.dll_OleDuplicateData]
push 0
mov esi, eax
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x88]
mov dword [esp + 0x50], esi
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x1c]
push eax
push edi
mov dword [esp + 0x6c], esi
call ecx
lea edx, [esp + 0x60]
push edx
push 0x18
push esi
call dword [sym.imp.GDI32.dll_GetObjectW]
mov edx, dword [esp + 0x68]
mov ecx, dword [esp + 0x64]
xor eax, eax
push eax
push eax
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 0xb8]
mov dword [esp + 0x3c], ecx
push eax
mov ecx, 0xe
push edx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov word [esp + 0x90], cx
mov dword [esp + 0xa0], 0x40
call dword [sym.imp.GDI32.dll_CreateEnhMetaFileW]
mov dword [esp + 0x3c], eax
mov eax, dword [ebx + 0xb8]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [esp + 0x5c]
mov esi, eax
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
push 0xcc0020
push 0
push 0
push esi
push edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x48]
push eax
push 0
push 0
push ecx
call dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [esp + 0x20]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x3c]
push eax
call dword [sym.imp.GDI32.dll_CloseEnhMetaFile]
push esi
mov dword [esp + 0x4c], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
push 1
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x88]
mov dword [esp + 0x4c], 0x40
mov ecx, dword [edi]
mov ecx, dword [ecx + 0x1c]
push eax
push edi
call ecx
lea edx, [esp + 0x7c]
push edx
push 0x100c011c
push 1
push 0
push 0x100c00fc
mov dword [esp + 0x8c], vtable.DuiLib::CDragSourceHelper.0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x10028f1e
mov dword [esp + 0x7c], 0
mov dword [esp + 0x1c8], 2
mov eax, dword [esp + 0x64]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x68]
cdq
sub eax, edx
sar eax, 1
mov dword [esp + 0x24], 0
push 5
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_GetSysColor]
mov ecx, dword [esp + 0x5c]
push eax
mov eax, dword [esp + 0x44]
push eax
push ecx
lea edx, [esp + 0x84]
push edx
lea esi, [esp + 0x3c]
lea edi, [esp + 0x30]
call fcn.1002d4e0
mov edi, dword [esp + 0x54]
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x94]
push eax
push 3
push edi
push esi
call dword [sym.imp.ole32.dll_DoDragDrop]
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
lea ecx, [esp + 0x78]
mov byte [ebx + 0x43c], 0
mov dword [esp + 0x1c8], 0xffffffff
call fcn.1002d560
jmp case.0x10028b02.276
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1f8]
mov dword [esp + 0xb4], eax
cmp esi, ecx
je 0x10029087
test ecx, ecx
je 0x10029087
mov dword [esp + 0xac], 0xa
mov dword [esp + 0xb0], ecx
mov edx, dword [ecx]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
call edx
mov eax, dword [ebx + 0xe8]
mov dword [ebx + 0x1f8], 0
test eax, eax
je 0x10029087
lea ecx, [ebx + 0xec]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [ebx + 0x1f8]
je 0x100290bf
test esi, esi
je 0x100290bf
mov dword [esp + 0xac], 0xb
mov dword [esp + 0xb0], esi
mov edx, dword [esi]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x1f8], esi
mov ebx, dword [ebx + 0x1fc]
test ebx, ebx
je 0x100290f4
mov dword [esp + 0xac], 9
mov dword [esp + 0xb0], ebx
mov eax, dword [ebx]
mov edx, dword [eax + 0x12c]
lea ecx, [esp + 0xac]
push ecx
mov ecx, ebx
call edx
jmp case.0x10028b02.276
test esi, esi
je case.0x10028b02.276
mov dword [esp + 0xac], 9
mov dword [esp + 0xb0], esi
mov eax, dword [esi]
mov edx, dword [eax + 0x12c]
lea ecx, [esp + 0xac]
push ecx
mov ecx, esi
call edx
jmp case.0x10028b02.276
mov eax, dword [ebx + 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x14]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [esp + 0x58], eax
mov dword [ebx + 0x204], eax
push eax
mov eax, ebx
mov dword [esp + 0x60], ecx
mov dword [ebx + 0x208], ecx
call fcn.1002c3c0
mov esi, eax
mov dword [esp + 0x20], esi
test esi, esi
je case.0x10028b02.276
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x10028b02.276
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
mov ecx, esi
call eax
test al, al
je 0x100291e0
mov eax, dword [ebx + 0x440]
mov byte [ebx + 0x43c], 1
test eax, eax
je 0x100291ac
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0x440], 0
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
mov ecx, esi
call eax
mov edx, dword [eax]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0xc]
push esi
mov dword [ecx + 8], edx
push ebx
mov dword [ecx + 0xc], eax
call fcn.100577e0
add esp, 0x18
mov dword [ebx + 0x440], eax
mov esi, ebx
call fcn.1002ab20
mov esi, dword [esp + 0x20]
mov dword [ebx + 0x1fc], esi
mov edx, dword [esi]
mov eax, dword [edx + 0x114]
mov ecx, esi
call eax
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x54]
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0xac], 0xd
mov dword [esp + 0xb0], esi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
mov word [esp + 0xc2], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xb4], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call edx
jmp case.0x10028b02.276
mov eax, dword [ebx + 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov esi, ebx
call fcn.1002ab20
mov ecx, dword [esp + 0x14]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [esp + 0x24], eax
mov dword [ebx + 0x204], eax
push eax
mov eax, ebx
mov dword [esp + 0x2c], ecx
mov dword [ebx + 0x208], ecx
call fcn.1002c3c0
mov esi, eax
test esi, esi
je case.0x10028b02.276
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x10028b02.276
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xac], 0x13
mov dword [esp + 0xb0], esi
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], eax
mov word [esp + 0xc2], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xb4], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x1fc], esi
jmp case.0x10028b02.276
mov esi, ebx
call fcn.1002ab40
mov eax, dword [esp + 0x14]
mov esi, dword [ebx + 0x1fc]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
mov dword [ebx + 0x204], ecx
mov dword [ebx + 0x208], edx
test esi, esi
je case.0x10028b02.276
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xac], 0xe
mov dword [esp + 0xb0], esi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xbc], edx
mov word [esp + 0xc2], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x1fc]
mov dword [esp + 0xb4], eax
mov dword [ebx + 0x1fc], 0
mov edx, dword [ecx]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
call edx
jmp case.0x10028b02.276
mov eax, dword [ebx + 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x14]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [esp + 0x24], eax
mov dword [ebx + 0x204], eax
push eax
mov eax, ebx
mov dword [esp + 0x2c], ecx
mov dword [ebx + 0x208], ecx
call fcn.1002c3c0
mov dword [esp + 0x3c], eax
test eax, eax
je case.0x10028b02.276
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1c]
call eax
cmp eax, ebx
jne case.0x10028b02.276
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x114]
call eax
mov esi, ebx
call fcn.1002ab20
mov dword [esp + 0xac], 0xf
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov esi, dword [esp + 0x3c]
xor eax, eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb0], esi
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
mov word [esp + 0xc2], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xb4], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call edx
mov dword [ebx + 0x1fc], esi
jmp case.0x10028b02.276
mov esi, ebx
call fcn.1002ab40
mov eax, dword [esp + 0x14]
movsx esi, ax
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x28], eax
mov dword [ebx + 0x208], eax
push esi
mov eax, ebx
mov dword [ebx + 0x204], esi
call fcn.1002c3c0
mov dword [ebx + 0x1fc], eax
test eax, eax
je case.0x10028b02.276
mov dword [esp + 0xac], 0x10
xor ecx, ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0xc8], ecx
mov dword [esp + 0xc4], ecx
mov dword [esp + 0xc0], ecx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xb8], ecx
mov dword [esp + 0xb4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xb0], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb8], esi
mov dword [esp + 0xbc], ecx
mov word [esp + 0xc2], di
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, dword [ebx + 0x1fc]
mov dword [esp + 0xb4], eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
mov ecx, ebx
call edx
jmp case.0x10028b02.276
mov eax, dword [ebx + 0xb4]
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [esp + 0x14]
movsx eax, cx
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [esp + 0x24], eax
mov dword [ebx + 0x204], eax
push eax
mov eax, ebx
mov dword [esp + 0x2c], ecx
mov dword [ebx + 0x208], ecx
call fcn.1002c3c0
mov dword [esp + 0x3c], eax
test eax, eax
je case.0x10028b02.276
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0x1c]
call eax
cmp eax, ebx
jne case.0x10028b02.276
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x114]
call eax
mov esi, ebx
call fcn.1002ab20
mov dword [esp + 0xac], 0x11
jmp 0x100294d5
mov esi, ebx
call fcn.1002ab40
mov eax, dword [esp + 0x14]
movsx esi, ax
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x28], eax
mov dword [ebx + 0x208], eax
push esi
mov eax, ebx
mov dword [ebx + 0x204], esi
call fcn.1002c3c0
mov dword [ebx + 0x1fc], eax
test eax, eax
je case.0x10028b02.276
mov dword [esp + 0xac], 0x12
jmp 0x100295b3
mov eax, dword [esp + 0x14]
movsx ecx, ax
shr eax, 0x10
movsx edx, ax
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0xb4]
push eax
push ecx
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov dword [ebx + 0x204], eax
push eax
mov eax, ebx
mov dword [ebx + 0x208], ecx
call fcn.1002c3c0
mov esi, eax
test esi, esi
je case.0x10028b02.276
mov edx, dword [esi]
mov eax, dword [edx + 0x1c]
mov ecx, esi
call eax
cmp eax, ebx
jne case.0x10028b02.276
mov edx, dword [esp + 0x14]
xor eax, eax
xor ecx, ecx
shr edi, 0x10
test di, di
setl cl
mov dword [esp + 0xc4], eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0xc4], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0xac], 0x15
mov dword [esp + 0xb0], esi
mov dword [esp + 0xc8], edx
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], ecx
call fcn.10025bf0
mov word [esp + 0xc2], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0xb4], eax
mov edx, dword [esi]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
mov ecx, esi
call edx
movzx eax, word [ebx + 0x208]
movzx ecx, word [ebx + 0x204]
mov edx, dword [ebx + 0xb4]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.0x10028b02.276
test eax, eax
je case.0x10028b02.276
mov eax, dword [esp + 0x14]
mov ecx, dword [ebp + 0xc]
push eax
push edi
add ecx, 0x2000
push ecx
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esp + 0x1c]
mov dword [edx], eax
mov al, 1
jmp 0x10029e2b
mov eax, dword [esp + 0x14]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebx + 0x1f0]
push 0x15
mov dword [esp + 0x28], eax
mov dword [esp + 0x5c], eax
lea edx, [esp + 0x58]
mov byte [ebx + 0x27c], 0
mov eax, dword [ecx]
mov eax, dword [eax + 0x120]
push edx
push 0x1002c4a0
call eax
mov esi, eax
test esi, esi
je case.0x10028b02.276
mov ecx, dword [ebx + 0x1f8]
test ecx, ecx
je 0x1002995a
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb0], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0xc4], eax
mov dword [esp + 0xc8], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xac], 0xc
mov dword [esp + 0xc4], edi
mov dword [esp + 0xc8], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esp + 0x20]
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0xb8], edx
mov dword [esp + 0xbc], eax
call fcn.10025bf0
mov ecx, dword [ebx + 0x1f8]
mov word [esp + 0xc2], ax
mov edx, dword [ecx]
mov edx, dword [edx + 0x12c]
lea eax, [esp + 0xac]
push eax
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0xb4]
lea ecx, [esp + 0x12c]
push ecx
mov ecx, esi
call edx
mov dword [esp + 0x1c8], 0
mov eax, dword [esp + 0x12c]
cmp word [eax], 0
jne 0x100299a1
lea ecx, [esp + 0x130]
cmp eax, ecx
je 0x1002999a
push eax
call fcn.1008f05c
add esp, 4
mov al, 1
jmp 0x10029e2b
push 0x30
lea edi, [ebx + 0xec]
push 0
push edi
call fcn.10091ac0
mov eax, dword [ebx + 0xb4]
mov edx, dword [0x100ed3bc]
mov dword [ebx + 0xf4], eax
mov dword [ebx + 0xf8], eax
mov eax, dword [esp + 0x138]
mov dword [ebx + 0x110], eax
mov dword [edi], 0x30
mov dword [ebx + 0xf0], 1
mov dword [ebx + 0x10c], edx
mov edx, dword [esi]
mov eax, dword [edx + 0x50]
add esp, 0xc
mov ecx, esi
call eax
cmp dword [ebx + 0xe8], 0
mov ecx, dword [eax]
mov dword [ebx + 0xfc], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 0x100], edx
mov ecx, dword [eax + 8]
mov dword [ebx + 0x104], ecx
mov edx, dword [eax + 0xc]
mov dword [ebx + 0x108], edx
jne 0x10029a93
mov eax, dword [0x100ed3bc]
mov ecx, dword [ebx + 0xb4]
push 0
push eax
push 0
push ecx
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push SysReAllocStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
push 0
push 0x432
push eax
mov dword [ebx + 0xe8], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [esi]
mov eax, dword [edx + 0xc0]
mov ecx, esi
call eax
mov ecx, dword [ebx + 0xe8]
push eax
push 0
push 0x418
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [ebx + 0xe8]
push edx
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x10029acb
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
push edi
push eax
mov eax, dword [ebx + 0xe8]
push 0x436
push eax
call esi
mov ecx, dword [ebx + 0xe8]
push edi
push 1
push 0x411
push ecx
call esi
mov eax, dword [esp + 0x12c]
lea edx, [esp + 0x130]
cmp eax, edx
jmp 0x1002998f
sub ecx, 0x2a3
je 0x10029d04
sub ecx, 0x75
je 0x10029c12
sub ecx, 0x7ce9
jne case.0x10028b02.276
xor esi, esi
cmp dword [ebx + 0x2d8], esi
jle 0x10029b29
mov eax, dword [ebx + 0x2d4]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x10029b20
mov edx, dword [ecx]
mov eax, dword [edx]
push 1
call eax
inc esi
cmp esi, dword [ebx + 0x2d8]
jl 0x10029b0b
mov eax, dword [ebx + 0x2d4]
test eax, eax
je 0x10029b3c
push eax
call fcn.1008f05c
add esp, 4
xor eax, eax
mov dword [ebx + 0x2d4], eax
mov dword [ebx + 0x2dc], eax
mov dword [ebx + 0x2d8], eax
cmp dword [ebx + 0x2e4], 0
jle case.0x10028b02.276
mov ecx, dword [ebx + 0x2e0]
mov esi, dword [ecx]
test esi, esi
je case.0x10028b02.276
mov eax, dword [ebx + 0x2e4]
test eax, eax
jle 0x10029b9d
dec eax
mov dword [ebx + 0x2e4], eax
test eax, eax
jle 0x10029b9d
mov ecx, dword [ebx + 0x2e0]
lea edx, [eax*4]
push edx
lea eax, [ecx + 4]
push eax
push ecx
call fcn.10094cc0
add esp, 0xc
mov eax, dword [esi + 0x108]
test eax, eax
je 0x10029bb6
cmp dword [eax + 0x3c], 0
jle 0x10029bb6
push esi
lea edi, [eax + 0x38]
call int.10030ed0
xor edi, edi
cmp dword [ebx + 0x284], edi
jle 0x10029bd9
mov ecx, dword [ebx + 0x280]
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx]
push esi
call eax
inc edi
cmp edi, dword [ebx + 0x284]
jl 0x10029bc0
mov eax, dword [esi + 0x84]
lea ecx, [esi + 0x88]
cmp eax, ecx
je 0x10029bf2
push eax
call fcn.1008f05c
add esp, 4
mov eax, dword [esi]
lea edx, [esi + 4]
cmp eax, edx
je 0x10029c04
push eax
call fcn.1008f05c
add esp, 4
push esi
call fcn.1007de55
add esp, 4
jmp 0x10029b50
cmp dword [ebx + 0x1f0], 0
je case.0x10028b02.276
mov ecx, dword [ebx + 0xb4]
lea eax, [esp + 0x80]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x1f0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x13c]
mov dword [esp + 0x54], eax
lea eax, [esp + 0x80]
push eax
push edi
call edx
test byte [esp + 0x14], 0x10
je 0x10029cf3
mov eax, dword [ebx + 0xb4]
push 5
push eax
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x10029cf3
mov eax, dword [esp + 0x14]
or eax, 2
mov dword [esp + 0x20], eax
xor eax, eax
lea ecx, [esp + 0x2c]
push ecx
push esi
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0xb4]
push 2
lea edx, [esp + 0x30]
push edx
push eax
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push 0
neg ecx
push ecx
neg edx
push edx
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
mov eax, dword [esp + 0x20]
push eax
push edi
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x10029c87
mov ecx, dword [esp + 0x54]
push ecx
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.0x10028b02.276
mov eax, dword [ebx + 0xe8]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x10029d25
lea edx, [ebx + 0xec]
push edx
push 0
push 0x411
push eax
call esi
cmp byte [ebx + 0x27c], 0
je 0x10029e22
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
xor edi, edi
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x30], edi
call dword [sym.imp.USER32.dll_GetCursorPos]
mov edx, dword [ebx + 0xb4]
lea ecx, [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebx + 0xb4]
push eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x10029e11
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0xb4]
jne 0x10029e11
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
push ecx
push edx
lea eax, [esp + 0x34]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x10029e11
movzx ecx, word [esp + 0x24]
movzx edx, word [esp + 0x20]
mov eax, dword [ebx + 0xb4]
shl ecx, 0x10
or ecx, edx
push ecx
push edi
push 0x84
push eax
call esi
cmp eax, 1
jne 0x10029e00
mov edx, dword [ebx + 0xb4]
lea ecx, [esp + 0x20]
push ecx
push edx
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx eax, word [esp + 0x24]
movzx ecx, word [esp + 0x20]
mov edx, dword [ebx + 0xb4]
shl eax, 0x10
or eax, ecx
push eax
push edi
push 0x200
push edx
jmp 0x10029e20
mov eax, dword [ebx + 0xb4]
push 0xffffffffffffffff
push edi
push 0x200
push eax
jmp 0x10029e20
mov ecx, dword [ebx + 0xb4]
push 0xffffffffffffffff
push edi
push 0x200
push ecx
call esi
mov byte [ebx + 0x27c], 0
xor al, al
mov ecx, dword [esp + 0x1c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x1a8]
xor ecx, esp
call fcn.1008e4a2
mov esp, ebp
pop ebp
ret 0x10