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

Disassembly:
push ebp
sub esp, 0xc4
lea ebp, [esp - 4]
mov eax, dword [0x44acac]
xor eax, ebp
mov dword [ebp + 0xc4], eax
push 0x48
mov eax, 0x43b82a
call fcn.0042b1c9
mov eax, dword [ebp + 0xd4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0xd8]
mov ebx, ecx
cmp dword [ebx], 0
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xdc]
mov dword [ebp - 0x48], eax
je 0x40733a
lea ecx, [ebx + 0xfc]
mov dword [ebp - 0x24], ecx
jmp 0x406126
mov ecx, dword [ebp - 0x24]
push 0
call fcn.00407701
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4060e1
lea ecx, [eax + 0x34]
call fcn.0041276d
test al, al
je 0x4060e1
mov ecx, dword [esi + 0x44]
push esi
add ecx, 0x34
call fcn.0041277c
lea ecx, [ebx + 0xb4]
xor edi, edi
call fcn.00404667
test eax, eax
jle 0x406115
push edi
lea ecx, [ebx + 0xb4]
call fcn.00407778
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
lea ecx, [ebx + 0xb4]
inc edi
call fcn.00404667
cmp edi, eax
jl 0x4060f2
mov ecx, esi
call fcn.004077a3
push esi
call fcn.0042b560
pop ecx
mov ecx, dword [ebp - 0x24]
push 0
call fcn.0040775f
mov esi, eax
test esi, esi
jne 0x4060b8
and dword [ebp - 0x14], eax
lea edi, [ebx + 0xd8]
mov ecx, edi
call fcn.00404667
mov esi, dword [ebp + 0xd0]
test eax, eax
jle 0x406185
push dword [ebp - 0x14]
mov ecx, edi
mov byte [ebp - 0x1d], 0
call fcn.00407778
mov edx, dword [eax]
lea ecx, [ebp - 0x1d]
push ecx
push dword [ebp - 0x10]
mov ecx, eax
push dword [ebp - 0x1c]
push esi
call dword [edx]
cmp byte [ebp - 0x1d], 0
jne 0x40620f
inc dword [ebp - 0x14]
mov ecx, edi
call fcn.00404667
cmp dword [ebp - 0x14], eax
jl 0x40614d
mov eax, 0x113
cmp esi, eax
ja 0x406acb
je 0x406a32
cmp esi, 0x4e
ja 0x40683e
je 0x40681d
mov eax, esi
sub eax, 5
je 0x4067c4
push 0xa
pop esi
sub eax, esi
je 0x406375
dec eax
je 0x4062d4
sub eax, 4
je 0x4062c6
sub eax, 0xc
je 0x40621b
sub eax, 4
jne 0x4072b6
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebp - 0x10]
test eax, eax
jle 0x4061e8
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x4061f2
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x70]
test eax, eax
jle 0x4061fc
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x74]
test eax, eax
jle 0x4072b6
mov dword [ecx + 0x24], eax
jmp 0x4072b6
mov ecx, dword [ebp - 0x48]
mov dword [ecx], eax
mov al, 1
jmp 0x40733c
cmp word [ebp - 0x10], 1
jne 0x4072b6
cmp byte [ebx + 0xb2], 0
jne 0x406214
and dword [ebp - 0x2c], 0
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x2c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x28]
mov ecx, ebx
push dword [ebp - 0x2c]
call fcn.00405a36
mov esi, eax
test esi, esi
je 0x4072b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test al, 2
je 0x4072b6
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0x68]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp + 0x80], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp + 0x70], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp + 0x64], 0x17
mov dword [ebp + 0x74], eax
call fcn.00404450
mov word [ebp + 0x7a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp + 0x64]
mov dword [ebp + 0x6c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
jmp 0x406214
mov eax, dword [ebp - 0x48]
mov dword [eax], 1
jmp 0x406214
and dword [ebp + 0xa4], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp + 0xb0], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp + 0xb4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0xac], eax
test ecx, ecx
je 0x406328
lea edx, [ebp + 0xa4]
mov dword [ebp + 0xa4], esi
mov dword [ebp + 0xa8], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x40634e
lea edx, [ebp + 0xa4]
mov dword [ebp + 0xa4], 0xe
mov dword [ebp + 0xa8], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
push 0
mov ecx, ebx
call fcn.00405c5d
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4072b6
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4072b6
and dword [ebp - 0x44], 0
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor esi, esi
push esi
lea eax, [ebp - 0x44]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x406214
cmp dword [ebx + 0x4c], esi
jne 0x4063cc
push 0x3c
lea eax, [ebp + 0x48]
push esi
push eax
mov dword [ebp + 0x44], esi
call fcn.0042a2c0
add esp, 0xc
lea eax, [ebp + 0x44]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp + 0x44]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x406214
cmp byte [ebx + 0xad], 0
je 0x4064cd
and dword [ebp - 0x54], 0
xor eax, eax
lea edi, [ebp - 0x50]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x54]
push eax
push dword [ebx]
mov byte [ebx + 0xad], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4064cd
mov ecx, dword [ebx + 0x4c]
call fcn.004176be
mov ecx, dword [ebx + 0x4c]
test al, al
mov eax, dword [ecx]
je 0x406492
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x54]
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 + 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x40643a
push eax
call esi
mov eax, dword [ebx + 0xc]
xor edi, edi
cmp eax, edi
je 0x406446
push eax
call esi
mov eax, dword [ebx + 0x10]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, edi
je 0x406456
push eax
call esi
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x406460
push eax
call esi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
jmp 0x4064ab
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
mov dword [ebp - 0x24], eax
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x14]
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x24]
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 + 0x4c]
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x40535b
call dword [eax + 0xf4]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x40646e
lea eax, [ebx + 0xac]
cmp byte [eax], 0
je 0x4064cd
mov byte [eax], 0
xor eax, eax
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x4c]
mov ecx, ebx
call fcn.0040577a
cmp byte [ebx + 0xae], 0
je 0x4064df
push 1
mov ecx, ebx
call fcn.00405df5
cmp byte [ebx + 0xaf], 0
je 0x40652c
cmp dword [ebx + 0x10], 0
jne 0x40652c
and dword [ebp - 0x34], 0
xor eax, eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x10], eax
and dword [ebp + 0x84], 0
push 0x3c
lea eax, [ebp + 0x88]
push 0
push eax
call fcn.0042a2c0
add esp, 0xc
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0xaf], 0
je 0x406764
push dword [ebx + 0x10]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 8]
call esi
push dword [ebx + 8]
mov dword [ebp - 0x48], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0xb0], 0
mov dword [ebp - 0x24], eax
je 0x406669
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x406620
and dword [ebp - 0x34], eax
lea edi, [ebp - 0x30]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x34]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x28]
sub eax, dword [ebp - 0x30]
push eax
mov eax, dword [ebp - 0x2c]
sub eax, dword [ebp - 0x34]
push eax
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
call esi
mov eax, dword [ebp + 0x98]
sub eax, dword [ebp + 0x90]
push 0xcc0020
push dword [ebp + 0x90]
push dword [ebp + 0x8c]
push dword [ebp + 0x84]
push eax
mov eax, dword [ebp + 0x94]
sub eax, dword [ebp + 0x8c]
push eax
push dword [ebp + 0x90]
push dword [ebp + 0x8c]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x406626
push eax
push dword [ebx + 0xc]
call esi
mov eax, dword [ebp + 0x98]
sub eax, dword [ebp + 0x90]
push 0xcc0020
push dword [ebp + 0x90]
push dword [ebp + 0x8c]
push dword [ebx + 0xc]
push eax
mov eax, dword [ebp + 0x94]
sub eax, dword [ebp + 0x8c]
push eax
push dword [ebp + 0x90]
push dword [ebp + 0x8c]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
lea edx, [ebp + 0x8c]
push edx
push dword [ebx + 8]
call dword [eax + 0x110]
and dword [ebp - 0x14], 0
lea edi, [ebx + 0xe4]
mov ecx, edi
call fcn.00404667
test eax, eax
jle 0x4066c0
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00407778
mov edx, dword [eax]
lea ecx, [ebp + 0x8c]
push ecx
push dword [ebx + 8]
mov ecx, eax
call dword [edx + 0x128]
inc dword [ebp - 0x14]
mov ecx, edi
call fcn.00404667
cmp dword [ebp - 0x14], eax
jl 0x406693
push dword [ebp - 0x24]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp + 0x98]
sub eax, dword [ebp + 0x90]
push 0xcc0020
push dword [ebp + 0x90]
push dword [ebp + 0x8c]
push dword [ebx + 8]
push eax
mov eax, dword [ebp + 0x94]
sub eax, dword [ebp + 0x8c]
push eax
push dword [ebp + 0x90]
push dword [ebp + 0x8c]
push dword [ebp + 0x84]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x48]
push dword [ebx + 8]
call esi
cmp byte [ebx + 0x48], 0
je 0x406797
push dword [0x44c138]
push dword [ebp + 0x84]
call esi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp + 0x84]
call esi
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x44]
push dword [ebp + 0x84]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [ebp + 0x84]
call esi
jmp 0x406797
push dword [ebp + 0x84]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x4c]
lea edx, [ebp + 0x8c]
push edx
push dword [ebp + 0x84]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x110]
push esi
push dword [ebp + 0x84]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0xad], 0
je 0x406214
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x406214
mov edx, dword [ebx + 0x50]
test edx, edx
je 0x406806
push 7
pop ecx
xor eax, eax
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov dword [ebp + 0xa4], 0x16
mov dword [ebp + 0xa8], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x50]
lea edx, [ebp + 0xa4]
mov dword [ebp + 0xac], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
mov ebx, dword [ebx + 0x4c]
test ebx, ebx
je 0x406214
mov ecx, ebx
call fcn.004176c5
jmp 0x406214
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x406214
push eax
push dword [ebp - 0x1c]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x40620f
sub esi, 0x7b
je 0x4069b1
sub esi, 0x85
je 0x406940
dec esi
je 0x4068d1
dec esi
je 0x40687b
sub esi, 0xf
jne 0x4072b6
cmp dword [ebp - 0x10], esi
je 0x4072b6
push dword [ebp - 0x10]
push dword [ebp - 0x1c]
push 0x2111
push dword [ebp - 0x10]
jmp 0x406833
cmp dword [ebx + 0x50], 0
je 0x4072b6
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov al, byte [ebp - 0x1c]
mov byte [ebp + 0xb8], al
mov eax, dword [ebx + 0x60]
mov dword [ebp + 0xb0], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp + 0xa4], 5
mov dword [ebp + 0xb4], eax
call fcn.00404450
mov word [ebp + 0xba], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x50]
jmp 0x406ab1
cmp dword [ebx + 0x5c], 0
je 0x4072b6
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov al, byte [ebp - 0x1c]
mov byte [ebp + 0xb8], al
mov eax, dword [ebx + 0x60]
mov dword [ebp + 0xb0], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp + 0xa4], 4
mov dword [ebp + 0xb4], eax
call fcn.00404450
mov word [ebp + 0xba], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp + 0xa4]
mov dword [ebp + 0xac], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
and dword [ebx + 0x5c], 0
jmp 0x4072b6
cmp dword [ebx + 0x50], 0
je 0x4072b6
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov al, byte [ebp - 0x1c]
mov byte [ebp + 0xb8], al
mov eax, dword [ebx + 0x60]
mov dword [ebp + 0xb0], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp + 0xa4], 3
mov dword [ebp + 0xb4], eax
call fcn.00404450
mov word [ebp + 0xba], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x50]
lea edx, [ebp + 0xa4]
mov dword [ebp + 0xac], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x5c], eax
jmp 0x4072b6
mov eax, dword [ebp - 0x10]
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 + 0x58], 0
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x64], eax
je 0x4072b6
mov ecx, ebx
call fcn.00404b17
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x58]
mov dword [ebp + 0xb0], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0xb4], ecx
mov cx, word [ebp - 0x1c]
mov dword [ebp + 0xa4], 0x11
mov dword [ebp + 0xa8], eax
mov word [ebp + 0xba], cx
mov dword [ebp + 0xc0], eax
jmp 0x406c27
and dword [ebp - 0x14], 0
lea edi, [ebx + 0xc0]
mov ecx, edi
call fcn.00404667
test eax, eax
jle 0x4072b6
push dword [ebp - 0x14]
mov ecx, edi
call fcn.00407778
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, dword [ebx]
jne 0x406a6d
movzx eax, word [ebp - 0x1c]
cmp dword [esi + 0xc], eax
jne 0x406a6d
cmp byte [esi + 0x10], 0
je 0x406a81
inc dword [ebp - 0x14]
mov ecx, edi
call fcn.00404667
cmp dword [ebp - 0x14], eax
jl 0x406a4b
jmp 0x4072b6
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [ebp + 0xa8], eax
mov eax, dword [esi + 4]
mov dword [ebp + 0xa4], 0x18
mov dword [ebp + 0xbc], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [ebp + 0xac], eax
mov eax, dword [ecx]
lea edx, [ebp + 0xa4]
push edx
call dword [eax + 0x100]
jmp 0x4072b6
mov eax, 0x204
cmp esi, eax
ja 0x406f21
je 0x406e8d
mov eax, esi
sub eax, 0x133
je 0x406e71
sub eax, 5
je 0x406e71
sub eax, 0xc8
je 0x406cfe
dec eax
je 0x406c4e
dec eax
je 0x406bba
dec eax
jne 0x4072b6
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x10]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x18], ecx
mov dword [ebx + 0x60], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x14], eax
mov dword [ebx + 0x64], eax
call fcn.00405a36
mov esi, eax
test esi, esi
je 0x4072b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4072b6
mov ecx, ebx
call fcn.00404b03
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0xb0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0xb4], eax
mov ax, word [ebp - 0x1c]
mov dword [ebp + 0xa4], 0x10
mov dword [ebp + 0xa8], esi
mov word [ebp + 0xba], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp + 0xa4]
mov dword [ebp + 0xac], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
mov dword [ebx + 0x58], esi
jmp 0x4072b6
mov eax, dword [ebp - 0x10]
movsx esi, word [ebp - 0x10]
shr eax, 0x10
cmp dword [ebx + 0x58], 0
cwde
mov dword [ebp - 0x28], eax
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], eax
je 0x4072b6
mov ecx, ebx
call fcn.00404b17
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebp - 0x10]
mov dword [ebp + 0xa8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0xc0], ecx
mov ecx, dword [ebp - 0x28]
mov dword [ebp + 0xa4], 0xe
mov dword [ebp + 0xbc], eax
mov dword [ebp + 0xb0], esi
mov dword [ebp + 0xb4], ecx
mov word [ebp + 0xba], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
lea edx, [ebp + 0xa4]
mov dword [ebp + 0xac], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
and dword [ebx + 0x58], 0
jmp 0x4072b6
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x10]
movsx eax, word [ebp - 0x10]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x64], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x60], eax
call fcn.00405a36
mov esi, eax
test esi, esi
je 0x4072b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4072b6
mov dword [ebx + 0x58], esi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
mov ecx, ebx
call fcn.00404b03
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0xc0], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0xb0], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0xa4], 0xd
mov dword [ebp + 0xa8], esi
mov dword [ebp + 0xbc], eax
mov dword [ebp + 0xb4], ecx
mov word [ebp + 0xba], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp + 0xac], eax
jmp 0x406e61
cmp byte [ebx + 0xb1], 0
jne 0x406d54
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
push 3
mov dword [ebp - 0x3c], eax
mov eax, dword [ebx + 0x18]
pop ecx
mov dword [ebp - 0x44], 0x10
mov dword [ebp - 0x40], ecx
test eax, eax
jne 0x406d31
mov dword [ebp - 0x38], 0x190
jmp 0x406d43
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0xb1], 1
mov eax, dword [ebp - 0x10]
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov ecx, ebx
mov dword [ebp - 0x48], eax
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], eax
call fcn.00405a36
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406d86
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4072b6
and dword [ebp + 0xa4], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp + 0xb0], esi
mov dword [ebp + 0xb4], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
mov dword [ebp + 0xac], eax
cmp dword [ebp - 0x14], ecx
je 0x406dfd
test ecx, ecx
je 0x406dfd
lea edx, [ebp + 0xa4]
mov dword [ebp + 0xa4], 0xa
mov dword [ebp + 0xa8], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
mov eax, dword [ebx + 0x18]
and dword [ebx + 0x54], 0
test eax, eax
je 0x406dfd
lea ecx, [ebx + 0x1c]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x14]
cmp esi, dword [ebx + 0x54]
je 0x406e2d
test esi, esi
je 0x406e2d
lea ecx, [ebp + 0xa4]
mov dword [ebp + 0xa4], 0xb
mov dword [ebp + 0xa8], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
mov dword [ebx + 0x54], esi
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x406e49
mov dword [ebp + 0xa4], 9
mov dword [ebp + 0xa8], ecx
jmp 0x406ab7
test esi, esi
je 0x4072b6
mov dword [ebp + 0xa4], 9
mov dword [ebp + 0xa8], esi
mov eax, dword [esi]
lea ecx, [ebp + 0xa4]
push ecx
mov ecx, esi
jmp 0x406ac0
cmp dword [ebp - 0x10], 0
je 0x4072b6
push dword [ebp - 0x10]
add esi, 0x2000
push dword [ebp - 0x1c]
push esi
jmp 0x406876
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x10]
movsx eax, word [ebp - 0x10]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x64], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x60], eax
call fcn.00405a36
mov esi, eax
test esi, esi
je 0x4072b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4072b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
mov ecx, ebx
call fcn.00404b03
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x1c]
mov dword [ebp + 0xc0], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0xb0], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp + 0xa4], 0xf
mov dword [ebp + 0xbc], eax
mov dword [ebp + 0xb4], ecx
jmp 0x406b88
sub esi, 0x20a
je 0x4071eb
sub esi, 0x97
je 0x40708b
dec esi
dec esi
je 0x407050
sub esi, 0x75
je 0x406f91
sub esi, 0x7ce9
jne 0x4072b6
lea esi, [ebx + 0xf0]
mov ecx, esi
xor edi, edi
call fcn.00404667
test eax, eax
jle 0x406f85
push edi
mov ecx, esi
call fcn.00407778
test eax, eax
je 0x406f79
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, esi
inc edi
call fcn.00404667
cmp edi, eax
jl 0x406f65
mov ecx, esi
call fcn.004075cf
jmp 0x4072b6
lea eax, [ebp + 0xb4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x4c]
lea edx, [ebp + 0xb4]
push edx
push dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
mov eax, dword [ecx]
call dword [eax + 0x110]
test byte [ebp - 0x10], 0x10
je 0x40703f
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x40703f
mov eax, dword [ebp - 0x10]
or eax, 2
mov dword [ebp - 0x14], eax
and dword [ebp - 0x44], 0
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x44]
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x40]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x44]
neg eax
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x14]
push dword [ebp - 0x1c]
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x406fe0
push dword [ebp - 0x48]
push dword [ebp - 0x1c]
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x4072b6
mov eax, dword [ebx + 0x18]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x40706b
lea ecx, [ebx + 0x1c]
push ecx
push 0
push 0x411
push eax
call esi
lea edi, [ebx + 0xb1]
cmp byte [edi], 0
je 0x407083
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [edi], 0
jmp 0x4072b6
mov eax, dword [ebp - 0x10]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x18], ecx
push ecx
mov ecx, ebx
mov byte [ebx + 0xb1], 0
mov dword [ebp - 0x14], eax
call fcn.00405a36
mov esi, eax
test esi, esi
je 0x4072b6
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x407109
push 7
xor eax, eax
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp + 0xb0], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp + 0xb4], eax
mov dword [ebp + 0xa4], 0xc
mov dword [ebp + 0xa8], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp + 0xa4]
mov dword [ebp + 0xac], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
mov eax, dword [esi]
lea ecx, [ebp]
push ecx
mov ecx, esi
call dword [eax + 0x98]
and dword [ebp - 4], 0
lea ecx, [ebp]
call fcn.004078bd
test al, al
je 0x407138
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.004077a3
jmp 0x406214
push 0x2c
lea edi, [ebx + 0x1c]
push 0
push edi
call fcn.0042a2c0
mov eax, dword [ebx]
mov dword [edi], 0x2c
mov dword [ebx + 0x20], 1
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov eax, dword [0x44c13c]
add esp, 0xc
lea ecx, [ebp]
mov dword [ebx + 0x3c], eax
call fcn.0040775c
mov dword [ebx + 0x40], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
cmp dword [ebx + 0x18], 0
lea edi, [ebx + 0x2c]
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_SendMessageA]
jne 0x4071c5
xor edi, edi
push edi
push dword [0x44c13c]
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_CreateWindowExA]
lea ecx, [ebx + 0x1c]
push ecx
push edi
push 0x404
push eax
mov dword [ebx + 0x18], eax
call esi
jmp 0x4071c7
xor edi, edi
lea eax, [ebx + 0x1c]
push eax
push edi
push 0x409
push dword [ebx + 0x18]
call esi
lea eax, [ebx + 0x1c]
push eax
push 1
push 0x411
push dword [ebx + 0x18]
call esi
jmp 0x407127
movsx eax, word [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
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 + 0x64], ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x60], eax
call fcn.00405a36
mov esi, eax
test esi, esi
je 0x4072b6
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x4072b6
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xa8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1c]
shr eax, 0x10
xor ecx, ecx
test ax, ax
mov eax, dword [ebp - 0x10]
setl cl
mov dword [ebp + 0xa4], 0x12
mov dword [ebp + 0xa8], esi
mov dword [ebp + 0xc0], eax
mov dword [ebp + 0xbc], ecx
call fcn.00404450
mov word [ebp + 0xba], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp + 0xa4]
mov dword [ebp + 0xac], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
movzx eax, word [ebx + 0x64]
movzx ecx, word [ebx + 0x60]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x24]
push 0
call fcn.0040775f
mov esi, eax
test esi, esi
je 0x40733a
lea edi, [ebx + 0xb4]
mov ecx, dword [ebp - 0x24]
xor ebx, ebx
push ebx
call fcn.00407701
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x4072f6
lea ecx, [eax + 0x34]
call fcn.0041276d
test al, al
je 0x4072f6
mov ecx, dword [esi + 0x44]
push esi
add ecx, 0x34
call fcn.0041277c
mov ecx, edi
call fcn.00404667
test eax, eax
jle 0x40731c
push ebx
mov ecx, edi
call fcn.00407778
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, edi
inc ebx
call fcn.00404667
cmp ebx, eax
jl 0x407301
mov ecx, esi
call fcn.004077a3
push esi
call fcn.0042b560
pop ecx
mov ecx, dword [ebp - 0x24]
push 0
call fcn.0040775f
mov esi, eax
test esi, esi
jne 0x4072cc
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc4]
xor ecx, ebp
call fcn.0042a2b0
add ebp, 0xc8
leave
ret 0x10