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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d2083
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x1010d03c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x34]
mov ebx, dword [ebp + 8]
mov edi, 0x80400000
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x60], eax
mov byte [ebp - 0x4d], 0
call fcn.10004950
mov dword [ebp - 4], 0
lea eax, [ebp - 0x4d]
push eax
lea eax, [ebp - 0x34]
push eax
push ecx
push dword [ebp - 0x5c]
mov ecx, esi
push ebx
call fcn.10067610
test al, al
jne 0x10067bff
xor bl, bl
jmp 0x10067ec2
cmp byte [ebp - 0x4d], 0
mov eax, 0x80c0f000
mov ecx, esi
cmovne edi, eax
lea eax, [ebp - 0x34]
push edi
sub esp, 8
mov dword [ebp - 0x58], edi
push eax
push ebx
call fcn.100686b0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedExchange]
lea edi, [esi + 0x20]
test eax, eax
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x10067c99
mov dword [ebp - 0x1c], edi
call eax
push eax
push edi
call ebx
mov byte [ebp - 4], 1
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x34]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.10004ac0
mov ecx, dword [ebp - 0x54]
mov edx, eax
call fcn.10067b00
add esp, 0x10
mov dword [esi + 4], eax
push 0
push edi
call ebx
cmp dword [esi + 4], 0
jne 0x10067c8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x10067c8b
push dword [ebp - 0x58]
lea eax, [ebp - 0x34]
mov ecx, esi
sub esp, 8
push eax
push dword [ebp - 0x54]
call fcn.100686b0
mov byte [ebp - 4], 0
push 0
push edi
call ebx
mov eax, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [esi + 4], 0
je 0x10067d04
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x68], edi
call eax
push eax
push edi
call ebx
mov byte [ebp - 4], 2
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], 4
test eax, eax
je 0x10067ce6
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0x20000013
push eax
call fcn.10075050
mov ecx, eax
call fcn.100753b0
test eax, eax
je 0x10067ce6
mov eax, dword [ebp - 0x18]
jmp 0x10067ceb
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x6c], eax
mov byte [ebp - 4], 0
push 0
push edi
call ebx
cmp dword [ebp - 0x6c], 0x12e
jne 0x10067ebb
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
call ebx
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x58]
mov edx, dword [ebp - 0x5c]
or eax, 0x80200000
push ecx
mov ecx, dword [ebp - 0x54]
push eax
push dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x64]
call fcn.10067b00
add esp, 0x10
mov dword [esi + 4], eax
push 0
push edi
call ebx
cmp dword [esi + 4], 0
jne 0x10067d65
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x10067d65
push dword [ebp - 0x1c]
lea eax, [ebp - 0x34]
mov ecx, esi
sub esp, 8
push eax
push dword [ebp - 0x54]
call fcn.100686b0
mov byte [ebp - 4], 0
push 0
push edi
call ebx
cmp dword [esi + 4], 0
mov byte [ebp - 0x4d], 0
je 0x10067eac
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
call ebx
mov byte [ebp - 4], 4
mov eax, dword [esi + 4]
mov dword [ebp - 0x1c], 4
test eax, eax
je 0x10067dc7
push 0
lea ecx, [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0x20000013
push eax
call fcn.10075050
mov ecx, eax
call fcn.100753b0
test eax, eax
je 0x10067dc7
mov eax, dword [ebp - 0x18]
jmp 0x10067dcc
xor eax, eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 0
push 0
push edi
call ebx
cmp dword [ebp - 0x5c], 0x12e
jne 0x10067eac
push str.Location
lea ecx, [ebp - 0x88]
call fcn.10004900
mov byte [ebp - 4], 5
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.10068510
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.100048a0
lea ecx, [ebp - 0x4c]
call fcn.10004890
test al, al
jne 0x10067e9a
mov ecx, dword [esi + 4]
mov byte [ebp - 0x4d], 1
call fcn.100673c0
mov dword [ebp - 0x68], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push edi
call ebx
mov byte [ebp - 4], 8
push ecx
push dword [ebp - 0x58]
lea ecx, [ebp - 0x4c]
push dword [ebp - 0x60]
push dword [ebp - 0x64]
call fcn.10004ac0
mov ecx, dword [ebp - 0x54]
mov edx, eax
call fcn.10067b00
add esp, 0x10
mov dword [esi + 4], eax
push 0
push edi
call ebx
cmp dword [esi + 4], 0
jne 0x10067e91
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f19
jne 0x10067e91
push dword [ebp - 0x58]
lea eax, [ebp - 0x4c]
mov ecx, esi
sub esp, 8
push eax
push dword [ebp - 0x54]
call fcn.100686b0
mov byte [ebp - 4], 7
push 0
push edi
call ebx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.100048a0
cmp byte [ebp - 0x4d], 0
jne 0x10067ebb
mov ecx, dword [esi + 4]
call fcn.100673c0
mov dword [esi + 4], 0
cmp dword [esi + 4], 0
setne bl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.100048a0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10093f25
mov esp, ebp
pop ebp
ret 0x14