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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x21047dec
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x238
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, dword [ebp + 0x10]
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 0x14], 0
je 0x21007cd7
mov eax, dword [ebp + 0x14]
mov dword [eax], 0
cmp dword [ebp + 0x18], 0
je 0x21007ce6
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
lea ecx, [ebp - 0x130]
call fcn.21029510
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
mov byte [ebp - 0x114], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x230], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x22f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov edx, dword [ebp + 0xc]
push edx
call fcn.21004240
test eax, eax
jne 0x21007da0
lea ecx, [ebp - 0x130]
call fcn.21016750
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0x234]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x21053690
lea edx, [ebp - 0x114]
push edx
call fcn.2103021c
add esp, 0x10
lea ecx, [ebp - 0x130]
call fcn.210083e0
test eax, eax
je 0x21007da0
cmp dword [ebp - 0x234], 0
jne 0x21007da0
push 0xffffffffffffffff
mov eax, dword [ebp + 0xc]
push eax
push str._s__08X
lea ecx, [ebp - 0x230]
push ecx
call fcn.2103021c
add esp, 0x10
mov edx, dword [ebp + 8]
push edx
call fcn.21004240
test eax, eax
jne 0x21007dbc
push 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x238], 0
movsx ecx, byte [ebp - 0x114]
test ecx, ecx
je 0x21007e63
cmp dword [ebp + 0x18], 0
jne 0x21007e15
lea edx, [ebp - 0x114]
push edx
call fcn.2102b9b7
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x21007e13
movsx eax, byte [ebp - 0x230]
test eax, eax
je 0x21007e13
lea ecx, [ebp - 0x230]
push ecx
call fcn.2102b9b7
mov dword [ebp - 0x238], eax
jmp 0x21007e63
push 0x1f4
lea edx, [ebp - 0x114]
push edx
call fcn.2102b9fa
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jne 0x21007e63
movsx ecx, byte [ebp - 0x230]
test ecx, ecx
je 0x21007e63
push 0x1f4
lea edx, [ebp - 0x230]
push edx
call fcn.2102b9fa
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x238], eax
cmp dword [ebp + 0x14], 0
je 0x21007e74
cmp dword [ebp - 0x10], 0
je 0x21007e74
jmp 0x21007f3a
cmp dword [ebp + 0x18], 0
je 0x21007e85
cmp dword [ebp - 0x14], 0
je 0x21007e85
jmp 0x21007f3a
cmp dword [ebp - 0x10], 0
je 0x21007e96
cmp dword [ebp + 0x18], 0
jne 0x21007e96
jmp 0x21007f3a
cmp dword [ebp - 0x238], 0
je 0x21007eaa
cmp dword [ebp + 0x14], 0
jne 0x21007eaa
jmp 0x21007f3a
cmp dword [ebp + 0x10], 0
je 0x21007ebe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x118]
jbe 0x21007ee5
mov dword [ebp - 0x23c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.210297de
mov eax, dword [ebp - 0x23c]
jmp 0x21007f78
movsx ecx, byte [ebp - 0x114]
test ecx, ecx
je 0x21007f02
push 0x1f4
lea edx, [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0
push 0
push 0
call fcn.2102dd2d
test eax, eax
jne 0x21007f35
mov dword [ebp - 0x240], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.210297de
mov eax, dword [ebp - 0x240]
jmp 0x21007f78
jmp 0x21007da0
cmp dword [ebp + 0x14], 0
je 0x21007f48
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp + 0x18], 0
je 0x21007f56
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp - 0x14]
mov dword [edx], eax
mov dword [ebp - 0x244], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x130]
call fcn.210297de
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret 0x14