Function at 0x408378
Capabilities:
Check for time delay via gettickcount
Check for unmoving mouse cursor

Disassembly:
push 0x160
mov eax, 0x4579bb
call fcn.00456899
mov ebx, ecx
mov dword [ebp - 0x14c], ebx
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x140], eax
xor eax, eax
mov dword [ebp - 0x138], eax
cmp dword [ebx + 0x44], eax
je 0x40a240
lea ecx, [ebx + 0x21c]
mov dword [ebp - 0x144], eax
call fcn.00406aa3
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x128]
test eax, eax
jle 0x40842b
mov ecx, dword [ebp - 0x144]
push ecx
lea ecx, [ebx + 0x21c]
mov byte [ebp - 0x145], 0
call fcn.0040de4a
lea ecx, [ebp - 0x145]
push ecx
push edi
push dword [ebp - 0x12c]
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x145], 0
jne 0x40847d
inc dword [ebp - 0x144]
lea ecx, [ebx + 0x21c]
call fcn.00406aa3
mov ecx, dword [ebp - 0x144]
cmp ecx, eax
jl 0x4083df
mov cl, byte [ebx + 0x105]
test cl, cl
je 0x40850c
mov eax, esi
sub eax, 0x83
je 0x408501
dec eax
sub eax, 1
je 0x408501
sub eax, 1
jne 0x40850c
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4093fc
cmp dword [ebp - 0x12c], eax
sete al
mov ecx, dword [ebp - 0x140]
mov dword [ecx], eax
jmp 0x4084e5
mov ecx, dword [ebp - 0x140]
mov dword [ecx], eax
cmp esi, 0x7b
je 0x4084a2
cmp esi, 0x1ff
jbe 0x4084e5
cmp esi, 0x203
jbe 0x4084ec
cmp esi, 0x20a
jne 0x4084e5
mov ecx, dword [ebp - 0x128]
movsx eax, cx
mov dword [ebp - 0x134], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x134]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x134]
mov dword [ebx + 0xb4], eax
mov eax, dword [ebp - 0x130]
mov dword [ebx + 0xb8], eax
mov al, 1
jmp 0x40a242
mov eax, dword [ebp - 0x128]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebx + 0xb4], ecx
jmp 0x4084df
mov ecx, dword [ebp - 0x140]
and dword [ecx], 0
jmp 0x4084e5
mov eax, 0x113
cmp esi, eax
ja 0x4097d2
je 0x4096b1
cmp esi, 0x24
ja 0x4093fc
je 0x4093b9
sub esi, 5
je 0x40933b
sub esi, 3
je 0x409297
sub esi, 7
je 0x408722
sub esi, 1
je 0x408663
sub esi, 4
je 0x408653
sub esi, 0xc
jne 0x40a240
cmp dword [ebx + 0xa0], esi
je 0x40a240
xor eax, eax
inc eax
cmp di, ax
jne 0x40a240
cmp byte [ebx + 0x1f1], 0
jne 0x40a242
lea eax, [ebp - 0x164]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x164], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x164]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x160]
mov ecx, ebx
push dword [ebp - 0x164]
call fcn.004079bf
mov esi, eax
test esi, esi
je 0x40a240
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, 2
je 0x40a240
xor eax, eax
mov dword [ebp - 0xa0], 0x17
mov dword [ebp - 0x98], eax
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x164]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x9c], esi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x90], eax
call fcn.0040832c
mov word [ebp - 0x8a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x98], eax
lea ecx, [ebp - 0xa0]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x110]
jmp 0x4084e5
mov ecx, dword [ebp - 0x140]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x40a242
xor eax, eax
xorps xmm0, xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xb8]
movlpd qword [ebp - 0x40], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x30], eax
call fcn.0040832c
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xa8]
mov dword [ebp - 0x38], eax
test ecx, ecx
je 0x4086ba
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x110]
mov ecx, dword [ebx + 0xac]
test ecx, ecx
je 0x4086da
mov dword [ebp - 0x40], 0xe
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x110]
push 1
push 0
mov ecx, ebx
call fcn.0040b0a0
mov esi, dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, esi
jne 0x408706
push 4
push esi
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x408706
push eax
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0x68], 0
je 0x40a240
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_DestroyWindow]
and dword [ebx + 0x68], 0
jmp 0x40a240
xor eax, eax
cmp dword [ebx + 0xa0], eax
jne 0x40876e
push 0x40
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0043e460
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0xff000000
lea eax, [ebp - 0x58]
push eax
push dword [ebx + 0x48]
call fcn.0041033e
add esp, 0xc
lea eax, [ebp - 0x60]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4084e5
xor eax, eax
lea edi, [ebp - 0x114]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x114]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
lea edi, [ebp - 0x70]
cmp byte [ebx + 0x105], 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
je 0x40882a
lea eax, [ebx + 0x11c]
mov byte [ebx + 0x103], 1
mov esi, eax
lea edi, [ebp - 0x70]
push 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]
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
je 0x4087ef
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0043e460
add esp, 0xc
lea eax, [ebp - 0xc0]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0xc0]
jmp 0x40875f
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x10c]
push 0x10
cmovg eax, dword [ebp - 0x10c]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x108]
push 0
cmovg eax, dword [ebp - 0x108]
mov dword [ebp - 0x64], eax
lea eax, [ebx + 0x11c]
push eax
call fcn.0043e460
add esp, 0xc
jmp 0x408841
push 0
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4084e5
push 1
mov ecx, ebx
call fcn.0040b595
cmp byte [ebx + 0x101], 0
je 0x408a29
lea eax, [ebp - 0x114]
mov byte [ebx + 0x101], 0
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x408abb
mov ecx, dword [ebx + 0xa0]
call fcn.0040c609
test al, al
je 0x408927
cmp dword [ebx + 0x4c], 0
lea esi, [ebp - 0x114]
lea edi, [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]
je 0x4088a2
push dword [ebx + 0x4c]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebx + 0x50], 0
je 0x4088b1
push dword [ebx + 0x50]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebx + 0x54], 0
je 0x4088c0
push dword [ebx + 0x54]
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [ebx + 0x5c], 0
je 0x4088cf
push dword [ebx + 0x5c]
call dword [sym.imp.GDI32.dll_DeleteObject]
xor eax, eax
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x54], eax
mov dword [ebx + 0x5c], eax
cmp byte [ebx + 0x105], al
je 0x408909
mov eax, dword [ebx + 0x108]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10c]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x110]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x114]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xa0]
lea esi, [ebp - 0x20]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
jmp 0x4089ce
lea edi, [ebx + 0x264]
mov ecx, edi
mov dword [ebp - 0x13c], edi
call fcn.0040e089
mov ecx, dword [ebx + 0xa0]
xor esi, esi
push reloc.OLEAUT32.dll_VariantCopy
push esi
push 0x40ba8d
mov eax, dword [ecx]
call dword [eax + 0x104]
mov ecx, edi
mov dword [ebp - 0x144], esi
call fcn.00406aa3
test eax, eax
jle 0x4089ce
push esi
mov ecx, edi
call fcn.0040de4a
mov esi, eax
mov ecx, esi
mov dword [ebp - 0x138], esi
mov edx, dword [esi]
call dword [edx + 0xfc]
mov ebx, dword [esi]
mov ecx, esi
test al, al
jne 0x40898d
call dword [ebx + 0x34]
jmp 0x408994
lea eax, [ebp - 0x80]
push eax
call dword [ebx + 0x38]
mov ecx, dword [ebp - 0x138]
mov esi, eax
push 1
sub esp, 0x10
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 + 0x40]
mov esi, dword [ebp - 0x144]
mov edi, dword [ebp - 0x13c]
inc esi
mov ecx, edi
mov dword [ebp - 0x144], esi
call fcn.00406aa3
cmp esi, eax
jl 0x408966
mov ebx, dword [ebp - 0x14c]
cmp byte [ebx + 0x100], 0
je 0x408abb
push 1
xor eax, eax
mov ecx, ebx
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0xa0]
mov byte [ebx + 0x100], al
call fcn.0040ad57
cmp byte [ebx + 0x105], 0
je 0x408abb
cmp byte [ebx + 0x118], 0
je 0x408abb
mov ecx, ebx
call fcn.004081ad
push 0
mov ecx, ebx
call fcn.0040b595
jmp 0x4084e5
cmp byte [ebx + 0x105], 0
je 0x408abb
cmp byte [ebx + 0x118], 0
je 0x408abb
cmp dword [ebx + 0x58], 0
lea esi, [ebp - 0x114]
lea edi, [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]
je 0x408a7e
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x10c]
sub ecx, dword [ebp - 0x110]
sub eax, dword [ebp - 0x114]
imul ecx, eax
shl ecx, 2
push ecx
push 0
push dword [ebx + 0x58]
call fcn.0043e460
add esp, 0xc
mov eax, dword [ebx + 0x108]
lea esi, [ebp - 0x20]
add dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10c]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x110]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x114]
sub dword [ebp - 0x14], eax
mov ecx, dword [ebx + 0xa0]
push 1
sub esp, 0x10
mov edi, esp
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x40]
cmp byte [ebx + 0x102], 0
je 0x408acd
push 1
mov ecx, ebx
call fcn.0040b45a
xor esi, esi
cmp byte [ebx + 0x103], 0
je 0x408b43
cmp dword [ebx + 0x54], esi
jne 0x408b43
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
cmp byte [ebx + 0x105], 0
mov dword [ebx + 0x4c], eax
je 0x408b1d
lea eax, [ebx + 0x58]
push eax
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [ebx + 0x48]
call fcn.004102d7
add esp, 0x10
jmp 0x408b40
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x54], eax
push 0x40
lea eax, [ebp - 0x100]
push esi
push eax
call fcn.0043e460
add esp, 0xc
lea eax, [ebp - 0x100]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0x103], 0
je 0x409234
push dword [ebx + 0x54]
push dword [ebx + 0x4c]
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x4c]
mov dword [ebp - 0x130], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0x105], 0
mov dword [ebp - 0x150], eax
je 0x408be8
xor edx, edx
cmp dword [ebx + 0x1b8], edx
jne 0x408be8
mov ecx, dword [ebp - 0x108]
mov esi, ecx
sub esi, dword [ebp - 0x64]
jmp 0x408bdf
mov edi, dword [ebp - 0x70]
cmp edi, dword [ebp - 0x68]
jge 0x408bde
mov ecx, dword [ebp - 0x10c]
sub ecx, dword [ebp - 0x114]
mov eax, dword [ebx + 0x58]
imul ecx, esi
add ecx, edi
inc edi
mov dword [eax + ecx*4], edx
cmp edi, dword [ebp - 0x68]
jl 0x408bbb
mov ecx, dword [ebp - 0x108]
inc esi
mov eax, ecx
sub eax, dword [ebp - 0x6c]
cmp esi, eax
jl 0x408bb3
mov ecx, dword [ebx + 0xa0]
lea edx, [ebp - 0x70]
push edx
push dword [ebx + 0x4c]
mov eax, dword [ecx]
call dword [eax + 0x120]
cmp byte [ebx + 0x105], 0
je 0x408e58
lea ecx, [ebx + 0x234]
xor esi, esi
call fcn.00406aa3
test eax, eax
jle 0x408e58
push esi
lea ecx, [ebx + 0x234]
call fcn.0040de4a
mov edi, eax
push edi
mov dword [ebp - 0x13c], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x408c5b
push esi
lea ecx, [ebx + 0x234]
call fcn.0040e461
push esi
lea ecx, [ebx + 0x240]
call fcn.0040e461
jmp 0x408e45
inc esi
push edi
mov dword [ebp - 0x158], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x408e45
push edi
lea eax, [ebp - 0x124]
mov ecx, ebx
push eax
call fcn.00407fe9
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x124]
push eax
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x408e45
push dword [ebx + 0x4c]
and dword [ebp - 0x138], 0
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov ecx, dword [ebp - 0x118]
mov edi, eax
sub ecx, dword [ebp - 0x120]
lea eax, [ebp - 0x138]
push eax
push ecx
mov ecx, dword [ebp - 0x11c]
sub ecx, dword [ebp - 0x124]
push ecx
push edi
mov dword [ebp - 0x12c], edi
call fcn.004102d7
mov edx, dword [ebp - 0x11c]
mov ecx, dword [ebp - 0x118]
sub edx, dword [ebp - 0x124]
sub ecx, dword [ebp - 0x120]
imul edx, ecx
mov dword [ebp - 0x128], eax
shl edx, 2
push edx
push 0
push dword [ebp - 0x138]
call fcn.0043e460
add esp, 0x1c
push dword [ebp - 0x128]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x35
push edi
push 0x317
push dword [ebp - 0x13c]
mov dword [ebp - 0x160], eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebp - 0x118]
xor edx, edx
mov edi, dword [ebp - 0x124]
mov ecx, eax
sub ecx, dword [ebp - 0x120]
test ecx, ecx
mov dword [ebp - 0x144], edx
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x140], eax
jle 0x408dfb
mov esi, dword [ebp - 0x120]
mov ebx, eax
mov eax, ecx
sub eax, edi
test eax, eax
jle 0x408dd1
mov ebx, edx
imul eax, dword [ebp - 0x144]
mov esi, dword [ebp - 0x138]
add eax, ebx
mov esi, dword [esi + eax*4]
mov dword [ebp - 0x13c], esi
test esi, esi
je 0x408dbc
mov ecx, esi
mov esi, dword [ebp - 0x138]
or ecx, 0xff000000
mov dword [esi + eax*4], ecx
mov ecx, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x124]
mov eax, ecx
inc ebx
sub eax, edi
cmp ebx, eax
jl 0x408d83
mov ebx, dword [ebp - 0x118]
mov esi, dword [ebp - 0x120]
inc dword [ebp - 0x144]
mov eax, ebx
sub eax, esi
cmp dword [ebp - 0x144], eax
jl 0x408d79
mov esi, dword [ebp - 0x158]
mov dword [ebp - 0x140], ebx
mov ebx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x140]
push 0xcc0020
push edx
push edx
push dword [ebp - 0x12c]
mov edx, dword [ebp - 0x120]
sub ecx, edi
sub eax, edx
push eax
push ecx
push edx
push edi
push dword [ebx + 0x4c]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x160]
mov edi, dword [ebp - 0x12c]
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x128]
call dword [sym.imp.GDI32.dll_DeleteObject]
push edi
call dword [sym.imp.GDI32.dll_DeleteDC]
lea ecx, [ebx + 0x234]
call fcn.00406aa3
cmp esi, eax
jl 0x408c1f
lea edi, [ebx + 0x228]
xor esi, esi
mov ecx, edi
call fcn.00406aa3
test eax, eax
jle 0x408e90
push esi
mov ecx, edi
call fcn.0040de4a
lea ecx, [ebp - 0x70]
push ecx
push dword [ebx + 0x4c]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x13c]
mov ecx, edi
inc esi
call fcn.00406aa3
cmp esi, eax
jl 0x408e6b
push dword [ebp - 0x150]
push dword [ebx + 0x4c]
call dword [sym.imp.GDI32.dll_RestoreDC]
cmp byte [ebx + 0x105], 0
je 0x4091ae
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x10c]
lea esi, [ebp - 0x114]
sub eax, dword [ebp - 0x114]
lea edi, [ebp - 0x20]
mov edx, dword [ebp - 0x108]
xor ecx, ecx
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x140], eax
mov eax, edx
sub eax, dword [ebp - 0x110]
mov dword [ebp - 0x12c], eax
mov eax, dword [ebx + 0x108]
add eax, dword [ebp - 0x114]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x20], eax
mov eax, dword [ebx + 0x10c]
add dword [ebp - 0x1c], eax
mov eax, dword [ebx + 0x110]
sub dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x114]
sub dword [ebp - 0x14], eax
cmp dword [ebx + 0x1b8], ecx
je 0x40912c
cmp dword [ebx + 0x5c], ecx
jne 0x408f85
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [ebp - 0x140]
lea esi, [ebx + 0x60]
push esi
push dword [ebp - 0x12c]
mov dword [ebx + 0x50], eax
push edi
push dword [ebx + 0x48]
call fcn.004102d7
mov dword [ebx + 0x5c], eax
mov eax, dword [ebp - 0x12c]
imul eax, edi
shl eax, 2
push eax
push 0
push dword [esi]
call fcn.0043e460
add esp, 0x1c
push dword [ebx + 0x5c]
push dword [ebx + 0x50]
call dword [sym.imp.GDI32.dll_SelectObject]
and dword [ebp - 4], 0
jmp 0x408fb1
cmp byte [ebx + 0x118], cl
je 0x408ff3
mov eax, dword [ebp - 0x12c]
imul eax, dword [ebp - 0x140]
shl eax, 2
push eax
push ecx
push dword [ebx + 0x60]
call fcn.0043e460
add esp, 0xc
mov dword [ebp - 4], 1
lea eax, [ebp - 0x3c]
push eax
sub esp, 0x10
lea esi, [ebp - 0x20]
mov edi, esp
push dword [ebx + 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 fcn.004146bf
lea eax, [ebx + 0x12c]
push eax
lea eax, [ebp - 0x20]
push eax
push eax
push ebx
push dword [ebx + 0x50]
call fcn.00413ab3
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
add esp, 0x2c
call fcn.0040fe03
mov edx, dword [ebp - 0x108]
mov eax, dword [ebx + 0x1b8]
cmp byte [eax + 0x14], 0
je 0x40912c
mov edi, dword [ebp - 0x6c]
mov ecx, edx
sub ecx, dword [ebp - 0x64]
mov eax, edx
sub eax, edi
mov dword [ebp - 0x13c], ecx
cmp ecx, eax
jge 0x40912c
mov esi, dword [ebp - 0x140]
mov eax, ecx
imul eax, esi
mov dword [ebp - 0x158], 0xff
mov dword [ebp - 0x144], eax
mov ebx, dword [ebp - 0x70]
cmp ebx, dword [ebp - 0x68]
mov dword [ebp - 0x138], ebx
mov ebx, dword [ebp - 0x14c]
jge 0x40910b
mov ecx, dword [ebp - 0x138]
lea edx, [ecx + eax]
shl edx, 2
mov dword [ebp - 0x15c], edx
mov ebx, dword [ebx + 0x58]
add ecx, eax
mov eax, dword [ebp - 0x14c]
add ebx, edx
xor edx, edx
mov eax, dword [eax + 0x60]
movzx edi, byte [eax + ecx*4 + 3]
mov ecx, dword [ebx]
mov eax, ecx
shr eax, 0x10
movzx eax, al
imul eax, edi
shr ecx, 8
div dword [ebp - 0x158]
xor edx, edx
movzx esi, al
movzx eax, cl
imul eax, edi
shl esi, 8
mov ecx, dword [ebp - 0x138]
div dword [ebp - 0x158]
xor edx, edx
movzx eax, al
or esi, eax
movzx eax, byte [ebx]
imul eax, edi
shl esi, 8
shl edi, 0x18
div dword [ebp - 0x158]
mov edx, dword [ebp - 0x15c]
movzx eax, al
add edx, 4
or esi, eax
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x144]
add esi, edi
inc ecx
mov dword [ebx], esi
mov ebx, dword [ebp - 0x14c]
mov dword [ebp - 0x138], ecx
cmp ecx, dword [ebp - 0x68]
jl 0x409062
mov edx, dword [ebp - 0x108]
mov edi, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0x13c]
mov esi, dword [ebp - 0x140]
add eax, esi
inc ecx
mov dword [ebp - 0x144], eax
mov eax, edx
sub eax, edi
mov dword [ebp - 0x13c], ecx
cmp ecx, eax
mov eax, dword [ebp - 0x144]
jl 0x409038
mov al, byte [ebx + 0x104]
xor ecx, ecx
mov byte [ebp - 0x126], al
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x11c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x140]
mov dword [ebp - 0x16c], eax
mov eax, dword [ebp - 0x12c]
push 2
mov dword [ebp - 0x168], eax
lea eax, [ebp - 0x128]
push eax
push ecx
lea eax, [ebp - 0x154]
mov word [ebp - 0x128], cx
push eax
push dword [ebx + 0x4c]
lea eax, [ebp - 0x16c]
mov byte [ebp - 0x125], 1
push eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x154], ecx
push eax
push dword [ebx + 0x48]
mov dword [ebp - 0x150], ecx
push dword [ebx + 0x44]
call dword [0x471ab8]
jmp 0x4091d9
mov eax, dword [ebp - 0x64]
sub eax, dword [ebp - 0x6c]
push 0xcc0020
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x4c]
push eax
mov eax, dword [ebp - 0x68]
sub eax, dword [ebp - 0x70]
push eax
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x130]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0x4c]
call edi
cmp byte [ebx + 0x9c], 0
je 0x40925e
cmp byte [ebx + 0x105], 0
jne 0x40925e
push dword [0x471abc]
push dword [ebx + 0x48]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebx + 0x48]
call edi
push dword [ebp - 0x64]
push dword [ebp - 0x68]
push dword [ebp - 0x6c]
push dword [ebp - 0x70]
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebx + 0x48]
call edi
jmp 0x40925e
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0xa0]
mov esi, eax
lea eax, [ebp - 0x70]
push eax
push dword [ebx + 0x48]
mov edx, dword [ecx]
call dword [edx + 0x120]
push esi
push dword [ebx + 0x48]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x100]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_EndPaint]
push 0
mov ecx, ebx
call fcn.0040b595
cmp byte [ebx + 0x101], 0
mov byte [ebx + 0x118], 0
je 0x4084e5
mov ecx, ebx
call fcn.004081ad
jmp 0x4084e5
cmp dword [ebp - 0x12c], 0
je 0x40a240
call dword [sym.imp.USER32.dll_GetFocus]
mov esi, eax
mov dword [ebp - 0x13c], esi
push esi
mov esi, dword [sym.imp.USER32.dll_GetParent]
jmp 0x4092c7
cmp dword [ebx + 0x44], eax
je 0x4092d2
mov dword [ebp - 0x13c], eax
push eax
call esi
test eax, eax
jne 0x4092bb
jmp 0x40a240
lea edi, [ebx + 0x234]
xor esi, esi
mov ecx, edi
call fcn.00406aa3
test eax, eax
jle 0x40a240
push esi
mov ecx, edi
call fcn.0040de4a
cmp eax, dword [ebp - 0x13c]
je 0x40930a
mov ecx, edi
inc esi
call fcn.00406aa3
cmp esi, eax
jl 0x4092e9
jmp 0x40a240
lea edi, [ebx + 0x240]
push esi
mov ecx, edi
call fcn.0040de4a
cmp eax, dword [ebx + 0xa4]
je 0x40a240
push 0
push esi
mov ecx, edi
call fcn.0040de4a
push eax
mov ecx, ebx
call fcn.0040b0a0
jmp 0x40a240
mov eax, dword [ebx + 0xa4]
test eax, eax
je 0x40939e
xorps xmm0, xmm0
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x12c]
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x40], 0x16
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xb8]
mov dword [ebp - 0x30], eax
call fcn.0040832c
mov ecx, dword [ebx + 0xa4]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x110]
mov ecx, dword [ebx + 0xa0]
test ecx, ecx
je 0x4093ad
call fcn.0040c736
cmp byte [ebx + 0x105], 0
jmp 0x409285
mov ecx, dword [ebx + 0xbc]
mov eax, dword [ebp - 0x128]
test ecx, ecx
jle 0x4093cc
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0xc0]
test ecx, ecx
jle 0x4093d9
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0xc4]
test ecx, ecx
jle 0x4093e6
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0xc8]
test ecx, ecx
jle 0x40a240
mov dword [eax + 0x24], ecx
jmp 0x40a240
sub esi, 0x4e
je 0x40968a
sub esi, 0x2d
je 0x4095cc
sub esi, 0x85
je 0x409544
sub esi, 1
je 0x4094c1
sub esi, 1
je 0x409451
sub esi, 0xf
jne 0x40a240
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x40a240
push eax
push dword [ebp - 0x12c]
push 0x2111
push eax
jmp 0x4096a6
xor eax, eax
cmp dword [ebx + 0xa0], eax
je 0x40a240
mov ecx, dword [ebx + 0xa4]
test ecx, ecx
je 0x40a240
mov dword [ebp - 0x38], eax
xor edx, edx
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x2c], al
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xb8]
mov word [ebp - 0x2b], dx
mov dword [ebp - 0x40], 5
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.0040832c
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xa4]
mov dword [ebp - 0x38], eax
jmp 0x4097c1
xor eax, eax
cmp dword [ebx + 0xa0], eax
je 0x40a240
mov ecx, dword [ebx + 0xb0]
test ecx, ecx
je 0x40a240
mov dword [ebp - 0x38], eax
xor edx, edx
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x2c], al
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xb8]
mov word [ebp - 0x2b], dx
mov dword [ebp - 0x40], 4
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.0040832c
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xb0]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x110]
and dword [ebx + 0xb0], 0
jmp 0x40a240
xor eax, eax
cmp dword [ebx + 0xa0], eax
je 0x40a240
mov ecx, dword [ebx + 0xa4]
test ecx, ecx
je 0x40a240
mov dword [ebp - 0x38], eax
xor edx, edx
mov byte [ebp - 0x29], al
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x2c], al
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xb8]
mov word [ebp - 0x2b], dx
mov dword [ebp - 0x40], 3
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], eax
call fcn.0040832c
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xa4]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x110]
mov eax, dword [ebx + 0xa4]
mov dword [ebx + 0xb0], eax
jmp 0x40a240
cmp dword [ebx + 0xa0], 0
je 0x40a240
mov ecx, ebx
call fcn.00408214
test al, al
jne 0x40a240
mov ecx, dword [ebp - 0x128]
movsx eax, cx
mov dword [ebp - 0x134], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x134]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebx + 0xac]
mov edx, dword [ebp - 0x134]
mov esi, dword [ebp - 0x130]
mov dword [ebx + 0xb4], edx
mov dword [ebx + 0xb8], esi
test ecx, ecx
je 0x40a240
xor eax, eax
mov dword [ebp - 0x40], 0x11
mov dword [ebp - 0x38], eax
xor edi, edi
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x12c]
mov word [ebp - 0x2c], di
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x30], esi
mov word [ebp - 0x2a], ax
mov dword [ebp - 0x24], ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xac]
lea edx, [ebp - 0x40]
mov dword [ebp - 0x38], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x110]
and dword [ebx + 0xac], edi
jmp 0x40a240
mov eax, dword [ebp - 0x128]
test eax, eax
je 0x4084e5
push eax
push dword [ebp - 0x12c]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x408473
mov eax, dword [ebp - 0x12c]
mov edx, 0x2000
movzx eax, ax
mov dword [ebp - 0x130], eax
cmp ax, dx
jne 0x40970f
test cl, cl
je 0x40970f
lea eax, [ebx + 0x11c]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40970f
push dword [ebx + 0x44]
and dword [ebp - 0x130], eax
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x40a240
lea eax, [ebp - 0x130]
mov ecx, ebx
push eax
xor eax, eax
push eax
push eax
push 0xf
call fcn.00408378
jmp 0x40a240
lea esi, [ebx + 0x204]
mov ecx, esi
call fcn.00406aa3
test eax, eax
jle 0x40a240
push dword [ebp - 0x138]
mov ecx, esi
call fcn.0040de4a
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx + 0x44]
jne 0x40974f
mov eax, dword [ebp - 0x130]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x40974f
cmp byte [esi + 0x10], 0
je 0x409774
inc dword [ebp - 0x138]
lea ecx, [ebx + 0x204]
call fcn.00406aa3
cmp dword [ebp - 0x138], eax
jge 0x40a240
lea esi, [ebx + 0x204]
jmp 0x409724
mov eax, dword [esi]
xorps xmm0, xmm0
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x28], xmm0
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx + 0xb4]
mov dword [ebp - 0x34], eax
mov eax, dword [ebx + 0xb8]
mov dword [ebp - 0x30], eax
call fcn.0040832c
mov ecx, dword [esi]
mov word [ebp - 0x2a], ax
mov eax, dword [esi + 4]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov eax, dword [ecx]
lea edx, [ebp - 0x40]
push edx
call dword [eax + 0x110]
jmp 0x40a240
mov eax, 0x204
cmp esi, eax
ja 0x409c7a
je 0x409be6
mov eax, esi
sub eax, 0x133
je 0x409bc4
sub eax, 5
je 0x409bc4
sub eax, 0xc8
je 0x409a0e
sub eax, 1
je 0x409950
sub eax, 1
je 0x4098c6
sub eax, 1
jne 0x40a240
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x128]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x130], eax
mov dword [ebx + 0xb4], edi
mov dword [ebx + 0xb8], eax
call fcn.004079bf
mov esi, eax
test esi, esi
je 0x40a240
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
cmp eax, ebx
jne 0x40a240
mov ecx, ebx
call fcn.0040aded
and dword [ebp - 0x38], 0
xorps xmm0, xmm0
xor eax, eax
movlpd qword [ebp - 0x28], xmm0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x3c], esi
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x110]
mov dword [ebx + 0xac], esi
jmp 0x40a240
mov eax, dword [ebp - 0x128]
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0xac], 0
cwde
mov dword [ebp - 0x130], eax
mov dword [ebx + 0xb4], esi
mov dword [ebx + 0xb8], eax
je 0x40a240
mov ecx, ebx
call fcn.0040a600
mov ecx, dword [ebp - 0x130]
xor eax, eax
mov edi, dword [ebp - 0x128]
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebx + 0xac]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x40], 0xe
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0xac]
and dword [ebx + 0xac], 0
mov dword [ebp - 0x38], eax
jmp 0x4097c1
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SetFocus]
cmp dword [ebx + 0xa0], 0
je 0x40a240
mov eax, dword [ebp - 0x128]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x130], ecx
mov dword [ebx + 0xb4], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x150], eax
mov dword [ebx + 0xb8], eax
call fcn.004079bf
mov esi, eax
test esi, esi
je 0x40a240
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
cmp eax, ebx
jne 0x40a240
mov dword [ebx + 0xac], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xf8]
mov ecx, ebx
call fcn.0040aded
mov ecx, dword [ebp - 0x130]
xor eax, eax
mov edi, dword [ebp - 0x128]
and dword [ebp - 0x38], 0
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
jmp 0x409bb7
xor ecx, ecx
cmp dword [ebx + 0xa0], ecx
je 0x40a240
cmp byte [ebx + 0x1f0], cl
jne 0x409a68
mov eax, dword [ebx + 0x44]
push 3
pop edx
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], eax
cmp dword [ebx + 0x68], ecx
jne 0x409a44
mov eax, dword [ebx + 0x98]
jmp 0x409a54
push ecx
push edx
push 0x415
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0x1f0], 1
mov eax, dword [ebp - 0x128]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x130], edi
mov dword [ebp - 0x13c], eax
mov dword [ebx + 0xb4], edi
mov dword [ebx + 0xb8], eax
call fcn.004079bf
mov esi, eax
test esi, esi
je 0x409aab
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
cmp eax, ebx
jne 0x40a240
xor eax, eax
mov dword [ebp - 0x34], edi
mov edi, dword [ebp - 0x128]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
call fcn.0040832c
mov ecx, ebx
mov word [ebp - 0x2a], ax
call fcn.00408214
test al, al
jne 0x409b8c
push dword [ebp - 0x13c]
mov ecx, ebx
push dword [ebp - 0x130]
call fcn.004079bf
mov esi, eax
test esi, esi
je 0x409b18
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x20]
cmp eax, ebx
jne 0x40a240
mov ecx, dword [ebx + 0xa8]
mov eax, ecx
cmp esi, ecx
je 0x409b66
test ecx, ecx
je 0x409b66
mov dword [ebp - 0x40], 0xa
lea edx, [ebp - 0x40]
mov dword [ebp - 0x3c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x110]
xor ecx, ecx
mov eax, ecx
mov dword [ebx + 0xa8], ecx
cmp dword [ebx + 0x68], eax
je 0x409b66
lea eax, [ebx + 0x6c]
push eax
push ecx
push 0x411
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [ebx + 0xa8]
cmp esi, eax
je 0x409b8c
test esi, esi
je 0x409b8c
mov dword [ebp - 0x40], 0xb
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x110]
mov dword [ebx + 0xa8], esi
mov ecx, dword [ebx + 0xac]
test ecx, ecx
je 0x409ba5
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], ecx
jmp 0x4097c1
test esi, esi
je 0x40a240
mov dword [ebp - 0x40], 9
mov dword [ebp - 0x3c], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
jmp 0x4097c7
mov ecx, dword [ebp - 0x128]
test ecx, ecx
je 0x40a240
push ecx
push dword [ebp - 0x12c]
lea eax, [esi + 0x2000]
push eax
push ecx
jmp 0x4096a6
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x128]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x130], ecx
mov dword [ebx + 0xb4], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x150], eax
mov dword [ebx + 0xb8], eax
call fcn.004079bf
mov esi, eax
test esi, esi
je 0x40a240
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
cmp eax, ebx
jne 0x40a240
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf8]
and dword [ebp - 0x38], 0
xor eax, eax
mov ecx, dword [ebp - 0x130]
mov edi, dword [ebp - 0x128]
mov word [ebp - 0x2c], ax
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x150]
mov dword [ebp - 0x40], 0xf
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x30], ecx
jmp 0x40989d
sub esi, 0x20a
je 0x40a15c
sub esi, 0x97
je 0x409f82
dec esi
sub esi, 1
je 0x409e88
sub esi, 0x75
je 0x409da3
sub esi, 0x7ce9
jne 0x40a240
xor eax, eax
lea edi, [ebx + 0x24c]
mov ecx, edi
mov byte [ebx + 0x1f4], al
mov esi, eax
call fcn.00406aa3
test eax, eax
jle 0x409cec
push esi
mov ecx, edi
call fcn.0040de4a
test eax, eax
je 0x409ce0
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, edi
inc esi
call fcn.00406aa3
cmp esi, eax
jl 0x409ccc
mov ecx, edi
call fcn.0040e089
lea edi, [ebx + 0x258]
push 0
mov ecx, edi
mov dword [ebp - 0x130], edi
call fcn.0040e1c7
mov esi, eax
test esi, esi
je 0x40a240
lea eax, [ebx + 0x1f8]
xor ebx, ebx
mov dword [ebp - 0x138], eax
push ebx
mov ecx, edi
call fcn.0040e461
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x409d4d
add ecx, 0x38
call fcn.004069b5
test al, al
je 0x409d4d
mov ecx, dword [esi + 0x88]
push esi
add ecx, 0x38
call fcn.004069c9
mov ecx, dword [ebp - 0x138]
mov edi, ebx
call fcn.00406aa3
test eax, eax
jle 0x409d81
mov ecx, dword [ebp - 0x138]
push edi
call fcn.0040de4a
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, dword [ebp - 0x138]
inc edi
call fcn.00406aa3
cmp edi, eax
jl 0x409d5e
push 1
mov ecx, esi
call fcn.00407161
mov edi, dword [ebp - 0x130]
mov ecx, edi
push ebx
call fcn.0040e1c7
mov esi, eax
test esi, esi
jne 0x409d20
jmp 0x40a240
cmp dword [ebx + 0xa0], 0
je 0x40a240
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x12c]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0xa0]
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x80]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + 0x120]
test byte [ebp - 0x128], 0x10
je 0x409e76
push 5
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x13c], ecx
test ecx, ecx
je 0x409e76
or dword [ebp - 0x128], 2
xor eax, eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x20]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [ebx + 0x44]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x1c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x20]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x128]
mov edi, dword [ebp - 0x13c]
push esi
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x13c], eax
test ecx, ecx
jne 0x409e0e
push dword [ebp - 0x130]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x40a240
xor ecx, ecx
cmp dword [ebx + 0xa0], ecx
je 0x40a240
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebx + 0x68], ecx
je 0x409eb0
lea eax, [ebx + 0x6c]
push eax
push ecx
push 0x411
push dword [ebx + 0x68]
call esi
cmp byte [ebx + 0x1f0], 0
je 0x409f76
xor eax, eax
lea edi, [ebp - 0x80]
stosd dword es:[edi], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x134], xmm0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x134]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x80]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_GetWindowRect]
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x409f68
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [ebx + 0x44]
jne 0x409f68
push dword [ebp - 0x130]
lea eax, [ebp - 0x80]
push dword [ebp - 0x134]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x409f68
movzx ecx, word [ebp - 0x130]
movzx eax, word [ebp - 0x134]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x84
push dword [ebx + 0x44]
call esi
cmp eax, 1
jne 0x409f68
lea eax, [ebp - 0x134]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
movzx ecx, word [ebp - 0x130]
movzx eax, word [ebp - 0x134]
shl ecx, 0x10
or ecx, eax
push ecx
jmp 0x409f6a
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx + 0x44]
call esi
mov byte [ebx + 0x1f0], 0
jmp 0x40a240
xor eax, eax
cmp dword [ebx + 0xa0], eax
je 0x40a240
mov byte [ebx + 0x1f0], al
mov ecx, ebx
mov eax, dword [ebp - 0x128]
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x130], eax
call fcn.004079bf
mov esi, eax
mov dword [ebp - 0x150], esi
test esi, esi
je 0x40a240
mov eax, dword [ebx + 0xa8]
test eax, eax
je 0x40a025
mov dword [ebp - 0x3c], eax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x128]
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x40], 0xc
mov dword [ebp - 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], eax
call fcn.0040832c
mov ecx, dword [ebx + 0xa8]
lea edx, [ebp - 0x40]
mov word [ebp - 0x2a], ax
push edx
mov eax, dword [ecx]
call dword [eax + 0x110]
mov eax, dword [esi]
lea ecx, [ebp - 0x104]
push ecx
mov ecx, esi
call dword [eax + 0xa0]
lea ecx, [ebp - 0x104]
mov dword [ebp - 4], 2
call fcn.0040e373
test al, al
je 0x40a05c
lea ecx, [ebp - 0x104]
call fcn.0040dd52
jmp 0x4084e5
lea eax, [ebp - 0x104]
push eax
call fcn.0040a464
push 0x2c
lea edi, [ebx + 0x6c]
push 0
push edi
call fcn.0043e460
mov eax, dword [ebx + 0x44]
lea ecx, [ebp - 0x104]
add esp, 0x10
mov dword [edi], 0x2c
mov dword [ebx + 0x70], 1
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x78], eax
mov eax, dword [0x471ab0]
mov dword [ebx + 0x8c], eax
call fcn.0040de59
mov dword [ebx + 0x90], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x34]
mov esi, eax
lea edi, [ebx + 0x7c]
xor eax, 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]
cmp dword [ebx + 0x68], eax
jne 0x40a11f
push eax
push dword [0x471ab0]
mov ecx, SysReAllocStringLen
push eax
push dword [ebx + 0x44]
push ecx
push ecx
push ecx
push ecx
push SysReAllocStringLen
push eax
push str.tooltips_class32
push eax
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebx + 0x68], eax
mov ecx, eax
test eax, eax
je 0x40a10f
cmp dword [ebx + 0x64], 0
jl 0x40a10f
push dword [ebx + 0x64]
push 0
push 0x418
push eax
call esi
mov ecx, dword [ebx + 0x68]
mov dword [ebx + 0x64], eax
lea edi, [ebx + 0x6c]
push edi
push 0
push 0x404
push ecx
call esi
jmp 0x40a122
lea edi, [ebx + 0x6c]
mov ecx, dword [ebp - 0x150]
mov eax, dword [ecx]
call dword [eax + 0xac]
push eax
push 0
push 0x418
push dword [ebx + 0x68]
call esi
push edi
push 0
push 0x409
push dword [ebx + 0x68]
call esi
push edi
push 1
push 0x411
push dword [ebx + 0x68]
call esi
jmp 0x40a04c
cmp dword [ebx + 0xa0], 0
je 0x40a240
mov ecx, dword [ebp - 0x128]
movsx eax, cx
mov dword [ebp - 0x134], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x130], eax
lea eax, [ebp - 0x134]
push eax
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x134]
push eax
mov dword [ebx + 0xb4], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0xb8], eax
call fcn.004079bf
mov esi, eax
test esi, esi
je 0x40a240
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x20]
cmp eax, ebx
jne 0x40a240
mov eax, dword [ebp - 0x12c]
xorps xmm0, xmm0
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x128]
movlpd qword [ebp - 0x38], xmm0
movlpd qword [ebp - 0x30], xmm0
mov dword [ebp - 0x40], 0x12
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x24], eax
call fcn.0040832c
mov word [ebp - 0x2a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x38], eax
lea ecx, [ebp - 0x40]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x110]
movzx ecx, word [ebx + 0xb8]
movzx eax, word [ebx + 0xb4]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx + 0x44]
call dword [sym.imp.USER32.dll_SendMessageA]
xor al, al
call fcn.00456854
ret 0x10