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

Disassembly:
push 0x240
mov eax, 0x100e2e45
call fcn.10001af6
mov eax, edx
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x224], ecx
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov esi, dword [ebp + 0x20]
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0x22c], ecx
mov ecx, dword [ebp + 0x10]
or dword [esi], 0xffffffff
mov dword [ebp - 0x240], ecx
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0x244], ecx
mov ecx, dword [ebp + 0x18]
push eax
mov dword [ebp - 0x24c], ecx
mov dword [ebp - 0x23c], edi
mov dword [ebp - 0x238], esi
call fcn.1000b2b4
mov dword [ebp - 0x230], eax
cmp byte [0x1017bdd5], bl
je 0x10071f69
test edi, edi
jne 0x10071ea5
push 0x21
pop eax
jmp 0x10072175
mov eax, dword [vtable.VprocessGlobals.0]
mov ecx, dword [ebp - 0x240]
mov edi, dword [eax + 0x24]
call fcn.10071b16
mov ecx, dword [ebp - 0x22c]
mov esi, eax
call fcn.10071af0
push esi
push eax
push dword [ebp - 0x230]
push dword [ebp - 0x234]
push dword [ebp - 0x224]
push str.lockFile_systemLock:_try_lock_file_s_mode__s_0x_x__s__s_n
push 5
push 0
push 0x10178fec
call edi
mov edi, dword [ebp - 0x23c]
add esp, 0x24
mov ecx, edi
push dword [ebp - 0x244]
push dword [ebp - 0x22c]
call fcn.1000b2b4
push dword [ebp - 0x224]
mov esi, eax
mov eax, dword [vtable.VprocessGlobals.0]
test esi, esi
je 0x10071f4a
push str.lock_fail
push str.lockFile_systemLock:__s_file_s_n
push 5
push 0
mov ebx, 0x10178fec
push ebx
call dword [eax + 0x24]
mov eax, dword [vtable.VprocessGlobals.0]
add esp, 0x18
mov ecx, ebx
push esi
push 0
call dword [eax + 0xc]
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
jmp 0x10071e9d
push str.got_lock
push str.lockFile_systemLock:__s_file_s_n
push 5
push 0
push 0x10178fec
call dword [eax + 0x24]
mov esi, dword [ebp - 0x238]
add esp, 0x18
mov ecx, dword [ebp - 0x224]
mov eax, 0x100ea6e8
test ecx, ecx
cmovne eax, ecx
lea ecx, [ebp - 0x228]
push eax
call fcn.1000b2b4
and dword [ebp - 4], 0
lea ecx, [ebp - 0x220]
call fcn.10005575
lea eax, [ebp - 0x228]
push eax
call fcn.1000b2b4
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x228]
lea ecx, [ecx - 0xc]
call sym.fpsrvutl.dll_Ordinal_5727
mov edx, dword [ebp - 0x22c]
lea eax, [ebp - 0x228]
mov ecx, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x23c]
push eax
push dword [ebp + 8]
call fcn.1000b2b4
mov ecx, dword [ebp - 0x240]
call fcn.10071b16
mov ecx, dword [ebp - 0x22c]
push eax
call fcn.10071af0
push eax
push dword [ebp - 0x230]
mov eax, dword [vtable.VprocessGlobals.0]
push dword [ebp - 0x234]
push dword [ebp - 0x224]
push str.lockFile:_try_lock__file_s_mode__s_0x_x__s__s_n
push 5
push 0
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x24
cmp dword [ebp - 0x240], 0
jne 0x100720e4
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x234], eax
cmp dword [ebp - 0x244], 0
je 0x1007205b
call dword [sym.imp.kernel32.dll_GetTickCount]
sub eax, dword [ebp - 0x234]
cmp eax, dword [ebp - 0x244]
jae 0x100720d3
push 0xffffffffffffffff
push dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push dword [ebp - 0x248]
push dword [ebp - 0x24c]
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push eax
call fcn.1000b2b4
mov dword [esi], eax
cmp eax, 0xffffffff
jne 0x100720d1
call dword [sym.imp.kernel32.dll_GetLastError]
mov ebx, eax
mov ecx, ebx
call fcn.10071ca8
sub ecx, 0x50
je 0x100720ab
sub ecx, 0x67
je 0x100720ab
xor cl, cl
jmp 0x100720ad
mov cl, 1
test al, al
jne 0x100720c1
test cl, cl
je 0x100720d3
test dword [ebp - 0x230], 0x400
jne 0x100720d3
push 0x1f4
call dword [sym.imp.kernel32.dll_Sleep]
jmp 0x1007203e
xor ebx, ebx
mov ecx, dword [esi]
cmp ecx, 0xffffffff
jne 0x10072123
push 0x21
test ebx, ebx
pop eax
cmove ebx, eax
jmp 0x10072123
push 0xffffffffffffffff
push dword [ebp - 0x228]
lea eax, [ebp - 0x220]
push dword [ebp - 0x248]
push dword [ebp - 0x24c]
push dword [ebp - 0x238]
push dword [ebp - 0x23c]
push eax
call fcn.1000b2b4
mov ecx, eax
mov dword [esi], ecx
cmp ecx, 0xffffffff
jne 0x10072123
call dword [sym.imp.kernel32.dll_GetLastError]
mov ecx, dword [esi]
mov ebx, eax
push dword [ebp - 0x224]
cmp ecx, 0xffffffff
mov eax, str.lock_fail
mov ecx, str.got_lock
cmovne eax, ecx
push eax
mov eax, dword [vtable.VprocessGlobals.0]
push str.lockFile:__s_file_s_n
push 5
push 0
push 0x10178fec
call dword [eax + 0x24]
add esp, 0x18
test edi, edi
je 0x10072168
mov eax, dword [esi]
mov dword [edi + 0xc], eax
cmp dword [esi], 0xffffffff
jne 0x10072168
mov ecx, edi
call sym.fpsrvutl.dll_Ordinal_571
lea ecx, [ebp - 0x220]
call fcn.100057a4
mov eax, ebx
call fcn.10001b2d
ret 0x1c