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

Disassembly:
push ebp
sub esp, 0x104
lea ebp, [esp - 4]
mov eax, dword [0x448018]
xor eax, ebp
mov dword [ebp + 0x104], eax
push 0x88
mov eax, 0x437274
call fcn.00436b5a
mov eax, dword [ebp + 0x11c]
mov esi, dword [ebp + 0x118]
mov ebx, ecx
cmp dword [ebx], 0
mov dword [ebp - 0x44], eax
je 0x407bc6
lea ecx, [ebx + 0x1ec]
mov dword [ebp - 0x3c], ecx
jmp 0x4068ef
mov ecx, dword [ebp - 0x3c]
push 0
call fcn.0040885b
mov eax, dword [edi + 0x108]
test eax, eax
je 0x4068a3
lea ecx, [eax + 0x34]
call fcn.0040f418
test al, al
je 0x4068a3
mov ecx, dword [edi + 0x108]
push edi
add ecx, 0x34
call fcn.0040f474
and dword [ebp - 0x10], 0
lea ecx, [ebx + 0x1a4]
call fcn.0040f3c3
test eax, eax
jle 0x4068de
push dword [ebp - 0x10]
lea ecx, [ebx + 0x1a4]
call fcn.004088cf
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
inc dword [ebp - 0x10]
lea ecx, [ebx + 0x1a4]
call fcn.0040f3c3
cmp dword [ebp - 0x10], eax
jl 0x4068b6
mov ecx, edi
call fcn.0040453a
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [ebp - 0x3c]
push 0
call fcn.004088b6
mov edi, eax
test edi, edi
jne 0x406874
and dword [ebp - 0x10], eax
lea edi, [ebx + 0x1c8]
mov ecx, edi
call fcn.0040f3c3
test eax, eax
jle 0x406952
push dword [ebp - 0x10]
mov ecx, edi
mov byte [ebp - 0x3d], 0
call fcn.004088cf
mov edx, dword [eax]
lea ecx, [ebp - 0x3d]
push ecx
push esi
push dword [ebp + 0x114]
mov ecx, eax
push dword [ebp + 0x110]
call dword [edx]
cmp byte [ebp - 0x3d], 0
jne 0x4069e7
inc dword [ebp - 0x10]
mov ecx, edi
call fcn.0040f3c3
cmp dword [ebp - 0x10], eax
jl 0x406914
mov eax, dword [ebp + 0x110]
mov ecx, 0x112
cmp eax, ecx
ja 0x407388
je 0x407369
cmp eax, 0x4e
ja 0x407185
je 0x407164
sub eax, 5
je 0x407111
sub eax, 0xa
je 0x406b55
dec eax
je 0x406ac5
sub eax, 4
je 0x406ab7
sub eax, 0xc
je 0x4069f3
sub eax, 4
jne 0x407b3d
mov eax, dword [ebx + 0x158]
test eax, eax
jle 0x4069b7
mov dword [esi + 0x18], eax
mov eax, dword [ebx + 0x15c]
test eax, eax
jle 0x4069c4
mov dword [esi + 0x1c], eax
mov eax, dword [ebx + 0x160]
test eax, eax
jle 0x4069d1
mov dword [esi + 0x20], eax
mov eax, dword [ebx + 0x164]
test eax, eax
jle 0x407b3d
mov dword [esi + 0x24], eax
jmp 0x407b3d
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov al, 1
jmp 0x407bc8
cmp si, 1
jne 0x407b3d
cmp byte [ebx + 0x1a2], 0
jne 0x4069ec
and dword [ebp - 0x48], 0
xor eax, eax
lea edi, [ebp - 0x44]
stosd dword es:[edi], eax
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x48]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x44]
mov ecx, ebx
push dword [ebp - 0x48]
call fcn.0040610a
mov dword [ebp - 0x10], eax
test eax, eax
je 0x407b3d
mov ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x14]
test al, 2
je 0x407b3d
xor eax, eax
push 7
pop ecx
lea edi, [ebp + 0xe8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x114]
mov dword [ebp + 0xfc], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp + 0xf0], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp + 0xe4], 0x17
mov dword [ebp + 0x100], esi
mov dword [ebp + 0xf4], eax
call fcn.004044e7
mov word [ebp + 0xfa], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp + 0xe4]
mov dword [ebp + 0xec], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
jmp 0x4069ec
mov eax, dword [ebp - 0x44]
mov dword [eax], 1
jmp 0x4069ec
and dword [ebp - 0x38], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x150]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x154]
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x144]
mov dword [ebp - 0x30], eax
test ecx, ecx
je 0x406b0e
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], 0xa
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x406b2e
lea edx, [ebp - 0x38]
mov dword [ebp - 0x38], 0xe
mov dword [ebp - 0x34], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
push 0
mov ecx, ebx
call fcn.0040637a
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x407b3d
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x407b3d
xor eax, eax
xor esi, esi
mov dword [ebp - 0x84], esi
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push esi
lea eax, [ebp - 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4069ec
push 0x3c
push esi
cmp dword [ebx + 0x13c], esi
jne 0x406bc0
lea eax, [ebp + 0xc8]
push eax
mov dword [ebp + 0xc4], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp + 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4069ec
lea eax, [ebp + 0x88]
push eax
mov dword [ebp + 0x84], esi
call sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp + 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x19d], 0
je 0x406ce1
and dword [ebp - 0x28], esi
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebx]
mov byte [ebx + 0x19d], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x406ce1
mov ecx, dword [ebx + 0x13c]
call fcn.0040fb84
test al, al
je 0x406c9b
push dword [ebx]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x406c53
mov ecx, dword [ebx + 0x13c]
mov eax, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x28]
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]
xor esi, esi
cmp eax, esi
je 0x406c63
push eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebx + 0x10]
cmp eax, esi
je 0x406c71
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov dword [ebx + 0xc], esi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], esi
jmp 0x406cbc
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
mov dword [ebp - 0x3c], eax
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x10]
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x3c]
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 + 0x13c]
mov eax, dword [ecx]
push SysReAllocString
push 0
push 0x40574f
call dword [eax + 0xfc]
mov dword [ebp - 0x10], eax
test eax, eax
jne 0x406c7c
lea eax, [ebx + 0x19c]
cmp byte [eax], 0
je 0x406ce1
mov byte [eax], 0
xor eax, eax
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x13c]
mov ecx, ebx
call fcn.00405e71
cmp byte [ebx + 0x19e], 0
je 0x406cf3
push 1
mov ecx, ebx
call fcn.0040653f
cmp byte [ebx + 0x1a0], 0
je 0x406f58
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, 0x80000
test ecx, eax
jne 0x406d20
or eax, ecx
push eax
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
and dword [ebp - 0x64], 0
xor eax, eax
lea edi, [ebp - 0x60]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x64]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
cmp byte [ebx + 0x28], 0
jne 0x406d5f
lea esi, [ebx + 0x18]
push esi
lea eax, [ebp - 0x84]
push eax
push eax
call dword [sym.imp.USER32.dll_UnionRect]
push 0x10
push 0
push esi
call sub.MSVCR100.dll_memset
add esp, 0xc
jmp 0x406d70
lea esi, [ebp - 0x64]
lea edi, [ebp - 0x84]
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 byte [ebx + 0x28], 0
mov esi, dword [ebp - 0x5c]
sub esi, dword [ebp - 0x64]
mov edi, dword [ebp - 0x58]
sub edi, dword [ebp - 0x60]
cmp byte [ebx + 0x19f], 0
mov dword [ebp - 0x44], esi
je 0x406e17
cmp dword [ebx + 0x10], 0
jne 0x406e17
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push 0x2c
mov dword [ebx + 0xc], eax
lea eax, [ebp + 0xd8]
push 0
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov eax, edi
imul edi, esi
neg eax
mov dword [ebp + 0xe0], eax
xor eax, eax
push 0x20
inc eax
mov word [ebp + 0xe4], ax
pop eax
mov word [ebp + 0xe6], ax
xor eax, eax
push eax
push eax
lea ecx, [ebx + 0x14]
push ecx
push eax
mov dword [ebp + 0xe8], eax
mov dword [ebp + 0xf8], eax
lea eax, [ebp + 0xd8]
push eax
push dword [ebx + 8]
shl edi, 2
mov dword [ebp + 0xd8], 0x28
mov dword [ebp + 0xdc], esi
mov dword [ebp + 0xec], edi
call dword [sym.imp.GDI32.dll_CreateDIBSection]
mov dword [ebx + 0x10], eax
push dword [ebx + 0x10]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xc]
call esi
push dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x44]
push dword [ebx + 0x14]
call fcn.004155d8
mov ecx, dword [ebx + 0x13c]
mov eax, dword [ecx]
add esp, 0xc
lea edx, [ebp - 0x84]
push edx
push dword [ebx + 0xc]
call dword [eax + pe_nt_image_headers32]
lea eax, [ebp - 0x84]
push eax
push dword [ebx + 0xc]
mov ecx, ebx
call fcn.00405c35
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x1d4]
mov ecx, edi
call fcn.0040f3c3
test eax, eax
jle 0x406eb4
push dword [ebp - 0x10]
mov ecx, edi
call fcn.004088cf
mov edx, dword [eax]
lea ecx, [ebp + 0x8c]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x130]
inc dword [ebp - 0x10]
mov ecx, edi
call fcn.0040f3c3
cmp dword [ebp - 0x10], eax
jl 0x406e87
lea eax, [ebp - 0x84]
push eax
push dword [ebp - 0x44]
push dword [ebx + 0x14]
call fcn.00415623
add esp, 0xc
push dword [ebp - 0x4c]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
and dword [ebp - 0x28], 0
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
sub edx, eax
push 2
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x1c]
sub eax, ecx
mov dword [ebp - 0x50], ecx
lea ecx, [ebp - 0x3c]
push ecx
mov dword [ebp - 0x88], eax
xor eax, eax
push eax
lea ecx, [ebp - 0x94]
push ecx
push dword [ebx + 0xc]
lea ecx, [ebp - 0x8c]
push ecx
lea ecx, [ebp - 0x54]
push ecx
push eax
push dword [ebx]
mov dword [ebp - 0x8c], edx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], eax
mov byte [ebp - 0x3c], al
mov byte [ebp - 0x3b], al
mov byte [ebp - 0x3a], 0xff
mov byte [ebp - 0x39], 1
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
push dword [ebp - 0x14]
jmp 0x407093
cmp byte [ebx + 0x19f], 0
je 0x40709a
cmp dword [ebx + 0x10], 0
jne 0x406fa9
and dword [ebp - 0x28], 0
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
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 - 0x1c]
sub eax, dword [ebp - 0x24]
push eax
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 0x28]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x10], eax
cmp byte [ebx + 0x19f], 0
je 0x40709a
push dword [ebx + 0x10]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xc]
call esi
push dword [ebx + 0xc]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x13c]
lea edx, [ebp + 0x8c]
push edx
push dword [ebx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
lea eax, [ebp + 0x8c]
push eax
push dword [ebx + 0xc]
mov ecx, ebx
call fcn.00405c35
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x1d4]
mov ecx, edi
call fcn.0040f3c3
test eax, eax
jle 0x40703e
push dword [ebp - 0x10]
mov ecx, edi
call fcn.004088cf
mov edx, dword [eax]
lea ecx, [ebp + 0x8c]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x130]
inc dword [ebp - 0x10]
mov ecx, edi
call fcn.0040f3c3
cmp dword [ebp - 0x10], eax
jl 0x407011
push dword [ebp - 0x14]
push dword [ebx + 0xc]
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 + 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 [ebp + 0x84]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x4c]
push dword [ebx + 0xc]
call esi
jmp 0x4070e4
push dword [ebp + 0x84]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x13c]
lea edx, [ebp + 0x8c]
push edx
push dword [ebp + 0x84]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
lea eax, [ebp + 0x8c]
push eax
push dword [ebp + 0x84]
mov ecx, ebx
call fcn.00405c35
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 + 0x19d], 0
je 0x4069ec
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4069ec
mov edx, dword [ebx + 0x140]
test edx, edx
je 0x40714a
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x38], 0x16
mov dword [ebp - 0x34], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ebx, dword [ebx + 0x13c]
test ebx, ebx
je 0x4069ec
mov ecx, ebx
call fcn.0040fb8b
jmp 0x4069ec
test esi, esi
je 0x4069ec
push esi
push dword [ebp + 0x114]
push 0x204e
push dword [esi]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x4069e7
sub eax, 0x7b
je 0x4072ef
sub eax, 0x85
je 0x40727f
dec eax
je 0x407214
dec eax
je 0x4071bf
sub eax, 0xf
jne 0x407b3d
test esi, esi
je 0x407b3d
push esi
push dword [ebp + 0x114]
push 0x2111
push esi
jmp 0x40717a
cmp dword [ebx + 0x140], 0
je 0x407b3d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0x114]
mov word [ebp - 0x24], ax
mov eax, dword [ebx + 0x150]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x154]
mov dword [ebp - 0x38], 5
mov dword [ebp - 0x28], eax
call fcn.004044e7
mov word [ebp - 0x22], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
jmp 0x40771d
cmp dword [ebx + 0x14c], 0
je 0x407b3d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0x114]
mov word [ebp - 0x24], ax
mov eax, dword [ebx + 0x150]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x154]
mov dword [ebp - 0x38], 4
mov dword [ebp - 0x28], eax
call fcn.004044e7
mov word [ebp - 0x22], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x14c]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x14c], 0
jmp 0x407b3d
cmp dword [ebx + 0x140], 0
je 0x407b3d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov ax, word [ebp + 0x114]
mov word [ebp - 0x24], ax
mov eax, dword [ebx + 0x150]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x154]
mov dword [ebp - 0x38], 3
mov dword [ebp - 0x28], eax
call fcn.004044e7
mov word [ebp - 0x22], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x140]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov eax, dword [ebx + 0x140]
mov dword [ebx + 0x14c], eax
jmp 0x407b3d
movsx eax, si
mov dword [ebp - 0x18], eax
shr esi, 0x10
movsx eax, si
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x18]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x148], 0
mov eax, dword [ebp - 0x18]
mov dword [ebx + 0x150], eax
mov eax, dword [ebp - 0x14]
mov dword [ebx + 0x154], eax
je 0x407b3d
mov ecx, ebx
call fcn.00404dcc
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x148]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x28], ecx
mov cx, word [ebp + 0x114]
mov dword [ebp - 0x38], 0x11
mov dword [ebp - 0x34], eax
mov word [ebp - 0x22], cx
mov dword [ebp - 0x1c], eax
jmp 0x40743c
mov eax, dword [ebp + 0x114]
and eax, 0xfff0
cmp eax, 0xf120
jne 0x4069ec
mov byte [ebx + 0x28], 1
jmp 0x4069ec
mov ecx, 0x203
cmp eax, ecx
ja 0x4077ca
je 0x407731
mov ecx, eax
sub ecx, 0x113
je 0x40767f
sub ecx, 0x20
je 0x407665
sub ecx, 5
je 0x407665
sub ecx, 0xc8
je 0x40750c
dec ecx
je 0x407463
dec ecx
jne 0x407b3d
mov ecx, esi
shr ecx, 0x10
cmp dword [ebx + 0x148], 0
movsx eax, si
movsx ecx, cx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x150], eax
mov dword [ebx + 0x154], ecx
je 0x407b3d
mov ecx, ebx
call fcn.00404dcc
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x148]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x114]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], 0xe
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x22], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x148]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x148], 0
jmp 0x407b3d
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
shr ecx, 0x10
movsx ecx, cx
movsx eax, si
push ecx
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x154], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x150], eax
call fcn.0040610a
mov dword [ebp - 0x10], eax
test eax, eax
je 0x407b3d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x407b3d
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x148], ecx
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, ebx
call fcn.00404db8
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x114]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], 0xd
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x22], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
jmp 0x407726
cmp byte [ebx + 0x1a1], 0
jne 0x407562
xor eax, eax
lea edi, [ebp - 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
push 3
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x2c]
pop ecx
mov dword [ebp - 0x28], 0x10
mov dword [ebp - 0x24], ecx
test eax, eax
jne 0x40753f
mov dword [ebp - 0x1c], 0x190
jmp 0x407551
push 0
push ecx
push 0x415
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x1a1], 1
movsx eax, si
shr esi, 0x10
movsx esi, si
push esi
push eax
mov ecx, ebx
mov dword [ebp - 0x54], eax
mov dword [ebx + 0x150], eax
mov dword [ebx + 0x154], esi
call fcn.0040610a
mov dword [ebp - 0x14], eax
test eax, eax
je 0x407599
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x407b3d
and dword [ebp - 0x74], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x70]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], esi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x144]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x6c], eax
cmp esi, ecx
je 0x407600
test ecx, ecx
je 0x407600
lea edx, [ebp - 0x74]
mov dword [ebp - 0x74], 0xa
mov dword [ebp - 0x70], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov eax, dword [ebx + 0x2c]
and dword [ebx + 0x144], 0
test eax, eax
je 0x407600
lea ecx, [ebx + 0x30]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp esi, dword [ebx + 0x144]
je 0x40762a
test esi, esi
je 0x40762a
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 0xb
mov dword [ebp - 0x70], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x144], esi
mov ecx, dword [ebx + 0x148]
test ecx, ecx
je 0x407646
mov dword [ebp - 0x74], 9
mov dword [ebp - 0x70], ecx
lea edx, [ebp - 0x74]
jmp 0x407723
test esi, esi
je 0x407b3d
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x74], 9
mov dword [ebp - 0x70], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x407726
test esi, esi
je 0x407b3d
push esi
push dword [ebp + 0x114]
add eax, 0x2000
push eax
jmp 0x4071bc
mov eax, 0xf1
cmp ax, word [ebp + 0x114]
jne 0x4076a7
lea eax, [ebx + 0x60]
push eax
mov ecx, ebx
call fcn.00404a52
cmp byte [ebx + 0x70], 0
sete al
mov byte [ebx + 0x70], al
jmp 0x407b3d
and dword [ebp - 0x10], 0
lea edi, [ebx + 0x1b0]
mov ecx, edi
call fcn.0040f3c3
test eax, eax
jle 0x407b3d
push dword [ebp - 0x10]
mov ecx, edi
call fcn.004088cf
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, dword [ebx]
jne 0x4076e5
movzx eax, word [ebp + 0x114]
cmp dword [esi + 0xc], eax
jne 0x4076e5
cmp byte [esi + 0x10], 0
je 0x4076f9
inc dword [ebp - 0x10]
mov ecx, edi
call fcn.0040f3c3
cmp dword [ebp - 0x10], eax
jl 0x4076c0
jmp 0x407b3d
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [ebp - 0x34], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x38], 0x18
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [ebp - 0x30], eax
lea edx, [ebp - 0x38]
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
jmp 0x407b3d
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
movsx eax, si
shr esi, 0x10
movsx ecx, si
push ecx
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x154], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x150], eax
call fcn.0040610a
mov esi, eax
test esi, esi
je 0x407b3d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x407b3d
mov ecx, ebx
call fcn.00404db8
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov ax, word [ebp + 0x114]
mov dword [ebp - 0x38], 0x10
mov dword [ebp - 0x34], esi
mov word [ebp - 0x22], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x148], esi
jmp 0x407b3d
sub eax, 0x204
je 0x407a9b
sub eax, 6
je 0x4079d4
sub eax, 0x97
je 0x407872
dec eax
dec eax
je 0x407837
sub eax, 0x7d5e
jne 0x407b3d
lea esi, [ebx + 0x1e0]
mov ecx, esi
xor edi, edi
call fcn.0040f3c3
test eax, eax
jle 0x40782b
push edi
mov ecx, esi
call fcn.004088cf
test eax, eax
je 0x40781f
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, esi
inc edi
call fcn.0040f3c3
cmp edi, eax
jl 0x40780b
mov ecx, esi
call fcn.00408729
jmp 0x407b3d
mov eax, dword [ebx + 0x2c]
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
je 0x407852
lea ecx, [ebx + 0x30]
push ecx
push 0
push 0x411
push eax
call esi
lea edi, [ebx + 0x1a1]
cmp byte [edi], 0
je 0x40786a
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [edi], 0
jmp 0x407b3d
movsx eax, si
shr esi, 0x10
movsx esi, si
push esi
push eax
mov ecx, ebx
mov byte [ebx + 0x1a1], 0
mov dword [ebp - 0x54], eax
call fcn.0040610a
mov dword [ebp - 0x10], eax
test eax, eax
je 0x407b3d
mov edx, dword [ebx + 0x144]
test edx, edx
je 0x4078db
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x38], 0xc
mov dword [ebp - 0x34], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x144]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
lea edx, [ebp]
push edx
call dword [eax + 0x98]
and dword [ebp - 4], 0
lea ecx, [ebp]
call fcn.00408a28
test al, al
je 0x40790b
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.00408900
jmp 0x4069ec
push 0x30
pop edi
push edi
lea esi, [ebx + 0x30]
push 0
push esi
call sub.MSVCR100.dll_memset
mov eax, dword [ebx]
mov dword [esi], edi
mov dword [ebx + 0x34], 1
mov dword [ebx + 0x38], eax
mov dword [ebx + 0x3c], eax
mov eax, dword [0x4492bc]
add esp, 0xc
lea ecx, [ebp]
mov dword [ebx + 0x50], eax
call fcn.0040891a
mov ecx, dword [ebp - 0x10]
mov dword [ebx + 0x54], eax
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp dword [ebx + 0x2c], 0
lea edi, [ebx + 0x40]
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 0x407997
xor edi, edi
push edi
push dword [0x4492bc]
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 + 0x30]
push ecx
push edi
push 0x432
push eax
mov dword [ebx + 0x2c], eax
call esi
jmp 0x407999
xor edi, edi
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
push edi
push 0x418
push dword [ebx + 0x2c]
call esi
lea eax, [ebx + 0x30]
push eax
push edi
push 0x436
push dword [ebx + 0x2c]
call esi
lea eax, [ebx + 0x30]
push eax
push 1
push 0x411
push dword [ebx + 0x2c]
call esi
jmp 0x4078fa
movsx eax, si
mov dword [ebp - 0x18], eax
mov eax, esi
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 + 0x154], ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x150], eax
call fcn.0040610a
mov dword [ebp - 0x10], eax
test eax, eax
je 0x407b3d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x407b3d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x114]
xor ecx, ecx
shr eax, 0x10
test ax, ax
setl cl
mov dword [ebp - 0x38], 0x12
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x20], ecx
call fcn.004044e7
mov word [ebp - 0x22], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
movzx eax, word [ebx + 0x154]
movzx ecx, word [ebx + 0x150]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x407b3d
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, esi
shr ecx, 0x10
movsx ecx, cx
movsx eax, si
push ecx
mov dword [ebp - 0x14], ecx
mov dword [ebx + 0x154], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x18], eax
mov dword [ebx + 0x150], eax
call fcn.0040610a
mov dword [ebp - 0x10], eax
test eax, eax
je 0x407b3d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x407b3d
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx]
call dword [eax + 0xf0]
mov ecx, ebx
call fcn.00404db8
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp + 0x114]
mov edi, dword [ebp - 0x10]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x38], 0xf
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x28], ecx
mov word [ebp - 0x22], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x30], eax
mov eax, dword [edi]
push ecx
mov ecx, edi
call dword [eax + 0x108]
mov dword [ebx + 0x148], edi
mov ecx, dword [ebp - 0x3c]
push 0
call fcn.004088b6
mov edi, eax
test edi, edi
je 0x407bc6
add ebx, 0x1a4
mov ecx, dword [ebp - 0x3c]
push 0
call fcn.0040885b
lea esi, [edi + 0x108]
mov eax, dword [esi]
test eax, eax
je 0x407b80
lea ecx, [eax + 0x34]
call fcn.0040f418
test al, al
je 0x407b80
mov ecx, dword [esi]
push edi
add ecx, 0x34
call fcn.0040f474
mov ecx, ebx
xor esi, esi
call fcn.0040f3c3
test eax, eax
jle 0x407ba8
push esi
mov ecx, ebx
call fcn.004088cf
mov edx, dword [eax]
push edi
mov ecx, eax
call dword [edx]
mov ecx, ebx
inc esi
call fcn.0040f3c3
cmp esi, eax
jl 0x407b8d
mov ecx, edi
call fcn.0040453a
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
mov ecx, dword [ebp - 0x3c]
push 0
call fcn.004088b6
mov edi, eax
test edi, edi
jne 0x407b53
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 + 0x104]
xor ecx, ebp
call fcn.00403b76
add ebp, 0x108
leave
ret 0x10