Function at 0x100e1390
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x30], eax
mov ecx, dword [0x101f1014]
xor ecx, ebp
mov dword [ebp - 0x10], ecx
xor edx, edx
lea eax, [ebp - 0x14]
mov dword [eax], edx
lea ecx, [ebp - 0x18]
mov dword [ecx], edx
lea ebx, [ebp - 0x1c]
mov dword [ebx], edx
lea esi, [ebp - 0x20]
mov dword [esi], edx
lea eax, [ebp - 0x24]
mov dword [eax], edx
push eax
push esi
push ebx
push ecx
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x30]
call fcn.100e0ed0
add esp, 0x18
mov ebx, dword [esi]
test ebx, ebx
mov dword [ebp - 0x34], ebx
je 0x100e1522
mov dword [ebp - 0x2c], edi
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov esi, eax
push ebx
push 0x101cc248
call sym.nss3.dll_NSSUTIL_ArgGetParamValue
add esp, 8
test eax, eax
je 0x100e144d
mov edi, eax
cmp byte [eax], 0
mov ecx, dword [ebp - 0x2c]
je 0x100e1440
mov ebx, edi
push esi
push ecx
push ebx
call sym.nss3.dll_PL_strncasecmp
add esp, 0xc
test eax, eax
je 0x100e1604
inc ebx
mov ecx, dword [ebp - 0x2c]
movzx eax, byte [ebx - 1]
test eax, eax
je 0x100e1440
cmp eax, 0x2c
je 0x100e143b
inc ebx
jmp 0x100e142b
cmp byte [ebx], 0
jne 0x100e1414
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ebx, dword [ebp - 0x34]
push ebx
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
mov edi, dword [ebp - 0x2c]
je 0x100e1522
mov esi, eax
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, esi
add eax, 8
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov esi, eax
mov byte [eax], 0
mov bl, byte [ebx]
test bl, bl
je 0x100e154a
mov dword [ebp - 0x30], esi
mov edi, dword [ebp - 0x34]
movzx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
je 0x100e14ac
mov bl, byte [edi + 1]
inc edi
mov esi, edi
test bl, bl
jne 0x100e148f
jmp 0x100e14ae
mov esi, edi
push 6
push str.flags
push esi
call sym.nss3.dll_PL_strncasecmp
add esp, 0xc
test eax, eax
je 0x100e1675
push esi
call sym.nss3.dll_NSSUTIL_ArgSkipParameter
add esp, 4
mov edi, eax
sub eax, esi
push eax
push esi
mov esi, dword [ebp - 0x30]
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncat]
add esp, 0xc
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp byte [eax + esi - 1], 0x20
je 0x100e1501
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov word [esi + eax], 0x20
mov bl, byte [edi]
test bl, bl
je 0x100e154a
movzx eax, bl
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
je 0x100e148f
mov bl, byte [edi + 1]
inc edi
jmp 0x100e1503
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
add eax, 7
push eax
call sym.nss3.dll_PORT_Alloc_Util
add esp, 4
mov esi, eax
mov dword [eax], 0x67616c66
mov dword [eax + 3], 0x3d7367
push edi
push eax
jmp 0x100e1566
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esi + eax], 0x67616c66
mov dword [esi + eax + 3], 0x3d7367
push dword [ebp - 0x2c]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], eax
push eax
mov dword [ebp - 0x30], esi
push esi
mov esi, ecx
push ecx
push edi
push ebx
call fcn.100e1240
add esp, 0x14
mov dword [ebp - 0x38], eax
test ebx, ebx
je 0x100e15a0
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test edi, edi
mov ebx, dword [ebp - 0x34]
je 0x100e15b1
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test esi, esi
je 0x100e15bf
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test ebx, ebx
mov esi, dword [ebp - 0x30]
je 0x100e15d0
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test esi, esi
je 0x100e15de
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100e15ef
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
mov eax, dword [ebp - 0x38]
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x100e161f
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x18]
test eax, eax
mov esi, dword [ebp - 0x34]
je 0x100e1633
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100e1644
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100e165f
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10157a00
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
jmp sym.nss3.dll_PORT_Strdup_Util
add esi, 6
lea ebx, [ebp - 0x28]
push ebx
push esi
call sym.nss3.dll_NSSUTIL_ArgFetchValue
add esp, 8
mov edi, eax
add esi, dword [ebx]
mov dword [ebp - 0x38], esi
mov esi, dword [ebp - 0x30]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov dword [esi + eax], 0x67616c66
mov dword [esi + eax + 3], 0x3d7367
push edi
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 8
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov word [esi + eax], 0x2c
push dword [ebp - 0x2c]
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcat
add esp, 8
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
mov word [esi + eax], 0x20
test edi, edi
je 0x100e16e9
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov edi, dword [ebp - 0x38]
mov al, byte [edi]
test al, al
je 0x100e1709
movzx eax, al
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isspace]
add esp, 4
test eax, eax
je 0x100e1709
mov al, byte [edi + 1]
inc edi
jmp 0x100e16ee
push edi
jmp 0x100e1565