Function at 0x10113a50
Capabilities:
Get thread local storage value
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x30
mov ebx, dword [ebp + 8]
mov eax, dword [0x101db014]
xor eax, ebp
mov dword [esp + 0x28], eax
mov esi, dword [ebx + 0xc4]
test esi, esi
je 0x10113a7d
cmp byte [esi + 0xce], 0
je 0x10113a9c
cmp dword [ebx + 0x60], 0
je 0x10113aaf
push ebx
call fcn.1011c450
add esp, 4
push edx
push eax
push dword [ebx + 0xc4]
call fcn.10116660
add esp, 0xc
mov ecx, dword [esp + 0x28]
xor ecx, ebp
call fcn.1014dc80
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [ebx + 0x138], 0
je 0x10113c20
cmp dword [esi + 0x134], 0
je 0x10113a9c
cmp byte [esi + 0xeb], 0
jne 0x10113a9c
mov eax, dword [esi + 0x50]
mov edx, dword [esi + 0x54]
mov ecx, eax
or ecx, edx
jne 0x10113aef
push ebx
call fcn.1011c450
add esp, 4
mov dword [esi + 0x54], edx
mov dword [esi + 0x50], eax
mov dword [esi + 0x14], edx
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 0x58]
or ecx, dword [esi + 0x5c]
jne 0x10113b1c
mov ecx, dword [esi + 0x120]
imul edi, ecx, 0xf4240
cmp ecx, 0x2a300
mov ecx, 0x3baec000
cmovbe ecx, edi
add eax, ecx
adc edx, 0
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
xorps xmm0, xmm0
movaps xmmword [esp + 0x10], xmm0
cmp dword [esi + 0x138], 0
je 0x10113c0c
cmp byte [esi + 0xce], 0
je 0x10113c0c
cmp dword [esi + 0x28], 0
je 0x10113c0c
lea edi, [esp + 0x10]
push 1
push 0
push 2
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113a9c
push 8
push dword [esi + 0x14]
push dword [esi + 0x10]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 8
push dword [esi + 0x5c]
push dword [esi + 0x58]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 8
push dword [esi + 0x11c]
push dword [esi + 0x118]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 4
push 0
push dword [esi + 0x120]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 4
push 0
push dword [esi + 0x124]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 4
push 0
push dword [esi + 0x128]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 4
push 0
push dword [esi + 0x12c]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
je 0x10113d44
push 0
push 0xffffe005
call sym.nss3.dll_PR_SetError
add esp, 8
jmp 0x10113a9c
push ebx
call fcn.1011c450
add esp, 4
mov ebx, dword [ebx + 0xc4]
cmp dword [ebx + 0x28], 0
je 0x10113a9c
mov esi, eax
mov edi, edx
cmp byte [ebx + 0x78], 0
je 0x10113d18
xor eax, eax
push eax
push eax
call sym.nss3.dll_PR_NewRWLock
add esp, 8
mov dword [ebx + 0x110], eax
test eax, eax
je 0x10113a9c
mov eax, dword [ebx + 0x50]
mov ecx, dword [ebx + 0x54]
mov edx, eax
or edx, ecx
jne 0x10113c7d
mov dword [ebx + 0x50], esi
mov dword [ebx + 0x54], edi
mov dword [ebx + 0x10], esi
mov dword [ebx + 0x14], edi
mov eax, esi
mov ecx, edi
mov edx, dword [ebx + 0x58]
or edx, dword [ebx + 0x5c]
jne 0x10113caa
mov edx, dword [ebx + 0x120]
imul esi, edx, 0xf4240
cmp edx, 0x2a300
mov edx, 0x3baec000
cmovbe edx, esi
add eax, edx
adc ecx, 0
mov dword [ebx + 0x58], eax
mov dword [ebx + 0x5c], ecx
cmp byte [0x101dfae4], 0
jne 0x10113cc5
push 0x10112e20
push 0x101dfae8
call sym.nss3.dll_PR_CallOnce
add esp, 8
mov edi, dword [0x101dfaf4]
push dword [0x101de1f0]
call dword [sym.imp.kernel32.dll_TlsGetValue]
mov esi, eax
test eax, eax
je 0x10113d8b
lea eax, [edi + 0x1c]
push eax
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov dword [edi + 8], esi
inc dword [ebx + 8]
mov dword [ebx + 4], 1
mov eax, dword [0x101dfaf8]
mov dword [ebx], eax
mov dword [0x101dfaf8], ebx
push dword [0x101dfaf4]
call sym.nss3.dll_PR_Unlock
add esp, 4
jmp 0x10113a9c
cmp dword [ebx + 0x134], 0
je 0x10113a9c
lea eax, [ebx + 0x79]
push 0x20
push eax
call sym.nss3.dll_PK11_GenerateRandom
add esp, 8
test eax, eax
jne 0x10113a9c
mov byte [ebx + 0x78], 0x20
jmp 0x10113c47
mov eax, dword [esi + 0x18]
push 3
push dword [eax + 0x44]
push dword [eax + 0x40]
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
mov eax, dword [esi + 0x20]
cmp eax, 2
jb 0x10113d74
push 0
push 0xffffe001
jmp 0x10113c13
cmp eax, 1
jne 0x10113da8
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + 8]
test ecx, ecx
je 0x10113da8
push 2
push ecx
push dword [eax + 4]
jmp 0x10113dae
sub esp, 0x10
movaps xmm0, xmmword [0x1019c190]
movups xmmword [esp], xmm0
call fcn.10072140
add esp, 0x10
mov esi, eax
jmp 0x10113ce1
xor eax, eax
push 2
push eax
push eax
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
test eax, eax
je 0x10113ddf
push dword [esp + 4]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
cmp eax, 0x100
jae 0x10113d68
jmp 0x10113de1
xor eax, eax
push 1
push eax
push dword [esp + 0xc]
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
mov eax, dword [esi + 0x28]
mov dword [esp + 4], eax
test eax, eax
je 0x10113c0c
push dword [esp + 4]
call sub.api_ms_win_crt_string_l1_1_0.dll_strlen
add esp, 4
test eax, eax
je 0x10113c0c
cmp eax, 0x100
jae 0x10113d68
push 1
push eax
push dword [esp + 0xc]
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
mov eax, dword [esi + 0x30]
test eax, eax
je 0x10113e50
push 3
push dword [eax + 0x44]
push dword [eax + 0x40]
jmp 0x10113e56
xor eax, eax
push 3
push eax
push eax
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
push 8
push dword [esi + 0x3c]
push dword [esi + 0x38]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 8
push dword [esi + 0x44]
push dword [esi + 0x40]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
movzx eax, word [esi + 0x48]
push 2
push 0
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
movzx eax, word [esi + 0x4a]
push 2
push 0
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 8
push dword [esi + 0x54]
push dword [esi + 0x50]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
mov eax, dword [esi + 0x60]
mov ecx, eax
sar ecx, 0x1f
push 2
push ecx
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 4
push 0
push dword [esi + 0x64]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
mov eax, dword [esi + 0x68]
mov ecx, eax
sar ecx, 0x1f
push 2
push ecx
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 4
push 0
push dword [esi + 0x6c]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
mov eax, dword [esi + 0x70]
mov ecx, eax
sar ecx, 0x1f
push 3
push ecx
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
mov eax, dword [esi + 0x74]
mov ecx, eax
sar ecx, 0x1f
push 3
push ecx
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
movzx eax, byte [esi + 0x78]
push 1
push 0
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
lea eax, [esi + 0x79]
push 1
push 0x20
push eax
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
movzx eax, word [esi + 0x9a]
push 2
push 0
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
movzx eax, byte [esi + 0x9c]
push 1
push 0
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
lea eax, [esi + 0x9d]
push 1
push 0x30
push eax
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
movzx eax, byte [esi + 0xcd]
push 1
push 0
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
movzx eax, byte [esi + 0xcf]
push 1
push 0
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 8
push 0
push dword [esi + 0xd0]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 8
push 0
push dword [esi + 0xd4]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 8
push 0
push dword [esi + 0xd8]
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
movzx eax, word [esi + 0xdc]
push 4
push 0
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
movzx eax, word [esi + 0xde]
push 2
push 0
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
movsx eax, byte [esi + 0xea]
mov ecx, eax
sar ecx, 0x1f
push 1
push ecx
push eax
push edi
call fcn.101114b0
add esp, 0x10
test eax, eax
jne 0x10113c0c
push 1
push dword [esi + 0xf4]
push dword [esi + 0xf0]
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
push 2
push dword [esi + 0x100]
push dword [esi + 0xfc]
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
push 1
push dword [esi + 0x10c]
push dword [esi + 0x108]
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
push 2
push dword [esi + 0x138]
push dword [esi + 0x134]
push edi
call fcn.10111590
add esp, 0x10
test eax, eax
jne 0x10113a9c
mov eax, dword [ebx]
mov dword [esp + 4], eax
mov ecx, dword [ebx + 0x138]
mov eax, dword [ebx + 0x13c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x14]
call dword [section..00cfg]
push dword [esp + 8]
push ebx
push dword [esp + 0x14]
push dword [esp + 0x10]
call ecx
add esp, 0x10
test eax, eax
jne 0x101141ba
mov dword [esi + 4], 4
push edi
call fcn.10111940
jmp 0x10113d10