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

Disassembly:
sub esp, 0x14
push esi
push edi
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6bf114
mov dword [esi], str.TtProcessCollCollMid
rdtsc
mov dword [esp + 0xc], eax
mov ecx, dword [esp + 0xc]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov ecx, dword [eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], eax
mov ecx, dword [ecx]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
call edx
push dword [0x884adc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x10], eax
call edi
cmp dword [eax + 8], 0x4000
mov edx, dword [eax + 0xc]
mov dword [esp + 0x18], edx
lea ecx, [edx + 0x4000]
jl 0x6bf165
cmp ecx, dword [eax + 0x10]
ja 0x6bf165
mov dword [eax + 0xc], ecx
jmp 0x6bf177
push 0x4000
mov ecx, eax
call fcn.0046a3c0
mov edx, eax
mov dword [esp + 0x18], eax
push edx
push dword [esp + 0x10]
push dword [esp + 0x18]
push esi
call fcn.006be650
mov esi, eax
add esp, 0x10
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], esi
cmp dword [eax + 8], 0
jne 0x6bf2bf
mov eax, dword [esp + 0x24]
add esi, esi
mov dword [esp + 0x14], esi
mov dword [eax], esi
push dword [0x884c50]
call edi
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6bf1d4
mov dword [esi], 0x7c2650
rdtsc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x18]
mov ecx, edx
mov dword [esp + 0x20], edx
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x6bf287
mov edi, 0x7f
sub edi, dword [esi + 8]
jne 0x6bf243
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x200
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [ecx], eax
mov dword [eax], edi
mov edi, 0x7f
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 0
cmp eax, edi
cmovl edi, eax
xor eax, eax
test edi, edi
jle 0x6bf26e
nop
mov edx, dword [esi + 8]
mov esi, dword [esp + 0x10]
mov ecx, dword [ecx + eax*4]
inc eax
mov dword [esi + edx*4 + 4], ecx
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
inc dword [esi + 8]
cmp eax, edi
jl 0x6bf250
mov eax, dword [esp + 0x14]
lea ecx, [ecx + edi*4]
sub eax, edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
test eax, eax
jg 0x6bf1f5
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6bf47a
mov dword [esi], 0x77f5ec
rdtsc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
jmp 0x6bf47a
push dword [0x884adc]
call edi
lea edx, [esi*4 + 0x83]
and edx, 0xffffff80
mov dword [esp + 8], edx
mov edi, dword [eax + 0xc]
mov dword [esp + 0xc], edi
lea ecx, [edx + edi]
cmp edx, dword [eax + 8]
jg 0x6bf2ee
cmp ecx, dword [eax + 0x10]
ja 0x6bf2ee
mov dword [eax + 0xc], ecx
jmp 0x6bf2fc
push edx
mov ecx, eax
call fcn.0046a3c0
mov edi, eax
mov dword [esp + 0xc], eax
xor ecx, ecx
test esi, esi
js 0x6bf31d
mov edx, dword [esp + 0x18]
add edx, 4
nop dword [eax]
mov eax, dword [edx]
lea edx, [edx + 8]
mov dword [edi + ecx*4], eax
inc ecx
cmp ecx, esi
jle 0x6bf310
mov eax, dword [esp + 0x24]
mov dword [eax], esi
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0x10], eax
mov esi, dword [eax + 4]
cmp esi, dword [eax + 0xc]
jae 0x6bf358
mov dword [esi], 0x7c2650
rdtsc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x10]
mov dword [ecx + 4], eax
mov esi, dword [esp + 0x28]
mov ecx, edi
mov dword [esp + 0x20], ecx
mov eax, dword [esi + 4]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x6bf40f
mov edi, 0x7f
sub edi, dword [esi + 8]
jne 0x6bf3c3
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x200
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x10], eax
mov dword [ecx], eax
mov dword [eax], edi
mov edi, 0x7f
mov ecx, dword [esi + 4]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 8], 0
cmp eax, edi
cmovl edi, eax
xor edx, edx
test edi, edi
jle 0x6bf3f6
nop
mov ecx, dword [esi + 8]
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
mov eax, dword [eax + edx*4]
inc edx
mov dword [esi + ecx*4 + 4], eax
mov esi, dword [esp + 0x28]
inc dword [esi + 8]
cmp edx, edi
jl 0x6bf3d0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x20]
sub eax, edi
lea ecx, [ecx + edi*4]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
test eax, eax
jg 0x6bf375
mov edi, dword [esp + 0xc]
push dword [0x884c50]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [esp + 0xc], eax
mov esi, dword [eax + 4]
cmp esi, dword [eax + 0xc]
jae 0x6bf444
mov dword [esi], 0x77f5ec
rdtsc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0xc]
mov dword [ecx + 4], eax
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [esp + 8]
lea edx, [ecx + 0xf]
and edx, 0xfffffff0
cmp ecx, dword [eax + 8]
jg 0x6bf471
lea ecx, [edx + edi]
cmp ecx, dword [eax + 0xc]
jne 0x6bf471
cmp dword [eax + 0x14], edi
je 0x6bf471
mov dword [eax + 0xc], edi
jmp 0x6bf47a
push edx
push edi
mov ecx, eax
call fcn.0046a590
push dword [0x884adc]
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
call edi
mov edx, dword [esp + 0x18]
cmp dword [eax + 8], 0x4000
jl 0x6bf4aa
lea ecx, [edx + 0x4000]
cmp ecx, dword [eax + 0xc]
jne 0x6bf4aa
cmp dword [eax + 0x14], edx
je 0x6bf4aa
mov dword [eax + 0xc], edx
jmp 0x6bf4b7
push 0x4000
push edx
mov ecx, eax
call fcn.0046a590
push dword [0x884c50]
call edi
mov edi, eax
mov esi, dword [edi + 4]
cmp esi, dword [edi + 0xc]
jae 0x6bf4e2
mov dword [esi], 0x77f5ec
rdtsc
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x20]
lea eax, [esi + 0xc]
mov dword [esi + 4], ecx
mov dword [edi + 4], eax
mov eax, dword [esp + 0x24]
pop edi
add eax, 0x10
pop esi
add esp, 0x14
ret