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

Disassembly:
push 0xffffffffffffffff
push 0x1017d9e8
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x101cf40c]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x101cf40c]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov eax, dword [esp + 0xac]
mov ebp, dword [esp + 0xb8]
mov ebx, dword [esp + 0xbc]
lea ecx, [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x24], 0
mov edx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x40], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0xa4], 1
mov ecx, dword [esp + 0x40]
mov byte [ecx], 0
mov ecx, 2
mov dword [esp + 0xa4], ecx
push edx
pop edx
mov edi, 0x10183554
mov esi, ebp
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100a5a29
mov ebp, 0x101839c8
mov dl, dl
mov edi, 0x10183554
mov esi, ebx
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100a5a42
mov ebx, 0x101839c8
mov edi, edi
test eax, eax
jne 0x100a5a52
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov dword [esp + 0x1c], eax
mov cl, cl
mov edi, dword [sym.imp.USER32.dll_IsWindow]
push eax
call edi
test eax, eax
jne 0x100a5a7c
mov esi, dword [esp + 0x20]
lea eax, [esp + 0x30]
push eax
mov ecx, esi
call fcn.1000a210
mov dword [esp + 0x24], 1
jmp 0x100a5dcf
lea ecx, [esp + 0x18]
call fcn.1001ecd0
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x14]
call fcn.1001ecd0
mov byte [esp + 0xa4], 4
push ecx
pop ecx
test ebp, ebp
jne 0x100a5aa8
xor eax, eax
jmp 0x100a5abb
mov eax, ebp
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a5ab0
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x20]
call fcn.10041ee0
mov cl, cl
test ebx, ebx
jne 0x100a5ad0
xor eax, eax
jmp 0x100a5ae0
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a5ad5
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0x1c]
call fcn.10041ee0
mov ebp, ebp
lea ecx, [esp + 0x18]
call fcn.1006fac0
mov bh, bh
lea ecx, [esp + 0x14]
call fcn.1006fac0
mov bl, bl
mov eax, dword [esp + 0xc0]
test al, 4
je 0x100a5d59
mov ecx, dword [esp + 0x1c]
push 5
push ecx
call fcn.10067570
add esp, 8
push ebx
pop ebx
test eax, eax
je 0x100a5d95
push 0
push eax
call fcn.10067570
add esp, 8
mov esi, eax
mov ebp, ebp
mov ebx, esi
push edx
pop edx
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dword [esp + 0x28], eax
mov ebp, ebp
push esi
call edi
test eax, eax
je 0x100a5d7a
mov ebp, ebx
mov ebp, ebp
mov dword [esp + 0x1c], ebx
mov esi, esi
test ebx, ebx
je 0x100a5d23
test byte [esp + 0xc0], 1
je 0x100a5bd0
mov eax, dword [esp + 0x18]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a5b78
sub eax, edx
je 0x100a5bd0
push 1
mov esi, ebx
lea edi, [esp + 0x4c]
call fcn.1009f070
add esp, 4
mov byte [esp + 0xa4], 5
xchg ebx, eax
xchg ebx, eax
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x5c]
push eax
push ecx
call fcn.10055e20
add esp, 8
test eax, eax
jne 0x100a5bb9
xor ebp, ebp
mov ch, ch
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x48]
call fcn.10006800
mov edi, dword [sym.imp.USER32.dll_IsWindow]
test ebp, ebp
je 0x100a5d23
test byte [esp + 0xc0], 2
je 0x100a5c43
mov eax, dword [esp + 0x14]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a5bf0
sub eax, edx
je 0x100a5c43
lea edx, [esp + 0x60]
push 1
push edx
mov esi, ebp
call fcn.1009f1c0
add esp, 8
mov byte [esp + 0xa4], 6
mov cl, cl
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x74]
push eax
push ecx
call fcn.101181c0
add esp, 8
test eax, eax
jne 0x100a5c32
xor ebp, ebp
mov ch, ch
mov byte [esp + 0xa4], 4
lea ecx, [esp + 0x60]
call fcn.10006800
test ebp, ebp
je 0x100a5d23
test byte [esp + 0xc0], 0x10
je 0x100a5c67
push ebp
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x100a5c67
mov ch, ch
jmp 0x100a5d23
test byte [esp + 0xc0], 8
je 0x100a5c85
push ebp
call dword [sym.imp.USER32.dll_GetParent]
mov bl, bl
test eax, eax
je 0x100a5c85
mov bh, bh
jmp 0x100a5d23
xor eax, eax
mov byte [esp + 0x78], 0
mov dword [esp + 0x79], eax
mov dword [esp + 0x7d], eax
mov dword [esp + 0x81], eax
mov dword [esp + 0x85], eax
mov dword [esp + 0x89], eax
mov dword [esp + 0x8d], eax
mov dword [esp + 0x91], eax
mov word [esp + 0x95], ax
mov byte [esp + 0x97], al
push ecx
pop ecx
push ebp
lea edx, [esp + 0x7c]
push 0x10183688
push edx
call fcn.10119290
add esp, 0xc
push edx
pop edx
mov eax, dword [esp + 0x40]
sub eax, dword [esp + 0x44]
je 0x100a5cfc
push 0x101835a1
push 0x101835a0
lea ecx, [esp + 0x38]
call fcn.1000a280
push ebx
pop ebx
lea eax, [esp + 0x78]
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x100a5d03
sub eax, edx
lea ecx, [esp + eax + 0x78]
push ecx
lea edx, [esp + 0x7c]
push edx
lea ecx, [esp + 0x38]
call fcn.1000a280
mov ecx, ecx
push 2
push ebx
call fcn.10067570
add esp, 8
mov ebx, eax
mov dl, dl
cmp dword [esp + 0x1c], ebx
je 0x100a5d7a
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
mov dh, dh
sub eax, dword [esp + 0x28]
cmp eax, dword [0x101ba8c0]
jae 0x100a5d7a
push ebx
call edi
test eax, eax
jne 0x100a5b55
jmp 0x100a5d7a
mov edx, dword [esp + 0x14]
push 0
lea ecx, [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push edx
push eax
push ecx
call fcn.100a1160
add esp, 0x18
mov bh, bh
test byte [esp + 0xc0], 0x20
je 0x100a5d95
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x30]
mov ecx, esi
call fcn.100a4b20
jmp 0x100a5da5
mov esi, dword [esp + 0x20]
lea edx, [esp + 0x30]
push edx
mov ecx, esi
call fcn.1000a210
mov dword [esp + 0x24], 1
mov byte [esp + 0xa4], 3
lea ecx, [esp + 0x14]
call fcn.1001ed40
mov byte [esp + 0xa4], 2
lea ecx, [esp + 0x18]
call fcn.1001ed40
mov byte [esp + 0xa4], 0
lea ecx, [esp + 0x30]
call fcn.10006800
mov eax, esi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.101179ba
add esp, 0x94
ret