Function at 0x416176
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xf4
mov eax, dword [0x45b170]
xor eax, esp
mov dword [esp + 0xf0], eax
mov edx, dword [ebp + 0x10]
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
mov dword [esp + 8], edx
push edi
mov edi, dword [ebp + 0x14]
xor edx, edx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x1c], edi
cmp dword [ebx], edx
je 0x417439
lea ecx, [ebx + 0x101]
cmp dword [ecx + 4], edx
jle 0x416217
mov eax, dword [ecx]
mov esi, dword [eax]
test esi, esi
je 0x416217
push edx
call fcn.00434c60
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x4161ea
cmp dword [ecx + 0x38], 0
jle 0x4161ea
push esi
add ecx, 0x34
call fcn.00434a35
xor edi, edi
cmp dword [ebx + 0xbd], edi
jle 0x41620b
mov eax, dword [ebx + 0xb9]
push esi
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax]
inc edi
cmp edi, dword [ebx + 0xbd]
jl 0x4161f4
push ecx
mov ecx, esi
call fcn.00415e20
xor edx, edx
jmp 0x4161b8
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
mov ecx, edx
mov dword [esp + 0x14], edx
cmp dword [ebx + 0xe1], edx
jle 0x416271
mov edi, dword [esp + 0xc]
mov eax, dword [ebx + 0xdd]
mov byte [esp + 0x1b], dl
mov ecx, dword [eax + ecx*4]
lea edx, [esp + 0x1b]
mov eax, dword [ecx]
push edx
push edi
push dword [esp + 0x18]
push esi
call dword [eax]
cmp byte [esp + 0x1b], 0
mov ecx, eax
jne 0x4162f8
mov ecx, dword [esp + 0x14]
inc ecx
push 0
mov dword [esp + 0x18], ecx
pop edx
cmp ecx, dword [ebx + 0xe1]
jl 0x416230
mov edi, dword [esp + 0x1c]
mov eax, 0x113
cmp esi, eax
ja 0x416b9b
je 0x416b16
cmp esi, 0x4e
ja 0x41692b
je 0x416906
sub esi, 5
je 0x4168b6
sub esi, 0xa
je 0x416472
dec esi
je 0x4163de
sub esi, 4
je 0x4163d4
sub esi, 0xc
je 0x416305
sub esi, 4
jne 0x4173da
mov eax, dword [ebx + 0x6d]
mov edx, dword [esp + 0xc]
test eax, eax
jle 0x4162d1
mov dword [edx + 0x18], eax
mov eax, dword [ebx + 0x71]
test eax, eax
jle 0x4162db
mov dword [edx + 0x1c], eax
mov eax, dword [ebx + 0x75]
test eax, eax
jle 0x4162e5
mov dword [edx + 0x20], eax
mov eax, dword [ebx + 0x79]
test eax, eax
jle 0x4173da
mov dword [edx + 0x24], eax
jmp 0x4173da
mov eax, dword [esp + 0x1c]
mov dword [eax], ecx
mov al, 1
jmp 0x41743b
mov esi, dword [esp + 0xc]
xor eax, eax
inc eax
cmp si, ax
jne 0x4173da
cmp byte [ebx + 0xb7], 0
jne 0x41743b
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], edx
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [esp + 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [esp + 0x24]
mov ecx, ebx
push dword [esp + 0x24]
call fcn.0041833f
mov dword [esp + 0x14], eax
test eax, eax
je 0x4173da
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x14]
test al, 2
je 0x4173da
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov dword [esp + 0x87], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x70], 0x17
mov dword [esp + 0x8b], esi
mov dword [esp + 0x80], eax
call fcn.004157f2
mov word [esp + 0x85], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
call dword [eax + 0x108]
jmp 0x4162fe
xor eax, eax
inc eax
mov dword [edi], eax
jmp 0x41743b
xor eax, eax
push 6
mov dword [esp + 0x74], edx
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x65]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x69]
mov dword [esp + 0x80], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x59]
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x41642b
mov dword [esp + 0x70], 0xa
mov dword [esp + 0x74], ecx
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x5d]
test ecx, ecx
je 0x41644b
mov dword [esp + 0x70], 0xe
mov dword [esp + 0x74], ecx
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
call dword [eax + 0x108]
push 0
mov ecx, ebx
call fcn.004176ff
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x4173da
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x4173da
xor eax, eax
mov dword [esp + 0x70], edx
lea edi, [esp + 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push edx
lea eax, [esp + 0x74]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x4162fe
xor eax, eax
cmp dword [ebx + 0x51], eax
jne 0x4164db
push 0x3c
push eax
mov dword [esp + 0xb8], eax
lea eax, [esp + 0xbc]
push eax
call fcn.0043b860
add esp, 0xc
lea eax, [esp + 0xb0]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [esp + 0xb0]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x4162fe
cmp byte [ebx + 0xb2], al
je 0x4165f0
mov dword [esp + 0x90], eax
mov byte [ebx + 0xb2], al
xor eax, eax
lea edi, [esp + 0x94]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x90]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [esp + 0x90]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x4165f0
mov ecx, dword [ebx + 0x51]
cmp byte [ecx + 0xd0], 0
mov eax, dword [ecx]
je 0x41658f
sub esp, 0x10
mov edi, esp
lea esi, [esp + 0xa0]
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 0x416558
push dword [ebx + 0xc]
call esi
cmp dword [ebx + 0x10], 0
je 0x416563
push dword [ebx + 0x10]
call esi
cmp dword [ebx + 0x14], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x416574
push dword [ebx + 0x14]
call esi
cmp dword [ebx + 0x18], 0
je 0x41657f
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 0x4165cf
push 0x80000001
push 0
push 0x418486
call dword [eax + 0xfc]
mov dword [esp + 0x14], eax
test eax, eax
je 0x4165cd
mov ebx, dword [eax]
mov ecx, eax
call dword [ebx + 0x30]
mov ecx, dword [esp + 0x14]
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 [esp + 0x20]
mov ecx, dword [ebx + 0x51]
mov eax, dword [ecx]
jmp 0x41658f
xor eax, eax
cmp byte [ebx + 0xb1], 0
je 0x4165f0
push ecx
push eax
push eax
push str.windowinit
push dword [ebx + 0x51]
mov ecx, ebx
mov byte [ebx + 0xb1], al
call fcn.00417bae
cmp byte [ebx + 0xb3], 0
je 0x416602
push 1
mov ecx, ebx
call fcn.00417a86
cmp byte [ebx + 0xb4], 0
je 0x416656
cmp dword [ebx + 0x14], 0
jne 0x416656
and dword [esp + 0x20], 0
xor eax, eax
lea edi, [esp + 0x24]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x20]
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 [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x14], eax
and dword [esp + 0x30], 0
push 0x3c
lea eax, [esp + 0x38]
push 0
push eax
call fcn.0043b860
add esp, 0xc
lea eax, [esp + 0x30]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0xb4], 0
je 0x416860
push dword [ebx + 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xc]
call edi
push dword [ebx + 0xc]
mov dword [esp + 0x18], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0xb5], 0
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [esp + 0x20], eax
je 0x416791
cmp dword [ebx + 0x18], 0
jne 0x41675a
and dword [esp + 0x90], 0
xor eax, eax
lea edi, [esp + 0x94]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x90]
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 [esp + 0x9c]
sub eax, dword [esp + 0x94]
push eax
mov eax, dword [esp + 0x9c]
sub eax, dword [esp + 0x94]
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 [esp + 0x44]
sub eax, dword [esp + 0x3c]
push 0xcc0020
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [esp + 0x3c]
push eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
push eax
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [ebx + 0x10]
call esi
jmp 0x416762
push dword [ebx + 0x18]
push dword [ebx + 0x10]
call edi
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
push 0xcc0020
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [ebx + 0x10]
push eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
push eax
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [ebx + 0xc]
call esi
mov ecx, dword [ebx + 0x51]
lea edx, [esp + 0x38]
mov eax, dword [ecx]
push edx
push dword [ebx + 0xc]
call dword [eax + 0x118]
xor esi, esi
cmp dword [ebx + 0xed], esi
jle 0x4167d0
mov eax, dword [ebx + 0xe9]
lea edx, [esp + 0x38]
mov ecx, dword [eax + esi*4]
push edx
mov eax, dword [ecx]
push dword [ebx + 0xc]
call dword [eax + 0x130]
inc esi
cmp esi, dword [ebx + 0xed]
jl 0x4167ae
push dword [esp + 0x20]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [esp + 0x44]
sub eax, dword [esp + 0x3c]
push 0xcc0020
push dword [esp + 0x40]
push dword [esp + 0x40]
push dword [ebx + 0xc]
push eax
mov eax, dword [esp + 0x54]
sub eax, dword [esp + 0x4c]
push eax
push dword [esp + 0x54]
push dword [esp + 0x54]
push dword [esp + 0x50]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [esp + 0x14]
push dword [ebx + 0xc]
call edi
cmp byte [ebx + 0x50], 0
je 0x41688b
push dword [0x45e570]
push dword [esp + 0x34]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [esp + 0x34]
call edi
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x7c]
push dword [esp + 0x40]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [esp + 0x34]
call edi
jmp 0x41688b
push dword [esp + 0x30]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x51]
mov esi, eax
mov edx, dword [ecx]
lea eax, [esp + 0x38]
push eax
push dword [esp + 0x34]
call dword [edx + 0x118]
push esi
push dword [esp + 0x34]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [esp + 0x30]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0xb2], 0
je 0x4162fe
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x4162fe
mov edx, dword [ebx + 0x55]
test edx, edx
je 0x4168f1
push 6
xor eax, eax
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov dword [esp + 0x70], 0x16
mov dword [esp + 0x74], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x55]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x51]
test ecx, ecx
je 0x4162fe
call fcn.004131dc
jmp 0x4162fe
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4162fe
push edx
push dword [esp + 0x14]
push 0x204e
push dword [edx]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [edi], eax
jmp 0x4162fe
sub esi, 0x7b
je 0x416a96
sub esi, 0x85
je 0x416a29
dec esi
je 0x4169be
dec esi
je 0x416968
sub esi, 0xf
jne 0x4173da
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4173da
push edx
push dword [esp + 0x14]
push 0x2111
push edx
jmp 0x41691e
cmp dword [ebx + 0x55], edx
je 0x4173da
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x84], al
mov eax, dword [ebx + 0x65]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x69]
mov dword [esp + 0x70], 5
mov dword [esp + 0x80], eax
call fcn.004157f2
mov word [esp + 0x85], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x55]
jmp 0x416b85
cmp dword [ebx + 0x61], edx
je 0x4173da
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x84], al
mov eax, dword [ebx + 0x65]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x69]
mov dword [esp + 0x70], 4
mov dword [esp + 0x80], eax
call fcn.004157f2
mov word [esp + 0x85], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x61]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x61], 0
jmp 0x4173da
cmp dword [ebx + 0x55], edx
je 0x4173da
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov byte [esp + 0x84], al
mov eax, dword [ebx + 0x65]
mov dword [esp + 0x7c], eax
mov eax, dword [ebx + 0x69]
mov dword [esp + 0x70], 3
mov dword [esp + 0x80], eax
call fcn.004157f2
mov word [esp + 0x85], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x55]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
call dword [eax + 0x108]
mov eax, dword [ebx + 0x55]
mov dword [ebx + 0x61], eax
jmp 0x4173da
mov edx, dword [esp + 0xc]
movsx eax, dx
mov dword [esp + 0x20], eax
shr edx, 0x10
movsx eax, dx
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x5d], 0
mov eax, dword [esp + 0x20]
mov dword [ebx + 0x65], eax
mov eax, dword [esp + 0x24]
mov dword [ebx + 0x69], eax
je 0x4173da
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, dword [ebx + 0x5d]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], 0x11
mov dword [esp + 0x74], ecx
mov dword [esp + 0x8b], ecx
jmp 0x416cf1
cmp dword [ebx + 0xc9], 0
jle 0x4173da
mov eax, dword [ebx]
mov edi, dword [ebx + 0xc5]
mov ecx, dword [esp + 0x10]
mov esi, dword [edi]
cmp dword [esi + 8], eax
jne 0x416b46
movzx eax, cx
cmp dword [esi + 0xc], eax
jne 0x416b44
cmp byte [esi + 0x10], 0
je 0x416b57
mov eax, dword [ebx]
inc edx
add edi, 4
cmp edx, dword [ebx + 0xc9]
jl 0x416b2f
jmp 0x4173da
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esi]
mov dword [esp + 0x74], eax
mov eax, dword [esi + 4]
mov dword [esp + 0x70], 0x18
mov dword [esp + 0x87], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [esp + 0x78], eax
lea edx, [esp + 0x70]
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
jmp 0x4173da
mov eax, 0x204
cmp esi, eax
ja 0x417028
je 0x416f90
mov eax, esi
sub eax, 0x133
je 0x416f73
sub eax, 5
je 0x416f73
sub eax, 0xc8
je 0x416dd8
dec eax
je 0x416d23
dec eax
je 0x416c88
dec eax
jne 0x4173da
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0xc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x65], ecx
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x69], eax
call fcn.0041833f
mov esi, eax
test esi, esi
je 0x4173da
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4173da
mov ecx, ebx
call fcn.00417a72
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], 0x10
mov dword [esp + 0x74], esi
mov word [esp + 0x85], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x5d], esi
jmp 0x4173da
mov edx, dword [esp + 0xc]
mov eax, edx
shr eax, 0x10
cmp dword [ebx + 0x5d], 0
cwde
movsx esi, dx
mov dword [esp + 0x20], eax
mov dword [ebx + 0x65], esi
mov dword [ebx + 0x69], eax
je 0x4173da
call dword [sym.imp.USER32.dll_ReleaseCapture]
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebx + 0x5d]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x70], 0xe
mov dword [esp + 0x87], eax
mov dword [esp + 0x8b], edi
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], ecx
mov word [esp + 0x85], ax
mov byte [ebx + 0xb7], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5d]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x5d], 0
jmp 0x4173da
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0xc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x65], ecx
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x69], eax
call fcn.0041833f
mov esi, eax
test esi, esi
je 0x4173da
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4173da
mov dword [ebx + 0x5d], esi
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov ecx, ebx
call fcn.00417a72
push 6
xor eax, eax
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 0xd
mov dword [esp + 0x74], esi
mov dword [esp + 0x87], eax
mov dword [esp + 0x8b], edi
mov dword [esp + 0x80], ecx
mov word [esp + 0x85], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esp + 0x78], eax
lea ecx, [esp + 0x70]
jmp 0x416f69
cmp byte [ebx + 0xb6], 0
jne 0x416e35
xor eax, eax
cmp dword [ebx + 0x1c], 0
lea edi, [esp + 0x74]
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 [esp + 0x70], 0x10
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], eax
jne 0x416e0f
mov dword [esp + 0x7c], 0x190
jmp 0x416e23
push edx
push ecx
push 0x415
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
mov dword [esp + 0x7c], eax
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0xb6], 1
mov eax, dword [esp + 0xc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x65], ecx
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x69], eax
call fcn.0041833f
mov esi, eax
test esi, esi
je 0x416e6c
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4173da
and dword [esp + 0x90], 0
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x94]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa0], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x59]
mov dword [esp + 0x98], eax
cmp esi, ecx
je 0x416ef3
test ecx, ecx
je 0x416ef3
mov dword [esp + 0x90], 0xa
mov dword [esp + 0x94], ecx
mov eax, dword [ecx]
lea edx, [esp + 0x90]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x59], 0
cmp dword [ebx + 0x1c], 0
je 0x416ef3
lea eax, [ebx + 0x20]
push eax
push 0
push 0x411
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageA]
cmp esi, dword [ebx + 0x59]
je 0x416f23
test esi, esi
je 0x416f23
lea ecx, [esp + 0x90]
mov dword [esp + 0x90], 0xb
mov dword [esp + 0x94], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x59], esi
mov ecx, dword [ebx + 0x5d]
test ecx, ecx
je 0x416f48
mov dword [esp + 0x90], 9
mov dword [esp + 0x94], ecx
lea edx, [esp + 0x90]
jmp 0x416b8d
test esi, esi
je 0x4173da
mov dword [esp + 0x90], 9
mov dword [esp + 0x94], esi
lea ecx, [esp + 0x90]
mov eax, dword [esi]
push ecx
mov ecx, esi
jmp 0x416b90
mov edx, dword [esp + 0xc]
test edx, edx
je 0x4173da
push edx
push dword [esp + 0x14]
lea eax, [esi + 0x2000]
push eax
jmp 0x416965
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [esp + 0xc]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [esp + 0x24], ecx
mov dword [ebx + 0x65], ecx
push ecx
mov ecx, ebx
mov dword [esp + 0x1c], eax
mov dword [ebx + 0x69], eax
call fcn.0041833f
mov esi, eax
test esi, esi
je 0x4173da
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4173da
mov eax, dword [esi]
mov ecx, esi
call dword [eax + pe_nt_image_headers32]
mov ecx, ebx
call fcn.00417a72
push 6
xor eax, eax
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x20]
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x87], eax
mov dword [esp + 0x8b], edi
mov dword [esp + 0x80], ecx
jmp 0x416c5b
sub esi, 0x20a
je 0x41730e
sub esi, 0x97
je 0x417198
dec esi
dec esi
je 0x41715b
sub esi, 0x75
je 0x41708f
sub esi, 0x7ce9
jne 0x4173da
mov esi, edx
cmp dword [ebx + 0xf9], edx
jle 0x41707f
mov eax, dword [ebx + 0xf5]
mov ecx, dword [eax + esi*4]
test ecx, ecx
je 0x417076
mov eax, dword [ecx]
push 1
call dword [eax]
inc esi
cmp esi, dword [ebx + 0xf9]
jl 0x417063
lea ecx, [ebx + 0xf5]
call fcn.00434b3b
jmp 0x4173da
lea eax, [esp + 0x90]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [esp + 0x10]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x51]
mov dword [esp + 0x20], eax
mov edx, dword [ecx]
lea eax, [esp + 0x90]
push eax
push dword [esp + 0x14]
call dword [edx + 0x118]
test byte [esp + 0xc], 0x10
je 0x417148
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
mov esi, eax
test esi, esi
je 0x417148
or dword [esp + 0xc], 2
and dword [esp + 0x70], 0
xor eax, eax
lea edi, [esp + 0x74]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x70]
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [esp + 0x70]
push 2
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [esp + 0x74]
push 0
neg eax
push eax
mov eax, dword [esp + 0x78]
neg eax
push eax
push dword [esp + 0x1c]
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [esp + 0xc]
push dword [esp + 0x14]
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 0x4170e0
push dword [esp + 0x20]
push dword [esp + 0x14]
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x4173da
cmp dword [ebx + 0x1c], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x417176
lea eax, [ebx + 0x20]
push eax
push edx
push 0x411
push dword [ebx + 0x1c]
call esi
cmp byte [ebx + 0xb6], 0
je 0x41718c
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [ebx + 0xb6], 0
jmp 0x4173da
mov byte [ebx + 0xb6], dl
mov edx, dword [esp + 0xc]
movsx eax, dx
shr edx, 0x10
movsx ecx, dx
push ecx
mov dword [esp + 0x18], ecx
push eax
mov ecx, ebx
mov dword [esp + 0x28], eax
call fcn.0041833f
mov esi, eax
mov dword [esp + 0x1c], esi
test esi, esi
je 0x4173da
mov edx, dword [ebx + 0x59]
test edx, edx
je 0x417218
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [esp + 0x20]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x80], eax
mov dword [esp + 0x70], 0xc
mov dword [esp + 0x74], edx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x59]
mov dword [esp + 0x78], eax
mov eax, dword [ecx]
lea edx, [esp + 0x70]
push edx
call dword [eax + 0x108]
mov eax, dword [esi]
lea ecx, [esp + 0xb0]
push ecx
mov ecx, esi
call dword [eax + 0x98]
mov eax, dword [esp + 0xb0]
cmp byte [eax], 0
jne 0x417247
lea ecx, [esp + 0xb0]
call fcn.00434d18
jmp 0x4162fe
push 0x30
lea edi, [ebx + 0x20]
push 0
push edi
call fcn.0043b860
mov eax, dword [ebx]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov eax, dword [0x45e56c]
mov dword [ebx + 0x40], eax
mov eax, dword [esp + 0xbc]
mov dword [edi], 0x30
mov dword [ebx + 0x24], 1
mov dword [ebx + 0x44], eax
mov eax, dword [esi]
add esp, 0xc
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 edi, dword [sym.imp.USER32.dll_SendMessageA]
cmp dword [ebx + 0x1c], ecx
jne 0x4172d3
push ecx
push dword [0x45e56c]
mov eax, 0x80000000
push ecx
push dword [ebx]
push eax
push eax
push eax
push eax
push 0x80000003
push ecx
push str.tooltips_class32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExA]
lea esi, [ebx + 0x20]
push esi
push 0
push 0x404
push eax
mov dword [ebx + 0x1c], eax
call edi
jmp 0x4172d6
lea esi, [ebx + 0x20]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx]
call dword [eax + 0xa4]
push eax
push 0
push 0x418
push dword [ebx + 0x1c]
call edi
push esi
push 0
push 0x409
push dword [ebx + 0x1c]
call edi
push esi
push 1
push 0x411
push dword [ebx + 0x1c]
call edi
jmp 0x417236
mov edx, dword [esp + 0xc]
movsx eax, dx
mov dword [esp + 0x20], eax
mov eax, edx
shr eax, 0x10
cwde
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push eax
mov dword [ebx + 0x65], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x69], eax
call fcn.0041833f
mov esi, eax
test esi, esi
je 0x4173da
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x4173da
xor eax, eax
push 6
pop ecx
lea edi, [esp + 0x74]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
shr ecx, 0x10
test cx, cx
sets al
mov dword [esp + 0x70], 0x12
mov dword [esp + 0x74], esi
mov dword [esp + 0x87], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x8b], eax
call fcn.004157f2
mov word [esp + 0x85], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [esp + 0x70]
mov dword [esp + 0x78], eax
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
movzx ecx, word [ebx + 0x69]
movzx eax, word [ebx + 0x65]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebx + 0x101]
cmp dword [ecx + 4], 0
jle 0x417439
mov eax, dword [ecx]
mov esi, dword [eax]
test esi, esi
je 0x417439
push 0
call fcn.00434c60
mov ecx, dword [esi + 0x88]
test ecx, ecx
je 0x41740e
cmp dword [ecx + 0x38], 0
jle 0x41740e
push esi
add ecx, 0x34
call fcn.00434a35
xor edi, edi
cmp dword [ebx + 0xbd], edi
jle 0x41742f
mov eax, dword [ebx + 0xb9]
push esi
mov ecx, dword [eax + edi*4]
mov eax, dword [ecx]
call dword [eax]
inc edi
cmp edi, dword [ebx + 0xbd]
jl 0x417418
push ecx
mov ecx, esi
call fcn.00415e20
jmp 0x4173da
xor al, al
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004363cf
mov esp, ebp
pop ebp
ret 0x10