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

Disassembly:
push 0x16c
mov eax, 0x464b23
call fcn.00446ba0
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 0x416201
lea eax, [ebx + 0x100]
push 0
mov ecx, eax
mov dword [ebp - 0x178], eax
call fcn.0041f465
mov esi, eax
test esi, esi
je 0x414fb9
lea eax, [ebx + 0xb8]
mov ebx, eax
mov ecx, dword [ebp - 0x178]
push 0
call fcn.0041f72a
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x414f5a
add ecx, 0x34
call fcn.0042269d
test al, al
je 0x414f5a
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x34
call fcn.004226b3
mov ecx, ebx
xor edi, edi
call fcn.0042278a
test eax, eax
jle 0x414f82
push edi
mov ecx, ebx
call fcn.0041f0e3
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, ebx
inc edi
call fcn.0042278a
cmp edi, eax
jl 0x414f67
mov ecx, esi
call fcn.0040e0f0
push 0x120
push esi
call fcn.0044622e
pop ecx
pop ecx
mov ecx, dword [ebp - 0x178]
push 0
call fcn.0041f465
mov esi, eax
test esi, esi
jne 0x414f28
mov ebx, dword [ebp - 0xc8]
mov edi, dword [ebp - 0x170]
and dword [ebp - 0x16c], 0
lea ecx, [ebx + 0xdc]
call fcn.0042278a
mov esi, dword [ebp + 8]
test eax, eax
jle 0x415034
mov edi, dword [ebp - 0x168]
mov ecx, dword [ebp - 0x16c]
push ecx
lea ecx, [ebx + 0xdc]
mov byte [ebp - 0x171], 0
call fcn.0041f0e3
lea ecx, [ebp - 0x171]
push ecx
push edi
push dword [ebp - 0x170]
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x171], 0
jne 0x4150bf
inc dword [ebp - 0x16c]
lea ecx, [ebx + 0xdc]
call fcn.0042278a
mov ecx, dword [ebp - 0x16c]
cmp ecx, eax
jl 0x414fde
mov edi, dword [ebp - 0x170]
mov eax, 0x113
cmp esi, eax
ja 0x41598d
je 0x4158f6
cmp esi, 0x4e
ja 0x415732
je 0x415710
sub esi, 5
je 0x4156c8
sub esi, 0xa
je 0x41524e
sub esi, 1
je 0x4151ca
sub esi, 4
je 0x4151ba
sub esi, 0xc
je 0x4150ce
sub esi, 4
jne 0x416163
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebp - 0x168]
test ecx, ecx
jle 0x415098
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x70]
test ecx, ecx
jle 0x4150a2
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x74]
test ecx, ecx
jle 0x4150ac
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x78]
test ecx, ecx
jle 0x416163
mov dword [eax + 0x24], ecx
jmp 0x416163
mov ecx, dword [ebp - 0xd8]
mov dword [ecx], eax
mov al, 1
jmp 0x416203
mov esi, dword [ebp - 0x168]
xor eax, eax
inc eax
cmp si, ax
jne 0x416163
cmp byte [ebx + 0xb6], 0
jne 0x416203
and dword [ebp - 0xdc], 0
lea eax, [ebp - 0xdc]
and dword [ebp - 0xd8], 0
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.00414823
mov dword [ebp - 0xc8], eax
test eax, eax
je 0x416163
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
test al, 2
je 0x416163
xor eax, eax
lea edi, [ebp - 0x140]
push 7
pop ecx
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.00414e7a
mov word [ebp - 0x12e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0xc8]
lea edx, [ebp - 0x144]
mov dword [ebp - 0x13c], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
jmp 0x4150c7
mov ecx, dword [ebp - 0xd8]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x416203
and dword [ebp - 0x30], 0
lea edi, [ebp - 0x2c]
push 7
xor eax, eax
pop ecx
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 0x41520a
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x415227
mov dword [ebp - 0x30], 0xe
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
push 0
mov ecx, ebx
call fcn.00416bb6
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x416163
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x416163
push 0
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push dword [ebx]
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4150c7
xor eax, eax
cmp dword [ebx + 0x50], eax
jne 0x4152a7
push 0x40
push eax
lea eax, [ebp - 0x164]
push eax
call fcn.00449690
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 0x4150c7
cmp byte [ebx + 0xb1], al
je 0x4153ad
mov byte [ebx + 0xb1], al
xorps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4153ad
mov ecx, dword [ebx + 0x50]
call fcn.0041d9ae
mov ecx, dword [ebx + 0x50]
test al, al
mov eax, dword [ecx]
je 0x415346
sub esp, 0x10
lea esi, [ebp - 0x20]
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]
cmp dword [ebx + 0xc], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x41530f
push dword [ebx + 0xc]
call esi
cmp dword [ebx + 0x10], 0
je 0x41531a
push dword [ebx + 0x10]
call esi
cmp dword [ebx + 0x14], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x41532b
push dword [ebx + 0x14]
call esi
cmp dword [ebx + 0x18], 0
je 0x415336
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 0x41538c
push SysReAllocString
push 0
push 0x41745b
call dword [eax + 0xfc]
mov dword [ebp - 0x178], eax
test eax, eax
je 0x41538a
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 0x415346
xor eax, eax
cmp byte [ebx + 0xb0], 0
je 0x4153ad
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x50]
mov ecx, ebx
mov byte [ebx + 0xb0], al
call fcn.00416995
cmp byte [ebx + 0xb2], 0
je 0x4153bf
push 1
mov ecx, ebx
call fcn.00416db9
cmp byte [ebx + 0xb3], 0
je 0x415419
cmp dword [ebx + 0x14], 0
jne 0x415419
lea eax, [ebp - 0xd4]
xorps xmm0, xmm0
push eax
push dword [ebx]
movups xmmword [ebp - 0xd4], xmm0
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
push 0x40
lea eax, [ebp - 0x124]
push 0
push eax
call fcn.00449690
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 0x415668
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 0x415564
cmp dword [ebx + 0x18], 0
jne 0x41551d
lea eax, [ebp - 0xe4]
xorps xmm0, xmm0
push eax
push dword [ebx]
movups xmmword [ebp - 0xe4], xmm0
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]
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 0x415525
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]
push edx
push dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + 0x118]
lea ecx, [ebx + 0xe8]
xor esi, esi
call fcn.0042278a
test eax, eax
jle 0x4155be
lea edi, [ebx + 0xe8]
push esi
mov ecx, edi
call fcn.0041f0e3
lea ecx, [ebp - 0x11c]
push ecx
push dword [ebx + 0xc]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + pe_nt_image_headers32]
mov ecx, edi
inc esi
call fcn.0042278a
cmp esi, eax
jl 0x415590
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 0x41569b
push dword [0x488130]
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 0x41569b
push dword [ebp - 0x124]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
mov esi, eax
lea eax, [ebp - 0x11c]
push eax
push dword [ebp - 0x124]
mov edx, dword [ecx]
call dword [edx + 0x118]
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 0x4150c7
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4150c7
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x4156fb
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]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x4150c7
call fcn.0041da0a
jmp 0x4150c7
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x4150c7
push eax
push edi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4150bf
sub esi, 0x7b
je 0x415872
sub esi, 0x85
je 0x415815
sub esi, 1
je 0x4157ba
sub esi, 1
je 0x415772
sub esi, 0xf
jne 0x416163
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x416163
push eax
push edi
push 0x2111
push eax
jmp 0x415727
cmp dword [ebx + 0x54], 0
je 0x416163
xor eax, eax
lea edi, [ebp - 0x2c]
push 7
pop ecx
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.00414e7a
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
jmp 0x415979
cmp dword [ebx + 0x60], 0
je 0x416163
xor eax, eax
lea edi, [ebp - 0x2c]
push 7
pop ecx
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.00414e7a
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
and dword [ebx + 0x60], 0
jmp 0x416163
cmp dword [ebx + 0x54], 0
je 0x416163
xor eax, eax
lea edi, [ebp - 0x2c]
push 7
pop ecx
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.00414e7a
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x60], eax
jmp 0x416163
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 0x416163
mov ecx, ebx
call fcn.004164ae
xor eax, eax
lea edi, [ebp - 0x2c]
push 7
pop ecx
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 0x415ada
xor esi, esi
lea ecx, [ebx + 0xc4]
mov dword [ebp - 0xc8], esi
call fcn.0042278a
test eax, eax
jle 0x416163
push esi
lea ecx, [ebx + 0xc4]
call fcn.0041f0e3
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx]
jne 0x415934
movzx ecx, di
cmp dword [esi + 0xc], ecx
jne 0x415934
cmp byte [esi + 0x10], 0
je 0x415955
mov esi, dword [ebp - 0xc8]
lea ecx, [ebx + 0xc4]
inc esi
mov dword [ebp - 0xc8], esi
call fcn.0042278a
cmp esi, eax
jl 0x415911
jmp 0x416163
push 7
xor eax, eax
lea edi, [ebp - 0x2c]
pop ecx
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 + 0x108]
jmp 0x416163
mov eax, 0x204
cmp esi, eax
ja 0x415dc1
je 0x415d2d
mov eax, esi
sub eax, 0x133
je 0x415d10
sub eax, 5
je 0x415d10
sub eax, 0xc8
je 0x415ba6
sub eax, 1
je 0x415aff
sub eax, 1
je 0x415a7b
sub eax, 1
jne 0x416163
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.00414823
mov esi, eax
test esi, esi
je 0x416163
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x416163
mov ecx, ebx
call fcn.00416a2d
xor eax, eax
lea edi, [ebp - 0x2c]
push 7
pop ecx
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]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x5c], esi
jmp 0x416163
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 0x416163
mov ecx, ebx
call fcn.004164ae
push 7
xor eax, eax
lea edi, [ebp - 0x2c]
pop ecx
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]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
and dword [ebx + 0x5c], 0
jmp 0x416163
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.00414823
mov esi, eax
test esi, esi
je 0x416163
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x416163
mov dword [ebx + 0x5c], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xf0]
mov ecx, ebx
call fcn.00416a2d
push 7
xor eax, eax
lea edi, [ebp - 0x2c]
pop ecx
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 0x415d03
cmp byte [ebx + 0xb5], 0
jne 0x415c12
xor eax, eax
lea edi, [ebp - 0xd0]
cmp dword [ebx + 0x1c], 0
stosd dword es:[edi], eax
push 3
pop ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
mov dword [ebp - 0xd4], 0x10
mov dword [ebp - 0xd0], ecx
mov dword [ebp - 0xcc], eax
jne 0x415be7
mov dword [ebp - 0xc8], 0x190
jmp 0x415bfe
push 0
push ecx
push 0x415
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0xc8], eax
lea eax, [ebp - 0xd4]
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.00414823
mov esi, eax
test esi, esi
je 0x415c4f
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x416163
and dword [ebp - 0x30], 0
lea edi, [ebp - 0x2c]
push 7
xor eax, eax
pop ecx
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 0x415cb7
test ecx, ecx
je 0x415cb7
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x58], 0
cmp dword [ebx + 0x1c], 0
je 0x415cb7
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 0x415cdb
test esi, esi
je 0x415cdb
mov dword [ebp - 0x30], 0xb
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], 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 0x415cf1
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], ecx
jmp 0x41597c
test esi, esi
je 0x416163
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
jmp 0x415982
mov ecx, dword [ebp - 0x168]
test ecx, ecx
je 0x416163
push ecx
push edi
lea eax, [esi + 0x2000]
push eax
push ecx
jmp 0x415727
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.00414823
mov esi, eax
test esi, esi
je 0x416163
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x416163
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov ecx, ebx
call fcn.00416a2d
push 7
xor eax, eax
lea edi, [ebp - 0x2c]
pop ecx
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 0x415a55
sub esi, 0x20a
je 0x4160a4
sub esi, 0x97
je 0x415f25
dec esi
sub esi, 1
je 0x415ee7
sub esi, 0x75
je 0x415e33
sub esi, 0x7ce9
jne 0x416163
lea esi, [ebx + 0xf4]
xor edi, edi
mov ecx, esi
call fcn.0042278a
test eax, eax
jle 0x415e27
push edi
mov ecx, esi
call fcn.0041f0e3
test eax, eax
je 0x415e1b
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, esi
inc edi
call fcn.0042278a
cmp edi, eax
jl 0x415e07
mov ecx, esi
call fcn.0041f2f1
jmp 0x416163
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
lea eax, [ebp - 0x20]
push eax
push edi
mov edx, dword [ecx]
call dword [edx + 0x118]
test byte [ebp - 0x168], 0x10
je 0x415ed5
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x415ed5
or dword [ebp - 0x168], 2
lea eax, [ebp - 0x40]
xorps xmm0, xmm0
push eax
push esi
movups xmmword [ebp - 0x40], xmm0
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x40]
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x3c]
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 0x415e7c
push dword [ebp - 0xc8]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x416163
cmp dword [ebx + 0x1c], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x415f03
lea eax, [ebx + 0x20]
push eax
push 0
push 0x411
push dword [ebx + 0x1c]
call esi
cmp byte [ebx + 0xb5], 0
je 0x415f19
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [ebx + 0xb5], 0
jmp 0x416163
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.00414823
mov esi, eax
mov dword [ebp - 0xd8], esi
test esi, esi
je 0x416163
mov edx, dword [ebx + 0x58]
test edx, edx
je 0x415fa3
push 7
xor eax, eax
lea edi, [ebp - 0x2c]
pop ecx
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]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
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.0041f62c
test al, al
je 0x415fd7
lea ecx, [ebp - 0xc4]
call fcn.0041f00d
jmp 0x4150c7
push 0x2c
lea edi, [ebx + 0x20]
push 0
push edi
call fcn.00449690
mov eax, dword [ebx]
lea ecx, [ebp - 0xc4]
add esp, 0xc
mov dword [edi], 0x2c
mov dword [ebx + 0x24], 1
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov eax, dword [0x488120]
mov dword [ebx + 0x40], eax
call fcn.0041f4ce
mov dword [ebx + 0x44], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x30]
mov esi, eax
lea edi, [ebx + 0x30]
xor ecx, ecx
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]
cmp dword [ebx + 0x1c], ecx
jne 0x416067
push ecx
push dword [0x488120]
mov eax, SysReAllocString
push ecx
push dword [ebx]
push eax
push eax
push eax
push eax
push SysStringLen
push ecx
push str.tooltips_class32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea edi, [ebx + 0x20]
mov dword [ebx + 0x1c], eax
push edi
push 0
push 0x432
push eax
call esi
jmp 0x41606a
lea edi, [ebx + 0x20]
mov ecx, dword [ebp - 0xd8]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
push 0
push 0x418
push dword [ebx + 0x1c]
call esi
push edi
push 0
push 0x436
push dword [ebx + 0x1c]
call esi
push edi
push 1
push 0x411
push dword [ebx + 0x1c]
call esi
jmp 0x415fc7
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.00414823
mov esi, eax
test esi, esi
je 0x416163
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x416163
xor eax, eax
lea edi, [ebp - 0x2c]
push 7
pop ecx
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x170]
shr eax, 0x10
shr eax, 0xf
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x30], 0x12
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], eax
call fcn.00414e7a
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
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.0041f465
mov esi, eax
test esi, esi
je 0x416201
add ebx, 0xb8
push 0
mov ecx, edi
call fcn.0041f72a
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x4161b0
add ecx, 0x34
call fcn.0042269d
test al, al
je 0x4161b0
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x34
call fcn.004226b3
mov ecx, ebx
xor edi, edi
call fcn.0042278a
test eax, eax
jle 0x4161d8
push edi
mov ecx, ebx
call fcn.0041f0e3
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, ebx
inc edi
call fcn.0042278a
cmp edi, eax
jl 0x4161bd
mov ecx, esi
call fcn.0040e0f0
push 0x120
push esi
call fcn.0044622e
mov edi, dword [ebp - 0x178]
pop ecx
pop ecx
push 0
mov ecx, edi
call fcn.0041f465
mov esi, eax
test esi, esi
jne 0x416182
xor al, al
call fcn.00446b5b
ret 0x10