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

Disassembly:
push 0x110
mov eax, 0x4502be
call fcn.00436b30
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp + 0x10]
mov ebx, ecx
cmp dword [ebx], 0
mov dword [ebp - 0x108], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
je 0x4086dd
lea ecx, [ebx + 0xfc]
mov dword [ebp - 0x11c], ecx
jmp 0x407336
mov ecx, dword [ebp - 0x11c]
push 0
call fcn.00404972
mov eax, dword [esi + 0x44]
test eax, eax
je 0x4072ee
lea ecx, [eax + 0x34]
call fcn.0040e377
test al, al
je 0x4072ee
mov ecx, dword [esi + 0x44]
push esi
add ecx, 0x34
call fcn.0040e384
lea ecx, [ebx + 0xb4]
xor edi, edi
call fcn.00404d1f
test eax, eax
jle 0x407322
push edi
lea ecx, [ebx + 0xb4]
call fcn.004049f2
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
lea ecx, [ebx + 0xb4]
inc edi
call fcn.00404d1f
cmp edi, eax
jl 0x4072ff
mov ecx, esi
call fcn.00404a0c
push esi
call fcn.0042e5a0
pop ecx
mov ecx, dword [ebp - 0x11c]
push 0
call fcn.004049d6
mov esi, eax
test esi, esi
jne 0x4072c2
and dword [ebp - 0x10c], eax
lea ecx, [ebx + 0xd8]
call fcn.00404d1f
mov esi, dword [ebp + 8]
test eax, eax
jle 0x4073b7
push dword [ebp - 0x10c]
lea ecx, [ebx + 0xd8]
mov byte [ebp - 0x115], 0
call fcn.004049f2
mov edx, dword [eax]
lea ecx, [ebp - 0x115]
push ecx
push dword [ebp - 0x108]
mov ecx, eax
push dword [ebp - 0x114]
push esi
call dword [edx]
cmp byte [ebp - 0x115], 0
jne 0x407444
inc dword [ebp - 0x10c]
lea ecx, [ebx + 0xd8]
call fcn.00404d1f
cmp dword [ebp - 0x10c], eax
jl 0x40735f
mov eax, 0x113
cmp esi, eax
ja 0x407dcf
je 0x407d24
cmp esi, 0x4e
ja 0x407b14
je 0x407aed
mov eax, esi
sub eax, 5
je 0x407a94
push 0xa
pop esi
sub eax, esi
je 0x4075e3
dec eax
je 0x407542
sub eax, 4
je 0x407534
sub eax, 0xc
je 0x407450
sub eax, 4
jne 0x408650
mov eax, dword [ebx + 0x68]
mov ecx, dword [ebp - 0x108]
test eax, eax
jle 0x40741d
mov dword [ecx + 0x18], eax
mov eax, dword [ebx + 0x6c]
test eax, eax
jle 0x407427
mov dword [ecx + 0x1c], eax
mov eax, dword [ebx + 0x70]
test eax, eax
jle 0x407431
mov dword [ecx + 0x20], eax
mov eax, dword [ebx + 0x74]
test eax, eax
jle 0x408650
mov dword [ecx + 0x24], eax
jmp 0x408650
mov ecx, dword [ebp - 0x24]
mov dword [ecx], eax
mov al, 1
jmp 0x4086df
cmp word [ebp - 0x108], 1
jne 0x408650
cmp byte [ebx + 0xb2], 0
jne 0x407449
and dword [ebp - 0xbc], 0
xor eax, eax
lea edi, [ebp - 0xb8]
stosd dword es:[edi], eax
lea eax, [ebp - 0xbc]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0xbc]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0xb8]
mov ecx, ebx
push dword [ebp - 0xbc]
call fcn.00406bbc
mov esi, eax
test esi, esi
je 0x408650
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x14]
test al, 2
je 0x408650
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0xe0]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xcc], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0xc8], eax
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xd8], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xe4], 0x17
mov dword [ebp - 0xd4], eax
call fcn.0040553c
mov word [ebp - 0xce], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0xe4]
mov dword [ebp - 0xdc], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
jmp 0x407449
mov eax, dword [ebp - 0x24]
mov dword [eax], 1
jmp 0x407449
and dword [ebp - 0x94], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x8c], eax
test ecx, ecx
je 0x407596
lea edx, [ebp - 0x94]
mov dword [ebp - 0x94], esi
mov dword [ebp - 0x90], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x4075bc
lea edx, [ebp - 0x94]
mov dword [ebp - 0x94], 0xe
mov dword [ebp - 0x90], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
push 0
mov ecx, ebx
call fcn.00406e24
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x408650
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x408650
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
xor esi, esi
push esi
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x407449
cmp dword [ebx + 0x4c], esi
jne 0x407646
push 0x3c
lea eax, [ebp - 0x100]
push esi
push eax
mov dword [ebp - 0x104], esi
call fcn.00431350
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x104]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x407449
cmp byte [ebx + 0xad], 0
je 0x40775b
and dword [ebp - 0x30], esi
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
push dword [ebx]
mov byte [ebx + 0xad], 0
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40775b
mov ecx, dword [ebx + 0x4c]
call fcn.00413a52
mov ecx, dword [ebx + 0x4c]
test al, al
mov eax, dword [ecx]
je 0x40771b
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x34]
mov eax, dword [ebx + 8]
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
test eax, eax
je 0x4076b7
push eax
call esi
mov eax, dword [ebx + 0xc]
xor edi, edi
cmp eax, edi
je 0x4076c3
push eax
call esi
mov eax, dword [ebx + 0x10]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
cmp eax, edi
je 0x4076d3
push eax
call esi
mov eax, dword [ebx + 0x14]
cmp eax, edi
je 0x4076dd
push eax
call esi
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov dword [ebx + 0x14], edi
jmp 0x407737
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ecx]
mov dword [ebp - 0x11c], eax
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x10c]
sub esp, 0x10
mov esi, eax
mov eax, dword [ebp - 0x11c]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [eax + 0x34]
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
push Ordinal_4
push 0
push 0x4063e4
call dword [eax + 0xf4]
mov dword [ebp - 0x10c], eax
test eax, eax
jne 0x4076eb
cmp byte [ebx + 0xac], 0
je 0x40775b
xor eax, eax
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x4c]
mov ecx, ebx
mov byte [ebx + 0xac], 0
call fcn.004067f3
cmp byte [ebx + 0xae], 0
je 0x40776d
push 1
mov ecx, ebx
call fcn.00406fbc
cmp byte [ebx + 0xaf], 0
je 0x4077cf
cmp dword [ebx + 0x10], 0
jne 0x4077cf
and dword [ebp - 0xc4], 0
xor eax, eax
lea edi, [ebp - 0xc0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0xc4]
push eax
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x10], eax
and dword [ebp - 0xb4], 0
push 0x3c
lea eax, [ebp - 0xb0]
push 0
push eax
call fcn.00431350
add esp, 0xc
lea eax, [ebp - 0xb4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0xaf], 0
je 0x407a34
push dword [ebx + 0x10]
mov esi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 8]
call esi
push dword [ebx + 8]
mov dword [ebp - 0x24], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0xb0], 0
mov dword [ebp - 0x11c], eax
je 0x407924
mov eax, dword [ebx + 0x14]
test eax, eax
jne 0x4078db
and dword [ebp - 0xc4], eax
lea edi, [ebp - 0xc0]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0xc4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xb8]
sub eax, dword [ebp - 0xc0]
push eax
mov eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0xc4]
push eax
push dword [ebx + 4]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push dword [ebx + 0xc]
mov dword [ebx + 0x14], eax
call esi
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
push 0xcc0020
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0xb4]
push eax
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xac]
push eax
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_BitBlt]
jmp 0x4078e1
push eax
push dword [ebx + 0xc]
call esi
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
push 0xcc0020
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebx + 0xc]
push eax
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xac]
push eax
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_BitBlt]
mov ecx, dword [ebx + 0x4c]
mov eax, dword [ecx]
lea edx, [ebp - 0xac]
push edx
push dword [ebx + 8]
call dword [eax + 0x110]
and dword [ebp - 0x10c], 0
lea ecx, [ebx + 0xe4]
call fcn.00404d1f
test eax, eax
jle 0x40798d
push dword [ebp - 0x10c]
lea ecx, [ebx + 0xe4]
call fcn.004049f2
mov edx, dword [eax]
lea ecx, [ebp - 0xac]
push ecx
push dword [ebx + 8]
mov ecx, eax
call dword [edx + 0x128]
inc dword [ebp - 0x10c]
lea ecx, [ebx + 0xe4]
call fcn.00404d1f
cmp dword [ebp - 0x10c], eax
jl 0x40794f
push dword [ebp - 0x11c]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
push 0xcc0020
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebx + 8]
push eax
mov eax, dword [ebp - 0xa4]
sub eax, dword [ebp - 0xac]
push eax
push dword [ebp - 0xa8]
push dword [ebp - 0xac]
push dword [ebp - 0xb4]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x24]
push dword [ebx + 8]
call esi
cmp byte [ebx + 0x48], 0
je 0x407a67
push dword [0x466dc8]
push dword [ebp - 0xb4]
call esi
push 5
mov edi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0xb4]
call esi
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0xb4]
call dword [sym.imp.GDI32.dll_Rectangle]
push edi
push dword [ebp - 0xb4]
call esi
jmp 0x407a67
push dword [ebp - 0xb4]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x4c]
lea edx, [ebp - 0xac]
push edx
push dword [ebp - 0xb4]
mov esi, eax
mov eax, dword [ecx]
call dword [eax + 0x110]
push esi
push dword [ebp - 0xb4]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0xb4]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0xad], 0
je 0x407449
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x407449
mov edx, dword [ebx + 0x50]
test edx, edx
je 0x407ad6
push 7
pop ecx
xor eax, eax
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x94], 0x16
mov dword [ebp - 0x90], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
mov ebx, dword [ebx + 0x4c]
test ebx, ebx
je 0x407449
mov ecx, ebx
call fcn.00413a59
jmp 0x407449
mov eax, dword [ebp - 0x108]
test eax, eax
je 0x407449
push eax
push dword [ebp - 0x114]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x407444
sub esi, 0x7b
je 0x407c8e
sub esi, 0x85
je 0x407c20
dec esi
je 0x407bb4
dec esi
je 0x407b61
sub esi, 0xf
jne 0x408650
cmp dword [ebp - 0x108], esi
je 0x408650
push dword [ebp - 0x108]
push dword [ebp - 0x114]
push 0x2111
push dword [ebp - 0x108]
jmp 0x407b09
cmp dword [ebx + 0x50], 0
je 0x408650
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov al, byte [ebp - 0x114]
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x94], 5
mov dword [ebp - 0x84], eax
call fcn.0040553c
mov word [ebp - 0x7e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x50]
jmp 0x407db5
cmp dword [ebx + 0x5c], 0
je 0x408650
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov al, byte [ebp - 0x114]
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x94], 4
mov dword [ebp - 0x84], eax
call fcn.0040553c
mov word [ebp - 0x7e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
and dword [ebx + 0x5c], 0
jmp 0x408650
cmp dword [ebx + 0x50], 0
je 0x408650
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov al, byte [ebp - 0x114]
mov byte [ebp - 0x80], al
mov eax, dword [ebx + 0x60]
mov dword [ebp - 0x88], eax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x94], 3
mov dword [ebp - 0x84], eax
call fcn.0040553c
mov word [ebp - 0x7e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
mov eax, dword [ebx + 0x50]
mov dword [ebx + 0x5c], eax
jmp 0x408650
mov eax, dword [ebp - 0x108]
movsx ecx, ax
shr eax, 0x10
cwde
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x110]
push eax
push dword [ebx]
mov dword [ebp - 0x110], ecx
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x58], 0
mov eax, dword [ebp - 0x110]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0x64], eax
je 0x408650
mov ecx, ebx
call fcn.00405bf5
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x110]
mov eax, dword [ebx + 0x58]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x84], ecx
mov cx, word [ebp - 0x114]
mov dword [ebp - 0x94], 0x11
mov dword [ebp - 0x90], eax
mov word [ebp - 0x7e], cx
mov dword [ebp - 0x78], eax
jmp 0x407f43
and dword [ebp - 0x10c], 0
lea ecx, [ebx + 0xc0]
call fcn.00404d1f
test eax, eax
jle 0x408650
push dword [ebp - 0x10c]
lea ecx, [ebx + 0xc0]
call fcn.004049f2
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, dword [ebx]
jne 0x407d6a
movzx eax, word [ebp - 0x114]
cmp dword [esi + 0xc], eax
jne 0x407d6a
cmp byte [esi + 0x10], 0
je 0x407d88
inc dword [ebp - 0x10c]
lea ecx, [ebx + 0xc0]
call fcn.00404d1f
cmp dword [ebp - 0x10c], eax
jl 0x407d3e
jmp 0x408650
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [esi]
mov dword [ebp - 0x90], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x94], 0x18
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x94]
push edx
call dword [eax + 0x100]
jmp 0x408650
mov eax, 0x204
cmp esi, eax
ja 0x408273
je 0x4081cd
mov eax, esi
sub eax, 0x133
je 0x4081a8
sub eax, 5
je 0x4081a8
sub eax, 0xc8
je 0x408029
dec eax
je 0x407f6a
dec eax
je 0x407ecd
dec eax
jne 0x408650
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x108]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x110], ecx
mov dword [ebx + 0x60], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x10c], eax
mov dword [ebx + 0x64], eax
call fcn.00406bbc
mov esi, eax
test esi, esi
je 0x408650
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x408650
mov ecx, ebx
call fcn.00405be1
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x84], eax
mov ax, word [ebp - 0x114]
mov dword [ebp - 0x94], 0x10
mov dword [ebp - 0x90], esi
mov word [ebp - 0x7e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
mov dword [ebx + 0x58], esi
jmp 0x408650
mov eax, dword [ebp - 0x108]
movsx esi, word [ebp - 0x108]
shr eax, 0x10
cmp dword [ebx + 0x58], 0
cwde
mov dword [ebp - 0xb8], eax
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], eax
je 0x408650
mov ecx, ebx
call fcn.00405bf5
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [ebx + 0x58]
mov ecx, dword [ebp - 0x108]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0xb8]
mov dword [ebp - 0x94], 0xe
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], ecx
mov word [ebp - 0x7e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
lea edx, [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
and dword [ebx + 0x58], 0
jmp 0x408650
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x108]
movsx eax, word [ebp - 0x108]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebx + 0x64], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x110], eax
mov dword [ebx + 0x60], eax
call fcn.00406bbc
mov esi, eax
test esi, esi
je 0x408650
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x408650
mov dword [ebx + 0x58], esi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
mov ecx, ebx
call fcn.00405be1
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x94], 0xd
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], ecx
mov word [ebp - 0x7e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x8c], eax
jmp 0x408198
cmp byte [ebx + 0xb1], 0
jne 0x40807f
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [ebx]
push 3
mov dword [ebp - 0x18], eax
mov eax, dword [ebx + 0x18]
pop ecx
mov dword [ebp - 0x20], 0x10
mov dword [ebp - 0x1c], ecx
test eax, eax
jne 0x40805c
mov dword [ebp - 0x14], 0x190
jmp 0x40806e
push 0
push ecx
push 0x415
push eax
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 + 0xb1], 1
mov eax, dword [ebp - 0x108]
movsx esi, ax
shr eax, 0x10
cwde
push eax
push esi
mov ecx, ebx
mov dword [ebp - 0x24], eax
mov dword [ebx + 0x60], esi
mov dword [ebx + 0x64], eax
call fcn.00406bbc
mov dword [ebp - 0x10c], eax
test eax, eax
je 0x4080b7
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x408650
and dword [ebp - 0x94], 0
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x88], esi
mov dword [ebp - 0x84], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x10c], ecx
je 0x408131
test ecx, ecx
je 0x408131
lea edx, [ebp - 0x94]
mov dword [ebp - 0x94], 0xa
mov dword [ebp - 0x90], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
mov eax, dword [ebx + 0x18]
and dword [ebx + 0x54], 0
test eax, eax
je 0x408131
lea ecx, [ebx + 0x1c]
push ecx
push 0
push 0x411
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [ebp - 0x10c]
cmp esi, dword [ebx + 0x54]
je 0x408164
test esi, esi
je 0x408164
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x94], 0xb
mov dword [ebp - 0x90], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
mov dword [ebx + 0x54], esi
mov ecx, dword [ebx + 0x58]
test ecx, ecx
je 0x408180
mov dword [ebp - 0x94], 9
mov dword [ebp - 0x90], ecx
jmp 0x407dbb
test esi, esi
je 0x408650
mov dword [ebp - 0x94], 9
mov dword [ebp - 0x90], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, esi
jmp 0x407dc4
cmp dword [ebp - 0x108], 0
je 0x408650
push dword [ebp - 0x108]
add esi, 0x2000
push dword [ebp - 0x114]
push esi
jmp 0x407b59
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov ecx, dword [ebp - 0x108]
movsx eax, word [ebp - 0x108]
shr ecx, 0x10
movsx ecx, cx
push ecx
mov dword [ebp - 0x10c], ecx
mov dword [ebx + 0x64], ecx
push eax
mov ecx, ebx
mov dword [ebp - 0x110], eax
mov dword [ebx + 0x60], eax
call fcn.00406bbc
mov esi, eax
test esi, esi
je 0x408650
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x408650
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xe8]
mov ecx, ebx
call fcn.00405be1
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov ecx, dword [ebp - 0x108]
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x88], ecx
mov ecx, dword [ebp - 0x10c]
mov dword [ebp - 0x94], 0xf
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x84], ecx
jmp 0x407e9e
sub esi, 0x20a
je 0x408577
sub esi, 0x97
je 0x408408
dec esi
dec esi
je 0x4083cb
sub esi, 0x75
je 0x4082ed
sub esi, 0x7ce9
jne 0x408650
lea ecx, [ebx + 0xf0]
xor edi, edi
call fcn.00404d1f
test eax, eax
jle 0x4082dd
push edi
lea ecx, [ebx + 0xf0]
call fcn.004049f2
test eax, eax
je 0x4082cd
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx]
lea ecx, [ebx + 0xf0]
inc edi
call fcn.00404d1f
cmp edi, eax
jl 0x4082b5
lea ecx, [ebx + 0xf0]
call fcn.0040483b
jmp 0x408650
lea eax, [ebp - 0x84]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x4c]
lea edx, [ebp - 0x84]
push edx
push dword [ebp - 0x114]
mov dword [ebp - 0x24], eax
mov eax, dword [ecx]
call dword [eax + 0x110]
test byte [ebp - 0x108], 0x10
je 0x4083b7
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x4083b7
mov eax, dword [ebp - 0x108]
or eax, 2
mov dword [ebp - 0x10c], eax
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 esi
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
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 dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x10c]
push dword [ebp - 0x114]
push 0x317
push esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 2
push esi
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
jne 0x40834f
push dword [ebp - 0x24]
push dword [ebp - 0x114]
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x408650
mov eax, dword [ebx + 0x18]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x4083e6
lea ecx, [ebx + 0x1c]
push ecx
push 0
push 0x411
push eax
call esi
cmp byte [ebx + 0xb1], 0
je 0x4083fc
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [ebx + 0xb1], 0
jmp 0x408650
mov eax, dword [ebp - 0x108]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x110], ecx
push ecx
mov ecx, ebx
mov byte [ebx + 0xb1], 0
mov dword [ebp - 0x10c], eax
call fcn.00406bbc
mov esi, eax
test esi, esi
je 0x408650
mov edx, dword [ebx + 0x54]
test edx, edx
je 0x408495
push 7
xor eax, eax
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x94], 0xc
mov dword [ebp - 0x90], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx]
push edx
call dword [eax + 0x100]
mov eax, dword [esi]
lea ecx, [ebp - 0x74]
push ecx
mov ecx, esi
call dword [eax + 0x98]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.00404b2c
test al, al
je 0x4084c4
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00404a0c
jmp 0x407449
push 0x2c
lea edi, [ebx + 0x1c]
push 0
push edi
call fcn.00431350
mov eax, dword [ebx]
mov dword [edi], 0x2c
mov dword [ebx + 0x20], 1
mov dword [ebx + 0x24], eax
mov dword [ebx + 0x28], eax
mov eax, dword [0x466dcc]
add esp, 0xc
lea ecx, [ebp - 0x74]
mov dword [ebx + 0x3c], eax
call fcn.004049d3
mov dword [ebx + 0x40], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
cmp dword [ebx + 0x18], 0
lea edi, [ebx + 0x2c]
mov esi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
jne 0x408551
xor edi, edi
push edi
push dword [0x466dcc]
mov eax, Ordinal_4
push edi
push dword [ebx]
push eax
push eax
push eax
push eax
push Ordinal_4
push edi
push str.tooltips_class32
push edi
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [ebx + 0x1c]
push ecx
push edi
push 0x404
push eax
mov dword [ebx + 0x18], eax
call esi
jmp 0x408553
xor edi, edi
lea eax, [ebx + 0x1c]
push eax
push edi
push 0x409
push dword [ebx + 0x18]
call esi
lea eax, [ebx + 0x1c]
push eax
push 1
push 0x411
push dword [ebx + 0x18]
call esi
jmp 0x4084b3
movsx eax, word [ebp - 0x108]
mov dword [ebp - 0x110], eax
mov eax, dword [ebp - 0x108]
shr eax, 0x10
cwde
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x110]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov ecx, dword [ebp - 0x10c]
mov eax, dword [ebp - 0x110]
push ecx
mov dword [ebx + 0x64], ecx
push eax
mov ecx, ebx
mov dword [ebx + 0x60], eax
call fcn.00406bbc
mov esi, eax
test esi, esi
je 0x408650
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c]
cmp eax, ebx
jne 0x408650
xor eax, eax
push 7
pop ecx
lea edi, [ebp - 0x90]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x114]
shr eax, 0x10
xor ecx, ecx
test ax, ax
mov eax, dword [ebp - 0x108]
sets cl
mov dword [ebp - 0x94], 0x12
mov dword [ebp - 0x90], esi
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x7c], ecx
call fcn.0040553c
mov word [ebp - 0x7e], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x8c], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x100]
movzx eax, word [ebx + 0x64]
movzx ecx, word [ebx + 0x60]
shl eax, 0x10
or eax, ecx
push eax
push 0
push 0x200
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x11c]
push 0
call fcn.004049d6
mov esi, eax
test esi, esi
je 0x4086dd
lea edi, [ebx + 0xb4]
mov ecx, dword [ebp - 0x11c]
xor ebx, ebx
push ebx
call fcn.00404972
mov eax, dword [esi + 0x44]
cmp eax, ebx
je 0x408696
lea ecx, [eax + 0x34]
call fcn.0040e377
test al, al
je 0x408696
mov ecx, dword [esi + 0x44]
push esi
add ecx, 0x34
call fcn.0040e384
mov ecx, edi
call fcn.00404d1f
test eax, eax
jle 0x4086bc
push ebx
mov ecx, edi
call fcn.004049f2
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx]
mov ecx, edi
inc ebx
call fcn.00404d1f
cmp ebx, eax
jl 0x4086a1
mov ecx, esi
call fcn.00404a0c
push esi
call fcn.0042e5a0
pop ecx
mov ecx, dword [ebp - 0x11c]
push 0
call fcn.004049d6
mov esi, eax
test esi, esi
jne 0x408669
xor al, al
call fcn.00436b90
ret 0x10