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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0xed3e248]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x1c]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x220], eax
cmp word [0xed3efa0], si
je 0xed039d4
call fcn.0ed01d7c
test al, al
jne 0xed01d67
push edi
push 0x30
pop edi
push edi
lea eax, [ebp - 0x254]
push esi
push eax
mov dword [ebp - 0x218], esi
call sub.msvcrt.dll_memset
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp dword [ebp + 0x10], 0x12
mov dword [ebp - 0x254], edi
mov edi, dword [ebp + 0x14]
mov byte [ebp - 0x211], 0
jbe 0xed0d9d3
sub eax, 0x13
je 0xed0b52a
sub eax, 0x7fef
je 0xed01eac
dec eax
je 0xed01ee4
dec eax
dec eax
jne 0xed0dafd
jmp 0xed0b51d
cmp byte [ebp + 8], 0
jne 0xed0b55e
cmp byte [ebp - 0x211], 0
jne 0xed0de49
cmp byte [ebp + 8], 0
mov esi, dword [ebp - 0x21c]
mov ebx, 0xed3ef68
je 0xed0df61
push esi
push ebx
call fcn.0ed01dd1
cmp dword [ebp + 0x10], 3
jne 0xed0de96
xor eax, eax
mov edi, 0xed3e114
stosd dword es:[edi], eax
mov eax, dword [0xed3e114]
and eax, 0xfffffffe
or eax, 0x10000
mov dword [0xed3e114], eax
mov eax, dword [ebp + 0x10]
xor edi, edi
sub eax, edi
je 0xed0df19
dec eax
je 0xed0deeb
dec eax
je 0xed0ded7
dec eax
je 0xed0dea0
cmp byte [ebp - 0x211], 0
je 0xed01d66
jmp 0xed0df55
cmp dword [0xed3ef98], esi
je 0xed01d66
cmp byte [ebp - 0x211], 0
jne 0xed01e17
cmp dword [ebp + 0x14], 0xfffffff8
je 0xed01e17
cmp byte [0xed3ef94], 0
jne 0xed01d66
cmp byte [0xed3ef95], 0
je 0xed0b54d
jmp 0xed01d66
cmp dword [ebp - 0x218], 0
je 0xed0e074
and dword [ebp - 0x220], 0
lea eax, [ebp - 0x220]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp esi, eax
je 0xed09ce7
mov edi, dword [ebp - 0x21c]
cmp edi, dword [0xed3f1b0]
je 0xed0e09b
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0ed01b36
leave
ret 0x18
push esi
push ebx
call fcn.0ed01dd1
cmp dword [0xed3ef6c], edi
jne 0xed0df70
jmp 0xed01d66
cmp dword [0xed3ef74], 1
je 0xed01d05
cmp byte [0xed3f1b8], 0
jne 0xed01d05
mov ebx, dword [ebp + 0x10]
mov ecx, ebx
mov eax, 0x8000
sub ecx, eax
je 0xed0b53c
dec ecx
je 0xed0df7f
dec ecx
je 0xed0e003
dec ecx
jne 0xed01d05
jmp 0xed0df7f
cmp dword [0xed3ef74], 1
je 0xed0e0ef
cmp dword [0xed3f1b4], edi
jne 0xed01d66
jmp 0xed0e127
cmp edi, esi
jne 0xed01c5b
cmp dword [ebp + 0x18], esi
jne 0xed01c5b
jmp 0xed0dd3c
cmp edi, esi
jne 0xed01c5b
cmp dword [ebp + 0x18], esi
je 0xed0dbe8
jmp 0xed01c5b
push dword [0xed3f1f0]
push ebx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0xed0dcc6
jmp 0xed0dce7
jne 0xed01c5b
jmp 0xed0de3d
push dword [ebp + 0x18]
push edi
push ebx
call fcn.0ed02490
push 2
push ebx
mov dword [0xed3f1b0], ebx
call dword [sym.imp.USER32.dll_GetAncestor]
jmp 0xed0db83
push esi
call fcn.0ed039e4
jmp 0xed01bee
mov eax, dword [0xed3f8bc]
push 2
push eax
mov dword [0xed3f1b0], eax
call dword [sym.imp.USER32.dll_GetAncestor]
mov dword [0xed3f8c0], eax
mov eax, dword [0xed3f8cc]
mov dword [0xed3f8c4], eax
mov eax, dword [0xed3f8d0]
mov dword [0xed3f8c8], eax
jmp 0xed01d54
cmp dword [0xed3f8e8], esi
jne 0xed09d44
cmp byte [0xed3f1cc], 0
jne 0xed0dd99
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0xed3f8ec]
cmp eax, 0x1f4
jb 0xed0dd99
inc dword [0xed3f8e8]
jmp 0xed0ddb1
dec eax
je 0xed0da93
dec eax
je 0xed0da69
dec eax
je 0xed0da08
dec eax
jne 0xed01c5b
jmp 0xed0d9f2
cmp ebx, dword [0xed3f1b0]
je 0xed0dacf
jmp 0xed01c5b
cmp edi, esi
jne 0xed0db22
jmp 0xed01c5b
cmp byte [0xed3fbb1], 0
je 0xed0de29
jmp 0xed01c5b
cmp dword [0xed3ef78], edi
je 0xed0e056
jmp 0xed01d05
cmp dword [0xed3f1b0], edi
je 0xed01d1d
jmp 0xed01d54
cmp byte [0xed3ef94], 0
jne 0xed01d66
cmp byte [0xed3ef95], 0
je 0xed01c65
jmp 0xed01d66
cmp eax, 0x12
je 0xed0dabd
sub eax, 5
je 0xed0dab1
dec eax
dec eax
jne 0xed0b4eb
jmp 0xed0dab1
cmp byte [0xed3ef94], al
je 0xed01c5b
mov byte [0xed3ef94], al
jmp 0xed0de3d
push 0xed0fda8
push 2
push ebx
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0xed01c5b
mov byte [0xed3ef94], 1
cmp byte [0xed3f1cc], 0
je 0xed01c5b
push esi
push dword [0xed3f1f0]
call fcn.0ed1781f
push dword [0xed3f1b0]
call fcn.0ed02bf2
test al, al
je 0xed01c5b
push esi
push dword [0xed3f1b0]
call fcn.0ed17bd2
jmp 0xed01c5b
cmp byte [0xed3fbb2], 0
je 0xed01c5b
mov byte [0xed3fbb2], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0xed3fbbc], eax
mov dword [0xed3fbc8], esi
jmp 0xed01c5b
cmp ebx, dword [0xed3f1b4]
jne 0xed01c5b
mov byte [0xed3fbb2], 1
mov dword [0xed3fbc8], ebx
jmp 0xed01c5b
cmp byte [0xed3f8fc], 0
jmp 0xed01f14
cmp byte [0xed3fbb1], 0
je 0xed0b50c
jmp 0xed01c5b
push 0xed0fda8
push 2
push ebx
call dword [sym.imp.USER32.dll_GetAncestor]
push eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0xed01c5b
mov byte [0xed3ef95], 1
call fcn.0ed028b1
jmp 0xed0da2c
sub eax, 6
jne 0xed01c5b
cmp edi, esi
jne 0xed01c5b
cmp dword [ebp + 0x18], esi
jne 0xed01c5b
cmp ebx, dword [0xed3f8c0]
jmp 0xed01f14
cmp byte [0xed3f1b8], 0
jne 0xed01c5b
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
cmp ebx, dword [ebp - 0x248]
jne 0xed0dbcf
cmp dword [0xed3f1b0], ebx
jne 0xed0246d
cmp dword [0xed3f8c4], edi
jne 0xed0246d
mov eax, dword [0xed3f8c8]
cmp eax, dword [ebp + 0x18]
jne 0xed0246d
jmp 0xed01c5b
mov dword [0xed3f8c0], eax
mov eax, dword [ebp + 0x18]
mov dword [0xed3f8c4], edi
mov dword [0xed3f8c8], eax
mov dword [0xed3f8bc], esi
mov dword [0xed3f8cc], esi
mov dword [0xed3f8d0], esi
cmp ebx, esi
jne 0xed01c5b
call fcn.0ed028b1
cmp byte [0xed3f1cc], 0
mov byte [0xed3fbb0], 0
je 0xed01d66
push esi
jmp 0xed0e261
mov eax, dword [ebp + 0x18]
mov dword [0xed3f8bc], ebx
mov dword [0xed3f8cc], edi
mov dword [0xed3f8d0], eax
jmp 0xed01c5b
push 0x104
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
xor ecx, ecx
mov word [ebp + eax*2 - 0x210], cx
mov ecx, 0xed0e294
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0xed0dc36
cmp dx, si
je 0xed0dc32
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0xed0dc36
add eax, 4
add ecx, 4
cmp dx, si
jne 0xed0dc10
xor eax, eax
jmp 0xed0dc3b
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
jne 0xed01efa
cmp dword [0xed3f8e8], esi
jbe 0xed01efa
dec dword [0xed3f8e8]
jne 0xed01efa
cmp byte [0xed3fbb3], 0
je 0xed01d66
mov byte [0xed3fbb3], 0
cmp dword [ebp - 0x218], esi
jne 0xed0dc98
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [ebp - 0x218], eax
jne 0xed01d66
call dword [sym.imp.USER32.dll_GetFocus]
mov ecx, dword [0xed3f1f0]
cmp ecx, eax
jne 0xed01d66
push 1
push ecx
jmp 0xed0e267
call fcn.0ed028b1
cmp byte [0xed3f1cc], 0
mov byte [0xed3fbb0], 0
je 0xed0dce7
push esi
push dword [0xed3f1f0]
call fcn.0ed1781f
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
jns 0xed01c5b
cmp ebx, dword [0xed3fbb8]
jne 0xed0dd1c
cmp byte [0xed3f1cc], 0
mov dword [0xed3fbb8], esi
je 0xed0dd1c
push 1
push dword [0xed3f1f0]
call fcn.0ed1781f
push 0xed0fda8
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0xed01c5b
push esi
push ebx
call fcn.0ed1763e
jmp 0xed01c5b
push 0x104
lea eax, [ebp - 0x210]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetClassNameW]
xor ecx, ecx
mov word [ebp + eax*2 - 0x210], cx
mov ecx, 0xed0e294
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0xed0dd8a
cmp dx, si
je 0xed0dd86
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0xed0dd8a
add eax, 4
add ecx, 4
cmp dx, si
jne 0xed0dd64
xor eax, eax
jmp 0xed0dd8f
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0xed09d18
jmp 0xed0ddb1
push esi
push dword [0xed3f1f0]
mov byte [0xed3fbb3], 1
call fcn.0ed1781f
jmp 0xed09d44
mov esi, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push ebx
call esi
test eax, eax
jns 0xed01c5b
mov edi, dword [sym.imp.USER32.dll_GetPropW]
cmp ebx, dword [0xed3fbb8]
je 0xed0dde4
push 0xed0fd48
push ebx
call edi
test eax, eax
je 0xed0ddfa
mov dword [0xed3fbb8], ebx
cmp byte [0xed3f1cc], 0
je 0xed0ddfa
push 1
push dword [0xed3f1f0]
call fcn.0ed1781f
cmp dword [0xed3ef58], 0
jne 0xed0de12
push 0xffffffffffffffec
push ebx
call esi
test al, 8
je 0xed0de12
push ebx
call fcn.0ed17601
push 0xed0fda8
push ebx
call edi
test eax, eax
je 0xed01c5b
push 1
jmp 0xed0dd31
cmp byte [0xed3ef95], 0
je 0xed01c5b
mov byte [0xed3ef95], 0
mov byte [ebp - 0x211], 1
jmp 0xed01c5b
cmp dword [ebp + 0x10], 0x800b
mov eax, dword [0xed3f1f0]
mov dword [ebp - 0x21c], eax
mov eax, dword [0xed3f8c4]
mov dword [ebp + 0x14], eax
mov eax, dword [0xed3f8c8]
mov dword [ebp + 0x18], eax
je 0xed01c72
push dword [0xed3f1b0]
call fcn.0ed02bf2
test al, al
je 0xed01c72
push 1
push dword [0xed3f1b0]
call fcn.0ed17bd2
jmp 0xed01c72
call fcn.0ed028b1
jmp 0xed01c98
mov eax, dword [0xed3ef98]
cmp eax, edi
je 0xed01cd4
cmp byte [0xed3f1cc], 0
je 0xed0decc
cmp dword [0xed3f1f0], eax
jne 0xed0decc
push edi
push eax
mov byte [0xed3fbb0], 0
call fcn.0ed1781f
mov dword [0xed3ef98], edi
jmp 0xed01cd4
mov esi, dword [ebp - 0x220]
mov edi, 0xed3fb90
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0xed01cd4
mov esi, dword [ebp - 0x220]
mov eax, dword [ebp - 0x21c]
mov edi, 0xed3fba0
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push 1
movsd dword es:[edi], dword [esi]
push eax
mov dword [0xed3ef98], eax
mov byte [0xed3fbb0], 1
call fcn.0ed1781f
jmp 0xed01cd4
cmp byte [0xed3f1cc], 0
je 0xed0df38
cmp dword [0xed3f1f0], esi
jne 0xed0df38
push edi
push esi
mov byte [0xed3fbb0], 0
call fcn.0ed1781f
mov eax, dword [0xed3f1b4]
cmp eax, dword [0xed3f1b0]
jne 0xed01cd4
mov byte [ebp - 0x211], 1
jmp 0xed01cd4
mov esi, dword [0xed3f1b4]
mov dword [ebp - 0x21c], esi
xor edi, edi
cmp esi, edi
jne 0xed01ce6
jmp 0xed01d66
cmp dword [ebp + 0x14], 0xfffffff8
je 0xed01e2f
jmp 0xed01d05
mov eax, dword [0xed3f1b4]
cmp eax, esi
jne 0xed0e043
mov eax, dword [0xed3ef88]
cmp eax, edi
je 0xed0e03a
cmp byte [0xed3f9a8], 0
jne 0xed0dfab
cmp eax, 1
jne 0xed0e03a
cmp eax, 1
je 0xed0dff3
cmp byte [0xed3f9a9], 0
je 0xed0dff3
cmp dword [0xed3ef80], edi
je 0xed0dff3
cmp byte [0xed3fbb2], 0
jne 0xed0dfe6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0xed3fbbc]
cmp eax, 0xfa
ja 0xed0dff3
cmp byte [0xed3fbb2], 0
je 0xed0e03a
mov eax, dword [0xed3f1b4]
cmp dword [0xed3fbc8], eax
je 0xed0e03a
mov byte [0xed3fbb0], 0
mov byte [0xed3fbb4], 0
jmp 0xed0e04b
push esi
mov dword [0xed3f1b4], esi
mov byte [0xed3fbb0], 1
mov dword [0xed3fbc0], 0x8002
mov byte [0xed3fbb4], 0
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0xed01d05
mov byte [0xed3fbb0], al
jmp 0xed01d05
mov byte [0xed3fbb4], 1
jmp 0xed0e04b
cmp eax, edi
jne 0xed01d05
mov dword [0xed3fbc0], ebx
jmp 0xed01d05
mov dword [0xed3f1b4], esi
mov byte [0xed3fbb0], 1
mov dword [0xed3fbc0], eax
mov byte [0xed3fbb4], 1
jmp 0xed01d05
lea eax, [ebp - 0x254]
push eax
push 0
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0xed01d2a
cmp dword [ebp + 0x14], 0xfffffff8
je 0xed0e0ae
cmp byte [ebp - 0x211], 0
je 0xed01d66
cmp byte [0xed3f1b8], 0
jne 0xed01d66
xor ebx, ebx
cmp dword [ebp - 0x218], ebx
jne 0xed01e75
lea eax, [ebp - 0x254]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetGUIThreadInfo]
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x248]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
jmp 0xed01e75
cmp dword [0xed3f1e8], ebx
je 0xed0e10a
cmp dword [0xed3fbc4], ebx
jne 0xed0e10a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0xed3fbc4], eax
call fcn.0ed028b1
lea eax, [ebp - 0x254]
push eax
push edi
push dword [ebp - 0x218]
call fcn.0ed18b2f
jmp 0xed01d66
cmp byte [0xed3fbb0], 0
je 0xed0e212
push ebx
push dword [0xed3f8c8]
push dword [0xed3f8c4]
push dword [0xed3f1b0]
call fcn.0ed02537
lea eax, [ebp - 0x254]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
call fcn.0ed17e3d
neg eax
sbb al, al
inc al
cmp dword [0xed3ef84], 1
mov byte [0xed3fbb0], al
jne 0xed0e20c
mov esi, dword [sym.imp.USER32.dll_ScreenToClient]
mov ebx, 0xed3fba0
push ebx
push edi
call esi
push 0xed3fba8
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_GetDC]
push 2
mov esi, eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_LPtoDP]
lea eax, [ebp - 0x224]
push eax
push esi
call dword [sym.imp.GDI32.dll_GetDCOrgEx]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
push ebx
call dword [sym.imp.USER32.dll_OffsetRect]
push esi
push edi
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, dword [0xed3fba8]
cmp eax, dword [0xed3f1d8]
jl 0xed0e1fe
mov eax, dword [0xed3fba0]
cmp eax, dword [0xed3f1e0]
jg 0xed0e1fe
mov eax, dword [0xed3fbac]
cmp eax, dword [0xed3f1dc]
jl 0xed0e1fe
mov eax, dword [0xed3fba4]
cmp eax, dword [0xed3f1e4]
jle 0xed0e207
xor al, al
mov byte [0xed3fbb0], al
jmp 0xed0e20c
mov al, byte [0xed3fbb0]
test al, al
jne 0xed0e27a
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
cmp dword [ebp - 0x218], eax
je 0xed0e22c
call esi
cmp dword [0xed3f8d4], eax
jne 0xed0e24e
cmp byte [0xed3fbb0], 0
jne 0xed0e27a
cmp byte [0xed3f1cc], 0
je 0xed0e281
push dword [0xed3f1b0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0xed0e271
call fcn.0ed028b1
cmp byte [0xed3f1cc], 0
je 0xed01d66
push ebx
push dword [0xed3f1f0]
call fcn.0ed1781f
jmp 0xed01d66
cmp byte [0xed3fbb0], 0
je 0xed0e281
mov eax, dword [0xed3f358]
jmp 0xed0e286
mov eax, dword [0xed3f9a4]
push eax
call fcn.0ed17b81
jmp 0xed01d66