Function at 0x10020d20
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100946af
mov eax, dword fs:[0]
push eax
sub esp, 0x18c
mov eax, dword [0x100c2070]
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 - 0x198], esi
cmp dword [esi], 0
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x190], edx
mov edx, dword [ebp + 0x14]
mov dword [ebp - 0x17c], ecx
mov dword [ebp - 0x178], edx
je 0x100228a7
nop dword [eax]
cmp dword [esi + 0x138], 0
jle 0x10020ea6
mov eax, dword [esi + 0x134]
mov edi, dword [eax]
mov dword [ebp - 0x168], edi
test edi, edi
je 0x10020ea6
mov eax, dword [esi + 0x138]
test eax, eax
jle 0x10020dcf
dec eax
mov dword [esi + 0x138], eax
test eax, eax
jle 0x10020dcf
mov ecx, dword [esi + 0x134]
shl eax, 2
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.1006ea30
add esp, 0xc
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x170], eax
test eax, eax
je 0x10020e20
cmp dword [eax + 0x38], 0
jle 0x10020e20
xor edi, edi
cmp dword [eax + 0x38], edi
jle 0x10020e1a
mov esi, dword [ebp - 0x168]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x10020e08
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10020e14
mov eax, dword [ebp - 0x170]
inc edi
cmp edi, dword [eax + 0x38]
jl 0x10020df2
mov esi, dword [ebp - 0x198]
mov edi, dword [ebp - 0x168]
xor ecx, ecx
mov dword [ebp - 0x168], ecx
cmp dword [esi + 0xf0], ecx
jle 0x10020e53
mov eax, dword [esi + 0xec]
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x168]
inc ecx
mov dword [ebp - 0x168], ecx
cmp ecx, dword [esi + 0xf0]
jl 0x10020e30
mov dword [ebp - 4], 0
lea eax, [edi + 0x88]
mov ecx, dword [edi + 0x84]
cmp ecx, eax
je 0x10020e73
push ecx
call fcn.10079c0c
add esp, 4
mov dword [ebp - 4], 1
lea eax, [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
je 0x10020e8c
push ecx
call fcn.10079c0c
add esp, 4
push 0x120
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.1006cf90
add esp, 8
jmp 0x10020d80
mov edi, dword [ebp + 8]
xor ecx, ecx
mov dword [ebp - 0x168], ecx
cmp dword [esi + 0x114], ecx
jle 0x10020f0c
nop dword [eax]
mov eax, dword [esi + 0x110]
lea edx, [ebp - 0x181]
mov byte [ebp - 0x181], 0
push edx
push dword [ebp - 0x17c]
mov ecx, dword [eax + ecx*4]
push dword [ebp - 0x190]
push edi
mov eax, dword [ecx]
mov eax, dword [eax]
call eax
cmp byte [ebp - 0x181], 0
jne 0x10021a9d
mov ecx, dword [ebp - 0x168]
inc ecx
mov dword [ebp - 0x168], ecx
cmp ecx, dword [esi + 0x114]
jl 0x10020ec0
cmp edi, 0x111
ja 0x10021bc0
je 0x10021b8f
lea eax, [edi - 5]
cmp eax, 0xfd
ja case.default.0x10021e9a
movzx eax, byte [eax + 0x10022900]
jmp dword [eax*4 + 0x100228c8]
mov eax, dword [esi + 0x94]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x98]
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x88]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x10020f8f
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
mov ecx, dword [esi + 0x8c]
test ecx, ecx
je 0x10020faf
mov dword [ebp - 0x30], 0xe
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
push 0
mov ecx, esi
call fcn.10022f90
push 4
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je case.default.0x10021e9a
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.default.0x10021e9a
mov ecx, dword [ebp - 0x178]
mov al, 1
mov dword [ecx], 1
jmp 0x100228a9
push 0
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x10022524
cmp dword [esi + 0x80], 0
push 0x40
push 0
jne 0x10021047
lea eax, [ebp - 0x164]
push eax
call fcn.1006fd90
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x164]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
mov al, 1
jmp 0x100228a9
lea eax, [ebp - 0x124]
push eax
call fcn.1006fd90
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [esi + 0xe1], 0
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
je 0x100211c0
lea eax, [ebp - 0x20]
mov byte [esi + 0xe1], 0
push eax
push dword [esi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x20], xmm0
call edi
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x100211c0
mov ecx, dword [esi + 0x80]
cmp byte [ecx + 0x154], al
je 0x1002112c
push dword [esi]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x100210d1
mov ecx, dword [esi + 0x80]
sub esp, 0x10
movups xmm0, xmmword [ebp - 0x20]
mov eax, esp
mov edx, dword [ecx]
movups xmmword [eax], xmm0
call dword [edx + 0x38]
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x100210e1
push eax
call edi
mov eax, dword [esi + 0x18]
test eax, eax
je 0x100210ef
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [esi + 0xc]
test eax, eax
je 0x100210f9
push eax
call edi
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10021107
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [esi + 0xc], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x18], 0
jmp 0x10021193
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x10024a00
mov eax, dword [eax + 0x114]
call eax
mov dword [ebp - 0x168], eax
test eax, eax
je 0x10021199
nop dword [eax]
mov edi, dword [eax]
mov ecx, eax
mov edx, dword [edi + 0x34]
call edx
sub esp, 0x10
mov ecx, esp
movups xmm0, xmmword [eax]
movups xmmword [ecx], xmm0
mov ecx, dword [ebp - 0x168]
call dword [edi + 0x38]
mov ecx, dword [esi + 0x80]
push SysReAllocString
push 0
push 0x10024a00
mov eax, dword [ecx]
mov eax, dword [eax + 0x114]
call eax
mov dword [ebp - 0x168], eax
test eax, eax
jne 0x10021150
mov edi, dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [esi + 0xe0], 0
je 0x100211c0
push ecx
push 0
push 0
push str.windowinit
push dword [esi + 0x80]
mov ecx, esi
mov byte [esi + 0xe0], 0
call fcn.100239f0
cmp byte [esi + 0xe2], 0
je 0x100211d2
push 1
mov ecx, esi
call fcn.100234e0
cmp dword [esi + 0xe4], 1
jne 0x10021432
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x80000
jne 0x10021200
or eax, 0x80000
push eax
push 0xffffffffffffffec
push dword [esi]
call dword [sym.imp.USER32.dll_SetWindowLongW]
lea eax, [ebp - 0x50]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x50], xmm0
call edi
cmp byte [esi + 0x30], 0
jne 0x1002122c
lea edi, [esi + 0x20]
push edi
lea eax, [ebp - 0x40]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
jmp 0x10021238
movups xmm0, xmmword [ebp - 0x50]
mov byte [esi + 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov eax, dword [ebp - 0x48]
mov edi, dword [ebp - 0x44]
sub eax, dword [ebp - 0x50]
sub edi, dword [ebp - 0x4c]
cmp byte [esi + 0xe3], 0
mov dword [ebp - 0x168], eax
je 0x100212e7
cmp dword [esi + 0x14], 0
jne 0x100212e7
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x2c
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.1006fd90
mov ecx, dword [ebp - 0x168]
add esp, 0xc
mov eax, edi
mov dword [ebp - 0x150], 0x28
neg eax
imul edi, ecx
mov dword [ebp - 0x148], eax
lea eax, [esi + 0x1c]
push 0
push 0
push eax
push 0
lea eax, [ebp - 0x150]
shl edi, 2
push eax
push dword [esi + 8]
mov dword [ebp - 0x14c], ecx
mov dword [ebp - 0x144], 0x200001
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], edi
mov dword [ebp - 0x130], 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [esi + 0x14], eax
push dword [esi + 0x14]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xc]
mov dword [ebp - 0x198], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov edx, dword [ebp - 0x168]
mov ecx, dword [esi + 0x1c]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x40]
push eax
call fcn.100493c0
mov ecx, dword [esi + 0x80]
lea eax, [ebp - 0x40]
add esp, 4
mov edx, dword [ecx]
push eax
push dword [esi + 0xc]
call dword [edx + pe_nt_image_headers32]
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
push dword [esi + 0xc]
call fcn.100250d0
xor edi, edi
cmp dword [esi + 0x120], edi
jle 0x10021374
nop word [eax + eax]
mov eax, dword [esi + 0x11c]
lea edx, [ebp - 0x11c]
push edx
push dword [esi + 0xc]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x148]
inc edi
cmp edi, dword [esi + 0x120]
jl 0x10021350
mov edx, dword [ebp - 0x168]
lea eax, [ebp - 0x40]
mov ecx, dword [esi + 0x1c]
push eax
call fcn.10049430
add esp, 4
push dword [ebp - 0x170]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x18]
mov edx, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x14]
sub eax, edx
mov dword [ebp - 0x18c], ecx
push 2
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x178]
push eax
push 0
lea eax, [ebp - 0x194]
mov dword [ebp - 0x188], edx
push eax
push dword [esi + 0xc]
lea eax, [ebp - 0x180]
mov dword [ebp - 0x194], 0
push eax
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x190], 0
push eax
push 0
push dword [esi]
mov dword [ebp - 0x178], 0x1ff0000
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [ebp - 0x198]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x100216a6
cmp byte [esi + 0xe3], 0
je 0x10021670
cmp dword [esi + 0x14], 0
jne 0x1002147a
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x20], xmm0
call edi
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [esi + 0x14], eax
cmp byte [esi + 0xe3], 0
je 0x10021670
push dword [esi + 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xc]
call edi
push dword [esi + 0xc]
mov dword [ebp - 0x198], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp dword [esi + 0xe4], 2
mov dword [ebp - 0x170], eax
jne 0x10021572
mov ecx, dword [esi + 0x18]
test ecx, ecx
jne 0x10021537
lea eax, [ebp - 0x20]
xorps xmm0, xmm0
push eax
push dword [esi]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [esi + 0x10], eax
mov eax, dword [ebp - 0x14]
sub eax, dword [ebp - 0x1c]
push eax
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x20]
push eax
push dword [esi + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [esi + 0x10]
mov dword [esi + 0x18], eax
call edi
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x110]
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
sub eax, edx
push 0xcc0020
push edx
push ecx
push dword [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x114]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0x10]
call edi
jmp 0x10021543
push ecx
push dword [esi + 0x10]
call edi
mov edi, dword [sym.imp.GDI32.dll_BitBlt]
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x110]
push 0xcc0020
push edx
push ecx
push dword [esi + 0x10]
sub eax, edx
push eax
mov eax, dword [ebp - 0x114]
sub eax, ecx
push eax
push edx
push ecx
push dword [esi + 0xc]
call edi
mov ecx, dword [esi + 0x80]
lea edx, [ebp - 0x11c]
push edx
push dword [esi + 0xc]
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
xor edi, edi
cmp dword [esi + 0x120], edi
jle 0x100215c4
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esi + 0x11c]
lea edx, [ebp - 0x11c]
push edx
push dword [esi + 0xc]
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax + 0x148]
inc edi
cmp edi, dword [esi + 0x120]
jl 0x100215a0
push dword [ebp - 0x170]
push dword [esi + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov edx, dword [ebp - 0x118]
mov ecx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x110]
push 0xcc0020
push edx
push ecx
push dword [esi + 0xc]
sub eax, edx
push eax
mov eax, dword [ebp - 0x114]
sub eax, ecx
push eax
push edx
push ecx
push dword [ebp - 0x124]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x198]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [esi + 0xc]
call edi
cmp byte [esi + 0x64], 0
je 0x100216a6
push dword [0x100c5d34]
push dword [ebp - 0x124]
call edi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x124]
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 [ebp - 0x124]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [ebp - 0x124]
call dword [sym.imp.GDI32.dll_SelectObject]
jmp 0x100216a6
push dword [ebp - 0x124]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x80]
mov edi, eax
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x124]
mov edx, dword [ecx]
call dword [edx + pe_nt_image_headers32]
push edi
push dword [ebp - 0x124]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x124]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [esi + 0xe1], 0
je 0x10022524
push 0
push 0
push dword [esi]
call dword [sym.imp.USER32.dll_InvalidateRect]
mov al, 1
jmp 0x100228a9
mov eax, dword [esi + 0x9c]
mov edx, dword [ebp - 0x17c]
test eax, eax
jle 0x100216e8
mov dword [edx + 0x18], eax
mov eax, dword [esi + 0xa0]
test eax, eax
jle 0x100216f5
mov dword [edx + 0x1c], eax
mov eax, dword [esi + 0xa4]
test eax, eax
jle 0x10021702
mov dword [edx + 0x20], eax
mov eax, dword [esi + 0xa8]
test eax, eax
jle case.default.0x10021e9a
mov dword [edx + 0x24], eax
jmp case.default.0x10021e9a
mov eax, dword [esi + 0x84]
test eax, eax
je 0x1002175a
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 0x16
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x84]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov ecx, dword [esi + 0x80]
test ecx, ecx
je 0x10022524
call fcn.10029780
mov al, 1
jmp 0x100228a9
mov edx, dword [ebp - 0x17c]
movsx eax, dx
mov dword [ebp - 0x174], eax
shr edx, 0x10
movsx eax, dx
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x174]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [esi + 0x8c], 0
mov eax, dword [ebp - 0x174]
mov dword [esi + 0x94], eax
mov eax, dword [ebp - 0x170]
mov dword [esi + 0x98], eax
je case.default.0x10021e9a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [ebp - 0x174]
xorps xmm0, xmm0
mov ecx, dword [esi + 0x8c]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x190]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov byte [esi + 0xe9], 0
mov dword [ebp - 0x30], 0x11
mov dword [ebp - 0x2c], ecx
mov word [ebp - 0x1a], ax
mov dword [ebp - 0x14], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x8c]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov dword [esi + 0x8c], 0
jmp case.default.0x10021e9a
cmp dword [esi + 0x84], 0
je case.default.0x10021e9a
mov eax, dword [ebp - 0x190]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x1c], ax
mov eax, dword [esi + 0x94]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x98]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x20], eax
call fcn.1001f880
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x84]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
jmp case.default.0x10021e9a
cmp dword [esi + 0x84], 0
je case.default.0x10021e9a
mov eax, dword [ebp - 0x190]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x1c], ax
mov eax, dword [esi + 0x94]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x98]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x20], eax
call fcn.1001f880
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x84]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov eax, dword [esi + 0x84]
mov dword [esi + 0x90], eax
jmp case.default.0x10021e9a
cmp dword [esi + 0x90], 0
je case.default.0x10021e9a
mov eax, dword [ebp - 0x190]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov word [ebp - 0x1c], ax
mov eax, dword [esi + 0x94]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x98]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x20], eax
call fcn.1001f880
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x90]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov dword [esi + 0x90], 0
jmp case.default.0x10021e9a
mov edi, dword [ebp - 0x17c]
cmp di, 1
jne case.default.0x10021e9a
cmp byte [esi + 0xe9], 0
jne 0x10022524
lea eax, [ebp - 0x16c]
mov dword [ebp - 0x16c], 0
push eax
mov dword [ebp - 0x168], 0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x16c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x168]
mov ecx, esi
push dword [ebp - 0x16c]
call fcn.10024810
mov dword [ebp - 0x170], eax
test eax, eax
je case.default.0x10021e9a
mov edx, dword [eax]
mov ecx, eax
mov edx, dword [edx + 0x14]
call edx
test al, 2
je case.default.0x10021e9a
mov eax, dword [ebp - 0x190]
xorps xmm0, xmm0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x16c]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0x17
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], eax
call fcn.1001f880
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x170]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov al, 1
jmp 0x100228a9
mov edx, dword [ebp - 0x17c]
test edx, edx
je 0x10022524
mov eax, dword [ebp - 0x190]
push edx
push eax
lea eax, [edi + 0x2000]
push eax
push dword [edx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x178]
mov dword [ecx], eax
mov al, 1
jmp 0x100228a9
mov eax, dword [esi + 0x84]
test eax, eax
je case.default.0x10021e9a
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x30], 0x14
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x84]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
push ecx
push 0
push 0
push str.killfocus
push dword [esi + 0x84]
mov ecx, esi
call fcn.100239f0
jmp case.default.0x10021e9a
mov eax, dword [esi + 0x84]
test eax, eax
je 0x10021b81
xorps xmm0, xmm0
mov dword [ebp - 0x128], 0
movups xmmword [ebp - 0x140], xmm0
mov dword [ebp - 0x144], 0x15
movq qword [ebp - 0x130], xmm0
mov dword [ebp - 0x140], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x84]
lea edx, [ebp - 0x144]
mov dword [ebp - 0x13c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
push ecx
push 0
push 0
push str.setfocus
push dword [esi + 0x84]
mov ecx, esi
call fcn.100239f0
jmp case.default.0x10021e9a
push 1
mov ecx, esi
call fcn.100234e0
jmp case.default.0x10021e9a
mov edx, dword [ebp - 0x17c]
test edx, edx
je case.default.0x10021e9a
mov eax, dword [ebp - 0x190]
push edx
push eax
push 0x2111
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x178]
mov dword [ecx], eax
mov al, 1
jmp 0x100228a9
cmp edi, 0x200
ja 0x10021e79
je 0x10021cc0
mov eax, edi
sub eax, 0x113
je 0x10021c1c
sub eax, 0x20
je 0x10021be9
sub eax, 5
jne case.default.0x10021e9a
mov edx, dword [ebp - 0x17c]
test edx, edx
je case.default.0x10021e9a
mov eax, dword [ebp - 0x190]
push edx
push eax
lea eax, [edi + 0x2000]
push eax
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x178]
mov dword [ecx], eax
mov al, 1
jmp 0x100228a9
xor ecx, ecx
mov dword [ebp - 0x168], ecx
cmp dword [esi + 0xfc], ecx
jle case.default.0x10021e9a
mov eax, dword [esi + 0xf8]
mov edi, dword [eax + ecx*4]
mov eax, dword [edi + 8]
cmp eax, dword [esi]
jne 0x10021c6b
mov edx, dword [ebp - 0x190]
movzx eax, dx
cmp dword [edi + 0xc], eax
jne 0x10021c6b
cmp byte [edi + 0x10], 0
jne 0x10021c6b
push 0x63c
push dword [edi]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x10021c7f
mov ecx, dword [ebp - 0x168]
inc ecx
mov dword [ebp - 0x168], ecx
cmp ecx, dword [esi + 0xfc]
jl 0x10021c30
jmp case.default.0x10021e9a
mov eax, dword [edi]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [edi + 4]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [edi]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
jmp case.default.0x10021e9a
cmp byte [esi + 0xe8], 0
jne 0x10021d1f
mov eax, dword [esi]
xorps xmm0, xmm0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x38], eax
mov eax, dword [esi + 0x34]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x3c], 3
test eax, eax
jne 0x10021cfb
mov dword [ebp - 0x34], 0x190
jmp 0x10021d0e
push 0
push 3
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [esi + 0xe8], 1
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x94], ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x170], ecx
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x168], eax
mov dword [esi + 0x98], eax
mov dword [ebp - 0x188], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x100248f0
mov eax, dword [eax + 0x114]
call eax
mov edi, eax
test edi, edi
je 0x10021d85
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.default.0x10021e9a
mov eax, dword [ebp - 0x170]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x30], 0
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x8c]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x10021ddf
mov dword [ebp - 0x30], 9
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
jmp case.default.0x10021e9a
mov ecx, dword [esi + 0x88]
cmp edi, ecx
je 0x10021e26
test ecx, ecx
je 0x10021e26
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x88], 0
test ecx, ecx
je 0x10021e26
lea eax, [esi + 0x38]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp edi, dword [esi + 0x88]
je 0x10021e54
test edi, edi
je case.default.0x10021e9a
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 + 0x120]
mov dword [esi + 0x88], edi
test edi, edi
je case.default.0x10021e9a
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 + 0x120]
jmp case.default.0x10021e9a
cmp edi, 0x20a
ja 0x100223bd
je 0x100222af
add edi, 0xfffffdff
cmp edi, 3
ja case.default.0x10021e9a
jmp dword [edi*4 + 0x10022a00]
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x94], ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x170], ecx
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x168], eax
mov dword [esi + 0x98], eax
mov dword [ebp - 0x188], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x100248f0
mov eax, dword [eax + 0x114]
call eax
mov edi, eax
mov dword [ebp - 0x178], edi
test edi, edi
je case.default.0x10021e9a
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.default.0x10021e9a
mov dword [esi + 0x8c], edi
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x108]
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x170]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x190]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x17c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x14], 0
mov byte [esi + 0xe9], 1
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 - 0x178]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
jmp case.default.0x10021e9a
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x94], ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x170], ecx
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x168], eax
mov dword [esi + 0x98], eax
mov dword [ebp - 0x188], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x100248f0
mov eax, dword [eax + 0x114]
call eax
mov edi, eax
test edi, edi
je case.default.0x10021e9a
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.default.0x10021e9a
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov eax, dword [ebp - 0x170]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x190]
movq qword [ebp - 0x1c], xmm0
mov byte [esi + 0xe9], 1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], edi
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x120]
mov dword [esi + 0x8c], edi
jmp case.default.0x10021e9a
mov ecx, dword [ebp - 0x17c]
mov eax, ecx
shr eax, 0x10
cmp dword [esi + 0x8c], 0
movsx edx, cx
cwde
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x168], eax
mov dword [esi + 0x94], edx
mov dword [esi + 0x98], eax
je case.default.0x10021e9a
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov eax, dword [esi + 0x8c]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x170]
mov edi, dword [ebp - 0x17c]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x190]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x14], 0
mov byte [esi + 0xe9], 0
mov dword [ebp - 0x30], 0xe
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 + 0x8c]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov dword [esi + 0x8c], 0
jmp case.default.0x10021e9a
push dword [esi]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x17c]
lea edx, [ebp - 0x18c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [esi + 0x94], ecx
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 0x168], ecx
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x178], eax
mov dword [esi + 0x98], eax
mov dword [ebp - 0x188], eax
mov eax, dword [ecx]
push 0xd
push edx
push 0x100248f0
mov eax, dword [eax + 0x114]
call eax
mov edi, eax
mov dword [ebp - 0x170], edi
test edi, edi
je case.default.0x10021e9a
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.default.0x10021e9a
mov eax, dword [esi + 0x88]
cmp edi, eax
je 0x10022229
test eax, eax
je 0x10022229
mov eax, dword [ebp - 0x168]
xorps xmm0, xmm0
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x60], 0
movq qword [ebp - 0x4c], xmm0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x50], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x88]
lea edx, [ebp - 0x60]
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x60], 0xa
mov dword [ebp - 0x5c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x120]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x88], 0
test ecx, ecx
je 0x10022229
lea eax, [esi + 0x38]
push eax
push 0
push 0x411
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x108]
push dword [esi]
call dword [sym.imp.USER32.dll_SetCapture]
mov ecx, dword [ebp - 0x168]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x190]
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x17c]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x178]
mov dword [ebp - 0x14], 0
mov byte [esi + 0xe9], 1
mov dword [ebp - 0x30], 0xf
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 edi, dword [ebp - 0x170]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push ecx
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 0x120]
mov dword [esi + 0x8c], edi
jmp case.default.0x10021e9a
mov ecx, dword [ebp - 0x17c]
movsx eax, cx
mov dword [ebp - 0x16c], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x16c]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x16c]
lea edx, [ebp - 0x18c]
mov eax, dword [ebp - 0x168]
mov dword [esi + 0x94], ecx
mov dword [ebp - 0x18c], ecx
mov ecx, dword [esi + 0x80]
mov dword [esi + 0x98], eax
mov dword [ebp - 0x188], eax
push 0xd
mov eax, dword [ecx]
push edx
push 0x100248f0
mov eax, dword [eax + 0x114]
call eax
mov edi, eax
mov dword [ebp - 0x170], edi
test edi, edi
je case.default.0x10021e9a
mov edx, dword [edi]
mov ecx, edi
mov edx, dword [edx + 0x1c]
call edx
cmp eax, esi
jne case.default.0x10021e9a
mov eax, dword [ebp - 0x190]
xorps xmm0, xmm0
shr eax, 0x10
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x2c], edi
mov edi, dword [ebp - 0x17c]
shr eax, 0xf
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x30], 0x12
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
call fcn.1001f880
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x170]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
movzx ecx, word [esi + 0x98]
movzx eax, word [esi + 0x94]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp case.default.0x10021e9a
cmp edi, 0x318
ja 0x100226f9
je 0x10022615
sub edi, 0x2a1
je 0x1002241d
sub edi, 2
jne case.default.0x10021e9a
mov ecx, dword [esi + 0x34]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test ecx, ecx
je 0x100223fb
lea eax, [esi + 0x38]
push eax
push 0
push 0x411
push ecx
call edi
cmp byte [esi + 0xe8], 0
je 0x10022411
push 0xffffffffffffffff
push 0
push 0x200
push dword [esi]
call edi
mov byte [esi + 0xe8], 0
jmp case.default.0x10021e9a
mov edx, dword [ebp - 0x17c]
movsx ecx, dx
shr edx, 0x10
movsx eax, dx
mov byte [esi + 0xe8], 0
mov dword [ebp - 0x170], ecx
mov dword [ebp - 0x168], eax
cmp dword [0x100c5fbc], ecx
jne 0x10022453
cmp dword [0x100c5fc0], eax
je 0x10022524
mov dword [ebp - 0x18c], ecx
lea edx, [ebp - 0x18c]
mov dword [0x100c5fbc], ecx
mov ecx, dword [esi + 0x80]
mov dword [0x100c5fc0], eax
mov dword [ebp - 0x188], eax
push 0xd
mov eax, dword [ecx]
push edx
push 0x100248f0
mov eax, dword [eax + 0x114]
call eax
mov edi, eax
test edi, edi
je case.default.0x10021e9a
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x100224e6
mov eax, dword [ebp - 0x170]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2c], xmm0
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x168]
movq qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0x88]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x120]
mov eax, dword [edi]
lea ecx, [ebp - 0xe4]
push ecx
mov ecx, edi
call dword [eax + 0xa4]
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0xe4]
cmp word [eax], 0
jne 0x1002252b
mov dword [ebp - 4], 3
lea ecx, [ebp - 0xe0]
cmp eax, ecx
je 0x10022524
push eax
call fcn.10079c0c
add esp, 4
mov al, 1
jmp 0x100228a9
push 0x2c
lea eax, [esi + 0x38]
push 0
push eax
call fcn.1006fd90
mov eax, dword [esi]
add esp, 0xc
mov dword [esi + 0x40], eax
mov ecx, edi
mov dword [esi + 0x44], eax
mov eax, dword [0x100c5d2c]
mov dword [esi + 0x58], eax
mov eax, dword [ebp - 0xe4]
mov dword [esi + 0x5c], eax
mov dword [esi + 0x38], 0x2c
mov dword [esi + 0x3c], 1
mov eax, dword [edi]
mov eax, dword [eax + 0x34]
call eax
cmp dword [esi + 0x34], 0
movups xmm0, xmmword [eax]
movups xmmword [esi + 0x48], xmm0
jne 0x100225c1
push 0
push dword [0x100c5d2c]
push 0
push dword [esi]
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysReAllocString
push SysStringLen
push 0
push str.tooltips_class32
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [esi + 0x38]
mov dword [esi + 0x34], 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 + 0xb0]
call eax
push eax
push 0
push 0x418
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [esi + 0x38]
push edi
push 0
push 0x436
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0x411
push dword [esi + 0x34]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 4], 4
mov eax, dword [ebp - 0xe4]
jmp 0x10022511
lea eax, [ebp - 0x50]
push eax
push dword [esi]
call dword [sym.imp.USER32.dll_GetClientRect]
mov edi, dword [ebp - 0x190]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [esi + 0x80]
mov dword [ebp - 0x170], eax
lea eax, [ebp - 0x50]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + pe_nt_image_headers32]
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
push edi
call fcn.100250d0
test byte [ebp - 0x17c], 0x10
je 0x100226e7
push 5
push dword [esi]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x168], eax
test eax, eax
je 0x100226e7
or dword [ebp - 0x17c], 2
nop dword [eax + eax]
lea ecx, [ebp - 0x20]
xorps xmm0, xmm0
push ecx
push eax
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [esi]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x17c]
push edi
push 0x317
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x168]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x168], eax
test eax, eax
jne 0x10022680
push dword [ebp - 0x170]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp case.default.0x10021e9a
cmp edi, 0x8001
je 0x1002272a
cmp edi, 0x8bba
jne case.default.0x10021e9a
cmp byte [esi + 0x78], 0
lea edi, [esi + 0x68]
push 0
push edi
push dword [esi]
sete al
mov byte [esi + 0x78], al
call dword [sym.imp.USER32.dll_InvalidateRect]
movups xmm0, xmmword [edi]
movups xmmword [esi + 0x20], xmm0
jmp case.default.0x10021e9a
xor edi, edi
cmp dword [esi + 0x12c], edi
jle 0x10022750
mov eax, dword [esi + 0x128]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x10022747
mov eax, dword [ecx]
push 1
call dword [eax]
inc edi
cmp edi, dword [esi + 0x12c]
jl 0x10022734
mov eax, dword [esi + 0x128]
test eax, eax
je 0x10022763
push eax
call fcn.10079c0c
add esp, 4
mov dword [esi + 0x128], 0
mov dword [esi + 0x130], 0
mov dword [esi + 0x12c], 0
cmp dword [esi + 0x138], 0
jle 0x100228a7
mov eax, dword [esi + 0x134]
mov edi, dword [eax]
mov dword [ebp - 0x168], edi
test edi, edi
je 0x100228a7
mov eax, dword [esi + 0x138]
test eax, eax
jle 0x100227d0
dec eax
mov dword [esi + 0x138], eax
test eax, eax
jle 0x100227d0
mov ecx, dword [esi + 0x134]
shl eax, 2
push eax
lea eax, [ecx + 4]
push eax
push ecx
call fcn.1006ea30
add esp, 0xc
mov eax, dword [edi + 0x108]
mov dword [ebp - 0x170], eax
test eax, eax
je 0x10022821
cmp dword [eax + 0x38], 0
jle 0x10022821
xor edi, edi
cmp dword [eax + 0x38], edi
jle 0x1002281b
mov esi, dword [ebp - 0x168]
mov eax, dword [eax + 0x34]
mov ecx, dword [eax + edi*4]
test ecx, ecx
je 0x10022809
mov eax, dword [ecx]
push esi
mov eax, dword [eax + 8]
call eax
test al, al
je 0x10022815
mov eax, dword [ebp - 0x170]
inc edi
cmp edi, dword [eax + 0x38]
jl 0x100227f3
mov esi, dword [ebp - 0x198]
mov edi, dword [ebp - 0x168]
xor ecx, ecx
mov dword [ebp - 0x168], ecx
cmp dword [esi + 0xf0], ecx
jle 0x10022854
mov eax, dword [esi + 0xec]
push edi
mov ecx, dword [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [ebp - 0x168]
inc ecx
mov dword [ebp - 0x168], ecx
cmp ecx, dword [esi + 0xf0]
jl 0x10022831
mov dword [ebp - 4], 5
lea eax, [edi + 0x88]
mov ecx, dword [edi + 0x84]
cmp ecx, eax
je 0x10022874
push ecx
call fcn.10079c0c
add esp, 4
mov dword [ebp - 4], 6
lea eax, [edi + 4]
mov ecx, dword [edi]
cmp ecx, eax
je 0x1002288d
push ecx
call fcn.10079c0c
add esp, 4
push 0x120
push edi
mov dword [ebp - 4], 0xffffffff
call fcn.1006cf90
add esp, 8
jmp case.default.0x10021e9a
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.1006c6c9
mov esp, ebp
pop ebp
ret 0x10