Function at 0xfd7b0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x1a700c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, edx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0x10]
test esi, esi
jne 0xfd82e
mov edi, dword [0x1aa224]
push edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0xfd808
push 0xc08
call fcn.0015c8ae
add esp, 4
mov esi, eax
push 0xc08
push 0
push esi
call fcn.00153d90
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x19194c
mov dword [esi], 0x8000006
call fcn.000ee5f0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00150cb2
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0xc8]
mov dword [esi + 0xcc], 0
test ecx, ecx
je 0xfd847
call fcn.00131bf0
cmp dword [esi + 0xbc], 8
jae 0xfd874
mov ecx, dword [esi + 0xb8]
mov edx, 8
mov dword [esi + 0xbc], 8
call fcn.000f23b0
mov dword [esi + 0xb8], eax
test eax, eax
je 0xfd81b
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
cmp dword [ebx + 0x98], 1
jne 0xfd8a5
movzx ecx, byte [edi + 0x11]
movzx eax, byte [edi + 0x10]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xf]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0xe]
jmp 0xfd8bf
movzx ecx, byte [edi + 0xe]
movzx eax, byte [edi + 0xf]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x10]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 0x11]
mov dword [esi + 0x24], 0
xorps xmm0, xmm0
shl ecx, 8
add ecx, eax
mov dword [ebp - 8], 0
mov dword [esi + 0x20], ecx
movzx eax, byte [edi + 0x17]
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x28], eax
movzx eax, byte [edi + 0x16]
mov dword [ebp - 0x24], eax
movzx eax, byte [edi + 0x15]
mov dword [ebp - 0x20], eax
movzx eax, byte [edi + 0x14]
mov dword [ebp - 0x1c], eax
movzx eax, byte [edi + 0x13]
dec eax
movups xmmword [ebp - 0x18], xmm0
mov dword [ebp - 0x18], eax
movzx eax, byte [edi + 0x12]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00160c3f
mov dword [esi + 0x60], eax
add esp, 4
mov dword [esi + 0x64], edx
mov eax, 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x58], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x68], 0
test byte [edi + 0x19], 2
setne al
inc eax
mov dword [esi + 0x10], eax
mov edx, dword [edi + 0x24]
test edx, edx
je 0xfda3d
cmp dword [ebx + 0x98], 1
jne 0xfd9a2
movzx ecx, byte [edx + 3]
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 1]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx]
jmp 0xfd9bb
movzx eax, byte [edx]
movzx ecx, byte [edx + 1]
shl eax, 8
add ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
add ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
add ecx, eax
mov dword [esi + 0x28], ecx
cmp dword [ebx + 0x98], 1
mov ecx, dword [edi + 0x24]
jne 0xfd9eb
movzx edx, byte [ecx + 7]
movzx eax, byte [ecx + 6]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 5]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 4]
jmp 0xfda05
movzx edx, byte [ecx + 4]
movzx eax, byte [ecx + 5]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 6]
shl edx, 8
add edx, eax
movzx eax, byte [ecx + 7]
shl edx, 8
add edx, eax
mov dword [esi + 0x2c], edx
cmp dword [ebx + 0x98], 1
mov eax, dword [edi + 0x24]
jne 0xfda23
movzx ecx, byte [eax + 9]
movzx eax, byte [eax + 8]
jmp 0xfda2b
movzx ecx, byte [eax + 8]
movzx eax, byte [eax + 9]
shl ecx, 8
add ecx, eax
call fcn.000fd750
movzx eax, ax
mov dword [esi + 0x14], eax
jmp 0xfda52
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 1
cmp dword [ebx + 0x98], 1
jne 0xfda7e
movzx ecx, byte [edi + 9]
movzx eax, byte [edi + 8]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 7]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 6]
jmp 0xfda98
movzx ecx, byte [edi + 6]
movzx eax, byte [edi + 7]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 8]
shl ecx, 8
add ecx, eax
movzx eax, byte [edi + 9]
shl ecx, 8
add ecx, eax
mov eax, dword [esi + 0xb8]
mov dword [eax], ecx
mov ecx, dword [ebp - 4]
mov dword [eax + 4], 0
xor eax, eax
cmp byte [edi + 0x134], al
pop edi
setne al
xor ecx, ebp
add eax, 5
mov dword [esi + 4], eax
xor al, al
pop esi
pop ebx
call fcn.00150cb2
mov esp, ebp
pop ebp
ret