Function at 0x101acf00
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [esi + 0x3c]
and edi, 0xfffff
cmp byte [ebp + 0x14], 0
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x2c], edi
je 0x101acf2d
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov dword [ebp - 0xc], ecx
jmp 0x101acf36
mov edx, dword [esi + 4]
mov eax, dword [edx + edi*8]
mov dword [ebp - 0xc], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [ebp + 0x10]
mov edx, dword [ecx]
mov eax, dword [eax + 0x24]
xor ecx, ecx
mov dword [ebp - 0x38], edx
test eax, eax
je 0x101acf60
lea ebx, [ebx]
mov edx, dword [eax + 0x60]
cmp edx, ecx
jb 0x101acf5a
lea ecx, [edx + 1]
mov eax, dword [eax]
test eax, eax
jne 0x101acf50
mov dword [ebp - 0x30], ecx
xor ecx, ecx
mov dword [ebp - 0x18], ecx
test edi, edi
jbe 0x101ad349
lea eax, [edi*4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], eax
jmp 0x101acf83
mov eax, dword [ebp - 0x3c]
cmp byte [ebp + 0x14], 0
je 0x101acf93
mov ebx, dword [esi + 4]
add ebx, eax
mov dword [ebp - 4], ebx
jmp 0x101acf9b
mov edx, dword [esi + 4]
mov dword [ebp - 4], edx
mov ebx, edx
cmp dword [ebx + ecx*4], 0xffffffff
je 0x101ad336
mov dword [ebp - 0x1c], 0
mov eax, ecx
mov dword [ebp - 0x28], ecx
cmp ecx, edi
jae 0x101acff3
jmp 0x101acfba
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebx + eax*4]
cmp eax, 0xffffffff
je 0x101acfe2
mov edi, dword [ebx + ecx*4]
mov ebx, dword [ebp + 8]
mov esi, eax
call fcn.101acd60
test al, al
je 0x101acfdf
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp eax, 4
jae 0x101acff0
mov ebx, dword [ebp - 4]
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp eax, dword [ebp - 0x14]
jb 0x101acfb7
jmp 0x101acff3
mov ebx, dword [ebp - 4]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x3c]
mov esi, dword [ebp - 0x1c]
and eax, 0xfff00000
mov ecx, eax
push 0xffffffffffffffff
xor ecx, esi
push 0xffffffffffffffff
and ecx, 0xfffff
xor ecx, eax
mov eax, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x10]
push edx
push eax
call fcn.10169e20
test eax, eax
jl 0x101ad34b
mov ecx, dword [edi + 0x34]
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x34], ecx
mov edx, dword [edi + 0x38]
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x18]
mov edi, dword [ebx + eax*4]
mov dword [ebp - 0x20], 0
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x14]
jae 0x101ad117
mov edx, dword [ebp - 0x34]
lea ecx, [esi*4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x28], edx
nop
mov ecx, dword [ebx + eax*4]
cmp ecx, 0xffffffff
je 0x101ad106
mov ebx, dword [ebp + 8]
mov esi, ecx
call fcn.101acd60
test al, al
je 0x101ad100
cmp byte [ebp + 0x14], 0
je 0x101ad0a7
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 8]
mov edx, dword [esi + edx*4]
mov esi, dword [ebp - 0x24]
mov dword [esi + ecx], edx
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x20]
mov dword [eax + edx*4], ecx
jmp 0x101ad0e0
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 4]
mov esi, dword [ebp - 0x28]
mov ecx, dword [esi + ecx]
mov esi, dword [ebp - 0x24]
mov dword [esi + edx], ecx
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 4]
mov esi, dword [ebp - 8]
mov esi, dword [ecx + esi*4]
mov ecx, dword [ebp - 0x20]
mov dword [edx + ecx*4], esi
mov edx, dword [ebp - 0x1c]
lea ecx, [ecx + edx*2]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0xc]
mov dword [edx + ecx*4], eax
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
dec dword [ebp - 0x2c]
add dword [ebp - 0x24], 4
inc eax
mov dword [ecx + edx*4], 0xffffffff
mov dword [ebp - 0x20], eax
cmp eax, 4
jae 0x101ad117
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 4]
add dword [ebp - 0x28], 4
inc eax
mov dword [ebp - 8], eax
cmp eax, dword [ebp - 0x14]
jb 0x101ad060
cmp dword [ebp - 0x2c], 0
je 0x101ad325
mov eax, dword [0x101e316c]
test eax, eax
jge 0x101ad12e
xor eax, eax
jmp 0x101ad135
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], 0
je 0x101ad15c
mov ecx, dword [eax + 0xc]
test ecx, ecx
jne 0x101ad146
mov ebx, ecx
jmp 0x101ad16d
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
test edx, edx
jne 0x101ad152
mov dword [eax + 0x10], edx
mov dword [ecx], 0xfefefefe
mov ebx, ecx
jmp 0x101ad16d
mov ecx, dword [eax + 8]
push 0x10
push pe_nt_image_headers32
call fcn.101d8457
mov ebx, eax
xor eax, eax
cmp ebx, eax
je 0x101ad1c4
push eax
or ecx, 0xffffffff
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x94], eax
mov dword [ebx + 0x98], eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0x30]
mov dword [ebx + 0x50], ecx
mov dword [ebx + 0x48], ecx
mov ecx, dword [ebp + 0x10]
push eax
push ecx
mov eax, ebx
call fcn.10165570
xor esi, esi
cmp eax, esi
mov dword [ebp - 0x24], eax
jl 0x101ad1d0
mov edi, dword [ebp + 8]
push esi
call fcn.10169830
mov dword [ebp - 0x24], eax
test eax, eax
jl 0x101ad1ce
mov dword [ebp - 0x24], esi
mov dword [ebp - 0xc], ebx
jmp 0x101ad2e4
mov eax, 0x8007000e
jmp 0x101ad2e7
xor esi, esi
mov ecx, dword [ebx + 0x50]
cmp ecx, esi
je 0x101ad202
cmp ecx, 0xffffffff
je 0x101ad202
mov eax, dword [ebx + 4]
cmp eax, esi
je 0x101ad1e9
mov edx, dword [ebx]
mov dword [eax], edx
jmp 0x101ad1ee
mov eax, dword [ebx]
mov dword [ecx + 0x24], eax
mov eax, dword [ebx]
cmp eax, esi
je 0x101ad1fc
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
jmp 0x101ad202
mov edx, dword [ebx + 4]
mov dword [ecx + 0x28], edx
mov edi, dword [ebx + 0x94]
cmp edi, esi
je 0x101ad24f
cmp byte [edi + 0xc], 0
mov dword [edi + 8], esi
je 0x101ad241
mov esi, dword [edi]
test esi, esi
je 0x101ad23b
mov eax, dword [0x101e316c]
test eax, eax
jge 0x101ad228
xor eax, eax
jmp 0x101ad22f
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax]
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [edi + 0xc], 0
xor esi, esi
push edi
mov dword [edi], esi
mov dword [edi + 4], esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [ebx + 0x98]
mov dword [ebx + 0x94], esi
cmp edi, esi
je 0x101ad2a2
cmp byte [edi + 0xc], 0
mov dword [edi + 8], esi
je 0x101ad294
mov esi, dword [edi]
test esi, esi
je 0x101ad28e
mov eax, dword [0x101e316c]
test eax, eax
jge 0x101ad27b
xor eax, eax
jmp 0x101ad282
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, dword [eax]
push esi
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [edi + 0xc], 0
xor esi, esi
push edi
mov dword [edi], esi
mov dword [edi + 4], esi
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov dword [ebx + 0x98], esi
mov eax, dword [0x101e316c]
cmp eax, esi
jge 0x101ad2b5
xor edi, edi
jmp 0x101ad2be
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push pe_nt_image_headers32
push 0xfe
push ebx
call sub.msvcrt.dll_memset
mov dword [ebx], esi
mov eax, dword [edi + 0x10]
add esp, 0xc
cmp eax, esi
je 0x101ad2de
mov dword [eax], ebx
jmp 0x101ad2e1
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
mov eax, dword [ebp - 0x24]
inc dword [ebp - 0x30]
test eax, eax
jl 0x101ad34b
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [edx], ecx
mov edx, dword [eax + 0xc]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx + 0x68]
mov dword [eax + 0x68], edx
mov dl, byte [ecx + 0x6c]
add ecx, 0x28
mov byte [eax + 0x6c], dl
mov edx, dword [ecx]
add eax, 0x28
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov ecx, dword [ecx + 8]
mov dword [eax + 8], ecx
jmp 0x101ad330
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov edi, dword [ebp - 0x14]
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
add dword [ebp - 0x34], 4
inc ecx
mov dword [ebp - 0x18], ecx
cmp ecx, edi
jb 0x101acf80
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10