Function at 0x10194d80
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov edx, dword [edi + 0xc]
xor esi, esi
test edx, edx
jbe 0x10194da1
mov eax, dword [edi + 0x7f34]
mov eax, dword [eax]
jmp 0x10194da3
xor eax, eax
xor ecx, ecx
test edx, edx
jbe 0x10194dce
lea esp, [esp]
mov eax, dword [eax + 0x60]
cmp eax, esi
jbe 0x10194dbe
cmp eax, 0xffffffff
je 0x10194dbe
mov esi, eax
inc ecx
cmp ecx, edx
jae 0x10194dce
mov eax, dword [edi + 0x7f34]
mov eax, dword [eax + ecx*4]
jmp 0x10194db0
mov eax, dword [edi + 0x10]
inc esi
mov dword [ebp - 0x10], esi
test eax, eax
jbe 0x10194de0
mov ecx, dword [edi + 0x14]
mov ecx, dword [ecx]
jmp 0x10194de2
xor ecx, ecx
mov esi, ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], 0
test eax, eax
jbe 0x10195123
mov ebx, dword [esi + 8]
mov ecx, ebx
test ebx, ebx
jbe 0x10194e26
mov edi, dword [esi + 0xc]
mov dword [ebp - 0xc], ebx
mov eax, dword [edi]
cmp dword [eax + 8], 0xffffffff
jne 0x10194e1d
mov eax, dword [eax + 0x50]
mov eax, dword [eax + 8]
and eax, 0x20
xor edx, edx
or eax, edx
je 0x10194e1d
dec ecx
add edi, 4
sub dword [ebp - 0xc], 1
jne 0x10194e05
cmp ecx, ebx
je 0x101950f5
mov dword [ebp - 0xc], 0
test ecx, ecx
je 0x10194e6c
mov eax, dword [ebp + 8]
push ecx
push ecx
and ecx, 0xfffff
or ecx, 0x10000000
push ecx
lea edx, [ebp - 0xc]
push edx
push eax
call fcn.10169e20
test eax, eax
jl 0x101951f2
mov ecx, dword [esi + 0x34]
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x34], ecx
mov edx, dword [esi + 0x38]
mov dword [eax + 0x38], edx
cmp dword [esi + 8], 0
mov dword [ebp - 4], 0
jbe 0x101950f2
mov dword [ebp - 0x18], 0
jmp 0x10194e89
mov esi, dword [ebp - 0x28]
mov eax, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
mov eax, dword [eax + ecx*4]
mov edx, dword [eax + 0x50]
mov esi, dword [eax + 0x64]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x8040]
mov eax, dword [0x101e316c]
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x20], edx
mov dword [ebp - 8], ecx
jge 0x10194eb9
xor eax, eax
jmp 0x10194ec0
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
cmp dword [eax + 0xc], edi
je 0x10194ee8
mov ecx, dword [eax + 0xc]
cmp ecx, edi
jne 0x10194ed2
xor ecx, ecx
mov ebx, ecx
jmp 0x10194ef9
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
cmp edx, edi
jne 0x10194ede
mov dword [eax + 0x10], edi
mov dword [ecx], 0xfefefefe
mov ebx, ecx
jmp 0x10194ef9
mov ecx, dword [eax + 8]
push 0x10
push pe_nt_image_headers32
call fcn.101d8457
mov ebx, eax
cmp ebx, edi
je 0x10194f50
mov edx, dword [ebp - 0x10]
or eax, 0xffffffff
push esi
mov dword [ebx + 0x50], eax
mov dword [ebx + 0x48], eax
mov eax, dword [ebp - 8]
push edx
push eax
mov eax, ebx
mov dword [ebx], edi
mov dword [ebx + 4], edi
mov dword [ebx + 0x94], edi
mov dword [ebx + 0x98], edi
mov dword [ebx + 0x24], edi
call fcn.10165570
mov esi, eax
mov dword [ebp - 8], esi
test esi, esi
jl 0x10194f5a
mov edi, dword [ebp + 8]
push 0
call fcn.10169830
mov esi, eax
mov dword [ebp - 8], eax
test esi, esi
jl 0x10194f5a
xor esi, esi
mov dword [ebp - 0x14], ebx
jmp 0x10195087
mov esi, 0x8007000e
jmp 0x10195087
mov ecx, dword [ebx + 0x50]
test ecx, ecx
je 0x10194f8c
cmp ecx, 0xffffffff
je 0x10194f8c
mov eax, dword [ebx + 4]
test eax, eax
je 0x10194f73
mov edx, dword [ebx]
mov dword [eax], edx
jmp 0x10194f78
mov eax, dword [ebx]
mov dword [ecx + 0x24], eax
mov eax, dword [ebx]
test eax, eax
je 0x10194f86
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
jmp 0x10194f8c
mov edx, dword [ebx + 4]
mov dword [ecx + 0x28], edx
mov edi, dword [ebx + 0x94]
test edi, edi
je 0x10194fe6
cmp byte [edi + 0xc], 0
mov dword [edi + 8], 0
je 0x10194fd0
mov esi, dword [edi]
test esi, esi
je 0x10194fc9
mov eax, dword [0x101e316c]
test eax, eax
jge 0x10194fb6
xor eax, eax
jmp 0x10194fbd
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 esi, dword [ebp - 8]
mov byte [edi + 0xc], 0
push edi
mov dword [edi], 0
mov dword [edi + 4], 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
mov edi, dword [ebx + 0x98]
xor eax, eax
mov dword [ebx + 0x94], eax
cmp edi, eax
je 0x10195043
mov dword [edi + 8], eax
cmp byte [edi + 0xc], al
je 0x1019502d
mov esi, dword [edi]
test esi, esi
je 0x10195026
mov eax, dword [0x101e316c]
test eax, eax
jge 0x10195013
xor eax, eax
jmp 0x1019501a
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 esi, dword [ebp - 8]
mov byte [edi + 0xc], 0
push edi
mov dword [edi], 0
mov dword [edi + 4], 0
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
mov dword [ebx + 0x98], edi
mov eax, dword [0x101e316c]
cmp eax, edi
jl 0x1019505d
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], 0
mov eax, dword [edi + 0x10]
add esp, 0xc
test eax, eax
je 0x10195081
mov dword [eax], ebx
jmp 0x10195084
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], ebx
test esi, esi
jl 0x101951f0
mov eax, dword [ebp - 0x1c]
mov edx, dword [eax + 0x4c]
mov esi, dword [ebp - 0x14]
mov dword [esi + 0x4c], edx
cmp dword [eax + 8], 0xffffffff
jne 0x101950b0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 8]
and eax, 0x20
xor ecx, ecx
or eax, ecx
jne 0x101950d9
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0xc]
mov esi, dword [ebp - 0xc]
mov edi, dword [esi + 0xc]
mov ecx, dword [ebp - 4]
mov ebx, dword [eax + ecx*4]
mov eax, dword [ebp - 0x18]
mov dword [eax + edi], ebx
mov edi, dword [esi + 4]
mov esi, dword [ebp - 0x14]
mov dword [eax + edi], esi
add eax, 4
mov dword [ebp - 0x18], eax
jmp 0x101950df
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [eax + ecx*4], esi
inc ecx
mov dword [ebp - 4], ecx
cmp ecx, dword [edx + 8]
jb 0x10194e86
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x10]
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jb 0x1019510f
mov ecx, eax
xor esi, esi
mov dword [ebp - 0x24], ecx
jmp 0x10195115
mov edx, dword [edx + 0x14]
mov esi, dword [edx + ecx*4]
mov dword [ebp - 0x28], esi
cmp ecx, eax
jb 0x10194df6
mov edi, dword [ebp + 8]
push edi
call fcn.10175ad0
test eax, eax
jl 0x101951f2
mov ecx, dword [edi + 0xc]
test ecx, ecx
jbe 0x10195142
mov eax, dword [edi + 0x7f34]
mov eax, dword [eax]
jmp 0x10195144
xor eax, eax
xor esi, esi
test ecx, ecx
jbe 0x101951e5
or ecx, 0xffffffff
cmp dword [eax + 0x88], ecx
jne 0x101951c6
cmp dword [eax + 0x18], ecx
jne 0x101951c6
mov ecx, dword [edi + 0x8020]
mov edx, dword [eax + 0x50]
cmp edx, ecx
je 0x101951c6
test edx, edx
je 0x1019519a
cmp edx, 0xffffffff
je 0x1019519a
mov edi, dword [eax + 4]
test edi, edi
je 0x10195181
mov ebx, dword [eax]
mov dword [edi], ebx
jmp 0x10195186
mov edi, dword [eax]
mov dword [edx + 0x24], edi
mov edi, dword [eax]
test edi, edi
je 0x10195194
mov edx, dword [eax + 4]
mov dword [edi + 4], edx
jmp 0x1019519a
mov edi, dword [eax + 4]
mov dword [edx + 0x28], edi
test ecx, ecx
je 0x101951c0
cmp ecx, 0xffffffff
je 0x101951c0
mov edx, dword [ecx + 0x28]
mov dword [eax + 4], edx
mov edx, dword [ecx + 0x28]
test edx, edx
je 0x101951b4
mov dword [edx], eax
jmp 0x101951b7
mov dword [ecx + 0x24], eax
mov dword [eax], 0
mov dword [ecx + 0x28], eax
mov edi, dword [ebp + 8]
mov dword [eax + 0x50], ecx
mov ecx, dword [edi + 0xc]
inc esi
cmp esi, ecx
jb 0x101951d4
xor eax, eax
mov esi, ecx
jmp 0x101951dd
mov eax, dword [edi + 0x7f34]
mov eax, dword [eax + esi*4]
cmp esi, ecx
jb 0x1019514e
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4