Function at 0x4ff800
Capabilities:
Execute anti-debugging instructions
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x30c8
call fcn.00607e10
push esi
push edi
push dword [0x884c50]
mov dword [esp + 0x2c], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x4ff845
mov dword [esi], str.TtRecollide_PSI
rdtsc
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x10]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov eax, dword [esp + 0x28]
xor esi, esi
mov dword [esp + 0x20], esi
mov eax, dword [eax + 0xc]
inc dword [eax + 0x94]
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0xffffffff
mov ecx, dword [eax + 8]
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], connect
test ecx, ecx
js 0x4ff8a8
mov eax, dword [eax]
cmp dword [eax], 0xffffffff
jne 0x4ff8a1
inc esi
add eax, 8
cmp esi, ecx
jle 0x4ff894
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], esi
cmp esi, ecx
jg 0x4ffa22
mov eax, dword [eax]
mov eax, dword [eax + esi*8 + 4]
mov dword [esp + 0x24], eax
lea ecx, [eax + 0x10]
call fcn.006ad030
mov ecx, eax
mov dword [esp + 0x10], 0
mov dword [esp + 0x2c], ecx
mov eax, dword [ecx + 4]
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x4ff9e9
mov esi, dword [esp + 0x10]
mov ecx, dword [ecx]
push 0
mov edi, dword [ecx + esi*8]
lea ecx, [esp + 0x34]
push edi
call fcn.0046b890
test eax, eax
jne 0x4ff9d6
mov eax, dword [esp + 0x28]
xorps xmm1, xmm1
movsx ecx, byte [edi + 0xc]
mov edx, dword [esp + 0x24]
add ecx, 0x73
shl ecx, 6
mov eax, dword [eax + 0xc]
movss xmm0, dword [edx + 0x14c]
add ecx, dword [eax + 0x80]
ucomiss xmm0, xmm1
mov eax, dword [ecx + 0x10]
mov dword [esp + 0x10], eax
mov al, byte [ecx + 0x14]
lahf
test ah, 0x44
jp 0x4ff939
mov cl, 1
jmp 0x4ff93b
xor cl, cl
cmp dword [esp + 0x10], 0
je 0x4ff952
test al, al
je 0x4ff9d6
test cl, cl
je 0x4ff9d6
cmp byte [edx + 0xe8], 5
mov eax, dword [edx + 0xcc]
mov dword [esp + 0x10], eax
jne 0x4ff987
mov eax, dword [edi + 0x14]
mov ecx, dword [edi + 0x10]
movsx edx, byte [eax + 0x10]
add edx, eax
movsx eax, byte [ecx + 0x10]
add eax, ecx
xor edx, eax
xor edx, dword [esp + 0x24]
mov eax, dword [edx + 0xcc]
mov dword [esp + 0x10], eax
push 1
push edi
push 0x7d8954
lea ecx, [esp + 0x3c]
call fcn.0046ba50
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
and eax, 0x3fffffff
cmp ecx, eax
jne 0x4ff9c1
push 8
lea eax, [esp + 0x18]
push eax
push 0x7d8954
call fcn.00467c00
mov ecx, dword [esp + 0x24]
add esp, 0xc
mov eax, dword [esp + 0x14]
lea eax, [eax + ecx*8]
inc ecx
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
mov dword [eax], edi
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x2c]
inc esi
cmp esi, dword [esp + 0x3c]
jl 0x4ff8e3
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
call fcn.0045c160
mov eax, dword [ebp + 0xc]
inc esi
mov dword [esp + 0x20], esi
mov edx, dword [eax + 8]
cmp esi, edx
jg 0x4ffa22
mov eax, dword [eax]
lea eax, [eax + esi*8]
cmp dword [eax], 0xffffffff
jne 0x4ffa13
inc esi
add eax, 8
cmp esi, edx
jle 0x4ffa06
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x20], esi
cmp esi, edx
jle 0x4ff8b0
mov ecx, eax
call fcn.0046b370
xor esi, esi
cmp dword [esp + 0x18], esi
jle 0x4ffadd
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x14]
mov ecx, dword [edx]
mov edi, dword [eax + esi*8]
mov eax, dword [eax + esi*8 + 4]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x40], eax
lea eax, [ecx + 0x1d00]
mov dword [edx + 0x60], eax
mov dword [esp + 0x3090], 0
mov dword [esp + 0x3094], 0
mov dword [esp + 0x3070], 0x7f7fffee
mov dword [esp + 0x30c0], 0
movsx eax, byte [edi + 0xc]
shl eax, 6
mov eax, dword [eax + ecx + 0x1cd0]
mov dword [edx + 0x18], eax
lea eax, [esp + 0x40]
push dword [edi + 8]
push eax
push edx
push edi
call fcn.006ad820
add esp, 0x10
cmp dword [0x8d7868], 1
je 0x4ffadd
lea eax, [esp + 0x50]
cmp dword [esp + 0x40], eax
je 0x4ffad2
mov ecx, dword [edi + 8]
lea edx, [esp + 0x40]
push edx
push dword [ebp + 8]
push dword [edi + 0x14]
mov eax, dword [ecx]
push dword [edi + 0x10]
call dword [eax + 0x18]
inc esi
cmp esi, dword [esp + 0x18]
jl 0x4ffa35
mov eax, dword [esp + 0x28]
mov esi, dword [eax + 0xc]
add dword [esi + 0x94], 0xffffffff
jne 0x4ffb1f
cmp byte [esi + 0x9c], 0
jne 0x4ffb1f
cmp dword [esi + 0x8c], 0
je 0x4ffb06
mov ecx, esi
call fcn.00510540
cmp dword [esi + 0xa4], 1
jne 0x4ffb1f
cmp dword [esi + 0x90], 0
je 0x4ffb1f
mov ecx, esi
call fcn.00510560
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x4ffb4e
mov dword [esi], 0x77f5ec
rdtsc
mov dword [esp + 0x2c], eax
mov ecx, dword [esp + 0x2c]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
test eax, eax
js 0x4ffb78
and eax, 0x3fffffff
mov ecx, 0x7d8954
shl eax, 3
push eax
mov eax, dword [0x7d8954]
push dword [esp + 0x18]
call dword [eax + 0x10]
push 0x7d8954
lea ecx, [esp + 0x34]
mov dword [esp + 0x18], 0
mov dword [esp + 0x20], connect
call fcn.0046b3e0
lea ecx, [esp + 0x30]
call fcn.0046b110
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8