Function at 0x113060
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, edx
mov ebx, ecx
test edi, edi
je 0x1133a8
mov eax, dword [edi + 8]
test eax, eax
je 0x1133a8
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0x11308e
call fcn.00131bf0
jmp 0x1130b1
mov ecx, 4
call fcn.000f2310
mov ecx, dword [edi + 8]
mov dword [ecx + 0xc8], eax
mov eax, dword [edi + 8]
cmp dword [eax + 0xc8], 0
je 0x1133fa
mov eax, dword [edi + 8]
mov dword [eax + 0xcc], 0
mov eax, dword [edi + 8]
mov eax, dword [eax + 0xd0]
test eax, eax
je 0x1130ea
nop dword [eax + eax]
mov esi, dword [eax]
push eax
call fcn.00158d47
add esp, 4
mov eax, esi
test esi, esi
jne 0x1130d0
mov eax, dword [edi + 8]
mov dword [eax + 0xd0], esi
cmp dword [ebx + 0x98], 1
mov edx, dword [ebp + 8]
jne 0x113100
movzx ecx, byte [edx + 0x13]
movzx eax, byte [edx + 0x12]
jmp 0x113108
movzx ecx, byte [edx + 0x12]
movzx eax, byte [edx + 0x13]
shl ecx, 8
add ecx, eax
mov eax, dword [edi + 8]
movzx ecx, cx
mov dword [eax + 0x18], ecx
cmp dword [ebx + 0x98], 1
jne 0x113129
movzx ecx, byte [edx + 0x11]
movzx eax, byte [edx + 0x10]
jmp 0x113131
movzx ecx, byte [edx + 0x10]
movzx eax, byte [edx + 0x11]
shl ecx, 8
add ecx, eax
mov eax, dword [edi + 8]
movzx ecx, cx
mov dword [eax + 0xc4], ecx
mov ecx, dword [edi + 8]
mov eax, dword [ebp + 0xc]
mov dword [ecx + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ecx + 0xc], eax
cmp dword [ebx + 0x98], 1
jne 0x113164
movzx ecx, byte [edx + 0x17]
movzx eax, byte [edx + 0x16]
jmp 0x11316c
movzx ecx, byte [edx + 0x16]
movzx eax, byte [edx + 0x17]
shl ecx, 8
add ecx, eax
mov eax, dword [edi + 8]
test cl, 2
je 0x113182
mov dword [eax + 0x10], 2
jmp 0x113189
mov dword [eax + 0x10], 1
mov eax, dword [edi + 8]
xor ecx, ecx
mov dword [eax + 0x14], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x28], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x2c], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x30], 0
mov dword [eax + 0x34], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x38], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x40], 0
mov dword [eax + 0x44], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x48], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x50], 0
mov dword [eax + 0x54], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x58], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x60], 0
mov dword [eax + 0x64], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x68], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x80], 0
mov dword [eax + 0x84], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x88], 0
mov dword [eax + 0x8c], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x90], 0
mov dword [eax + 0x94], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x98], 0
mov dword [eax + 0x9c], 0
mov eax, dword [edi + 8]
mov dword [eax + 0xa0], 0
mov dword [eax + 0xa4], 0
mov eax, dword [edi + 8]
mov dword [eax + 0xa8], 0
mov dword [eax + 0xac], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x70], 0
mov dword [eax + 0x74], 0
mov eax, dword [edi + 8]
mov dword [eax + 0x78], 0
mov dword [eax + 0x7c], 0
mov eax, dword [edi + 8]
mov word [eax + 0xb0], cx
cmp dword [ebx + 0x98], 1
jne 0x1132ef
movzx ecx, byte [edx + 0x17]
movzx eax, byte [edx + 0x16]
jmp 0x1132f7
movzx ecx, byte [edx + 0x16]
movzx eax, byte [edx + 0x17]
shl ecx, 8
add ecx, eax
mov eax, dword [edi + 8]
and cl, 1
movzx ecx, cl
neg ecx
sbb ecx, ecx
add ecx, 2
mov dword [eax + 4], ecx
cmp dword [ebx + 0x98], 1
movzx ecx, byte [edx + 0x15]
movzx esi, byte [edx + 0x14]
jne 0x113329
mov eax, ecx
shl eax, 8
add eax, esi
jmp 0x113330
mov eax, esi
shl eax, 8
add eax, ecx
movzx eax, ax
add eax, edx
cmp dword [ebx + 0x98], 1
mov dword [ebp + 8], eax
jne 0x113346
shl ecx, 8
jmp 0x113349
shl esi, 8
mov eax, dword [edi + 8]
add ecx, esi
push 0
mov edx, edi
push dword [eax + 0xc]
push dword [eax + 8]
movzx eax, cx
mov ecx, dword [ebx + 0x130]
sub ecx, eax
push ecx
push dword [ebp + 8]
mov ecx, ebx
call fcn.0010f370
add esp, 0x14
test eax, eax
jne 0x1133ff
mov eax, dword [edi + 8]
mov ecx, dword [eax + 0xc8]
test ecx, ecx
je 0x11339d
mov ecx, dword [ecx]
test ecx, ecx
je 0x11339d
test byte [ecx + 8], 1
je 0x11339d
or dword [eax + 4], 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
or dword [eax + 4], 8
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
call fcn.000ee7f0
mov edi, dword [0x1aa224]
push edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x1133e7
push 0xc08
call fcn.0015c8ae
add esp, 4
mov esi, eax
push 0xc08
push 0
push esi
call fcn.00153d90
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push str.ntfs_dinode_copy:_NULL_fs_file_given
mov dword [esi], 0x8000006
call fcn.000ee5f0
add esp, 4
mov eax, 1
pop edi
pop esi
pop ebx
pop ebp
ret