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

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
push 0x800
xor edi, edi
push edi
push dword [0x1000a290]
mov esi, eax
mov eax, dword [0x1000a3a0]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], 8
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, eax
cmp ebx, edi
je 0x10006d7d
cmp esi, edi
jne 0x10006b0a
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
mov eax, dword [0x1000a018]
push esi
push dword [0x1000a004]
bswap eax
push dword [0x1000a02c]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push eax
mov eax, dword [0x1000a014]
bswap eax
push eax
mov eax, dword [0x1000a010]
bswap eax
push eax
mov eax, dword [0x1000a00c]
bswap eax
push eax
mov eax, dword [0x1000a300]
push 0x3d190
push 2
lea eax, [eax + 0x1000b796]
push eax
push ebx
call ebp
add esp, 0x2c
mov esi, eax
call fcn.10004dc1
push eax
mov eax, dword [0x1000a300]
lea eax, [eax + 0x1000b5d9]
push eax
lea eax, [esi + ebx]
push eax
call ebp
add esp, 0xc
add esi, eax
cmp dword [esp + 0x24], edi
je 0x10006b96
mov eax, dword [0x1000a300]
push dword [esp + 0x24]
lea eax, [eax + 0x1000b4e6]
push eax
lea eax, [esi + ebx]
push eax
call ebp
add esp, 0xc
add esi, eax
mov eax, dword [0x1000a300]
lea eax, [eax + 0x1000b437]
push edi
push eax
lea eax, [esi + ebx]
push eax
call ebp
add esp, 0xc
add esi, eax
call fcn.100043e5
mov edi, eax
test edi, edi
je 0x10006be0
mov eax, dword [0x1000a300]
lea eax, [eax + 0x1000b8c6]
push edi
push eax
lea eax, [esi + ebx]
push eax
call ebp
add esp, 0xc
push edi
push 0
push dword [0x1000a290]
add esi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
call fcn.10003a27
mov edi, eax
test edi, edi
je 0x10006c12
mov eax, dword [0x1000a300]
lea eax, [eax + 0x1000b8ce]
push edi
push eax
lea eax, [esi + ebx]
push eax
call ebp
add esp, 0xc
push edi
push 0
push dword [0x1000a290]
add esi, eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov edi, dword [0x1000a384]
add edi, 4
mov eax, 0x1000a00a
call fcn.10002e6c
mov dword [esp + 0x24], eax
mov eax, dword [0x1000a324]
xor edi, edi
cmp eax, edi
je 0x10006c49
push eax
mov eax, dword [0x1000a300]
lea eax, [eax + 0x1000b8af]
push eax
add esi, ebx
push esi
call ebp
add esp, 0xc
cmp dword [esp + 0x24], edi
je 0x10006d6f
push 0x800
push edi
push dword [0x1000a290]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
cmp esi, edi
je 0x10006d5e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
call fcn.1000750f
mov eax, dword [0x1000a384]
add eax, 0x40
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x1000a384]
xor ecx, ecx
add eax, 0x58
inc ecx
lock xadd dword [eax], ecx
mov eax, dword [0x1000a384]
add eax, 0x40
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [0x1000a384]
push dword [eax]
push ebx
call fcn.1000263a
mov ebp, eax
mov eax, dword [0x1000a384]
add eax, 0x58
or ecx, 0xffffffff
lock xadd dword [eax], ecx
cmp ebp, edi
je 0x10006d50
push 0x100092a0
push ebp
call dword [sym.imp.SHLWAPI.dll_StrTrimA]
push ebp
call fcn.1000209a
mov dword [esp + 0x14], eax
cmp eax, edi
je 0x10006d42
push dword [esp + 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebp
call edi
push dword [esp + 0x24]
push esi
call edi
push dword [esp + 0x14]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatA]
push esi
call edi
push ebp
push esi
call edi
push dword [esp + 0x2c]
push dword [esp + 0x2c]
push esi
call fcn.10007326
mov dword [esp + 0x18], eax
test eax, eax
je 0x10006d2e
cmp eax, 0x10d2
je 0x10006d2e
call fcn.10001d61
push dword [esp + 0x14]
push 0
push dword [0x1000a290]
call dword [sym.imp.KERNEL32.dll_HeapFree]
xor edi, edi
push ebp
push edi
push dword [0x1000a290]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push esi
push edi
push dword [0x1000a290]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push dword [esp + 0x24]
push edi
push dword [0x1000a290]
call dword [sym.imp.KERNEL32.dll_HeapFree]
push ebx
push edi
push dword [0x1000a290]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc