Function at 0x6d8f70
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [ebp + 8]
push esi
push edi
push dword [0x884adc]
mov eax, dword [eax]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov esi, dword [eax]
mov dword [esp + 0x44], esi
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, eax
mov dword [esp + 0x1c], eax
test ecx, ecx
je 0x6d8fc6
mov dword [ecx], 0
jmp 0x6d8fcc
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, dword [esi]
lea edx, [esi + 0x10]
add esi, 0x10
mov dword [esp + 0x2c], 1
add eax, esi
mov byte [esp + 0x13], 0
lea esi, [ecx + 0x10]
mov dword [esp + 0x48], eax
add ecx, 0x200
mov dword [esp + 0x28], edx
xor eax, eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x14], esi
movzx eax, byte [edx + 3]
lea edi, [esi + 8]
shr eax, 4
mov dword [esp + 0x24], eax
lea eax, [edx + 0xc]
sub edx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], edx
nop dword [eax]
mov ecx, dword [eax - 8]
lea edi, [edi + 0x10]
mov esi, dword [eax]
mov edx, dword [edx + edi - 0x10]
mov eax, dword [eax - 0xc]
mov dword [edi - 0x14], ecx
mov ecx, dword [esp + 0x24]
mov dword [edi - 0x18], eax
dec ecx
mov eax, dword [esp + 0x20]
add eax, 0x10
mov dword [edi - 0x10], edx
mov edx, dword [esp + 0x18]
mov dword [edi - 0xc], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
test ecx, ecx
jg 0x6d9020
mov edx, dword [esp + 0x28]
mov ecx, 0x10
mov esi, dword [esp + 0x14]
movzx eax, byte [edx + 3]
add edx, eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x28], edx
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x50], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x60], xmm0
movzx eax, byte [esi]
and eax, 0xf7
dec eax
cmp eax, 5
ja case.default.0x6d9090
jmp dword [eax*4 + 0x6d9450]
mov ecx, 0x20
lea eax, [ecx + esi]
push eax
lea eax, [esp + 0x54]
push esi
push eax
call dword [ebp + 0x10]
mov edx, dword [esp + 0x34]
add esp, 0xc
mov esi, eax
jmp 0x6d90b6
add esi, ecx
mov dword [esp + 0x14], esi
cmp edx, dword [esp + 0x48]
jne 0x6d911a
mov edi, dword [esp + 0x38]
test edi, edi
je 0x6d90e2
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x200
push edi
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
mov edx, dword [ebp + 8]
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x38], eax
cmp ecx, dword [edx + 4]
jge 0x6d9365
mov eax, dword [edx]
mov edi, dword [eax + ecx*4]
mov dword [esp + 0x40], edi
mov eax, dword [edi]
lea edx, [edi + 0x10]
add eax, 0x10
mov dword [esp + 0x28], edx
add eax, edi
inc ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x2c], ecx
lea eax, [esi + 0x80]
cmp eax, dword [esp + 0x3c]
jbe 0x6d9002
cmp byte [esp + 0x13], 0
jne 0x6d9153
mov ecx, esi
mov byte [esp + 0x13], 1
sub ecx, dword [esp + 0x1c]
lea esi, [esp + 0x70]
sub ecx, 0x10
mov dword [esp + 0x30], ecx
lea ecx, [esp + 0xf0]
jmp 0x6d8ffa
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x70]
sub esi, eax
mov eax, 0x1f0
mov edx, esi
sub eax, ecx
mov dword [esp + 0x20], edx
cmp edx, eax
jg 0x6d91f4
mov eax, edx
lea edi, [esp + 0x78]
sar eax, 4
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
add eax, 0x18
add eax, ecx
mov dword [esp + 0x14], eax
nop dword [eax]
mov ecx, dword [edi - 4]
lea edi, [edi + 0x10]
mov eax, dword [edi - 0x18]
mov edx, dword [edi - 0x10]
mov esi, dword [edi - 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x14]
mov dword [ecx - 8], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax - 4], ecx
mov dword [eax], edx
mov dword [eax + 4], esi
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x24]
dec eax
mov dword [esp + 0x24], eax
test eax, eax
jg 0x6d9190
mov ecx, dword [esp + 0x30]
add ecx, dword [esp + 0x20]
mov dword [esp + 0x30], ecx
cmp ecx, 0x1f0
jge 0x6d91ef
mov edx, dword [esp + 0x28]
lea esi, [esp + 0x70]
jmp 0x6d8ffe
mov byte [esp + 0x13], 0
mov esi, dword [esp + 0x1c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x2c]
cmp dword [esp + 0x34], ecx
jl 0x6d926b
mov edx, dword [ebp + 8]
mov eax, dword [edx + 4]
lea edi, [eax + 1]
sub eax, ecx
mov ecx, dword [edx + 8]
and ecx, 0x3fffffff
mov dword [esp + 0x18], eax
cmp edi, ecx
jle 0x6d9241
cmp ecx, edi
jge 0x6d9241
add ecx, ecx
mov eax, edi
cmp edi, ecx
push 4
cmovl eax, ecx
push eax
push edx
push 0x7d8954
call fcn.00467b80
mov edx, dword [ebp + 8]
add esp, 0x10
mov eax, dword [edx]
mov edx, dword [esp + 0x2c]
lea ecx, [eax + edx*4]
mov eax, dword [esp + 0x18]
shl eax, 2
push eax
push ecx
lea eax, [ecx + 4]
push eax
call fcn.00469c40
mov eax, dword [ebp + 8]
add esp, 0xc
inc dword [esp + 0x2c]
mov dword [eax + 4], edi
jmp 0x6d926e
mov eax, dword [ebp + 8]
mov ecx, dword [esp + 0x34]
mov eax, dword [eax]
mov edi, dword [esp + 0x38]
mov dword [eax + ecx*4], esi
inc ecx
mov dword [esp + 0x34], ecx
test edi, edi
je 0x6d9290
mov ecx, edi
mov dword [esp + 0x38], 0
jmp 0x6d92bf
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, eax
mov dword [esp + 0x1c], ecx
test ecx, ecx
je 0x6d92bd
mov dword [ecx], 0
jmp 0x6d92c3
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x28]
lea esi, [ecx + 0x10]
add ecx, 0x200
mov dword [esp + 0x14], esi
cmp byte [esp + 0x13], 0
mov dword [esp + 0x3c], ecx
je 0x6d9002
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x70]
sar eax, 4
lea edi, [esi + 8]
mov dword [esp + 0x18], eax
mov edx, ecx
mov eax, esi
mov dword [esp + 0x24], ecx
neg eax
add edx, eax
mov dword [esp + 0x4c], edx
lea eax, [esp + eax + 0x74]
mov dword [esp + 0x44], eax
nop dword [eax]
mov esi, dword [eax + edi]
lea edi, [edi + 0x10]
mov eax, dword [esp + 0x24]
mov ecx, dword [ecx + 4]
mov edx, dword [edx + edi - 0x10]
mov eax, dword [eax]
mov dword [edi - 0x18], eax
mov eax, dword [esp + 0x18]
mov dword [edi - 0x14], ecx
dec eax
mov ecx, dword [esp + 0x24]
add ecx, 0x10
mov dword [edi - 0x10], edx
mov edx, dword [esp + 0x4c]
test eax, eax
mov dword [edi - 0xc], esi
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x24], ecx
jg 0x6d9310
mov esi, dword [esp + 0x14]
add esi, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov byte [esp + 0x13], 0
jmp 0x6d8ffe
cmp byte [esp + 0x13], 0
jne 0x6d9379
mov eax, esi
mov esi, dword [esp + 0x1c]
sub eax, esi
sub eax, 0x10
jmp 0x6d93ed
lea eax, [esp + 0x70]
sub esi, eax
lea edi, [esp + 0x78]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x14], esi
add eax, 0x18
sar esi, 4
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], esi
mov dword [esp + 0x20], eax
nop dword [eax]
mov ecx, dword [edi - 4]
lea edi, [edi + 0x10]
mov eax, dword [edi - 0x18]
mov edx, dword [edi - 0x10]
mov esi, dword [edi - 0xc]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x20]
mov dword [ecx - 8], eax
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x44]
mov dword [eax - 4], ecx
mov dword [eax], edx
mov dword [eax + 4], esi
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x18]
dec eax
mov dword [esp + 0x18], eax
test eax, eax
jg 0x6d93a0
mov eax, dword [esp + 0x30]
add eax, dword [esp + 0x14]
mov esi, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
mov edi, dword [esp + 0x34]
mov dword [esi], eax
inc edi
mov ecx, dword [edx + 8]
and ecx, 0x3fffffff
cmp ecx, edi
jge 0x6d941e
add ecx, ecx
mov eax, edi
cmp edi, ecx
push 4
cmovl eax, ecx
push eax
push edx
push 0x7d8954
call fcn.00467b80
mov edx, dword [ebp + 8]
add esp, 0x10
mov dword [edx + 4], edi
mov eax, dword [edx]
mov edx, dword [esp + 0x34]
mov dword [eax + edx*4], esi
push dword [0x884adc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
push 0x200
push dword [esp + 0x44]
mov ecx, dword [eax + 0x2c]
mov eax, dword [ecx]
call dword [eax + 8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret