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

Disassembly:
push 0x16c
mov eax, 0x45b6a1
call fcn.00440536
mov ebx, ecx
mov dword [ebp - 0x108], ebx
cmp dword [ebx], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x170], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x168], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x118], eax
je 0x410c69
lea edi, [ebx + 0x100]
push 0
mov ecx, edi
mov dword [ebp - 0x178], edi
call fcn.0040e274
mov esi, eax
test esi, esi
je 0x40fa49
lea eax, [ebx + 0xb8]
mov ebx, eax
push 0
mov ecx, edi
call fcn.0040e52a
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x40f9f2
add ecx, 0x34
call fcn.0041369e
test al, al
je 0x40f9f2
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x34
call fcn.004136b2
mov ecx, ebx
xor edi, edi
call fcn.0040e2ed
test eax, eax
jle 0x40fa1a
push edi
mov ecx, ebx
call fcn.0040de82
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, ebx
inc edi
call fcn.0040e2ed
cmp edi, eax
jl 0x40f9ff
mov ecx, esi
call fcn.0040a1b0
push 0x120
push esi
call fcn.0043feb1
mov edi, dword [ebp - 0x178]
pop ecx
pop ecx
push 0
mov ecx, edi
call fcn.0040e274
mov esi, eax
test esi, esi
jne 0x40f9c4
mov ebx, dword [ebp - 0x108]
and dword [ebp - 0x16c], 0
lea ecx, [ebx + 0xdc]
call fcn.0040e2ed
mov esi, dword [ebp + 8]
mov edi, dword [ebp - 0x168]
test eax, eax
jle 0x40fabe
mov ecx, dword [ebp - 0x16c]
push ecx
lea ecx, [ebx + 0xdc]
mov byte [ebp - 0x171], 0
call fcn.0040de82
lea ecx, [ebp - 0x171]
push ecx
push edi
push dword [ebp - 0x170]
mov edx, dword [eax]
mov ecx, eax
push esi
call dword [edx]
cmp byte [ebp - 0x171], 0
jne 0x40fb4e
inc dword [ebp - 0x16c]
lea ecx, [ebx + 0xdc]
call fcn.0040e2ed
mov ecx, dword [ebp - 0x16c]
cmp ecx, eax
jl 0x40fa6e
mov eax, 0x113
cmp esi, eax
ja 0x410413
je 0x410382
cmp esi, 0x4e
ja 0x4101b4
xor eax, eax
inc eax
cmp esi, 0x4e
je 0x41018d
sub esi, 5
je 0x41013e
sub esi, 0xa
je 0x40fcad
sub esi, eax
je 0x40fc26
sub esi, 4
je 0x40fc16
sub esi, 0xc
je 0x40fb5d
sub esi, 4
jne 0x410bcb
mov ecx, dword [ebx + 0x6c]
mov eax, dword [ebp - 0x168]
test ecx, ecx
jle 0x40fb27
mov dword [eax + 0x18], ecx
mov ecx, dword [ebx + 0x70]
test ecx, ecx
jle 0x40fb31
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebx + 0x74]
test ecx, ecx
jle 0x40fb3b
mov dword [eax + 0x20], ecx
mov ecx, dword [ebx + 0x78]
test ecx, ecx
jle 0x410bcb
mov dword [eax + 0x24], ecx
jmp 0x410bcb
mov ecx, dword [ebp - 0x118]
mov dword [ecx], eax
mov al, 1
jmp 0x410c6b
cmp di, ax
jne 0x410bcb
cmp byte [ebx + 0xb6], 0
jne 0x40fb56
lea eax, [ebp - 0x11c]
xorps xmm0, xmm0
push eax
movlpd qword [ebp - 0x11c], xmm0
call dword [sym.imp.USER32.dll_GetCursorPos]
lea eax, [ebp - 0x11c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
push dword [ebp - 0x118]
mov ecx, ebx
push dword [ebp - 0x11c]
call fcn.0040f2cf
mov esi, eax
test esi, esi
je 0x410bcb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
test al, 2
je 0x410bcb
and dword [ebp - 0x5c], 0
xor eax, eax
mov word [ebp - 0x4c], ax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x11c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x60], 0x17
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x50], eax
call fcn.0040f916
mov word [ebp - 0x4a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x58], eax
mov ecx, esi
mov edx, dword [esi]
lea eax, [ebp - 0x60]
push eax
call dword [edx + 0x108]
jmp 0x40fb56
mov ecx, dword [ebp - 0x118]
xor eax, eax
inc eax
mov dword [ecx], eax
jmp 0x410c6b
mov eax, dword [ebx + 0x64]
xorps xmm0, xmm0
and dword [ebp - 0x14], 0
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x68]
movlpd qword [ebp - 0x30], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x28], eax
test ecx, ecx
je 0x40fc69
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x40fc86
mov dword [ebp - 0x30], 0xe
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
push 0
mov ecx, ebx
call fcn.00411611
push 4
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
test eax, eax
je 0x410bcb
push eax
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x410bcb
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetUpdateRect]
test eax, eax
je 0x40fb56
xor eax, eax
cmp dword [ebx + 0x50], eax
jne 0x40fcff
push 0x40
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004421a0
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
lea eax, [ebp - 0x80]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
jmp 0x40fb56
cmp byte [ebx + 0xb1], al
je 0x40fe19
mov byte [ebx + 0xb1], al
lea edi, [ebp - 0x20]
xor eax, eax
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 dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne 0x40fe19
mov ecx, dword [ebx + 0x50]
call fcn.0041415d
mov ecx, dword [ebx + 0x50]
mov edx, dword [ecx]
test al, al
je 0x40fda0
sub esp, 0x10
lea esi, [ebp - 0x20]
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 [edx + 0x34]
cmp dword [ebx + 0xc], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteDC]
je 0x40fd69
push dword [ebx + 0xc]
call esi
cmp dword [ebx + 0x10], 0
je 0x40fd74
push dword [ebx + 0x10]
call esi
cmp dword [ebx + 0x14], 0
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x40fd85
push dword [ebx + 0x14]
call esi
cmp dword [ebx + 0x18], 0
je 0x40fd90
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 0x40fdf8
push closesocket
push 0
push 0x411e8a
call dword [edx + 0xfc]
mov dword [ebp - 0x16c], eax
test eax, eax
je 0x40fdf6
mov ebx, dword [eax]
mov ecx, eax
call dword [ebx + 0x30]
mov ecx, dword [ebp - 0x16c]
sub esp, 0x10
mov esi, eax
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [ebx + 0x34]
mov ebx, dword [ebp - 0x108]
push closesocket
push 0
push 0x411e8a
mov ecx, dword [ebx + 0x50]
mov eax, dword [ecx]
call dword [eax + 0xfc]
jmp 0x40fdb2
xor eax, eax
cmp byte [ebx + 0xb0], 0
je 0x40fe19
push eax
push eax
push eax
push str.windowinit
push dword [ebx + 0x50]
mov ecx, ebx
mov byte [ebx + 0xb0], al
call fcn.004113f2
cmp byte [ebx + 0xb2], 0
je 0x40fe2b
push 1
mov ecx, ebx
call fcn.00411827
cmp byte [ebx + 0xb3], 0
je 0x40fe87
cmp dword [ebx + 0x14], 0
jne 0x40fe87
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]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x108]
sub eax, dword [ebp - 0x110]
push eax
mov eax, dword [ebp - 0x10c]
sub eax, dword [ebp - 0x114]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov dword [ebx + 0x14], eax
push 0x40
lea eax, [ebp - 0x164]
push 0
push eax
call fcn.004421a0
add esp, 0xc
lea eax, [ebp - 0x164]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_BeginPaint]
cmp byte [ebx + 0xb3], 0
je 0x4100de
push dword [ebx + 0x14]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebx + 0xc]
call edi
push dword [ebx + 0xc]
mov dword [ebp - 0x108], eax
call dword [sym.imp.GDI32.dll_SaveDC]
cmp byte [ebx + 0xb4], 0
mov esi, dword [sym.imp.GDI32.dll_BitBlt]
mov dword [ebp - 0x178], eax
je 0x40ffda
cmp dword [ebx + 0x18], 0
jne 0x40ff93
xor eax, eax
lea edi, [ebp - 0x124]
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
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp - 0x118]
sub eax, dword [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x11c]
sub eax, dword [ebp - 0x124]
push eax
push dword [ebx + 8]
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebx + 0x10]
mov dword [ebx + 0x18], eax
call edi
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0x158]
push 0xcc0020
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push dword [ebp - 0x164]
push eax
mov eax, dword [ebp - 0x154]
sub eax, dword [ebp - 0x15c]
push eax
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push dword [ebx + 0x10]
call esi
jmp 0x40ff9b
push dword [ebx + 0x18]
push dword [ebx + 0x10]
call edi
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0x158]
push 0xcc0020
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push dword [ebx + 0x10]
push eax
mov eax, dword [ebp - 0x154]
sub eax, dword [ebp - 0x15c]
push eax
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push dword [ebx + 0xc]
call esi
mov ecx, dword [ebx + 0x50]
lea edx, [ebp - 0x15c]
push edx
push dword [ebx + 0xc]
mov eax, dword [ecx]
call dword [eax + pe_nt_image_headers32]
lea ecx, [ebx + 0xe8]
xor esi, esi
call fcn.0040e2ed
test eax, eax
jle 0x410034
lea edi, [ebx + 0xe8]
push esi
mov ecx, edi
call fcn.0040de82
lea ecx, [ebp - 0x15c]
push ecx
push dword [ebx + 0xc]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x130]
mov ecx, edi
inc esi
call fcn.0040e2ed
cmp esi, eax
jl 0x410006
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp - 0x178]
push dword [ebx + 0xc]
call dword [sym.imp.GDI32.dll_RestoreDC]
mov eax, dword [ebp - 0x150]
sub eax, dword [ebp - 0x158]
push 0xcc0020
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push dword [ebx + 0xc]
push eax
mov eax, dword [ebp - 0x154]
sub eax, dword [ebp - 0x15c]
push eax
push dword [ebp - 0x158]
push dword [ebp - 0x15c]
push dword [ebp - 0x164]
call dword [sym.imp.GDI32.dll_BitBlt]
push dword [ebp - 0x108]
push dword [ebx + 0xc]
call edi
cmp byte [ebx + 0x4c], 0
je 0x410111
push dword [0x47bb80]
push dword [ebp - 0x164]
call edi
push 5
mov esi, eax
call dword [sym.imp.GDI32.dll_GetStockObject]
push eax
push dword [ebp - 0x164]
call edi
push dword [ebp - 0x34]
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebp - 0x164]
call dword [sym.imp.GDI32.dll_Rectangle]
push esi
push dword [ebp - 0x164]
call edi
jmp 0x410111
push dword [ebp - 0x164]
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
mov esi, eax
lea eax, [ebp - 0x15c]
push eax
push dword [ebp - 0x164]
mov edx, dword [ecx]
call dword [edx + pe_nt_image_headers32]
push esi
push dword [ebp - 0x164]
call dword [sym.imp.GDI32.dll_RestoreDC]
lea eax, [ebp - 0x164]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_EndPaint]
cmp byte [ebx + 0xb1], 0
je 0x40fb56
push 0
push 0
push dword [ebx]
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x40fb56
mov eax, dword [ebx + 0x54]
test eax, eax
je 0x410178
and dword [ebp - 0x14], 0
xorps xmm0, xmm0
movlpd qword [ebp - 0x24], xmm0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x30], 0x16
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x40fb56
call fcn.004141b8
jmp 0x40fb56
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x40fb56
push eax
push dword [ebp - 0x170]
push 0x204e
push dword [eax]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x40fb4e
sub esi, 0x7b
je 0x4102ff
sub esi, 0x85
je 0x4102a0
sub esi, 1
je 0x410243
sub esi, 1
je 0x4101f9
sub esi, 0xf
jne 0x410bcb
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x410bcb
push eax
push dword [ebp - 0x170]
push 0x2111
push eax
jmp 0x4101a9
cmp dword [ebx + 0x54], 0
je 0x410bcb
mov eax, dword [ebp - 0x170]
xorps xmm0, xmm0
and dword [ebp - 0x2c], 0
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x68]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x30], 5
mov dword [ebp - 0x20], eax
call fcn.0040f916
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
jmp 0x4103ff
cmp dword [ebx + 0x60], 0
je 0x410bcb
mov eax, dword [ebp - 0x170]
xorps xmm0, xmm0
and dword [ebp - 0x2c], 0
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x68]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x30], 4
mov dword [ebp - 0x20], eax
call fcn.0040f916
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x60]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
and dword [ebx + 0x60], 0
jmp 0x410bcb
cmp dword [ebx + 0x54], 0
je 0x410bcb
mov eax, dword [ebp - 0x170]
xorps xmm0, xmm0
and dword [ebp - 0x2c], 0
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x64]
mov dword [ebp - 0x24], eax
mov eax, dword [ebx + 0x68]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x20], eax
call fcn.0040f916
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x54]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
mov eax, dword [ebx + 0x54]
mov dword [ebx + 0x60], eax
jmp 0x410bcb
mov ecx, dword [ebp - 0x168]
movsx eax, cx
mov dword [ebp - 0x10c], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x10c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
cmp dword [ebx + 0x5c], 0
mov eax, dword [ebp - 0x10c]
mov dword [ebx + 0x64], eax
mov eax, dword [ebp - 0x108]
mov dword [ebx + 0x68], eax
je 0x410bcb
mov ecx, ebx
call fcn.00410f0d
mov ecx, dword [ebx + 0x5c]
xor eax, eax
and dword [ebp - 0x18], eax
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x10c]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x30], 0x11
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x14], ecx
jmp 0x410554
lea esi, [ebx + 0xc4]
xor edi, edi
mov ecx, esi
call fcn.0040e2ed
test eax, eax
jle 0x410bcb
push edi
mov ecx, esi
call fcn.0040de82
mov esi, eax
mov ecx, dword [esi + 8]
cmp ecx, dword [ebx]
jne 0x4103be
mov eax, dword [ebp - 0x170]
movzx ecx, ax
cmp dword [esi + 0xc], ecx
jne 0x4103be
cmp byte [esi + 0x10], 0
je 0x4103d5
lea esi, [ebx + 0xc4]
inc edi
mov ecx, esi
call fcn.0040e2ed
cmp edi, eax
jl 0x410399
jmp 0x410bcb
mov eax, dword [esi]
xorps xmm0, xmm0
and dword [ebp - 0x1c], 0
and dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 4]
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x30], 0x18
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx]
lea edx, [ebp - 0x30]
push edx
call dword [eax + 0x108]
jmp 0x410bcb
mov eax, 0x204
cmp esi, eax
ja 0x41080f
je 0x41077f
mov eax, esi
sub eax, 0x133
je 0x41075d
sub eax, 5
je 0x41075d
sub eax, 0xc8
je 0x41061c
sub eax, 1
je 0x410579
sub eax, 1
je 0x4104f9
sub eax, 1
jne 0x410bcb
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x168]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x108], eax
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x68], eax
call fcn.0040f2cf
mov esi, eax
test esi, esi
je 0x410bcb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x410bcb
mov ecx, ebx
call fcn.0041148a
xor eax, eax
mov dword [ebp - 0x30], 0x10
mov word [ebp - 0x1c], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x108]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x170]
movlpd qword [ebp - 0x18], xmm0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x5c], esi
jmp 0x410bcb
mov eax, dword [ebp - 0x168]
movsx esi, ax
shr eax, 0x10
cmp dword [ebx + 0x5c], 0
cwde
mov dword [ebp - 0x108], eax
mov dword [ebx + 0x64], esi
mov dword [ebx + 0x68], eax
je 0x410bcb
mov ecx, ebx
call fcn.00410f0d
mov edi, dword [ebp - 0x168]
xor eax, eax
mov ecx, dword [ebp - 0x108]
mov word [ebp - 0x1c], ax
mov eax, dword [ebx + 0x5c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x30], 0xe
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x5c]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
and dword [ebx + 0x5c], 0
jmp 0x410bcb
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x168]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x108], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x68], eax
call fcn.0040f2cf
mov esi, eax
test esi, esi
je 0x410bcb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x410bcb
mov dword [ebx + 0x5c], esi
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xf0]
mov ecx, ebx
call fcn.0041148a
mov ecx, dword [ebp - 0x108]
xor eax, eax
mov edi, dword [ebp - 0x168]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x30], 0xd
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
jmp 0x410750
cmp byte [ebx + 0xb5], 0
jne 0x41066b
cmp dword [ebx + 0x1c], 0
mov eax, dword [ebx]
push 3
pop ecx
mov dword [ebp - 0x40], 0x10
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x38], eax
jne 0x410646
mov dword [ebp - 0x34], 0x190
jmp 0x41065a
push 0
push ecx
push 0x415
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.COMCTL32.dll__TrackMouseEvent]
mov byte [ebx + 0xb5], 1
mov eax, dword [ebp - 0x168]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov dword [ebp - 0x108], eax
mov dword [ebx + 0x64], edi
mov dword [ebx + 0x68], eax
call fcn.0040f2cf
mov esi, eax
test esi, esi
je 0x4106a2
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x410bcb
mov eax, dword [ebp - 0x108]
xorps xmm0, xmm0
and dword [ebp - 0x14], 0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
mov dword [ebp - 0x28], eax
cmp esi, ecx
je 0x410728
test ecx, ecx
je 0x410709
mov dword [ebp - 0x30], 0xa
lea edx, [ebp - 0x30]
mov dword [ebp - 0x2c], ecx
mov eax, dword [ecx]
push edx
call dword [eax + 0x108]
and dword [ebx + 0x58], 0
xor ecx, ecx
cmp dword [ebx + 0x1c], ecx
je 0x410705
lea eax, [ebx + 0x20]
push eax
push ecx
push 0x411
push dword [ebx + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebx + 0x58]
cmp esi, ecx
je 0x410728
test esi, esi
je 0x410728
mov dword [ebp - 0x30], 0xb
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
mov dword [ebx + 0x58], esi
mov ecx, dword [ebx + 0x5c]
test ecx, ecx
je 0x41073e
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], ecx
jmp 0x410402
test esi, esi
je 0x410bcb
mov dword [ebp - 0x30], 9
mov dword [ebp - 0x2c], esi
mov eax, dword [esi]
lea ecx, [ebp - 0x30]
push ecx
mov ecx, esi
jmp 0x410408
mov ecx, dword [ebp - 0x168]
test ecx, ecx
je 0x410bcb
push ecx
push dword [ebp - 0x170]
lea eax, [esi + 0x2000]
push eax
push ecx
jmp 0x4101a9
push dword [ebx]
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0x168]
movsx ecx, ax
shr eax, 0x10
cwde
push eax
mov dword [ebp - 0x108], ecx
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebp - 0x16c], eax
mov dword [ebx + 0x68], eax
call fcn.0040f2cf
mov esi, eax
test esi, esi
je 0x410bcb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x410bcb
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xf0]
mov ecx, ebx
call fcn.0041148a
mov ecx, dword [ebp - 0x108]
xor eax, eax
mov edi, dword [ebp - 0x168]
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x170]
mov dword [ebp - 0x24], ecx
mov ecx, dword [ebp - 0x16c]
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x20], ecx
jmp 0x4104d3
sub esi, 0x20a
je 0x410b05
sub esi, 0x97
je 0x410991
dec esi
sub esi, 1
je 0x410953
sub esi, 0x75
je 0x410881
sub esi, 0x7ce9
jne 0x410bcb
lea esi, [ebx + 0xf4]
xor edi, edi
mov ecx, esi
call fcn.0040e2ed
test eax, eax
jle 0x410875
push edi
mov ecx, esi
call fcn.0040de82
test eax, eax
je 0x410869
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
mov ecx, esi
inc edi
call fcn.0040e2ed
cmp edi, eax
jl 0x410855
mov ecx, esi
call fcn.0040e0af
jmp 0x410bcb
lea eax, [ebp - 0x20]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_GetClientRect]
mov esi, dword [ebp - 0x170]
push esi
call dword [sym.imp.GDI32.dll_SaveDC]
mov ecx, dword [ebx + 0x50]
mov dword [ebp - 0x16c], eax
lea eax, [ebp - 0x20]
push eax
push esi
mov edx, dword [ecx]
call dword [edx + pe_nt_image_headers32]
test byte [ebp - 0x168], 0x10
je 0x410941
push 5
push dword [ebx]
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x108], ecx
test ecx, ecx
je 0x410941
or dword [ebp - 0x168], 2
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x40]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
push 2
lea eax, [ebp - 0x40]
push eax
push dword [ebx]
push 0
call dword [sym.imp.USER32.dll_MapWindowPoints]
mov eax, dword [ebp - 0x3c]
push 0
neg eax
push eax
mov eax, dword [ebp - 0x40]
neg eax
push eax
push esi
call dword [sym.imp.GDI32.dll_SetWindowOrgEx]
push dword [ebp - 0x168]
mov edi, dword [ebp - 0x108]
push esi
push 0x317
push edi
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
push edi
call dword [sym.imp.USER32.dll_GetWindow]
mov ecx, eax
mov dword [ebp - 0x108], eax
test ecx, ecx
jne 0x4108da
push dword [ebp - 0x16c]
push esi
call dword [sym.imp.GDI32.dll_RestoreDC]
jmp 0x410bcb
cmp dword [ebx + 0x1c], 0
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
je 0x41096f
lea eax, [ebx + 0x20]
push eax
push 0
push 0x411
push dword [ebx + 0x1c]
call esi
cmp byte [ebx + 0xb5], 0
je 0x410985
push 0xffffffffffffffff
push 0
push 0x200
push dword [ebx]
call esi
mov byte [ebx + 0xb5], 0
jmp 0x410bcb
mov eax, dword [ebp - 0x168]
mov ecx, ebx
movsx edi, ax
shr eax, 0x10
cwde
push eax
push edi
mov byte [ebx + 0xb5], 0
mov dword [ebp - 0x108], eax
call fcn.0040f2cf
mov esi, eax
mov dword [ebp - 0x16c], esi
test esi, esi
je 0x410bcb
mov eax, dword [ebx + 0x58]
test eax, eax
je 0x410a05
mov ecx, dword [ebp - 0x108]
xorps xmm0, xmm0
and dword [ebp - 0x14], 0
movlpd qword [ebp - 0x1c], xmm0
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x30], 0xc
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebx + 0x58]
lea edx, [ebp - 0x30]
mov dword [ebp - 0x28], eax
push edx
mov eax, dword [ecx]
call dword [eax + 0x108]
mov eax, dword [esi]
lea ecx, [ebp - 0x104]
push ecx
mov ecx, esi
call dword [eax + 0x98]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x104]
call fcn.0040e43a
test al, al
je 0x410a39
lea ecx, [ebp - 0x104]
call fcn.0040dd97
jmp 0x40fb56
push 0x2c
lea edi, [ebx + 0x20]
push 0
push edi
call fcn.004421a0
xor eax, eax
mov dword [edi], 0x2c
inc eax
lea ecx, [ebp - 0x104]
mov dword [ebx + 0x24], eax
add esp, 0xc
mov eax, dword [ebx]
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
mov eax, dword [0x47bb70]
mov dword [ebx + 0x40], eax
call fcn.0040de91
mov dword [ebx + 0x44], eax
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0x30]
mov esi, eax
lea edi, [ebx + 0x30]
xor ecx, 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]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [ebx + 0x1c], ecx
jne 0x410ac8
push ecx
push dword [0x47bb70]
mov eax, closesocket
push ecx
push dword [ebx]
push eax
push eax
push eax
push eax
push reloc.WS2_32.dll_closesocket
push ecx
push str.tooltips_class32
push ecx
call dword [sym.imp.USER32.dll_CreateWindowExW]
lea esi, [ebx + 0x20]
mov dword [ebx + 0x1c], eax
push esi
push 0
push 0x432
push eax
call edi
jmp 0x410acb
lea esi, [ebx + 0x20]
mov ecx, dword [ebp - 0x16c]
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 0x436
push dword [ebx + 0x1c]
call edi
push esi
push 1
push 0x411
push dword [ebx + 0x1c]
call edi
jmp 0x410a29
mov ecx, dword [ebp - 0x168]
movsx eax, cx
mov dword [ebp - 0x10c], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x108], eax
lea eax, [ebp - 0x10c]
push eax
push dword [ebx]
call dword [sym.imp.USER32.dll_ScreenToClient]
mov eax, dword [ebp - 0x108]
mov ecx, dword [ebp - 0x10c]
push eax
mov dword [ebx + 0x64], ecx
push ecx
mov ecx, ebx
mov dword [ebx + 0x68], eax
call fcn.0040f2cf
mov esi, eax
test esi, esi
je 0x410bcb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x1c]
cmp eax, ebx
jne 0x410bcb
xor eax, eax
mov dword [ebp - 0x30], 0x12
mov word [ebp - 0x1c], ax
xorps xmm0, xmm0
mov eax, dword [ebp - 0x170]
shr eax, 0x10
movzx eax, ax
shr eax, 0xf
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x168]
movlpd qword [ebp - 0x24], xmm0
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x14], eax
call fcn.0040f916
mov word [ebp - 0x1a], ax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 0x108]
movzx ecx, word [ebx + 0x68]
movzx eax, word [ebx + 0x64]
shl ecx, 0x10
or ecx, eax
push ecx
push 0
push 0x200
push dword [ebx]
call dword [sym.imp.USER32.dll_SendMessageW]
lea edi, [ebx + 0x100]
push 0
mov ecx, edi
call fcn.0040e274
mov esi, eax
test esi, esi
je 0x410c69
add ebx, 0xb8
push 0
mov ecx, edi
call fcn.0040e52a
mov ecx, dword [esi + 0x108]
test ecx, ecx
je 0x410c18
add ecx, 0x34
call fcn.0041369e
test al, al
je 0x410c18
mov ecx, dword [esi + 0x108]
push esi
add ecx, 0x34
call fcn.004136b2
mov ecx, ebx
xor edi, edi
call fcn.0040e2ed
test eax, eax
jle 0x410c40
push edi
mov ecx, ebx
call fcn.0040de82
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx]
mov ecx, ebx
inc edi
call fcn.0040e2ed
cmp edi, eax
jl 0x410c25
mov ecx, esi
call fcn.0040a1b0
push 0x120
push esi
call fcn.0043feb1
mov edi, dword [ebp - 0x178]
pop ecx
pop ecx
push 0
mov ecx, edi
call fcn.0040e274
mov esi, eax
test esi, esi
jne 0x410bea
xor al, al
call fcn.004404f1
ret 0x10