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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x100220c0]
xor eax, esp
mov dword [esp + 0x20], eax
cmp dword [0x1003b29c], 0
push ebx
push esi
push edi
mov edi, ecx
je 0x1000c6ba
mov eax, dword [0x1003b660]
cmp dword [eax], 0
jbe 0x1000c6ba
mov eax, dword [0x1003b1b4]
mov eax, dword [eax]
mov dword [esp + 0x18], eax
mov eax, dword [0x1003b614]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [0x11dcf95c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x18]
sub eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea ecx, [eax + edx]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x10]
mov eax, dword [0x1003b274]
mov ecx, dword [eax + ecx]
call fcn.10004b30
test eax, eax
jle 0x1000c6ba
cmp byte [0x1003b19f], 0
mov ebx, 0x1003b42c
mov esi, 0x1003b40c
jne 0x1000c294
mov eax, dword [0x1003b648]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [0x1003b1b0]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 0x14]
mov dword [esp + 0xc], ecx
mov eax, dword [0x1003b1b4]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [0x1003b614]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [0x11dcf95c]
mov eax, dword [eax]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x10]
sub eax, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
lea ecx, [eax + edx]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x1003b274]
mov eax, dword [esp + 0x18]
push dword [ecx + eax]
mov ecx, dword [esp + 0x10]
call ebx
mov ecx, eax
call esi
movss xmm0, dword [eax]
mov eax, dword [0x1003b648]
movss dword [0x11dd0ac0], xmm0
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [0x1003b1b0]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov eax, dword [0x1003b1b4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [0x1003b614]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [0x11dcf95c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + edx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x1003b274]
mov eax, dword [esp + 0x1c]
push dword [ecx + eax]
mov ecx, dword [esp + 0x1c]
call ebx
mov ecx, eax
call esi
movss xmm0, dword [eax + 4]
mov eax, dword [0x1003b648]
movss dword [0x11dd0ac4], xmm0
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [0x1003b1b0]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov eax, dword [0x1003b1b4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [0x1003b614]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [0x11dcf95c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + edx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x1003b274]
mov eax, dword [esp + 0x1c]
push dword [eax + ecx]
mov ecx, dword [esp + 0x1c]
call ebx
mov ecx, eax
call esi
mov edx, 0x73
mov ecx, 0x167
movss xmm0, dword [eax + 8]
movss dword [0x11dd0ac8], xmm0
call fcn.10002860
mov esi, dword [0x1003b270]
mov edx, 0xd6
mov ecx, 0x1ca
movss xmm0, dword [eax + esi]
movss dword [0x1003b644], xmm0
call fcn.10002860
mov edx, 0x183
mov ecx, 0xa7
movss xmm0, dword [eax + esi]
movss dword [0x1003b6fc], xmm0
call fcn.10002860
movss xmm0, dword [eax + esi]
mov esi, 0x1003b40c
movss dword [0x1003b65c], xmm0
cmp byte [0x1003b25e], 0
jne 0x1000c40e
mov eax, dword [0x1003b648]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [0x1003b1b0]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov eax, dword [0x1003b1b4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [0x1003b614]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [0x11dcf95c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + edx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x1003b274]
mov eax, dword [esp + 0x1c]
push dword [eax + ecx]
mov ecx, dword [esp + 0x1c]
call ebx
mov ecx, eax
call esi
movss xmm0, dword [eax]
mov eax, dword [0x1003b648]
movss dword [0x11dd0acc], xmm0
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [0x1003b1b0]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov eax, dword [0x1003b1b4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [0x1003b614]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [0x11dcf95c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + edx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x1003b274]
mov eax, dword [esp + 0x1c]
push dword [eax + ecx]
mov ecx, dword [esp + 0x1c]
call ebx
mov ecx, eax
call esi
movss xmm0, dword [eax + 4]
mov eax, dword [0x1003b648]
movss dword [0x11dd0ad0], xmm0
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [0x1003b1b0]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xc]
add ecx, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
mov eax, dword [0x1003b1b4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [0x1003b614]
mov eax, dword [eax]
mov dword [esp + 0x10], eax
mov eax, dword [0x11dcf95c]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0xc]
sub eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
lea ecx, [eax + edx]
mov dword [esp + 0x1c], ecx
mov ecx, dword [0x1003b274]
mov eax, dword [esp + 0x1c]
push dword [eax + ecx]
mov ecx, dword [esp + 0x1c]
call ebx
mov ecx, eax
call esi
movss xmm0, dword [eax + 8]
movss dword [0x11dd0ad4], xmm0
cmp byte [0x1003b19f], 0
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1000c476
push 0x45
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x1000c460
cmp byte [0x11dd0d00], 0
je 0x1000c452
cmp dword [0x11dd0d04], 0
je 0x1000c467
call ebx
cmp dword [0x11dd0d04], eax
ja 0x1000c467
mov byte [0x11dd0d00], 1
mov eax, 1
jmp 0x1000c469
mov byte [0x11dd0d00], 0
xor eax, eax
test eax, eax
je 0x1000c476
mov byte [0x1003b19f], 1
jmp 0x1000c483
cmp byte [0x1003b19f], 1
jne 0x1000c65c
movq xmm0, qword [0x11dd0ac0]
mov esi, dword [0x11dd0ac8]
movq qword [esp + 0x20], xmm0
movss xmm1, dword [esp + 0x24]
movss xmm2, dword [esp + 0x20]
subss xmm2, dword [0x11dd0acc]
subss xmm1, dword [0x11dd0ad0]
mov dword [esp + 0x28], esi
movss xmm0, dword [esp + 0x28]
subss xmm0, dword [0x11dd0ad4]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
xorps xmm1, xmm1
addss xmm2, xmm0
cvtps2pd xmm0, xmm2
ucomisd xmm1, xmm0
ja 0x1000c4eb
sqrtsd xmm0, xmm0
jmp 0x1000c4f0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
cvtsd2ss xmm0, xmm0
sub esp, 0xc
mov edx, edi
mov eax, esp
xorps xmm1, xmm1
cvtss2sd xmm1, xmm0
movsd xmm0, qword [0x1001f010]
comisd xmm0, xmm1
movq xmm0, qword [0x11dd0ac0]
movq qword [eax], xmm0
mov dword [eax + 8], esi
jbe 0x1000c64f
mov ecx, str.Tekan_E_Untuk_Teleport
call fcn.1000bcc0
add esp, 0xc
mov dword [0x1003b68c], 0x10002470
push 0x45
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x1000c573
cmp byte [0x11dd0d00], 0
je 0x1000c565
cmp dword [0x11dd0d04], 0
je 0x1000c57a
call ebx
cmp dword [0x11dd0d04], eax
ja 0x1000c57a
mov byte [0x11dd0d00], 1
mov eax, 1
jmp 0x1000c57c
mov byte [0x11dd0d00], 0
xor eax, eax
test eax, eax
je 0x1000c65c
movss xmm0, dword [0x1003b644]
mov edx, 0x73
mov ecx, 0x167
movss dword [esp + 0xc], xmm0
call fcn.10002860
mov esi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, eax
add edi, dword [0x1003b270]
push 4
push edi
call esi
test eax, eax
jne 0x1000c5cb
push 4
push edi
call esi
test eax, eax
jne 0x1000c5cb
movss xmm0, dword [esp + 0xc]
movss dword [edi], xmm0
movss xmm0, dword [0x1003b6fc]
mov edx, 0xd6
mov ecx, 0x1ca
movss dword [esp + 0xc], xmm0
call fcn.10002860
mov edi, eax
add edi, dword [0x1003b270]
push 4
push edi
call esi
test eax, eax
jne 0x1000c60c
push 4
push edi
call esi
test eax, eax
jne 0x1000c60c
movss xmm0, dword [esp + 0xc]
movss dword [edi], xmm0
movss xmm0, dword [0x1003b65c]
mov edx, 0x183
mov ecx, 0xa7
movss dword [esp + 0xc], xmm0
call fcn.10002860
mov edi, eax
add edi, dword [0x1003b270]
push 4
push edi
call esi
test eax, eax
jne 0x1000c65c
push 4
push edi
call esi
test eax, eax
jne 0x1000c65c
movss xmm0, dword [esp + 0xc]
movss dword [edi], xmm0
jmp 0x1000c65c
mov ecx, str.Lokasi_Anda_Terlalu_Jauh
call fcn.1000bcc0
add esp, 0xc
push 0x52
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x1000c69f
cmp byte [0x11dd0d68], 0
je 0x1000c691
cmp dword [0x11dd0d6c], 0
je 0x1000c6a6
call ebx
cmp dword [0x11dd0d6c], eax
ja 0x1000c6a6
mov byte [0x11dd0d68], 1
mov eax, 1
jmp 0x1000c6a8
mov byte [0x11dd0d68], 0
xor eax, eax
test eax, eax
je 0x1000c6ba
mov byte [0x1003b19f], 0
mov byte [0x1003b25e], 0
mov ecx, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10019955
mov esp, ebp
pop ebp
ret