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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
mov eax, 0x30b4
call fcn.0042ddc0
mov eax, dword [0x4c6074]
push ebx
push esi
push edi
push eax
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x46ee06
mov dword [esi], str.TtNarrowPhase
rdtsc
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov dword [esi + 4], edx
add esi, 0xc
mov dword [ecx + 4], esi
fld dword [0x4b33d8]
mov eax, dword [ebp + 8]
fstp dword [esp + 0x3060]
xor edx, edx
cmp dword [eax + 0x60], edx
fldz
fst dword [esp + 0x3080]
mov dword [esp + 0x34], eax
fstp dword [esp + 0x3084]
jle 0x46ef5d
mov edi, dword [ebp + 0xc]
jmp 0x46ee40
mov ecx, dword [eax + 0x5c]
mov esi, dword [ecx + edx*4]
add edx, 1
cmp edx, dword [eax + 0x60]
mov dword [esp + 0x28], edx
jne 0x46ee5d
mov ecx, dword [eax + 0x58]
add ecx, esi
mov dword [esp + 0x18], ecx
jmp 0x46ee67
lea ecx, [esi + 0x200]
mov dword [esp + 0x18], ecx
cmp esi, ecx
jae 0x46ef54
mov edx, dword [esi + 0x10]
fld dword [0x4b33d8]
movsx ecx, byte [esi + 0xc]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x20], edx
mov edx, dword [edi]
mov dword [esp + 0x2c], eax
shl ecx, 6
lea eax, [ecx + edx + 0x1c20]
mov dword [edi + 0x60], eax
mov eax, dword [eax + 0x10]
lea ecx, [esp + 0x40]
mov dword [edi + 0x10], eax
fstp dword [esp + 0x3060]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x30b0], 0
mov edx, dword [esi + 8]
push edx
lea eax, [esp + 0x34]
push eax
push edi
push esi
call fcn.0047a3d0
mov ebx, dword [0x4c606c]
mov edx, dword [ebx]
mov edx, dword [edx + 0x60]
add esp, 0x10
push 0
lea eax, [esp + 0x23]
push eax
mov ecx, ebx
call edx
cmp byte [eax], 0
je 0x46ef95
mov eax, 1
cmp dword [ebx + 4], eax
je 0x46efd5
lea eax, [esp + 0x40]
cmp dword [esp + 0x30], eax
je 0x46ef1a
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x30]
push edi
push eax
mov eax, dword [esp + 0x2c]
push eax
call edx
fld dword [esp + 0x3060]
fcomp qword [0x4b7fa8]
fnstsw ax
test ah, 0x44
jnp 0x46ef3d
mov ecx, dword [esp + 0x24]
push esi
lea eax, [esp + 0x34]
push eax
call fcn.0046dbe0
movzx ecx, byte [esi + 3]
add esi, ecx
cmp esi, dword [esp + 0x18]
jb 0x46ee6f
mov edx, dword [esp + 0x28]
mov eax, dword [ebp + 8]
cmp edx, dword [eax + 0x60]
jl 0x46ee40
mov eax, dword [0x4c6074]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
mov ecx, dword [esi + 4]
cmp ecx, dword [esi + 0xc]
jae 0x46ef8c
mov dword [ecx], 0x4b2454
rdtsc
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov dword [ecx + 4], edx
add ecx, 0xc
mov dword [esi + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebx + 4], 1
mov edx, dword [0x4c6074]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x46ef8c
mov dword [esi], 0x4b2454
rdtsc
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
add esi, 0xc
mov dword [ecx + 4], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [ebx + 4], eax
mov ecx, dword [0x4c6074]
push ecx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
mov esi, dword [ecx + 4]
cmp esi, dword [ecx + 0xc]
jae 0x46ef8c
mov dword [esi], 0x4b2454
rdtsc
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x18]
mov dword [esi + 4], edx
add esi, 0xc
pop edi
mov dword [ecx + 4], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8