Function at 0x100e7150
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov ebx, eax
mov esi, dword [ebx + 0x8138]
xor edi, edi
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x28]
push edx
push ebx
lea eax, [ebp - 0x38]
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x1c], 0
mov byte [ebp - 0x1b], 1
mov dword [ebp - 0x48], edi
mov dword [ebp - 0x44], edi
mov dword [ebp - 0x40], edi
mov byte [ebp - 0x3c], 0
mov byte [ebp - 0x3b], 1
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov byte [ebp - 0xc], 0
mov byte [ebp - 0xb], 1
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x30], edi
mov byte [ebp - 0x2c], 0
mov byte [ebp - 0x2b], 1
call fcn.100e6cc0
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x100e730d
cmp esi, edi
je 0x100e71ed
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x28]
push edx
push esi
lea eax, [ebp - 0x38]
call fcn.100e6cc0
cmp eax, edi
mov dword [ebp - 4], eax
jl 0x100e730d
xor esi, esi
cmp dword [ebp - 0x30], edi
jbe 0x100e723e
mov eax, dword [ebp - 0x38]
mov dword [ebp - 8], eax
jmp 0x100e7202
xor edi, edi
cmp esi, dword [ebp - 0x30]
sbb eax, eax
and eax, dword [ebp - 8]
xor edx, edx
mov ecx, dword [eax]
mov eax, dword [ecx + 0x10]
and eax, 0x80
or eax, edx
je 0x100e721f
lea eax, [edx + 1]
jmp 0x100e7221
xor eax, eax
mov edx, dword [ecx + 0x30]
mov ecx, dword [ecx + 0x20]
mov edi, dword [ebx + 0x1039c]
push edx
push ecx
call fcn.100fbe40
add dword [ebp - 8], 4
inc esi
cmp esi, dword [ebp - 0x30]
jb 0x100e7200
mov edi, dword [ebp - 0x40]
mov esi, dword [ebp - 0x48]
push ebx
push 0x10168b80
mov eax, edi
call fcn.100dabb0
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x28]
push ebx
push 0x10168b80
call fcn.100dabb0
mov eax, dword [ebp - 0x10]
mov esi, dword [ebp - 0x18]
push ebx
push 0x10168b80
call fcn.100dabb0
xor esi, esi
test edi, edi
jbe 0x100e72a9
mov edx, dword [ebp - 0x48]
mov dword [ebp - 8], edx
cmp esi, edi
mov edx, dword [ebx]
sbb eax, eax
and eax, dword [ebp - 8]
mov ecx, ebx
mov eax, dword [eax]
push eax
mov eax, dword [edx + 0x6c]
call eax
mov dword [ebp - 4], eax
test eax, eax
jge 0x100e72a0
or dword [ebx + 0x812c], 1
add dword [ebp - 8], 4
inc esi
cmp esi, edi
jb 0x100e7281
xor esi, esi
cmp dword [ebp - 0x20], esi
jbe 0x100e72da
mov edi, dword [ebp - 0x28]
cmp esi, dword [ebp - 0x20]
sbb eax, eax
and eax, edi
mov eax, dword [eax]
mov ecx, ebx
call fcn.100efc80
mov dword [ebp - 4], eax
test eax, eax
jge 0x100e72d1
or dword [ebx + 0x812c], 1
inc esi
add edi, 4
cmp esi, dword [ebp - 0x20]
jb 0x100e72b6
xor esi, esi
cmp dword [ebp - 0x10], esi
jbe 0x100e730b
mov edi, dword [ebp - 0x18]
cmp esi, dword [ebp - 0x10]
sbb eax, eax
and eax, edi
mov eax, dword [eax]
mov ecx, ebx
call fcn.100efdf0
mov dword [ebp - 4], eax
test eax, eax
jge 0x100e7302
or dword [ebx + 0x812c], 1
inc esi
add edi, 4
cmp esi, dword [ebp - 0x10]
jb 0x100e72e7
xor edi, edi
cmp byte [ebp - 0x2c], 0
mov ebx, dword [sym.imp.KERNEL32.dll_HeapFree]
je 0x100e733b
mov esi, dword [ebp - 0x38]
cmp esi, edi
je 0x100e733b
mov eax, dword [0x101e316c]
cmp eax, edi
jge 0x100e732d
xor eax, eax
jmp 0x100e7334
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
push esi
push edi
push ecx
call ebx
cmp byte [ebp - 0xc], 0
je 0x100e7363
mov esi, dword [ebp - 0x18]
cmp esi, edi
je 0x100e7363
mov eax, dword [0x101e316c]
cmp eax, edi
jge 0x100e7355
xor eax, eax
jmp 0x100e735c
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edx, dword [eax]
push esi
push edi
push edx
call ebx
cmp byte [ebp - 0x3c], 0
je 0x100e738b
mov esi, dword [ebp - 0x48]
cmp esi, edi
je 0x100e738b
mov eax, dword [0x101e316c]
cmp eax, edi
jge 0x100e737d
xor eax, eax
jmp 0x100e7384
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax]
push esi
push edi
push eax
call ebx
cmp byte [ebp - 0x1c], 0
je 0x100e73c2
mov esi, dword [ebp - 0x28]
cmp esi, edi
je 0x100e73c2
mov eax, dword [0x101e316c]
cmp eax, edi
jge 0x100e73b4
push esi
xor eax, eax
mov ecx, dword [eax]
push edi
push ecx
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
push esi
push edi
push ecx
call ebx
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret