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

Disassembly:
push 0x16c
mov eax, 0x4500de
call fcn.0043f6c1
mov ebx, ecx
mov dword [ebp - 0xc8], ebx
cmp dword [ebx], 0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x170], edi
mov dword [ebp - 0xd8], eax
je 0x410b19
lea eax, [ebx + 0x100]
push 0
mov ecx, eax
mov dword [ebp - 0x178], eax
call fcn.0041232f
mov esi, eax
test esi, esi
je 0x40f8e0
lea eax, [ebx + 0xb8]
mov ebx, eax
mov ecx, dword [ebp - 0x178]
push 0
call fcn.004125eb
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x40f88b
add ecx, 0x34
call fcn.00414255
test al, al
je 0x40f88b
mov ecx, dword [esi + 0x84]
push esi
add ecx, 0x34
call fcn.0041426b
mov ecx, ebx
xor edi, edi
call fcn.004123ab
test eax, eax
jle 0x40f8b3
push edi
mov ecx, ebx
call fcn.00411f6a
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, ebx
inc edi
call fcn.004123ab
cmp edi, eax
jl 0x40f898
mov ecx, esi
call fcn.00411e57
push esi
call fcn.0043d6b8
pop ecx
mov ecx, dword [ebp - 0x178]
push 0
call fcn.0041232f
mov esi, eax
test esi, esi
jne 0x40f859
mov ebx, dword [ebp - 0xc8]
mov edi, dword [ebp - 0x170]
and dword [ebp - 0x16c], 0
lea ecx, [ebx + 0xdc]
call fcn.004123ab
mov esi, dword [ebp + 8]
test eax, eax
jle 0x40f95b
mov edi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x16c]
push ecx
lea ecx, [ebx + 0xdc]
mov byte [ebp - 0x171], 0
call fcn.00411f6a
mov edx, dword [eax]
lea ecx, [ebp - 0x171]
push ecx
push edi
push dword [ebp - 0x170]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x171], 0
jne 0x40f9e4
inc dword [ebp - 0x16c]
lea ecx, [ebx + 0xdc]
call fcn.004123ab
mov ecx, dword [ebp - 0x16c]
cmp ecx, eax
jl 0x40f905
mov edi, dword [ebp - 0x170]
mov eax, 0x113
cmp esi, eax
ja 0x4102da
je 0x410243
cmp esi, 0x4e
ja 0x410083
je 0x410061
sub esi, 5
je 0x410019
sub esi, 0xa
je 0x40fb73
dec esi
je 0x40faef
sub esi, 4
je 0x40fadf
sub esi, 0xc
je 0x40f9f3
sub esi, 4
jne 0x410a85
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebp - 0x168]
test ecx, ecx
jle 0x40f9bd
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x70]
test ecx, ecx
jle 0x40f9c7
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x74]
test ecx, ecx
jle 0x40f9d1
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x78]
test ecx, ecx
jle 0x410a85
mov dword [eax + 0x24], ecx
jmp 0x410a85
mov ecx, dword [ebp - 0xd8]
mov dword [ecx], eax
mov al, 1
jmp 0x410b1b
mov esi, dword [ebp - 0x168]
xor eax, eax
inc eax
cmp si, ax
jne 0x410a85
cmp byte [ebx + 0xb6], 0
jne 0x410b1b
and dword [ebp - 0xdc], 0
and dword [ebp - 0xd8], 0
lea eax, [ebp - 0xdc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xdc]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0xd8]
mov ecx, ebx
push dword [ebp - 0xdc]
call fcn.0040f14f
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x410a85
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
test al, 2
je 0x410a85
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x140]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp - 0xdc]
mov dword [ebp - 0x138], eax
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x144], 0x17
mov dword [ebp - 0x128], esi
mov dword [ebp - 0x134], eax
call fcn.0040f7ab
mov word [ebp - 0x12e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x13c], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x144]
push edx
call dword [eax + 0x100]
jmp 0x40f9ec
mov ecx, dword [ebp - 0xd8]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x410b1b
and dword [ebp - 0x30], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x40fb2f
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x100]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x40fb4c
mov dword [ebp - 0x30], 0xe
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x100]
push 0
mov ecx, ebx
call fcn.0041147b
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x410a85
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x410a85
and dword [ebp - 0x40], 0
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0
lea eax, [ebp - 0x40]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x40f9ec
xor eax, eax
cmp dword [ebx + 0x50], eax
jne 0x40fbd7
push 0x3c
push eax
mov dword [ebp - 0x164], eax
lea eax, [ebp - 0x160]
push eax
call fcn.0043f3e0
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x164]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x40f9ec
cmp byte [ebx + 0xb1], al
je 0x40fce1
mov dword [ebp - 0x20], eax
mov byte [ebx + 0xb1], al
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]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40fce1
mov ecx, dword [ebx + 0x50]
call fcn.00414bf8
mov ecx, dword [ebx + 0x50]
test al, al
mov eax, dword [ecx]
je 0x40fc7a
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]
cmp dword [ebx + 0xc], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x40fc43
push dword [ebx + 0xc]
call esi
cmp dword [ebx + 0x10], 0
je 0x40fc4e
push dword [ebx + 0x10]
call esi
cmp dword [ebx + 0x14], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x40fc5f
push dword [ebx + 0x14]
call esi
cmp dword [ebx + 0x18], 0
je 0x40fc6a
push dword [ebx + 0x18]
call esi
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x18], eax
jmp 0x40fcc0
push SysReAllocString
push 0
push 0x411cf3
call dword [eax + 0xf4]
mov dword [ebp - 0x178], eax
test eax, eax
je 0x40fcbe
mov ebx, dword [eax]
mov ecx, eax
call dword [ebx + 0x30]
mov ecx, dword [ebp - 0x178]
sub esp, 0x10
mov esi, eax
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 [ebx + 0x34]
mov ebx, dword [ebp - 0xc8]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
jmp 0x40fc7a
xor eax, eax
cmp byte [ebx + 0xb0], 0
je 0x40fce1
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x50]
mov ecx, ebx
mov byte [ebx + 0xb0], al
call fcn.00411262
cmp byte [ebx + 0xb2], 0
je 0x40fcf3
push 1
mov ecx, ebx
call fcn.0041167a
cmp byte [ebx + 0xb3], 0
je 0x40fd55
cmp dword [ebx + 0x14], 0
jne 0x40fd55
and dword [ebp - 0xd4], 0
xor eax, eax
lea edi, [ebp - 0xd0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xd4]
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 - 0xc8]
sub eax, dword [ebp - 0xd0]
push eax
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0xd4]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x14], eax
and dword [ebp - 0x124], 0
push 0x3c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.0043f3e0
add esp, 0xc
lea eax, [ebp - 0x124]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0xb3], 0
je 0x40ffb9
push dword [ebx + 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xc]
call edi
push dword [ebx + 0xc]
mov dword [ebp - 0x178], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0xb4], 0
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0xc8], eax
je 0x40feb5
cmp dword [ebx + 0x18], 0
jne 0x40fe6e
and dword [ebp - 0xe4], 0
xor eax, eax
lea edi, [ebp - 0xe0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xe4]
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 - 0xd8]
sub eax, dword [ebp - 0xe0]
push eax
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0xe4]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
call edi
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x118]
push 0xcc0020
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x124]
push eax
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x11c]
push eax
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebx + 0x10]
call esi
jmp 0x40fe76
push dword [ebx + 0x18]
push dword [ebx + 0x10]
call edi
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x118]
push 0xcc0020
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebx + 0x10]
push eax
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x11c]
push eax
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebx + 0xc]
call esi
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x11c]
mov eax, dword [ecx]
push edx
push dword [ebx + 0xc]
call dword [eax + pe_nt_image_headers32]
lea ecx, [ebx + 0xe8]
xor esi, esi
call fcn.004123ab
test eax, eax
jle 0x40ff0f
lea edi, [ebx + 0xe8]
push esi
mov ecx, edi
call fcn.00411f6a
mov edx, dword [eax]
lea ecx, [ebp - 0x11c]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x128]
mov ecx, edi
inc esi
call fcn.004123ab
cmp esi, eax
jl 0x40fee1
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0xc8]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp - 0x110]
sub eax, dword [ebp - 0x118]
push 0xcc0020
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebx + 0xc]
push eax
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x11c]
push eax
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
push dword [ebp - 0x124]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x178]
push dword [ebx + 0xc]
call edi
cmp byte [ebx + 0x4c], 0
je 0x40ffec
push dword [0x4694a0]
push dword [ebp - 0x124]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x124]
call edi
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 esi
push dword [ebp - 0x124]
call edi
jmp 0x40ffec
push dword [ebp - 0x124]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
mov esi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x124]
call dword [edx + pe_nt_image_headers32]
push esi
push dword [ebp - 0x124]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x124]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0xb1], 0
je 0x40f9ec
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x40f9ec
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x41004c
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x30], 0x16
mov dword [ebp - 0x2c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x100]
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x40f9ec
call fcn.00414c54
jmp 0x40f9ec
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x40f9ec
push eax
push edi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40f9e4
sub esi, 0x7b
je 0x4101bf
sub esi, 0x85
je 0x410162
dec esi
je 0x410107
dec esi
je 0x4100bf
sub esi, 0xf
jne 0x410a85
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x410a85
push eax
push edi
push 0x2111
push eax
jmp 0x410078
cmp dword [ebx + 0x54], 0
je 0x410a85
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x170]
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x20], eax
call fcn.0040f7ab
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
jmp 0x4102c6
cmp dword [ebx + 0x60], 0
je 0x410a85
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x170]
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x20], eax
call fcn.0040f7ab
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x100]
and dword [ebx + 0x60], 0
jmp 0x410a85
cmp dword [ebx + 0x54], 0
je 0x410a85
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x170]
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x68]
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x20], eax
call fcn.0040f7ab
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x100]
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x60], eax
jmp 0x410a85
mov ecx, dword [ebp - 0x168]
movsx eax, cx
mov dword [ebp - 0xcc], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x5c], 0
mov eax, dword [ebp - 0xcc]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebx + 0x68], eax
je 0x410a85
mov ecx, ebx
call fcn.00410dc4
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xcc]
mov ecx, dword [ebx + 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x30], 0x11
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], ecx
jmp 0x410421
xor esi, esi
lea ecx, [ebx + 0xc4]
mov dword [ebp - 0xc8], esi
call fcn.004123ab
test eax, eax
jle 0x410a85
push esi
lea ecx, [ebx + 0xc4]
call fcn.00411f6a
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx]
jne 0x410281
movzx ecx, di
cmp dword [esi + 0xc], ecx
jne 0x410281
cmp byte [esi + 0x10], 0
je 0x4102a2
mov esi, dword [ebp - 0xc8]
inc esi
lea ecx, [ebx + 0xc4]
mov dword [ebp - 0xc8], esi
call fcn.004123ab
cmp esi, eax
jl 0x41025e
jmp 0x410a85
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x100]
jmp 0x410a85
mov eax, 0x204
cmp esi, eax
ja 0x4106f3
je 0x41065f
mov eax, esi
sub eax, 0x133
je 0x410642
sub eax, 5
je 0x410642
sub eax, 0xc8
je 0x4104ed
dec eax
je 0x410446
dec eax
je 0x4103c2
dec eax
jne 0x410a85
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x168]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0xc8], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x68], eax
call fcn.0040f14f
mov esi, eax
test esi, esi
je 0x410a85
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x410a85
mov ecx, ebx
call fcn.004112f3
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x30], 0x10
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
mov dword [ebx + 0x5c], esi
jmp 0x410a85
mov eax, dword [ebp - 0x168]
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0x5c], 0
cwde
mov dword [ebp - 0xc8], eax
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], eax
je 0x410a85
mov ecx, ebx
call fcn.00410dc4
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x5c]
mov edi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x30], 0xe
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x100]
and dword [ebx + 0x5c], 0
jmp 0x410a85
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x168]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0xc8], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x68], eax
call fcn.0040f14f
mov esi, eax
test esi, esi
je 0x410a85
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x410a85
mov dword [ebx + 0x5c], esi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
mov ecx, ebx
call fcn.004112f3
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x170]
mov edi, dword [ebp - 0x168]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x30], 0xd
mov dword [ebp - 0x2c], esi
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 dword [ebp - 0x28], eax
jmp 0x410635
cmp byte [ebx + 0xb5], 0
jne 0x410544
xor eax, eax
cmp dword [ebx + 0x1c], 0
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
push 3
pop ecx
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jne 0x41051f
mov dword [ebp - 0x34], 0x190
jmp 0x410533
push 0
push ecx
push 0x415
push dword [ebx + 0x1c]
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 [ebx + 0xb5], 1
mov eax, dword [ebp - 0x168]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0xc8], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x68], eax
call fcn.0040f14f
mov esi, eax
test esi, esi
je 0x410581
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x410a85
and dword [ebp - 0x30], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x28], eax
cmp esi, ecx
je 0x4105e9
test ecx, ecx
je 0x4105e9
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x100]
and dword [ebx + 0x58], 0
cmp dword [ebx + 0x1c], 0
je 0x4105e9
lea eax, [ebx + 0x20]
push eax
push 0
push 0x411
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [ebx + 0x58]
je 0x41060d
test esi, esi
je 0x41060d
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x30], 0xb
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
mov dword [ebx + 0x58], esi
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x410623
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], ecx
jmp 0x4102c9
test esi, esi
je 0x410a85
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
jmp 0x4102cf
mov ecx, dword [ebp - 0x168]
test ecx, ecx
je 0x410a85
push ecx
push edi
lea eax, [esi + 0x2000]
push eax
push ecx
jmp 0x410078
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x168]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0xc8], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x68], eax
call fcn.0040f14f
mov esi, eax
test esi, esi
je 0x410a85
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x410a85
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
mov ecx, ebx
call fcn.004112f3
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ebp - 0x170]
mov edi, dword [ebp - 0x168]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
jmp 0x41039c
sub esi, 0x20a
je 0x4109c3
sub esi, 0x97
je 0x410860
dec esi
dec esi
je 0x410822
sub esi, 0x75
je 0x410763
sub esi, 0x7ce9
jne 0x410a85
lea esi, [ebx + 0xf4]
mov ecx, esi
xor edi, edi
call fcn.004123ab
test eax, eax
jle 0x410757
push edi
mov ecx, esi
call fcn.00411f6a
test eax, eax
je 0x41074b
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, esi
inc edi
call fcn.004123ab
cmp edi, eax
jl 0x410737
mov ecx, esi
call fcn.00412178
jmp 0x410a85
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push edi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
mov dword [ebp - 0xc8], eax
mov edx, dword [ecx]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [edx + pe_nt_image_headers32]
test byte [ebp - 0x168], 0x10
je 0x410810
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x410810
or dword [ebp - 0x168], 2
and dword [ebp - 0x40], 0
xor eax, eax
lea edi, [ebp - 0x3c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
push 2
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x3c]
mov edi, dword [ebp - 0x170]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x40]
neg eax
push eax
push edi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x168]
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 0x4107ac
push dword [ebp - 0xc8]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x410a85
cmp dword [ebx + 0x1c], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x41083e
lea eax, [ebx + 0x20]
push eax
push 0
push 0x411
push dword [ebx + 0x1c]
call esi
cmp byte [ebx + 0xb5], 0
je 0x410854
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [ebx + 0xb5], 0
jmp 0x410a85
mov eax, dword [ebp - 0x168]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0xc8], ecx
push ecx
mov ecx, ebx
mov byte [ebx + 0xb5], 0
mov dword [ebp - 0x16c], eax
call fcn.0040f14f
mov esi, eax
test esi, esi
je 0x410a85
mov edx, dword [ebx + 0x58]
test edx, edx
je 0x4108d8
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0xc8]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x16c]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x100]
mov eax, dword [esi]
lea ecx, [ebp - 0xc4]
push ecx
mov ecx, esi
call dword [eax + 0x98]
and dword [ebp - 4], 0
lea ecx, [ebp - 0xc4]
call fcn.004124ee
test al, al
je 0x410910
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4]
call fcn.00411e57
jmp 0x40f9ec
push 0x2c
lea edi, [ebx + 0x20]
push 0
push edi
call fcn.0043f3e0
mov eax, dword [ebx]
mov dword [edi], 0x2c
mov dword [ebx + 0x24], 1
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov eax, dword [0x4694a4]
add esp, 0xc
lea ecx, [ebp - 0xc4]
mov dword [ebx + 0x40], eax
call fcn.00412398
mov dword [ebx + 0x44], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
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]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x1c], ecx
jne 0x4109a2
push ecx
push dword [0x4694a4]
mov eax, SysReAllocString
push ecx
push dword [ebx]
push eax
push eax
push eax
push eax
push 0x80000003
push ecx
push str.tooltips_class32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea esi, [ebx + 0x20]
push esi
push 0
push 0x432
push eax
mov dword [ebx + 0x1c], eax
call edi
xor ecx, ecx
jmp 0x4109a5
lea esi, [ebx + 0x20]
push esi
push ecx
push 0x436
push dword [ebx + 0x1c]
call edi
push esi
push 1
push 0x411
push dword [ebx + 0x1c]
call edi
jmp 0x4108fc
mov ecx, dword [ebp - 0x168]
movsx eax, cx
mov dword [ebp - 0xcc], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xcc]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0xc8]
mov ecx, dword [ebp - 0xcc]
push eax
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x68], eax
call fcn.0040f14f
mov esi, eax
test esi, esi
je 0x410a85
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x410a85
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x170]
shr ecx, 0x10
test cx, cx
sets al
mov dword [ebp - 0x30], 0x12
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x14], eax
call fcn.0040f7ab
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
movzx ecx, word [ebx + 0x68]
movzx eax, word [ebx + 0x64]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [ebx + 0x100]
push 0
mov ecx, edi
call fcn.0041232f
mov esi, eax
test esi, esi
je 0x410b19
add ebx, 0xb8
push 0
mov ecx, edi
call fcn.004125eb
mov ecx, dword [esi + 0x84]
test ecx, ecx
je 0x410ace
add ecx, 0x34
call fcn.00414255
test al, al
je 0x410ace
mov ecx, dword [esi + 0x84]
push esi
add ecx, 0x34
call fcn.0041426b
mov ecx, ebx
xor edi, edi
call fcn.004123ab
test eax, eax
jle 0x410af6
push edi
mov ecx, ebx
call fcn.00411f6a
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, ebx
inc edi
call fcn.004123ab
cmp edi, eax
jl 0x410adb
mov ecx, esi
call fcn.00411e57
push esi
call fcn.0043d6b8
mov edi, dword [ebp - 0x178]
pop ecx
push 0
mov ecx, edi
call fcn.0041232f
mov esi, eax
test esi, esi
jne 0x410aa0
xor al, al
call fcn.0043f67f
ret 0x10