Function at 0x1008abc0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x28
mov edx, dword [ebp + 0xc]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [esp + 0x20], eax
mov ecx, dword [0x101deccc]
mov ebx, dword [0x101decc8]
cmp dword [ebp + 0x14], 0
je 0x1008ac5c
xor esi, esi
push 2
mov dword [esp + 8], ecx
push ecx
push ebx
push esi
push esi
call fcn.100a2c70
add esp, 0x14
test eax, eax
je 0x1008ace5
mov edi, eax
push 0x58
push dword [eax]
call fcn.1009a460
add esp, 8
test eax, eax
je 0x1008acef
mov esi, eax
mov ecx, dword [ebp + 0x18]
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
movups xmm0, xmmword [edi]
movups xmm1, xmmword [edi + 0x10]
movups xmmword [esi + 0x10], xmm1
movups xmmword [esi], xmm0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
test ecx, ecx
je 0x1008acfa
lea ecx, [esi + 0x30]
push eax
push dword [edx + 8]
push ecx
push dword [esi]
call fcn.1009b0b0
add esp, 0x10
jmp 0x1008ad03
mov esi, dword [ebp + 8]
mov eax, dword [edx + 4]
mov dword [esp + 0x18], eax
mov eax, dword [edx + 8]
mov dword [esp + 0x1c], eax
xor edi, edi
test ecx, ecx
je 0x1008ac8e
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x1008ac8e
mov edi, ecx
lea ecx, [esp + 0x18]
push ecx
push eax
call fcn.100a4ea0
mov ecx, edi
add esp, 8
mov edi, eax
test esi, esi
je 0x1008acaa
test edi, edi
jne 0x1008acaa
lea eax, [esp + 0x18]
push eax
push esi
mov esi, ecx
call fcn.100a7190
mov ecx, esi
add esp, 8
mov edi, eax
test edi, edi
je 0x1008abec
lea eax, [edi + 0x30]
lea ecx, [esp + 0x18]
push 0
push ecx
push eax
call fcn.1009b1a0
add esp, 0xc
test eax, eax
je 0x1008ae78
mov ecx, edi
xor edx, edx
call fcn.100a1930
mov esi, eax
test eax, eax
jne 0x1008ae63
jmp 0x1008ae92
call fcn.1008a6f0
jmp 0x1008ae63
call fcn.1008a6f0
push edi
jmp 0x1008ae59
mov dword [esi + 0x30], eax
mov eax, dword [edx + 8]
mov dword [esi + 0x34], eax
mov ecx, esi
xor edx, edx
call fcn.100a1930
test eax, eax
je 0x1008ae53
mov edi, eax
lea eax, [esi + 0x38]
push dword [edi + 0x4c]
push dword [edi + 0x50]
push eax
push dword [esi]
call fcn.1009b0b0
add esp, 0x10
lea eax, [esi + 0x40]
push dword [edi + 0x58]
push dword [edi + 0x5c]
push eax
push dword [esi]
call fcn.1009b0b0
add esp, 0x10
xor eax, eax
lea ebx, [esp + 8]
mov dword [ebx + 4], eax
mov dword [ebx], eax
mov dword [ebx + 8], eax
mov eax, edi
add eax, 0x3c
push ebx
push eax
call fcn.10081ed0
add esp, 8
mov eax, dword [ebx + 4]
test eax, eax
je 0x1008ae58
mov ebx, dword [ebp + 0x10]
mov ecx, esi
add ecx, 0x48
push eax
push dword [esp + 0x14]
push ecx
push dword [esi]
call fcn.1009b0b0
add esp, 0x10
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1008ad90
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test ebx, ebx
je 0x1008adae
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
push ebx
push 5
push dword [esi]
call fcn.1009bae0
add esp, 0x10
mov dword [esi + 0x20], eax
mov edi, dword [edi + 0x118]
test edi, edi
je 0x1008add7
cmp byte [edi], 0
je 0x1008add7
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
push eax
push edi
push 2
push dword [esi]
call fcn.1009bae0
add esp, 0x10
mov dword [esi + 0x50], eax
push esi
push dword [esp + 8]
call fcn.100a0b00
add esp, 8
test eax, eax
je 0x1008ae53
mov edi, eax
push esi
call fcn.1009fed0
add esp, 4
mov ecx, edi
xor edx, edx
call fcn.100a1930
test eax, eax
je 0x1008ae92
mov esi, eax
mov ebx, dword [0x101dec48]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov edi, eax
test eax, eax
je 0x1008aea2
lea eax, [ebx + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [ebx + 8], edi
mov dword [esi + 0x150], 1
mov dword [esi + 0x14c], 0
push dword [0x101dec48]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x1008ae63
call fcn.1008a6f0
push esi
call fcn.100a2e70
add esp, 4
xor esi, esi
mov ecx, dword [esp + 0x20]
xor ecx, ebp
call fcn.1014dc80
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call fcn.1009fed0
add esp, 4
push 0
push 0xffffe08a
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x1008ae61
push edi
call fcn.1009fed0
add esp, 4
call fcn.1008a6f0
jmp 0x1008ae61
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov edi, eax
jmp 0x1008ae22