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

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x94
push ebx
mov ebx, dword [ebp + 0x7c]
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x24]
mov dword [ebp + 0x7c], eax
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x70], eax
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x60], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp + 0x64], eax
mov eax, dword [ebx + 0x1c]
push esi
mov esi, dword [ebx + 0x2c]
mov dword [ebp + 0x54], ecx
mov ecx, dword [ebx + 0x30]
push edi
xor edi, edi
mov dword [ebp + 0x3c], eax
mov eax, dword [ebx + 0x20]
cmp eax, edi
mov dword [ebp + 0x40], ecx
mov ecx, dword [ebx + 0x28]
mov dword [ebp + 0x68], eax
mov dword [ebp + 0x2c], 2
mov dword [ebp + 0x44], edi
mov dword [ebp + 0x50], edi
mov dword [ebp + 0x34], esi
mov dword [ebp + 0x4c], ecx
jne 0x500f9223
lea eax, [ebp - 0x20]
mov dword [ebp + 0x68], eax
push dword [ebp + 0x68]
call dword [sym.imp.USER32.dll_SetRectEmpty]
cmp dword [ebx], 0x38
je 0x500f9238
xor eax, eax
jmp 0x500f9533
mov eax, dword [ebx + 4]
mov ecx, eax
and ecx, 3
push 8
pop edx
je 0x500f924a
cmp esi, 0xffffffff
jne 0x500f924d
mov dword [ebp + 0x34], edx
cmp ecx, edi
je 0x500f9257
cmp dword [ebp + 0x40], 0xffffffff
jne 0x500f925a
mov dword [ebp + 0x40], edx
test al, 2
je 0x500f9264
cmp dword [ebp + 0x4c], 0xffffffff
jne 0x500f926f
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
shr eax, 1
mov dword [ebp + 0x4c], eax
push 0x32
pop eax
cmp dword [ebp + 0x4c], eax
jae 0x500f927a
mov dword [ebp + 0x4c], eax
mov eax, dword [ebp + 0x54]
test eax, 0x40000
mov ecx, 0x20000
jne 0x500f9296
cmp dword [0x50296df8], edi
jne 0x500f9296
or eax, ecx
mov dword [ebp + 0x54], eax
test ecx, eax
je 0x500f92ed
test byte [ebx + 4], 1
je 0x500f92c7
mov ecx, dword [ebx + 0x34]
cmp ecx, edi
je 0x500f92c7
movzx eax, ax
push eax
push dword [ebp + 0x68]
push dword [ebp + 0x3c]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push dword [ebp + 0x70]
push dword [ebp + 0x7c]
push dword [ebx + 8]
call ecx
jmp 0x500f9533
and eax, 0xffff
push eax
push dword [ebp + 0x68]
push dword [ebp + 0x3c]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push dword [ebp + 0x70]
push dword [ebp + 0x7c]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_ScrollWindowEx]
jmp 0x500f9533
mov esi, dword [ebp + 0x60]
cmp esi, edi
je 0x500f9303
lea edi, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x10]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x60], eax
xor edi, edi
mov esi, dword [ebp + 0x64]
cmp esi, edi
je 0x500f9319
lea edi, [ebp]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp]
movsd dword es:[edi], dword [esi]
mov dword [ebp + 0x64], eax
xor edi, edi
mov eax, dword [ebp + 0x3c]
cmp eax, edi
jne 0x500f932a
push edi
push edi
push edi
push edi
call dword [sym.imp.GDI32.dll_CreateRectRgn]
mov dword [ebp + 0x48], eax
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp + 0x24], eax
mov eax, dword [ebp + 0x54]
and eax, 0x10000
mov dword [ebp + 0x28], eax
je 0x500f9368
xor eax, eax
cmp dword [ebp + 0x7c], edi
setge al
lea eax, [eax + eax - 1]
imul eax, dword [ebp + 0x34]
mov dword [ebp + 0x58], eax
xor eax, eax
cmp dword [ebp + 0x70], edi
setge al
lea eax, [eax + eax - 1]
imul eax, dword [ebp + 0x40]
jmp 0x500f937a
mov eax, dword [ebp + 0x7c]
cdq
push 0x32
pop ecx
idiv ecx
mov dword [ebp + 0x58], eax
mov eax, dword [ebp + 0x70]
cdq
idiv ecx
cmp dword [ebp + 0x58], edi
mov dword [ebp + 0x5c], eax
jne 0x500f9396
cmp dword [ebp + 0x7c], edi
je 0x500f9396
xor eax, eax
cmp dword [ebp + 0x7c], edi
setge al
lea eax, [eax + eax - 1]
mov dword [ebp + 0x58], eax
cmp dword [ebp + 0x5c], edi
jne 0x500f93af
cmp dword [ebp + 0x70], edi
je 0x500f93af
xor eax, eax
cmp dword [ebp + 0x70], edi
setge al
lea eax, [eax + eax - 1]
mov dword [ebp + 0x5c], eax
cmp dword [ebp + 0x7c], edi
jne 0x500f93bd
cmp dword [ebp + 0x70], edi
je 0x500f950c
cmp dword [ebp + 0x28], edi
je 0x500f9406
mov eax, dword [ebp + 0x58]
mov esi, dword [ebp + 0x5c]
mov dword [ebp + 0x6c], eax
cdq
mov ecx, eax
mov eax, dword [ebp + 0x7c]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jle 0x500f93e4
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x5c]
cdq
mov ecx, eax
mov eax, dword [ebp + 0x70]
xor ecx, edx
sub ecx, edx
cdq
xor eax, edx
sub eax, edx
cmp ecx, eax
jle 0x500f94d9
mov esi, dword [ebp + 0x70]
jmp 0x500f94d9
call dword [sym.imp.kernel32.dll_GetTickCount]
mov ecx, eax
mov eax, dword [ebp + 0x4c]
xor edx, edx
push 0x32
pop esi
div esi
sub ecx, dword [ebp + 0x24]
xor edx, edx
mov esi, eax
mov eax, ecx
div esi
mov ecx, eax
sub ecx, dword [ebp + 0x44]
jns 0x500f942f
mov dword [ebp + 0x50], edi
mov ecx, edi
mov eax, dword [ebp + 0x5c]
mov edi, dword [ebp + 0x58]
imul eax, ecx
mov edx, dword [ebp + 0x44]
imul edi, ecx
add edx, ecx
mov dword [ebp + 0x38], edx
jmp 0x500f944b
mov ecx, dword [ebp + 0x50]
mov eax, dword [ebp + 0x30]
add eax, dword [ebp + 0x5c]
add edi, dword [ebp + 0x58]
inc ecx
inc dword [ebp + 0x38]
cmp dword [ebp + 0x38], 0x32
mov dword [ebp + 0x50], ecx
mov dword [ebp + 0x30], eax
jg 0x500f953d
mov dword [ebp + 0x20], eax
mov eax, edi
cdq
mov esi, eax
mov eax, dword [ebp + 0x7c]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
cmp esi, eax
mov dword [ebp + 0x6c], edi
jle 0x500f9486
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x6c], eax
mov eax, dword [ebp + 0x30]
cdq
mov esi, eax
mov eax, dword [ebp + 0x70]
xor esi, edx
sub esi, edx
cdq
xor eax, edx
sub eax, edx
cmp esi, eax
jg 0x500f9543
mov esi, dword [ebp + 0x20]
mov eax, dword [ebp + 0x6c]
cmp eax, dword [ebp + 0x7c]
jne 0x500f94b3
cmp esi, dword [ebp + 0x70]
je 0x500f94d7
mov ecx, dword [ebp + 0x50]
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp + 0x34]
jae 0x500f94c3
cmp dword [ebp + 0x6c], 0
jne 0x500f9448
mov eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, dword [ebp + 0x40]
jae 0x500f94d7
test esi, esi
jne 0x500f9445
xor edi, edi
test byte [ebx + 4], 1
je 0x500f954b
mov eax, dword [ebx + 0x34]
cmp eax, edi
je 0x500f954b
movzx ecx, word [ebp + 0x54]
push ecx
lea ecx, [ebp + 0x10]
push ecx
push dword [ebp + 0x48]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push esi
push dword [ebp + 0x6c]
push dword [ebx + 8]
call eax
test eax, eax
jne 0x500f9590
mov dword [ebp + 0x2c], edi
test byte [ebp + 0x54], 1
je 0x500f9521
push 1
push edi
push dword [ebp + 0x68]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_RedrawWindow]
mov eax, dword [ebp + 0x48]
cmp eax, dword [ebp + 0x3c]
je 0x500f9530
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp + 0x2c]
pop edi
pop esi
pop ebx
add ebp, 0x74
leave
ret 4
mov eax, dword [ebp + 0x7c]
mov dword [ebp + 0x6c], eax
mov esi, dword [ebp + 0x70]
jmp 0x500f94a3
movzx eax, word [ebp + 0x54]
push eax
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x48]
push dword [ebp + 0x64]
push dword [ebp + 0x60]
push esi
push dword [ebp + 0x6c]
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_ScrollWindowEx]
test eax, eax
je 0x500f9509
push 0x205
push dword [ebp + 0x48]
push edi
push dword [ebx + 8]
call dword [sym.imp.USER32.dll_RedrawWindow]
push dword [ebp + 0x68]
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x68]
call dword [sym.imp.USER32.dll_UnionRect]
push dword [ebp + 0x60]
mov edx, dword [ebp + 0x6c]
push esi
push edx
call fcn.500f9119
push dword [ebp + 0x64]
push esi
push edx
call fcn.500f9119
mov eax, dword [ebp + 0x50]
sub dword [ebp + 0x7c], edx
sub dword [ebp + 0x70], esi
add dword [ebp + 0x44], eax
jmp 0x500f93af