Function at 0x700fb3a1
Capabilities:
Get thread local storage value

Disassembly:
mov eax, 0x701511bf
call fcn.70055494
sub esp, 0x80
push ebx
push esi
xor ebx, ebx
test byte [ebp + 0x10], 1
push edi
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x14], ebx
je 0x700fb588
cmp dword [ebp + 8], ebx
mov dword [edi], ebx
jne 0x700fb3fb
push 0xffffffffffffffff
push 0x70001d68
push 0x1111003b
push 0xbb9
push 0xfffffffffffffff4
call fcn.700e1dcd
add esp, 0x14
mov dword [ebp + 8], eax
jmp 0x700fb8a5
mov eax, dword [ebp + 0x18]
cmp eax, ebx
je 0x700fb406
mov ecx, dword [eax]
jmp 0x700fb408
xor ecx, ecx
mov eax, dword [esi + 8]
mov dword [eax + 0x7c], ecx
mov eax, dword [0x70170c18]
add eax, 0x18
push eax
lea ecx, [ebp - 0x18]
call fcn.700e1dcd
push 1
push dword [ebp + 8]
lea ecx, [ebp - 0x8c]
mov dword [ebp - 4], ebx
call fcn.700e1dcd
mov eax, dword [esi + 4]
lea ecx, [ebp - 0x8c]
push ebx
mov byte [ebp - 4], 1
mov dword [eax + 0x14], ecx
call fcn.7012dd58
mov ecx, eax
call fcn.700e1dcd
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x700fb469
test byte [eax + 1], 8
jne 0x700fb469
mov eax, dword [eax + 4]
cmp eax, ebx
je 0x700fb46c
test byte [eax + 0x25], 0x40
je 0x700fb46c
xor ebx, ebx
inc ebx
mov eax, dword [esi + 8]
mov dword [eax + 0x84], ebx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 2
call fcn.7013093c
mov ecx, dword [esi + 4]
mov dword [ebp - 4], 1
call fcn.7012f8d7
mov ecx, dword [esi + 8]
call fcn.70130169
mov eax, dword [esi + 8]
mov ebx, dword [eax + 0x78]
test ebx, ebx
jne 0x700fb4be
test byte [ebp + 0x10], 0x10
jne 0x700fb4be
push 0xffffffffffffffff
push 0x70001d68
push 0x1111003b
push 0xbb9
jmp 0x700fb519
cmp dword [ebp - 0x20], 0
je 0x700fb54a
push ebx
call fcn.700e1dcd
test al, al
pop ecx
je 0x700fb54a
push dword [0x7016a5f0]
mov ebx, dword [sym.imp.kernel32.dll_TlsGetValue]
call ebx
mov eax, dword [eax]
lea ecx, [ebp + 0xb]
cmp eax, ecx
jae 0x700fb4fb
push dword [0x7016a5f0]
call ebx
mov ecx, dword [eax]
lea eax, [ebp + 0xb]
sub eax, ecx
jmp 0x700fb4fd
xor eax, eax
mov ecx, dword [esi + 8]
mov ebx, dword [ecx + 0x78]
shr eax, 9
cmp eax, dword [ebx + 0x44]
jae 0x700fb54a
push 0xffffffffffffffff
push 0x70001d68
push 0
push 0xbbb
push 0xfffffffffffffff4
call fcn.700e1dcd
add esp, 0x14
mov dword [ebp + 8], eax
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.701288b4
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x700fb8a5
call fcn.700e1dcd
jmp 0x700fb8a5
mov eax, dword [ebp + 0x18]
test eax, eax
mov dword [edi], ebx
je 0x700fb55b
mov ecx, dword [esi + 8]
mov ecx, dword [ecx + 0x7c]
mov dword [eax], ecx
mov eax, dword [esi + 8]
and dword [eax + 0x78], 0
mov eax, dword [esi + 8]
and dword [eax + 0x7c], 0
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0
call fcn.701288b4
mov ecx, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
test ecx, ecx
je 0x700fb588
call fcn.700e1dcd
mov ecx, dword [edi]
xor ebx, ebx
cmp ecx, ebx
je 0x700fb89e
test byte [ebp + 0x10], 2
je 0x700fb5c8
push 2
lea edx, [ebp + 0xc]
push edx
push dword [ebp + 0x14]
mov dword [ebp + 0xc], ebx
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [esi + 0x10], eax
mov ecx, dword [edi]
je 0x700fb5f1
cmp ecx, dword [ebp + 0xc]
je 0x700fb5c8
cmp ecx, ebx
je 0x700fb5c3
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
test byte [ebp + 0x10], 4
je 0x700fb89e
mov ecx, dword [edi]
push ebx
lea edx, [ebp + 0xc]
push edx
push dword [ebp + 0x14]
mov dword [ebp + 0xc], ebx
mov eax, dword [ecx]
call dword [eax + 0x30]
cmp eax, ebx
mov dword [esi + 0x10], eax
mov ecx, dword [edi]
jne 0x700fb88a
cmp ecx, ebx
je 0x700fb61a
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x10]
test eax, eax
je 0x700fb618
mov ecx, dword [edi]
mov eax, dword [ecx]
call dword [eax + 0x14]
mov ecx, dword [edi]
cmp ecx, ebx
je 0x700fb618
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi], ebx
push 1
call fcn.700e1dcd
pop ecx
jmp 0x700fb3f3
cmp ecx, dword [ebp + 0xc]
je 0x700fb89e
cmp ecx, ebx
je 0x700fb899
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [ebp + 0xc]
mov dword [edi], eax
mov dword [ebp + 8], 1
lea eax, [ebp - 0x14]
push eax
call fcn.700e1dcd
mov eax, dword [ebp + 8]
pop ecx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x14