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

Disassembly:
push 0x1bc
mov eax, 0x447431
call fcn.00438b21
mov ebx, ecx
mov dword [ebp - 0x19c], ebx
cmp dword [ebx], 0
mov eax, dword [ebp + 0x10]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1b4], edi
mov dword [ebp - 0x1bc], eax
je 0x4087b1
lea eax, [ebx + 0x100]
push 0
mov ecx, eax
mov dword [ebp - 0x1a4], eax
call fcn.0040a069
mov esi, eax
test esi, esi
je 0x40703a
lea eax, [ebx + 0xb8]
mov ebx, eax
mov ecx, dword [ebp - 0x1a4]
push 0
call fcn.0040a321
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x406fe5
add ecx, 0x34
call fcn.00410420
test al, al
je 0x406fe5
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x34
call fcn.00410436
mov ecx, ebx
xor edi, edi
call fcn.0040a801
test eax, eax
jle 0x40700d
push edi
mov ecx, ebx
call fcn.00409c76
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, ebx
inc edi
call fcn.0040a801
cmp edi, eax
jl 0x406ff2
mov ecx, esi
call fcn.004063d5
push esi
call fcn.004257c5
pop ecx
mov ecx, dword [ebp - 0x1a4]
push 0
call fcn.0040a069
mov esi, eax
test esi, esi
jne 0x406fb3
mov ebx, dword [ebp - 0x19c]
mov edi, dword [ebp - 0x1b4]
and dword [ebp - 0x198], 0
lea ecx, [ebx + 0xdc]
call fcn.0040a801
mov esi, dword [ebp + 8]
test eax, eax
jle 0x4070b5
mov edi, dword [ebp - 0x1a8]
mov ecx, dword [ebp - 0x198]
push ecx
lea ecx, [ebx + 0xdc]
mov byte [ebp - 0x1ad], 0
call fcn.00409c76
mov edx, dword [eax]
lea ecx, [ebp - 0x1ad]
push ecx
push edi
push dword [ebp - 0x1b4]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x1ad], 0
jne 0x40713e
inc dword [ebp - 0x198]
lea ecx, [ebx + 0xdc]
call fcn.0040a801
mov ecx, dword [ebp - 0x198]
cmp ecx, eax
jl 0x40705f
mov edi, dword [ebp - 0x1b4]
mov eax, 0x113
cmp esi, eax
ja 0x407f52
je 0x407ebb
cmp esi, 0x4e
ja 0x407cfb
je 0x407cd9
sub esi, 5
je 0x407c91
sub esi, 0xa
je 0x4072cd
dec esi
je 0x407249
sub esi, 4
je 0x407239
sub esi, 0xc
je 0x40714d
sub esi, 4
jne 0x40871d
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebp - 0x1a8]
test ecx, ecx
jle 0x407117
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x70]
test ecx, ecx
jle 0x407121
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x74]
test ecx, ecx
jle 0x40712b
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x78]
test ecx, ecx
jle 0x40871d
mov dword [eax + 0x24], ecx
jmp 0x40871d
mov ecx, dword [ebp - 0x1bc]
mov dword [ecx], eax
mov al, 1
jmp 0x4087b3
mov esi, dword [ebp - 0x1a8]
xor eax, eax
inc eax
cmp si, ax
jne 0x40871d
cmp byte [ebx + 0xb6], 0
jne 0x4087b3
and dword [ebp - 0x1c0], 0
and dword [ebp - 0x1bc], 0
lea eax, [ebp - 0x1c0]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x1c0]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x1bc]
mov ecx, ebx
push dword [ebp - 0x1c0]
call fcn.0040682a
mov dword [ebp - 0x19c], eax
test eax, eax
je 0x40871d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
test al, 2
je 0x40871d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x130]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x1c0]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x1bc]
mov dword [ebp - 0x134], 0x17
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x124], eax
call fcn.00406f05
mov word [ebp - 0x11e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x12c], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x134]
push edx
call dword [eax + 0x108]
jmp 0x407146
mov ecx, dword [ebp - 0x1bc]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x4087b3
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 0x407289
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x4072a6
mov dword [ebp - 0x30], 0xe
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x108]
push 0
mov ecx, ebx
call fcn.00409154
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x40871d
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x40871d
xor eax, eax
push eax
cmp byte [ebx + 0xb4], al
je 0x407828
and dword [ebp - 0x40], 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 dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x407146
xor eax, eax
cmp dword [ebx + 0x50], eax
jne 0x40733b
push 0x3c
push eax
mov dword [ebp - 0x154], eax
lea eax, [ebp - 0x150]
push eax
call fcn.00438060
add esp, 0xc
lea eax, [ebp - 0x154]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x154]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x407146
cmp byte [ebx + 0xb4], al
je 0x407590
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, 0x80000
test ecx, eax
jne 0x407367
xor eax, ecx
push eax
push 0xffffffffffffffec
push dword [ebx]
call dword [sym.imp.USER32.dll_SetWindowLongW]
and dword [ebp - 0x50], 0
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
and dword [ebp - 0x194], 0
push 0x3c
lea eax, [ebp - 0x190]
push 0
push eax
call fcn.00438060
add esp, 0xc
lea eax, [ebp - 0x194]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp dword [ebx + 0x10], 0
mov edi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x4073b9
push dword [ebx + 0x10]
call edi
cmp dword [ebx + 0x18], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x4073ca
push dword [ebx + 0x18]
call esi
xor eax, eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x18], eax
cmp byte [ebx + 0xb1], al
je 0x40749b
mov byte [ebx + 0xb1], al
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40749b
mov ecx, dword [ebx + 0x50]
call fcn.0040ddfe
test al, al
je 0x407457
cmp dword [ebx + 0x10], 0
je 0x40740d
push dword [ebx + 0x10]
call edi
cmp dword [ebx + 0x18], 0
je 0x407418
push dword [ebx + 0x18]
call esi
mov ecx, dword [ebx + 0x50]
and dword [ebx + 0x10], 0
and dword [ebx + 0x18], 0
mov eax, dword [ecx]
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x50]
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]
jmp 0x407478
mov ebx, dword [eax]
mov ecx, eax
call dword [ebx + 0x30]
mov ecx, dword [ebp - 0x1a4]
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 - 0x19c]
mov ecx, dword [ebx + 0x50]
push SysReAllocString
mov eax, dword [ecx]
push 0
push 0x4099ec
call dword [eax + 0xfc]
mov dword [ebp - 0x1a4], eax
test eax, eax
jne 0x407436
cmp byte [ebx + 0xb0], 0
je 0x40749b
xor eax, eax
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x50]
mov ecx, ebx
mov byte [ebx + 0xb0], al
call fcn.00408f38
cmp byte [ebx + 0xb2], 0
je 0x4074ad
push 1
mov ecx, ebx
call fcn.00409353
cmp byte [ebx + 0xb3], 0
je 0x4074e2
cmp dword [ebx + 0x18], 0
jne 0x4074e2
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x18], eax
push dword [ebx + 0x18]
push dword [ebx + 0x10]
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x50]
mov eax, dword [ecx]
push edx
push dword [ebx + 0x10]
call dword [eax + 0x118]
and dword [ebp - 0x20], 0
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c8], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x1c4], eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
push 2
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x4c]
xor ecx, ecx
mov dword [ebp - 0x1a8], eax
lea eax, [ebp - 0x198]
push eax
push ecx
lea eax, [ebp - 0x1b8]
push eax
push dword [ebx + 0x10]
lea eax, [ebp - 0x1ac]
push eax
lea eax, [ebp - 0x1c8]
push eax
push ecx
push dword [ebx]
mov dword [ebp - 0x1b8], ecx
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x198], 0x1ff0000
call dword [sym.imp.USER32.dll_UpdateLayeredWindow]
lea eax, [ebp - 0x194]
jmp 0x40732d
cmp byte [ebx + 0xb1], al
je 0x40767a
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 0x40767a
mov ecx, dword [ebx + 0x50]
call fcn.0040ddfe
mov ecx, dword [ebx + 0x50]
test al, al
mov eax, dword [ecx]
je 0x407613
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
je 0x4075fa
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebx + 0x14], 0
je 0x407609
push dword [ebx + 0x14]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x14], eax
jmp 0x407659
push SysReAllocString
push 0
push 0x4099ec
call dword [eax + 0xfc]
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x407657
mov ebx, dword [eax]
mov ecx, eax
call dword [ebx + 0x30]
mov ecx, dword [ebp - 0x1a4]
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 - 0x19c]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
jmp 0x407613
xor eax, eax
cmp byte [ebx + 0xb0], 0
je 0x40767a
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x50]
mov ecx, ebx
mov byte [ebx + 0xb0], al
call fcn.00408f38
cmp byte [ebx + 0xb2], 0
je 0x40768c
push 1
mov ecx, ebx
call fcn.00409353
cmp byte [ebx + 0xb3], 0
je 0x4076d9
cmp dword [ebx + 0x14], 0
jne 0x4076d9
and dword [ebp - 0x50], 0
xor eax, eax
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
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 - 0x44]
sub eax, dword [ebp - 0x4c]
push eax
mov eax, dword [ebp - 0x48]
sub eax, dword [ebp - 0x50]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x14], eax
and dword [ebp - 0x114], 0
push 0x3c
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00438060
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0xb3], 0
je 0x407c31
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 - 0x19c], eax
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
mov dword [ebp - 0x1a4], eax
mov edx, dword [ecx]
lea eax, [ebp - 0x10c]
push eax
push dword [ebx + 0xc]
call dword [edx + 0x118]
lea ecx, [ebx + 0xe8]
xor esi, esi
call fcn.0040a801
test eax, eax
jle 0x40778c
lea edi, [ebx + 0xe8]
push esi
mov ecx, edi
call fcn.00409c76
mov edx, dword [eax]
lea ecx, [ebp - 0x10c]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x130]
mov ecx, edi
inc esi
call fcn.0040a801
cmp esi, eax
jl 0x40775e
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1a4]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0x108]
push 0xcc0020
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebx + 0xc]
push eax
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x10c]
push eax
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x19c]
push dword [ebx + 0xc]
call edi
cmp byte [ebx + 0x4c], 0
je 0x407c64
push dword [0x45f0b0]
push dword [ebp - 0x114]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x114]
call edi
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
jmp 0x407c1a
and dword [ebp - 0x50], 0
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x50]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x407146
xor eax, eax
cmp dword [ebx + 0x50], eax
jne 0x407879
push 0x3c
push eax
mov dword [ebp - 0x194], eax
lea eax, [ebp - 0x190]
push eax
call fcn.00438060
add esp, 0xc
lea eax, [ebp - 0x194]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
jmp 0x407585
cmp byte [ebx + 0xb1], al
je 0x407983
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 0x407983
mov ecx, dword [ebx + 0x50]
call fcn.0040ddfe
mov ecx, dword [ebx + 0x50]
test al, al
mov eax, dword [ecx]
je 0x40791c
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 0x4078e5
push dword [ebx + 0xc]
call esi
cmp dword [ebx + 0x10], 0
je 0x4078f0
push dword [ebx + 0x10]
call esi
cmp dword [ebx + 0x14], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x407901
push dword [ebx + 0x14]
call esi
cmp dword [ebx + 0x18], 0
je 0x40790c
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 0x407962
push SysReAllocString
push 0
push 0x4099ec
call dword [eax + 0xfc]
mov dword [ebp - 0x1a4], eax
test eax, eax
je 0x407960
mov ebx, dword [eax]
mov ecx, eax
call dword [ebx + 0x30]
mov ecx, dword [ebp - 0x1a4]
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 - 0x19c]
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
jmp 0x40791c
xor eax, eax
cmp byte [ebx + 0xb0], 0
je 0x407983
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x50]
mov ecx, ebx
mov byte [ebx + 0xb0], al
call fcn.00408f38
cmp byte [ebx + 0xb2], 0
je 0x407995
push 1
mov ecx, ebx
call fcn.00409353
cmp byte [ebx + 0xb3], 0
je 0x4079e2
cmp dword [ebx + 0x14], 0
jne 0x4079e2
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 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 - 0x34]
sub eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x14], eax
and dword [ebp - 0x114], 0
push 0x3c
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.00438060
add esp, 0xc
lea eax, [ebp - 0x114]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0xb3], 0
je 0x407c31
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 - 0x19c], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0xb4], 0
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x1a4], eax
je 0x407b2d
cmp dword [ebx + 0x18], 0
jne 0x407ae6
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 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 - 0x34]
sub eax, dword [ebp - 0x3c]
push eax
mov eax, dword [ebp - 0x38]
sub eax, dword [ebp - 0x40]
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 - 0x100]
sub eax, dword [ebp - 0x108]
push 0xcc0020
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebp - 0x114]
push eax
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x10c]
push eax
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebx + 0x10]
call esi
jmp 0x407aee
push dword [ebx + 0x18]
push dword [ebx + 0x10]
call edi
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0x108]
push 0xcc0020
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebx + 0x10]
push eax
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x10c]
push eax
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebx + 0xc]
call esi
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x10c]
mov eax, dword [ecx]
push edx
push dword [ebx + 0xc]
call dword [eax + 0x118]
lea ecx, [ebx + 0xe8]
xor esi, esi
call fcn.0040a801
test eax, eax
jle 0x407b87
lea edi, [ebx + 0xe8]
push esi
mov ecx, edi
call fcn.00409c76
mov edx, dword [eax]
lea ecx, [ebp - 0x10c]
push ecx
push dword [ebx + 0xc]
mov ecx, eax
call dword [edx + 0x130]
mov ecx, edi
inc esi
call fcn.0040a801
cmp esi, eax
jl 0x407b59
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x1a4]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp - 0x100]
sub eax, dword [ebp - 0x108]
push 0xcc0020
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebx + 0xc]
push eax
mov eax, dword [ebp - 0x104]
sub eax, dword [ebp - 0x10c]
push eax
push dword [ebp - 0x108]
push dword [ebp - 0x10c]
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x19c]
push dword [ebx + 0xc]
call edi
cmp byte [ebx + 0x4c], 0
je 0x407c64
push dword [0x45f0b0]
push dword [ebp - 0x114]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x114]
call edi
push dword [ebp - 0x44]
push dword [ebp - 0x48]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebp - 0x114]
call edi
jmp 0x407c64
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
mov esi, eax
mov edx, dword [ecx]
lea eax, [ebp - 0x10c]
push eax
push dword [ebp - 0x114]
call dword [edx + 0x118]
push esi
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x114]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0xb1], 0
je 0x407146
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x407146
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x407cc4
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 + 0x108]
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x407146
call fcn.0040de5a
jmp 0x407146
mov eax, dword [ebp - 0x1a8]
test eax, eax
je 0x407146
push eax
push edi
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40713e
sub esi, 0x7b
je 0x407e37
sub esi, 0x85
je 0x407dda
dec esi
je 0x407d7f
dec esi
je 0x407d37
sub esi, 0xf
jne 0x40871d
mov eax, dword [ebp - 0x1a8]
test eax, eax
je 0x40871d
push eax
push edi
push 0x2111
push eax
jmp 0x407cf0
cmp dword [ebx + 0x54], 0
je 0x40871d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b4]
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.00406f05
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
jmp 0x407f3e
cmp dword [ebx + 0x60], 0
je 0x40871d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b4]
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.00406f05
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 + 0x108]
and dword [ebx + 0x60], 0
jmp 0x40871d
cmp dword [ebx + 0x54], 0
je 0x40871d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1b4]
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.00406f05
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 + 0x108]
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x60], eax
jmp 0x40871d
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1a0], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x1a0]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x5c], 0
mov eax, dword [ebp - 0x1a0]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebx + 0x68], eax
je 0x40871d
mov ecx, ebx
call fcn.00408a5c
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x1a0]
mov ecx, dword [ebx + 0x5c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1b4]
mov dword [ebp - 0x30], 0x11
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], ecx
jmp 0x408099
xor esi, esi
lea ecx, [ebx + 0xc4]
mov dword [ebp - 0x19c], esi
call fcn.0040a801
test eax, eax
jle 0x40871d
push esi
lea ecx, [ebx + 0xc4]
call fcn.00409c76
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx]
jne 0x407ef9
movzx ecx, di
cmp dword [esi + 0xc], ecx
jne 0x407ef9
cmp byte [esi + 0x10], 0
je 0x407f1a
mov esi, dword [ebp - 0x19c]
inc esi
lea ecx, [ebx + 0xc4]
mov dword [ebp - 0x19c], esi
call fcn.0040a801
cmp esi, eax
jl 0x407ed6
jmp 0x40871d
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 + 0x108]
jmp 0x40871d
mov eax, 0x204
cmp esi, eax
ja 0x40836b
je 0x4082d7
mov eax, esi
sub eax, 0x133
je 0x4082ba
sub eax, 5
je 0x4082ba
sub eax, 0xc8
je 0x408165
dec eax
je 0x4080be
dec eax
je 0x40803a
dec eax
jne 0x40871d
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x19c], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x198], eax
mov dword [ebx + 0x68], eax
call fcn.0040682a
mov esi, eax
test esi, esi
je 0x40871d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x40871d
mov ecx, ebx
call fcn.00408fc9
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x1b4]
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 + 0x108]
mov dword [ebx + 0x5c], esi
jmp 0x40871d
mov eax, dword [ebp - 0x1a8]
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0x5c], 0
cwde
mov dword [ebp - 0x19c], eax
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], eax
je 0x40871d
mov ecx, ebx
call fcn.00408a5c
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 - 0x1a8]
mov ecx, dword [ebp - 0x19c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x1b4]
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 + 0x108]
and dword [ebx + 0x5c], 0
jmp 0x40871d
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x19c], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x198], eax
mov dword [ebx + 0x68], eax
call fcn.0040682a
mov esi, eax
test esi, esi
je 0x40871d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x40871d
mov dword [ebx + 0x5c], esi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov ecx, ebx
call fcn.00408fc9
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x1b4]
mov edi, dword [ebp - 0x1a8]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x198]
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 0x4082ad
cmp byte [ebx + 0xb5], 0
jne 0x4081bc
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 0x408197
mov dword [ebp - 0x34], 0x190
jmp 0x4081ab
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 - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x19c], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x198], eax
mov dword [ebx + 0x68], eax
call fcn.0040682a
mov esi, eax
test esi, esi
je 0x4081f9
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x40871d
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 - 0x19c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x198]
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 0x408261
test ecx, ecx
je 0x408261
mov dword [ebp - 0x30], 0xa
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x58], 0
cmp dword [ebx + 0x1c], 0
je 0x408261
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 0x408285
test esi, esi
je 0x408285
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 + 0x108]
mov dword [ebx + 0x58], esi
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x40829b
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], ecx
jmp 0x407f41
test esi, esi
je 0x40871d
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
jmp 0x407f47
mov ecx, dword [ebp - 0x1a8]
test ecx, ecx
je 0x40871d
push ecx
push edi
lea eax, [esi + 0x2000]
push eax
push ecx
jmp 0x407cf0
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x19c], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x198], eax
mov dword [ebx + 0x68], eax
call fcn.0040682a
mov esi, eax
test esi, esi
je 0x40871d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x40871d
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov ecx, ebx
call fcn.00408fc9
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x19c]
mov eax, dword [ebp - 0x1b4]
mov edi, dword [ebp - 0x1a8]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
jmp 0x408014
sub esi, 0x20a
je 0x40865b
sub esi, 0x97
je 0x4084d8
dec esi
dec esi
je 0x40849a
sub esi, 0x75
je 0x4083db
sub esi, 0x7ce9
jne 0x40871d
lea esi, [ebx + 0xf4]
mov ecx, esi
xor edi, edi
call fcn.0040a801
test eax, eax
jle 0x4083cf
push edi
mov ecx, esi
call fcn.00409c76
test eax, eax
je 0x4083c3
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
mov ecx, esi
inc edi
call fcn.0040a801
cmp edi, eax
jl 0x4083af
mov ecx, esi
call fcn.00409e97
jmp 0x40871d
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 - 0x19c], eax
mov edx, dword [ecx]
lea eax, [ebp - 0x20]
push eax
push edi
call dword [edx + 0x118]
test byte [ebp - 0x1a8], 0x10
je 0x408488
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x408488
or dword [ebp - 0x1a8], 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 - 0x1b4]
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 - 0x1a8]
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 0x408424
push dword [ebp - 0x19c]
push edi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x40871d
cmp dword [ebx + 0x1c], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x4084b6
lea eax, [ebx + 0x20]
push eax
push 0
push 0x411
push dword [ebx + 0x1c]
call esi
cmp byte [ebx + 0xb5], 0
je 0x4084cc
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [ebx + 0xb5], 0
jmp 0x40871d
mov eax, dword [ebp - 0x1a8]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x19c], ecx
push ecx
mov ecx, ebx
mov byte [ebx + 0xb5], 0
mov dword [ebp - 0x198], eax
call fcn.0040682a
mov esi, eax
mov dword [ebp - 0x1bc], esi
test esi, esi
je 0x40871d
mov edx, dword [ebx + 0x58]
test edx, edx
je 0x408556
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x19c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x198]
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 + 0x108]
mov eax, dword [esi]
lea ecx, [ebp - 0xd4]
push ecx
mov ecx, esi
call dword [eax + 0x98]
and dword [ebp - 4], 0
lea ecx, [ebp - 0xd4]
call fcn.0040a224
test al, al
je 0x40858e
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd4]
call fcn.00409b93
jmp 0x407146
push 0x2c
lea edi, [ebx + 0x20]
push 0
push edi
call fcn.00438060
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 [0x45f0a0]
add esp, 0xc
lea ecx, [ebp - 0xd4]
mov dword [ebx + 0x40], eax
call fcn.0040a0d2
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 esi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x1c], ecx
jne 0x40861e
push ecx
push dword [0x45f0a0]
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]
push edi
push 0
push 0x432
push eax
mov dword [ebx + 0x1c], eax
call esi
jmp 0x408621
lea edi, [ebx + 0x20]
mov ecx, dword [ebp - 0x1bc]
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 0x40857a
mov ecx, dword [ebp - 0x1a8]
movsx eax, cx
mov dword [ebp - 0x1a0], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x19c], eax
lea eax, [ebp - 0x1a0]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x19c]
mov ecx, dword [ebp - 0x1a0]
push eax
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x68], eax
call fcn.0040682a
mov esi, eax
test esi, esi
je 0x40871d
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x40871d
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x1b4]
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 - 0x1a8]
mov dword [ebp - 0x14], eax
call fcn.00406f05
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 + 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.0040a069
mov esi, eax
test esi, esi
je 0x4087b1
add ebx, 0xb8
push 0
mov ecx, edi
call fcn.0040a321
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x408766
add ecx, 0x34
call fcn.00410420
test al, al
je 0x408766
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x34
call fcn.00410436
mov ecx, ebx
xor edi, edi
call fcn.0040a801
test eax, eax
jle 0x40878e
push edi
mov ecx, ebx
call fcn.00409c76
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, ebx
inc edi
call fcn.0040a801
cmp edi, eax
jl 0x408773
mov ecx, esi
call fcn.004063d5
push esi
call fcn.004257c5
mov edi, dword [ebp - 0x1a4]
pop ecx
push 0
mov ecx, edi
call fcn.0040a069
mov esi, eax
test esi, esi
jne 0x408738
xor al, al
call fcn.00438adf
ret 0x10