Function at 0x100dfdd0
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 [0x101ef014]
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.100df910
add esp, 0x18
mov ebx, dword [esi]
test ebx, ebx
mov dword [ebp - 0x34], ebx
je 0x100dff62
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 0x101c9f9d
call sym.nss3.dll_NSSUTIL_ArgGetParamValue
add esp, 8
test eax, eax
je 0x100dfe8d
mov edi, eax
cmp byte [eax], 0
mov ecx, dword [ebp - 0x2c]
je 0x100dfe80
mov ebx, edi
push esi
push ecx
push ebx
call sym.nss3.dll_PL_strncasecmp
add esp, 0xc
test eax, eax
je 0x100e0044
inc ebx
mov ecx, dword [ebp - 0x2c]
movzx eax, byte [ebx - 1]
test eax, eax
je 0x100dfe80
cmp eax, 0x2c
je 0x100dfe7b
inc ebx
jmp 0x100dfe6b
cmp byte [ebx], 0
jne 0x100dfe54
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 0x100dff62
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 0x100dff8a
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 0x100dfeec
mov bl, byte [edi + 1]
inc edi
mov esi, edi
test bl, bl
jne 0x100dfecf
jmp 0x100dfeee
mov esi, edi
push 6
push str.flags
push esi
call sym.nss3.dll_PL_strncasecmp
add esp, 0xc
test eax, eax
je 0x100e00b5
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 0x100dff41
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 0x100dff8a
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 0x100dfecf
mov bl, byte [edi + 1]
inc edi
jmp 0x100dff43
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 0x100dffa6
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.100dfc80
add esp, 0x14
mov dword [ebp - 0x38], eax
test ebx, ebx
je 0x100dffe0
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test edi, edi
mov ebx, dword [ebp - 0x34]
je 0x100dfff1
push edi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test esi, esi
je 0x100dffff
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test ebx, ebx
mov esi, dword [ebp - 0x30]
je 0x100e0010
push ebx
call dword [sym.imp.mozglue.dll_free]
add esp, 4
test esi, esi
je 0x100e001e
push esi
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x100e002f
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
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 0x100e005f
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 0x100e0073
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x100e0084
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 0x100e009f
push eax
call dword [sym.imp.mozglue.dll_free]
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10156ff0
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 0x100e0129
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 0x100e0149
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 0x100e0149
mov al, byte [edi + 1]
inc edi
jmp 0x100e012e
push edi
jmp 0x100dffa5