Function at 0x1014d7e0
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
or eax, 0xffffffff
xor ebx, ebx
push 0x100820f3
push ebx
mov edi, esi
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
call fcn.1014f9a0
test eax, eax
jne 0x1014d82a
mov eax, 0x8007000e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [0x101e316c]
cmp eax, ebx
jge 0x1014d837
xor eax, eax
jmp 0x1014d83e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 4]
push 0x10
push 0x18
call fcn.101d8457
cmp eax, ebx
je 0x1014d86d
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xffffffff
mov dword [eax], 0x1008b724
mov dword [eax + 4], 1
jmp 0x1014d86f
xor eax, eax
mov dword [esi + 0x64], eax
cmp eax, ebx
je 0x1014d81c
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0xc], 0x101e06e4
mov edi, dword [ebp - 0xc]
cmp byte [edi + 0x14], bl
je 0x1014d905
mov eax, dword [edi]
cmp eax, 0xf
mov dword [ebp - 8], eax
jge 0x1014d8be
mov ecx, dword [esi + eax*4 + 0x68]
mov dword [ebp - 8], ecx
cmp ecx, ebx
jne 0x1014da3e
push eax
push esi
call fcn.10112190
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x1014d81c
mov ecx, dword [edi]
mov dword [esi + ecx*4 + 0x68], eax
jmp 0x1014da3e
cmp dword [esi + eax*4 + 0xa4], ebx
jne 0x1014d8e5
mov edx, dword [ebp - 8]
push ebx
push ebx
push ebx
push edx
push esi
xor edi, edi
call fcn.101123f0
mov ecx, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
mov dword [esi + ecx*4 + 0xa4], eax
mov eax, ecx
mov eax, dword [esi + eax*4 + 0xa4]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x1014d81c
mov edx, dword [edi]
mov dword [esi + edx*4 + 0xa4], eax
jmp 0x1014da3e
mov eax, dword [edi + 0xc]
mov edx, dword [edi + 0x10]
mov ecx, dword [edi + 4]
mov dword [ebp - 8], eax
mov eax, dword [edi + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov eax, dword [esi + eax*4 + 0x68]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], ecx
cmp eax, dword [esi + 0x78]
jne 0x1014d968
or ecx, dword [ebp - 0x1c]
jne 0x1014d968
cmp dword [esi + 0x1c8], ebx
je 0x1014d94b
cmp dword [ebp - 8], 1
jne 0x1014d94b
cmp edx, 4
jne 0x1014d94b
mov eax, dword [esi + 0x1c8]
jmp 0x1014da33
mov ecx, dword [esi + 0x1cc]
cmp ecx, ebx
je 0x1014d968
cmp dword [ebp - 8], 4
jne 0x1014d968
cmp dword [ebp - 0x10], 4
jne 0x1014d968
mov eax, ecx
jmp 0x1014da33
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
push eax
and ecx, 0xfffff3ff
push edx
push ecx
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.101128c0
mov edi, eax
cmp edi, ebx
je 0x1014da25
mov eax, 1
cmp dword [ebp - 8], eax
ja 0x1014d9be
cmp dword [ebp - 0x10], eax
jbe 0x1014da2e
cmp dword [ebp - 8], eax
jne 0x1014d9be
push 0x24
call fcn.1010faa0
cmp eax, ebx
je 0x1014da25
mov dword [eax], 0x1008b85c
mov dword [eax + 4], 9
jmp 0x1014d9d6
push 0x24
call fcn.1010faa0
cmp eax, ebx
je 0x1014da25
mov dword [eax], 0x1008b828
mov dword [eax + 4], 8
mov ecx, dword [ebp - 8]
mov edx, dword [ebp - 0x10]
mov dword [eax + 0x20], ebx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0x18], ebx
mov dword [eax + 0x14], 0xffffffff
mov dword [eax + 0x10], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x20]
and ecx, 0xc00
mov dword [eax + 0x20], edx
mov edx, ecx
or edx, ebx
mov dword [eax + 0x18], edi
je 0x1014dac8
push eax
push ebx
push ecx
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.101128c0
mov edi, eax
cmp edi, ebx
jne 0x1014da2e
mov byte [esi + 0x240], 1
xor edi, edi
mov eax, edi
mov edi, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp eax, ebx
je 0x1014d81c
mov ecx, dword [edi - 4]
cmp ecx, ebx
je 0x1014da90
mov edi, dword [esi + 0x54]
mov eax, ecx
lea edx, [eax + 1]
mov dword [ebp - 0x10], edx
mov dl, byte [eax]
inc eax
cmp dl, bl
jne 0x1014da50
sub eax, dword [ebp - 0x10]
lea edx, [ebp - 0x18]
push edx
push ecx
lea ecx, [edi + 0x30]
push ecx
add edi, 0x48
push edi
mov edi, eax
call fcn.101bff90
cmp eax, ebx
jl 0x1014dd43
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
push edx
push eax
lea ecx, [ebp - 0x40]
push ecx
push esi
call fcn.1014f3d0
test eax, eax
je 0x1014d81c
mov eax, dword [ebp - 0x14]
add dword [ebp - 0xc], 0x20
inc eax
mov dword [ebp - 0x14], eax
cmp eax, 0x19
jb 0x1014d880
mov eax, dword [esi + 0x78]
push eax
push ebx
push ebx
lea edx, [ebp - 0x40]
push edx
mov ecx, esi
call fcn.101128c0
mov edi, eax
cmp edi, ebx
je 0x1014db16
mov eax, dword [0x101e316c]
cmp eax, ebx
jge 0x1014dacf
xor eax, eax
jmp 0x1014dad6
mov edi, eax
jmp 0x1014da2e
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax + 4]
push 0x10
push 0x24
call fcn.101d8457
cmp eax, ebx
je 0x1014db16
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xffffffff
mov dword [eax], 0x1008b85c
mov dword [eax + 4], 9
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], 1
mov dword [eax + 0x20], 4
jmp 0x1014db1f
mov byte [esi + 0x240], 1
xor eax, eax
mov dword [esi + 0x1c8], eax
cmp eax, ebx
je 0x1014d81c
mov eax, dword [esi + 0x78]
push eax
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.101128c0
mov edi, eax
cmp edi, ebx
je 0x1014db7c
push 0x24
call fcn.1010faa0
cmp eax, ebx
je 0x1014db7c
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xffffffff
mov dword [eax], 0x1008b828
mov dword [eax + 4], 8
mov ecx, 4
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], ecx
jmp 0x1014db85
mov byte [esi + 0x240], 1
xor eax, eax
mov dword [esi + 0x1cc], eax
cmp eax, ebx
je 0x1014d81c
mov ecx, dword [esi + 0x98]
push ecx
push ebx
push 0x400000
lea edx, [ebp - 0x40]
push edx
mov ecx, esi
call fcn.101128c0
mov dword [esi + 0x1b8], eax
cmp eax, ebx
je 0x1014d81c
push eax
push ebx
push ebx
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
call fcn.101128c0
mov edi, eax
cmp edi, ebx
je 0x1014dc08
push 0x24
call fcn.1010faa0
cmp eax, ebx
je 0x1014dc08
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xffffffff
mov dword [eax], 0x1008b85c
mov dword [eax + 4], 9
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], 1
mov dword [eax + 0x20], 2
jmp 0x1014dc11
mov byte [esi + 0x240], 1
xor eax, eax
mov dword [esi + 0x1bc], eax
cmp eax, ebx
je 0x1014d81c
mov eax, dword [esi + 0x1b8]
push eax
push ebx
push ebx
lea ecx, [ebp - 0x40]
push ecx
mov ecx, esi
call fcn.101128c0
mov edi, eax
cmp edi, ebx
je 0x1014dc74
push 0x24
call fcn.1010faa0
cmp eax, ebx
je 0x1014dc74
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xffffffff
mov dword [eax], 0x1008b85c
mov dword [eax + 4], 9
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], 1
mov dword [eax + 0x20], 3
jmp 0x1014dc7d
mov byte [esi + 0x240], 1
xor eax, eax
mov dword [esi + 0x1c0], eax
cmp eax, ebx
je 0x1014d81c
mov eax, dword [esi + 0x1b8]
push eax
push ebx
push ebx
lea edx, [ebp - 0x40]
push edx
mov ecx, esi
call fcn.101128c0
mov edi, eax
cmp edi, ebx
je 0x1014dce0
push 0x24
call fcn.1010faa0
cmp eax, ebx
je 0x1014dce0
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 0xffffffff
mov dword [eax], 0x1008b85c
mov dword [eax + 4], 9
mov dword [eax + 0x18], edi
mov dword [eax + 0x1c], 1
mov dword [eax + 0x20], 4
jmp 0x1014dce9
mov byte [esi + 0x240], 1
xor eax, eax
mov dword [esi + 0x1c4], eax
cmp eax, ebx
je 0x1014d81c
mov edi, esi
mov edx, dword [edi + 0x54]
lea eax, [edi + 0x1d0]
push eax
mov esi, 0x1008308c
call fcn.100a9ef0
cmp eax, ebx
jl 0x1014dd43
mov edx, dword [edi + 0x54]
lea ecx, [edi + 0x1d4]
push ecx
mov esi, 0x1008e144
call fcn.100a9ef0
cmp eax, ebx
jl 0x1014dd43
lea edx, [edi + 0x1d8]
push edx
mov edx, dword [edi + 0x54]
mov esi, 0x100820f3
call fcn.100a9ef0
cmp eax, ebx
jl 0x1014dd43
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4