Function at 0x40865e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0x140
mov eax, 0x44bcb7
call fcn.0043a1cf
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov ebx, ecx
cmp dword [ebx], 0
mov dword [ebp - 0x13c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x148], eax
je 0x409ab8
lea ecx, [ebx + 0x100]
mov dword [ebp - 0x144], ecx
jmp 0x40872b
mov ecx, dword [ebp - 0x144]
push 0
call fcn.0040b8a8
mov eax, dword [edi + 0x108]
test eax, eax
je 0x4086d0
lea ecx, [eax + 0x34]
call fcn.00413288
test al, al
je 0x4086d0
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x34
call fcn.004132e5
and dword [ebp - 0x138], 0
lea ecx, [ebx + 0xb8]
call fcn.0040b909
test eax, eax
jle 0x408717
push dword [ebp - 0x138]
lea ecx, [ebx + 0xb8]
call fcn.0040b929
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
inc dword [ebp - 0x138]
lea ecx, [ebx + 0xb8]
call fcn.0040b909
cmp dword [ebp - 0x138], eax
jl 0x4086e6
mov ecx, edi
call fcn.00406880
push edi
call fcn.004390d4
pop ecx
mov ecx, dword [ebp - 0x144]
push 0
call fcn.0040b90d
mov edi, eax
test edi, edi
jne 0x40869e
and dword [ebp - 0x138], eax
lea ecx, [ebx + 0xdc]
call fcn.0040b909
mov edi, dword [ebp + 8]
test eax, eax
jle 0x4087a7
push dword [ebp - 0x138]
lea ecx, [ebx + 0xdc]
mov byte [ebp - 0x13d], 0
call fcn.0040b929
mov edx, dword [eax]
lea ecx, [ebp - 0x13d]
push ecx
push dword [ebp - 0x13c]
mov ecx, eax
push esi
push edi
call dword [edx]
cmp byte [ebp - 0x13d], 0
jne 0x408830
inc dword [ebp - 0x138]
lea ecx, [ebx + 0xdc]
call fcn.0040b909
cmp dword [ebp - 0x138], eax
jl 0x408754
mov eax, 0x113
cmp edi, eax
ja 0x409187
je 0x4090d3
cmp edi, 0x4e
ja 0x408ee2
je 0x408ec0
sub edi, 5
je 0x408e67
sub edi, 0xa
je 0x4089db
dec edi
je 0x408936
sub edi, 4
je 0x408925
sub edi, 0xc
je 0x40883f
sub edi, 4
jne 0x409a20
mov eax, dword [ebx + 0x6c]
mov ecx, dword [ebp - 0x13c]
test eax, eax
jle 0x408809
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x70]
test eax, eax
jle 0x408813
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x74]
test eax, eax
jle 0x40881d
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x78]
test eax, eax
jle 0x409a20
mov dword [ecx + 0x24], eax
jmp 0x409a20
mov ecx, dword [ebp - 0x148]
mov dword [ecx], eax
mov al, 1
jmp 0x409aba
cmp word [ebp - 0x13c], 1
jne 0x409a20
cmp byte [ebx + 0xb6], 0
jne 0x408838
and dword [ebp - 0x14c], 0
xor eax, eax
lea edi, [ebp - 0x148]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x14c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x148]
mov ecx, ebx
push dword [ebp - 0x14c]
call fcn.00407fb3
mov dword [ebp - 0x138], eax
test eax, eax
je 0x409a20
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
test al, 2
je 0x409a20
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x110]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xf8], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x114], 0x17
mov dword [ebp - 0xfc], esi
mov dword [ebp - 0x104], eax
call fcn.0040682d
mov word [ebp - 0xfe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x138]
lea edx, [ebp - 0x114]
mov dword [ebp - 0x10c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
jmp 0x408838
mov eax, dword [ebp - 0x148]
mov dword [eax], 1
jmp 0x408838
and dword [ebp - 0xd4], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0xcc], eax
test ecx, ecx
je 0x40898e
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0xa
mov dword [ebp - 0xd0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x4089b4
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0xe
mov dword [ebp - 0xd0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
push 0
mov ecx, ebx
call fcn.004081f8
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x409a20
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x409a20
xor eax, eax
xor esi, esi
mov dword [ebp - 0x30], esi
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x30]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x408838
cmp dword [ebx + 0x50], esi
jne 0x408a3d
push 0x3c
lea eax, [ebp - 0x130]
push esi
push eax
mov dword [ebp - 0x134], esi
call fcn.0043a230
add esp, 0xc
lea eax, [ebp - 0x134]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x134]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x408838
cmp byte [ebx + 0xb1], 0
je 0x408b52
and dword [ebp - 0x20], esi
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
mov byte [ebx + 0xb1], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x408b52
mov ecx, dword [ebx + 0x50]
call fcn.00413a41
mov ecx, dword [ebx + 0x50]
test al, al
mov eax, dword [ecx]
je 0x408b12
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x34]
mov eax, dword [ebx + 0xc]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x408aae
push eax
call esi
mov eax, dword [ebx + 0x10]
xor edi, edi
cmp eax, edi
je 0x408aba
push eax
call esi
mov eax, dword [ebx + 0x14]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, edi
je 0x408aca
push eax
call esi
mov eax, dword [ebx + 0x18]
cmp eax, edi
je 0x408ad4
push eax
call esi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
mov dword [ebx + 0x18], edi
jmp 0x408b2e
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx]
mov dword [ebp - 0x144], eax
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x138]
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x144]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x34]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x40782f
call dword [eax + 0xfc]
mov dword [ebp - 0x138], eax
test eax, eax
jne 0x408ae2
cmp byte [ebx + 0xb0], 0
je 0x408b52
xor eax, eax
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x50]
mov ecx, ebx
mov byte [ebx + 0xb0], 0
call fcn.00407d35
cmp byte [ebx + 0xb2], 0
je 0x408b64
push 1
mov ecx, ebx
call fcn.00408390
cmp byte [ebx + 0xb3], 0
je 0x408bb1
cmp dword [ebx + 0x14], 0
jne 0x408bb1
and dword [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 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 [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x14], eax
and dword [ebp - 0xf4], 0
push 0x3c
lea eax, [ebp - 0xf0]
push 0
push eax
call fcn.0043a230
add esp, 0xc
lea eax, [ebp - 0xf4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0xb3], 0
je 0x408e07
push dword [ebx + 0x14]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xc]
call esi
push dword [ebx + 0xc]
mov dword [ebp - 0x148], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0xb4], 0
mov dword [ebp - 0x144], eax
je 0x408cf4
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x408cab
and dword [ebp - 0x20], eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 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 [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
call esi
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xe8]
push 0xcc0020
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push dword [ebp - 0xf4]
push eax
mov eax, dword [ebp - 0xe4]
sub eax, dword [ebp - 0xec]
push eax
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x408cb1
push eax
push dword [ebx + 0x10]
call esi
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xe8]
push 0xcc0020
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push dword [ebx + 0x10]
push eax
mov eax, dword [ebp - 0xe4]
sub eax, dword [ebp - 0xec]
push eax
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
lea edx, [ebp - 0xec]
push edx
push dword [ebx + 0xc]
call dword [eax + 0x118]
and dword [ebp - 0x138], 0
lea ecx, [ebx + 0xe8]
call fcn.0040b909
test eax, eax
jle 0x408d5d
push dword [ebp - 0x138]
lea ecx, [ebx + 0xe8]
call fcn.0040b929
mov edx, dword [eax]
lea ecx, [ebp - 0xec]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x130]
inc dword [ebp - 0x138]
lea ecx, [ebx + 0xe8]
call fcn.0040b909
cmp dword [ebp - 0x138], eax
jl 0x408d1f
push dword [ebp - 0x144]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp - 0xe0]
sub eax, dword [ebp - 0xe8]
push 0xcc0020
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push dword [ebx + 0xc]
push eax
mov eax, dword [ebp - 0xe4]
sub eax, dword [ebp - 0xec]
push eax
push dword [ebp - 0xe8]
push dword [ebp - 0xec]
push dword [ebp - 0xf4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x148]
push dword [ebx + 0xc]
call esi
cmp byte [ebx + 0x4c], 0
je 0x408e3a
push dword [0x469500]
push dword [ebp - 0xf4]
call esi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0xf4]
call esi
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x30]
push dword [ebp - 0xf4]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [ebp - 0xf4]
call esi
jmp 0x408e3a
push dword [ebp - 0xf4]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0xec]
push edx
push dword [ebp - 0xf4]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x118]
push esi
push dword [ebp - 0xf4]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0xf4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0xb1], 0
je 0x408838
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x408838
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x408ea9
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xd4], 0x16
mov dword [ebp - 0xd0], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ebx, dword [ebx + 0x50]
test ebx, ebx
je 0x408838
mov ecx, ebx
call fcn.00413a48
jmp 0x408838
mov eax, dword [ebp - 0x13c]
test eax, eax
je 0x408838
push eax
push esi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x408830
sub edi, 0x7b
je 0x40905a
sub edi, 0x85
je 0x408feb
dec edi
je 0x408f7e
dec edi
je 0x408f2a
sub edi, 0xf
jne 0x409a20
cmp dword [ebp - 0x13c], edi
je 0x409a20
push dword [ebp - 0x13c]
push esi
push 0x2111
push dword [ebp - 0x13c]
jmp 0x408ed7
cmp dword [ebx + 0x54], 0
je 0x409a20
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0xd4], 5
mov word [ebp - 0xc0], si
mov dword [ebp - 0xc4], eax
call fcn.0040682d
mov word [ebp - 0xbe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
jmp 0x40916d
cmp dword [ebx + 0x60], 0
je 0x409a20
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0xd4], 4
mov word [ebp - 0xc0], si
mov dword [ebp - 0xc4], eax
call fcn.0040682d
mov word [ebp - 0xbe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x60], 0
jmp 0x409a20
cmp dword [ebx + 0x54], 0
je 0x409a20
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0xd4], 3
mov word [ebp - 0xc0], si
mov dword [ebp - 0xc4], eax
call fcn.0040682d
mov word [ebp - 0xbe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x60], eax
jmp 0x409a20
mov eax, dword [ebp - 0x13c]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx]
mov dword [ebp - 0x18], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x5c], 0
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x68], eax
je 0x409a20
mov ecx, ebx
call fcn.00406f0d
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xc8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xd4], 0x11
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc4], ecx
mov dword [ebp - 0xb8], eax
jmp 0x4092f3
and dword [ebp - 0x138], 0
lea ecx, [ebx + 0xc4]
call fcn.0040b909
test eax, eax
jle 0x409a20
push dword [ebp - 0x138]
lea ecx, [ebx + 0xc4]
call fcn.0040b929
mov ecx, dword [eax + 8]
mov dword [ebp - 0x148], eax
cmp ecx, dword [ebx]
jne 0x409119
movzx ecx, si
cmp dword [eax + 0xc], ecx
jne 0x409119
cmp byte [eax + 0x10], 0
je 0x409137
inc dword [ebp - 0x138]
lea ecx, [ebx + 0xc4]
call fcn.0040b909
cmp dword [ebp - 0x138], eax
jl 0x4090ed
jmp 0x409a20
mov esi, dword [ebp - 0x148]
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [ebp - 0xd0], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0xd4], 0x18
mov dword [ebp - 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
lea edx, [ebp - 0xd4]
push edx
call dword [eax + 0x108]
jmp 0x409a20
mov eax, 0x204
cmp edi, eax
ja 0x40961f
je 0x40958f
mov eax, edi
sub eax, 0x133
je 0x40956f
sub eax, 5
je 0x40956f
sub eax, 0xc8
je 0x4093f0
dec eax
je 0x409321
dec eax
je 0x40927f
dec eax
jne 0x409a20
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x13c]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x68], eax
call fcn.00407fb3
mov dword [ebp - 0x138], eax
test eax, eax
je 0x409a20
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x409a20
mov ecx, ebx
call fcn.00406ef9
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov dword [ebp - 0xd4], 0x10
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x138]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xbe], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x108]
mov dword [ebx + 0x5c], edi
jmp 0x409a20
mov ecx, dword [ebp - 0x13c]
movsx eax, word [ebp - 0x13c]
shr ecx, 0x10
cmp dword [ebx + 0x5c], 0
movsx ecx, cx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x68], ecx
je 0x409a20
mov ecx, ebx
call fcn.00406f0d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xd4], 0xe
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xbe], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x5c], 0
jmp 0x409a20
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x13c]
movsx eax, word [ebp - 0x13c]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x68], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x64], eax
call fcn.00407fb3
mov dword [ebp - 0x138], eax
test eax, eax
je 0x409a20
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x409a20
mov ecx, dword [ebp - 0x138]
mov dword [ebx + 0x5c], ecx
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, ebx
call fcn.00406ef9
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x13c]
mov edi, dword [ebp - 0x138]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xd4], 0xd
mov dword [ebp - 0xd0], edi
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xc4], eax
mov word [ebp - 0xbe], si
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
jmp 0x40917c
cmp byte [ebx + 0xb5], 0
jne 0x409446
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
push 3
mov dword [ebp - 0x28], eax
mov eax, dword [ebx + 0x1c]
pop ecx
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], ecx
test eax, eax
jne 0x409423
mov dword [ebp - 0x24], 0x190
jmp 0x409435
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0xb5], 1
mov eax, dword [ebp - 0x13c]
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov ecx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], eax
call fcn.00407fb3
mov dword [ebp - 0x138], eax
test eax, eax
je 0x40947e
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x409a20
and dword [ebp - 0xd4], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0x138], ecx
je 0x4094f8
test ecx, ecx
je 0x4094f8
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0xa
mov dword [ebp - 0xd0], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov eax, dword [ebx + 0x1c]
and dword [ebx + 0x58], 0
test eax, eax
je 0x4094f8
lea ecx, [ebx + 0x20]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov esi, dword [ebp - 0x138]
cmp esi, dword [ebx + 0x58]
je 0x40952b
test esi, esi
je 0x40952b
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xd4], 0xb
mov dword [ebp - 0xd0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x58], esi
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x409547
mov dword [ebp - 0xd4], 9
mov dword [ebp - 0xd0], ecx
jmp 0x409173
test esi, esi
je 0x409a20
lea ecx, [ebp - 0xd4]
mov dword [ebp - 0xd4], 9
mov dword [ebp - 0xd0], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x40917c
cmp dword [ebp - 0x13c], 0
je 0x409a20
push dword [ebp - 0x13c]
add edi, 0x2000
push esi
push edi
jmp 0x408f22
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x13c]
movsx eax, word [ebp - 0x13c]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x68], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x64], eax
call fcn.00407fb3
mov dword [ebp - 0x138], eax
test eax, eax
je 0x409a20
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x409a20
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, ebx
call fcn.00406ef9
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xd4], 0xf
mov dword [ebp - 0xbc], esi
mov dword [ebp - 0xb8], eax
jmp 0x409235
sub edi, 0x20a
je 0x409941
sub edi, 0x97
je 0x4097b4
dec edi
dec edi
je 0x409777
sub edi, 0x75
je 0x409697
sub edi, 0x7ce9
jne 0x409a20
lea ecx, [ebx + 0xf4]
call fcn.0040b909
test eax, eax
jle 0x409687
push edi
lea ecx, [ebx + 0xf4]
call fcn.0040b929
test eax, eax
je 0x409677
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
lea ecx, [ebx + 0xf4]
inc edi
call fcn.0040b909
cmp edi, eax
jl 0x40965f
lea ecx, [ebx + 0xf4]
call fcn.0040b771
jmp 0x409a20
lea eax, [ebp - 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0xc4]
push edx
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
push esi
call dword [eax + 0x118]
test byte [ebp - 0x13c], 0x10
je 0x409768
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x138], eax
test eax, eax
je 0x409768
mov eax, dword [ebp - 0x13c]
or eax, 2
mov dword [ebp - 0x148], eax
and dword [ebp - 0x30], 0
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebp - 0x138]
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x30]
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x2c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x30]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x148]
push esi
push 0x317
push dword [ebp - 0x138]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push dword [ebp - 0x138]
call dword [sym.imp.USER32.dll_GetWindow]
mov dword [ebp - 0x138], eax
test eax, eax
jne 0x4096f7
push dword [ebp - 0x14]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x409a20
mov eax, dword [ebx + 0x1c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x409792
lea ecx, [ebx + 0x20]
push ecx
push 0
push 0x411
push eax
call esi
cmp byte [ebx + 0xb5], 0
je 0x4097a8
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [ebx + 0xb5], 0
jmp 0x409a20
mov eax, dword [ebp - 0x13c]
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov ecx, ebx
mov byte [ebx + 0xb5], 0
mov dword [ebp - 0x14], eax
call fcn.00407fb3
mov dword [ebp - 0x138], eax
test eax, eax
je 0x409a20
mov edx, dword [ebx + 0x58]
test edx, edx
je 0x409833
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc8], esi
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xd4], 0xc
mov dword [ebp - 0xd0], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx]
lea edx, [ebp - 0xb4]
push edx
call dword [eax + 0x98]
and dword [ebp - 4], 0
lea ecx, [ebp - 0xb4]
call fcn.0040ba70
test al, al
je 0x40986f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xb4]
call fcn.0040b945
jmp 0x408838
push 0x2c
pop edi
push edi
lea esi, [ebx + 0x20]
push 0
push esi
call fcn.0043a230
mov eax, dword [ebx]
mov dword [esi], edi
mov dword [ebx + 0x24], 1
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov eax, dword [0x469504]
add esp, 0xc
lea ecx, [ebp - 0xb4]
mov dword [ebx + 0x40], eax
call fcn.004069eb
mov ecx, dword [ebp - 0x138]
mov dword [ebx + 0x44], eax
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp dword [ebx + 0x1c], 0
lea edi, [ebx + 0x30]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
jne 0x409901
xor edi, edi
push edi
push dword [0x469504]
mov eax, SysReAllocString
push edi
push dword [ebx]
push eax
push eax
push eax
push eax
push SysStringLen
push edi
push str.tooltips_class32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea ecx, [ebx + 0x20]
push ecx
push edi
push 0x432
push eax
mov dword [ebx + 0x1c], eax
call esi
jmp 0x409903
xor edi, edi
mov ecx, dword [ebp - 0x138]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
push edi
push 0x418
push dword [ebx + 0x1c]
call esi
lea eax, [ebx + 0x20]
push eax
push edi
push 0x436
push dword [ebx + 0x1c]
call esi
lea eax, [ebx + 0x20]
push eax
push 1
push 0x411
push dword [ebx + 0x1c]
call esi
jmp 0x40985b
movsx eax, word [ebp - 0x13c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x13c]
shr eax, 0x10
cwde
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x18]
push ecx
mov dword [ebx + 0x68], ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x64], eax
call fcn.00407fb3
mov dword [ebp - 0x138], eax
test eax, eax
je 0x409a20
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x409a20
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0xd0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0xd0], eax
xor eax, eax
shr esi, 0x10
test si, si
sets al
mov dword [ebp - 0xd4], 0x12
mov dword [ebp - 0xbc], eax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xb8], eax
call fcn.0040682d
mov word [ebp - 0xbe], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x138]
lea edx, [ebp - 0xd4]
mov dword [ebp - 0xcc], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
movzx eax, word [ebx + 0x68]
movzx ecx, word [ebx + 0x64]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x144]
push 0
call fcn.0040b90d
mov edi, eax
test edi, edi
je 0x409ab8
add ebx, 0xb8
mov ecx, dword [ebp - 0x144]
push 0
call fcn.0040b8a8
mov eax, dword [edi + 0x108]
test eax, eax
je 0x409a6f
lea ecx, [eax + 0x34]
call fcn.00413288
test al, al
je 0x409a6f
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x34
call fcn.004132e5
mov ecx, ebx
xor esi, esi
call fcn.0040b909
test eax, eax
jle 0x409a97
push esi
mov ecx, ebx
call fcn.0040b929
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
mov ecx, ebx
inc esi
call fcn.0040b909
cmp esi, eax
jl 0x409a7c
mov ecx, edi
call fcn.00406880
push edi
call fcn.004390d4
pop ecx
mov ecx, dword [ebp - 0x144]
push 0
call fcn.0040b90d
mov edi, eax
test edi, edi
jne 0x409a3d
xor al, al
call fcn.0043a219
ret 0x10