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

Disassembly:
mov eax, 0x101e6a2c
call fcn.10042430
sub esp, 0x38
lea eax, [ebp - 0x38]
push esi
push eax
call fcn.1004018a
xor esi, esi
cmp dword [ebp + 0x10], esi
mov dword [ebp - 0x1c], esi
je 0x1003a8fe
cmp dword [ebp + 8], esi
je 0x1003a8fe
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub eax, dword [ebp + 0x10]
xor edx, edx
mov esi, 0x3e8
div esi
mov ebx, str.SyncTimeDrv
mov edi, 0x1027b02c
mov esi, eax
mov eax, dword [0x1027b8c0]
add esi, dword [ebp + 8]
test eax, eax
je 0x1003a7ac
push dword [ebp + 0x10]
push ecx
push dword [ebp + 8]
push str.CTSDEncryptDrv::CalcTimeInterval_1___08x___08x____08x_
push ebx
push 0xffffffffffffffff
push edi
call fcn.10085230
add esp, 0x1c
push dword [ebp + 0xc]
call fcn.10044850
imul eax, eax, 0x3c
cmp dword [ebp + 0xc], 0
pop ecx
mov dword [ebp - 0x14], eax
jl 0x1003a7c5
sub esi, eax
jmp 0x1003a7c7
add esi, eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], esi
push eax
call fcn.10166a00
and dword [ebp - 0x24], 0
pop ecx
fldz
push 0
lea ecx, [ebp - 0x10]
fstp qword [ebp - 0x2c]
call fcn.101d18f0
push dword [eax]
lea ecx, [ebp - 0x10]
push 0
call fcn.101d18f0
push dword [eax + 4]
lea ecx, [ebp - 0x10]
push 0
call fcn.101d18f0
push dword [eax + 8]
lea ecx, [ebp - 0x10]
push 0
call fcn.101d18f0
push dword [eax + 0xc]
lea ecx, [ebp - 0x10]
push 0
call fcn.101d18f0
mov eax, dword [eax + 0x10]
lea ecx, [ebp - 0x10]
inc eax
push eax
push 0
call fcn.101d18f0
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x2c]
add eax, 0x76c
push eax
call fcn.100407bc
mov eax, dword [0x1027b8c0]
test eax, eax
je 0x1003a884
lea eax, [ebp - 0x18]
push str._Y__m__d__H:_M:_S
push eax
lea ecx, [ebp - 0x2c]
call fcn.10040939
push dword [ebp + 0xc]
and dword [ebp - 4], 0
push dword [ebp - 0x14]
push dword [ebp + 0x10]
push dword [ebp + 8]
push esi
push dword [eax]
push str.CTSDEncryptDrv::CalcTimeInterval_2___S__lu__lu__lu__lu__lu_
push ebx
push 0xffffffffffffffff
push edi
call fcn.10085230
or dword [ebp - 4], 0xffffffff
add esp, 0x28
lea ecx, [ebp - 0x18]
call fcn.101d3c0b
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.1004075d
fld qword [ebp - 0x44]
fmul qword [0x101fb960]
fadd qword [0x101fb958]
call fcn.1004485c
cmp dword [0x1027b8c0], 0
cdq
mov esi, eax
mov dword [ebp - 0x1c], edx
je 0x1003a8f2
lea eax, [ebp + 0x10]
push str._Y__m__d__H:_M:_S
push eax
lea ecx, [ebp - 0x38]
call fcn.10040939
push dword [ebp - 0x1c]
mov dword [ebp - 4], 1
push esi
push dword [eax]
push str.CTSDEncryptDrv::CalcTimeInterval_3_current__S___interval__I64d__s
push ebx
push 0xffffffffffffffff
push edi
call fcn.10085230
or dword [ebp - 4], 0xffffffff
add esp, 0x1c
lea ecx, [ebp + 0x10]
call fcn.101d3c0b
fld qword [ebp - 0x2c]
mov eax, dword [ebp + 0x14]
pop edi
pop ebx
fstp qword [eax]
jmp 0x1003a92d
fld qword [ebp - 0x38]
mov eax, dword [ebp + 0x14]
fstp qword [eax]
cmp dword [0x1027b8c0], esi
je 0x1003a92d
push dword [ebp + 0x10]
push dword [ebp + 8]
push str.CTSDEncryptDrv::CalcTimeInterval_4_NO_interval__ServerTime_0x_x___tick_0x_x_
push str.SyncTimeDrv
push 0xffffffffffffffff
push 0x1027b02c
call fcn.10085230
add esp, 0x18
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp - 0x1c]
mov dword [ecx], eax
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret 0x14