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 0xed039fc
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 0xed0da2f
sub eax, 0x13
je 0xed0ba98
sub eax, 0x7fef
je 0xed01eac
dec eax
je 0xed01ee4
dec eax
dec eax
jne 0xed0db4b
jmp 0xed0ba8b
cmp byte [ebp + 8], 0
jne 0xed0b563
cmp byte [ebp - 0x211], 0
jne 0xed0de97
cmp byte [ebp + 8], 0
mov esi, dword [ebp - 0x21c]
mov ebx, 0xed3ef68
je 0xed0dfaf
push esi
push ebx
call fcn.0ed01dd1
cmp dword [ebp + 0x10], 3
jne 0xed0dee4
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 0xed0df67
dec eax
je 0xed0df39
dec eax
je 0xed0df25
dec eax
je 0xed0deee
cmp byte [ebp - 0x211], 0
je 0xed01d66
jmp 0xed0dfa3
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 0xed0babb
jmp 0xed01d66
cmp dword [ebp - 0x218], 0
je 0xed0e0c2
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 0xed09d0f
mov edi, dword [ebp - 0x21c]
cmp edi, dword [0xed3f1b0]
je 0xed0e0e9
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 0xed0dfbe
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 0xed0baaa
dec ecx
je 0xed0dfcd
dec ecx
je 0xed0e051
dec ecx
jne 0xed01d05
jmp 0xed0dfcd
cmp dword [0xed3ef74], 1
je 0xed0e13d
cmp dword [0xed3f1b4], edi
jne 0xed01d66
jmp 0xed0e175
cmp edi, esi
jne 0xed01c5b
cmp dword [ebp + 0x18], esi
jne 0xed01c5b
jmp 0xed0dd8a
cmp edi, esi
jne 0xed01c5b
cmp dword [ebp + 0x18], esi
je 0xed0dc36
jmp 0xed01c5b
push dword [0xed3f1f0]
push ebx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0xed0dd14
jmp 0xed0dd35
jne 0xed01c5b
jmp 0xed0de8b
push dword [ebp + 0x18]
push edi
push ebx
call fcn.0ed024b0
push 2
push ebx
mov dword [0xed3f1b0], ebx
call dword [sym.imp.USER32.dll_GetAncestor]
jmp 0xed0dbd1
push esi
call fcn.0ed03a0c
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 0xed09d6c
cmp byte [0xed3f1cc], 0
jne 0xed0dde7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0xed3f8ec]
cmp eax, 0x1f4
jb 0xed0dde7
inc dword [0xed3f8e8]
jmp 0xed0ddff
cmp byte [0xed3ef94], 0
jne 0xed01d66
cmp byte [0xed3ef95], 0
je 0xed01c65
jmp 0xed01d66
cmp ebx, dword [0xed3f1b0]
jne 0xed01c5b
push 0xed0b380
push 2
push ebx
call dword [sym.imp.USER32.dll_GetAncestor]
jmp 0xed0db2b
cmp edi, esi
jne 0xed0db70
jmp 0xed01c5b
cmp byte [0xed3fbb1], 0
je 0xed0de77
jmp 0xed01c5b
cmp dword [0xed3ef78], edi
je 0xed0e0a4
jmp 0xed01d05
cmp dword [0xed3f1b0], edi
je 0xed01d1d
jmp 0xed01d54
dec eax
je 0xed0daef
dec eax
je 0xed0dac5
dec eax
je 0xed0da64
dec eax
jne 0xed01c5b
jmp 0xed0da4e
cmp eax, 0x12
je 0xed0db19
sub eax, 5
je 0xed0db0d
dec eax
dec eax
jne 0xed0bacc
jmp 0xed0db0d
cmp byte [0xed3ef94], al
je 0xed01c5b
mov byte [0xed3ef94], al
jmp 0xed0de8b
push 0xed0b380
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.0ed17787
push dword [0xed3f1b0]
call fcn.0ed02c1a
test al, al
je 0xed01c5b
push esi
push dword [0xed3f1b0]
call fcn.0ed17b3a
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 0xed0ba6c
jmp 0xed01c5b
push eax
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
jne 0xed01c5b
mov byte [0xed3ef95], 1
call fcn.0ed028d1
jmp 0xed0da88
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 0xed0dc1d
cmp dword [0xed3f1b0], ebx
jne 0xed0248d
cmp dword [0xed3f8c4], edi
jne 0xed0248d
mov eax, dword [0xed3f8c8]
cmp eax, dword [ebp + 0x18]
jne 0xed0248d
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.0ed028d1
cmp byte [0xed3f1cc], 0
mov byte [0xed3fbb0], 0
je 0xed01d66
push esi
jmp 0xed0e2af
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, 0xed0e2e0
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0xed0dc84
cmp dx, si
je 0xed0dc80
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0xed0dc84
add eax, 4
add ecx, 4
cmp dx, si
jne 0xed0dc5e
xor eax, eax
jmp 0xed0dc89
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 0xed0dce6
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 0xed0e2b5
call fcn.0ed028d1
cmp byte [0xed3f1cc], 0
mov byte [0xed3fbb0], 0
je 0xed0dd35
push esi
push dword [0xed3f1f0]
call fcn.0ed17787
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, eax
jns 0xed01c5b
cmp ebx, dword [0xed3fbb8]
jne 0xed0dd6a
cmp byte [0xed3f1cc], 0
mov dword [0xed3fbb8], esi
je 0xed0dd6a
push 1
push dword [0xed3f1f0]
call fcn.0ed17787
push 0xed0b380
push ebx
call dword [sym.imp.USER32.dll_GetPropW]
test eax, eax
je 0xed01c5b
push esi
push ebx
call fcn.0ed175a6
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, 0xed0e2e0
lea eax, [ebp - 0x210]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0xed0ddd8
cmp dx, si
je 0xed0ddd4
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0xed0ddd8
add eax, 4
add ecx, 4
cmp dx, si
jne 0xed0ddb2
xor eax, eax
jmp 0xed0dddd
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, esi
je 0xed09d40
jmp 0xed0ddff
push esi
push dword [0xed3f1f0]
mov byte [0xed3fbb3], 1
call fcn.0ed17787
jmp 0xed09d6c
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 0xed0de32
push 0xed0fda0
push ebx
call edi
test eax, eax
je 0xed0de48
mov dword [0xed3fbb8], ebx
cmp byte [0xed3f1cc], 0
je 0xed0de48
push 1
push dword [0xed3f1f0]
call fcn.0ed17787
cmp dword [0xed3ef58], 0
jne 0xed0de60
push 0xffffffffffffffec
push ebx
call esi
test al, 8
je 0xed0de60
push ebx
call fcn.0ed17569
push 0xed0b380
push ebx
call edi
test eax, eax
je 0xed01c5b
push 1
jmp 0xed0dd7f
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.0ed02c1a
test al, al
je 0xed01c72
push 1
push dword [0xed3f1b0]
call fcn.0ed17b3a
jmp 0xed01c72
call fcn.0ed028d1
jmp 0xed01c98
mov eax, dword [0xed3ef98]
cmp eax, edi
je 0xed01cd4
cmp byte [0xed3f1cc], 0
je 0xed0df1a
cmp dword [0xed3f1f0], eax
jne 0xed0df1a
push edi
push eax
mov byte [0xed3fbb0], 0
call fcn.0ed17787
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.0ed17787
jmp 0xed01cd4
cmp byte [0xed3f1cc], 0
je 0xed0df86
cmp dword [0xed3f1f0], esi
jne 0xed0df86
push edi
push esi
mov byte [0xed3fbb0], 0
call fcn.0ed17787
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 0xed0e091
mov eax, dword [0xed3ef88]
cmp eax, edi
je 0xed0e088
cmp byte [0xed3f9a8], 0
jne 0xed0dff9
cmp eax, 1
jne 0xed0e088
cmp eax, 1
je 0xed0e041
cmp byte [0xed3f9a9], 0
je 0xed0e041
cmp dword [0xed3ef80], edi
je 0xed0e041
cmp byte [0xed3fbb2], 0
jne 0xed0e034
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0xed3fbbc]
cmp eax, 0xfa
ja 0xed0e041
cmp byte [0xed3fbb2], 0
je 0xed0e088
mov eax, dword [0xed3f1b4]
cmp dword [0xed3fbc8], eax
je 0xed0e088
mov byte [0xed3fbb0], 0
mov byte [0xed3fbb4], 0
jmp 0xed0e099
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 0xed0e099
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 0xed0e0fc
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 0xed0e158
cmp dword [0xed3fbc4], ebx
jne 0xed0e158
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0xed3fbc4], eax
call fcn.0ed028d1
lea eax, [ebp - 0x254]
push eax
push edi
push dword [ebp - 0x218]
call 0xed18a97
jmp 0xed01d66
cmp byte [0xed3fbb0], 0
je 0xed0e260
push ebx
push dword [0xed3f8c8]
push dword [0xed3f8c4]
push dword [0xed3f1b0]
call fcn.0ed02557
lea eax, [ebp - 0x254]
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push edi
call fcn.0ed17da5
neg eax
sbb al, al
inc al
cmp dword [0xed3ef84], 1
mov byte [0xed3fbb0], al
jne 0xed0e25a
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 0xed0e24c
mov eax, dword [0xed3fba0]
cmp eax, dword [0xed3f1e0]
jg 0xed0e24c
mov eax, dword [0xed3fbac]
cmp eax, dword [0xed3f1dc]
jl 0xed0e24c
mov eax, dword [0xed3fba4]
cmp eax, dword [0xed3f1e4]
jle 0xed0e255
xor al, al
mov byte [0xed3fbb0], al
jmp 0xed0e25a
mov al, byte [0xed3fbb0]
test al, al
jne 0xed0e2c8
xor ebx, ebx
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
call esi
cmp dword [ebp - 0x218], eax
je 0xed0e27a
call esi
cmp dword [0xed3f8d4], eax
jne 0xed0e29c
cmp byte [0xed3fbb0], 0
jne 0xed0e2c8
cmp byte [0xed3f1cc], 0
je 0xed0e2cf
push dword [0xed3f1b0]
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0xed0e2bf
call fcn.0ed028d1
cmp byte [0xed3f1cc], 0
je 0xed01d66
push ebx
push dword [0xed3f1f0]
call fcn.0ed17787
jmp 0xed01d66
cmp byte [0xed3fbb0], 0
je 0xed0e2cf
mov eax, dword [0xed3f358]
jmp 0xed0e2d4
mov eax, dword [0xed3f9a4]
push eax
call fcn.0ed17ae9
jmp 0xed01d66