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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x11fa1680
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.11cce6d0
mov al, byte [0x121248e4]
test al, 1
jne 0x11cd27f3
mov bl, al
push 0x12119948
or bl, 1
mov ecx, 0x121248e0
mov byte [0x121248e4], bl
call fcn.11e7eae0
push 0x11cd2c60
call fcn.11e67970
add esp, 4
mov al, byte [0x121248e4]
test al, 2
jne 0x11cd2823
mov bl, al
push 0x12119948
or bl, 2
mov ecx, 0x121248dc
mov byte [0x121248e4], bl
call fcn.11e7eae0
push 0x11cd2c50
call fcn.11e67970
add esp, 4
mov al, byte [0x121248e4]
test al, 4
jne 0x11cd2853
mov bl, al
push 0x12119948
or bl, 4
mov ecx, 0x121248d8
mov byte [0x121248e4], bl
call fcn.11e7eae0
push 0x11cd2c40
call fcn.11e67970
add esp, 4
mov eax, dword [esi + 0x40]
or ebp, 0xffffffff
xor edi, edi
cmp eax, ebp
je 0x11cd2bfa
cmp dword [esi + 0x44], ebp
je 0x11cd2bfa
mov eax, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x10], edi
mov edi, dword [esp + 0x3c]
cmp dword [eax], 0
jne 0x11cd28b1
push 0
push 0
push ebx
mov ecx, 0x1212b5c0
mov dword [eax], 1
call fcn.11d7b5d0
test eax, eax
jne 0x11cd28aa
push eax
push ebx
mov ecx, 0x1212b5c0
call fcn.11d7c540
test eax, eax
je 0x11cd28af
mov eax, 1
mov dword [edi], eax
mov eax, dword [0x121248e0]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x11cd2933
push 0x12119948
lea ecx, [esp + 0x3c]
call fcn.11e7eae0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0
call fcn.11e84ba0
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 1
push ecx
push str._LocalAppData_MicrosoftCD_Burning
call fcn.11d6d940
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
jle 0x11cd2909
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push edx
call fcn.11e7f410
lea eax, [esp + 0x38]
mov ecx, 0x121248e0
push eax
call fcn.11e7f410
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 0
call fcn.11e84bb0
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebp
call fcn.11e7f280
mov ecx, dword [0x121248dc]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x11cd29b6
push 0x12119948
lea ecx, [esp + 0x3c]
call fcn.11e7eae0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 2
call fcn.11e84ba0
lea edx, [esp + 0x14]
mov byte [esp + 0x2c], 3
push edx
push str._LocalAppData_MicrosoftWallpaper1.bmp
call fcn.11d6d940
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
jle 0x11cd298c
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x38]
push eax
call fcn.11e7f410
lea ecx, [esp + 0x38]
push ecx
mov ecx, 0x121248dc
call fcn.11e7f410
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 2
call fcn.11e84bb0
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebp
call fcn.11e7f280
mov edx, dword [0x121248d8]
mov eax, dword [edx - 8]
test eax, eax
jne 0x11cd2a39
push 0x12119948
lea ecx, [esp + 0x3c]
call fcn.11e7eae0
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 4
call fcn.11e84ba0
lea eax, [esp + 0x14]
mov byte [esp + 0x2c], 5
push eax
push str._UserAppData_MicrosoftWindowsThemesTranscodedWallpaper.jpg
call fcn.11d6d940
mov eax, dword [esp + 0x20]
add esp, 8
test eax, eax
jle 0x11cd2a0f
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x3c]
call fcn.11e7f410
lea edx, [esp + 0x38]
mov ecx, 0x121248d8
push edx
call fcn.11e7f410
lea ecx, [esp + 0x14]
mov byte [esp + 0x2c], 4
call fcn.11e84bb0
lea ecx, [esp + 0x38]
mov dword [esp + 0x2c], ebp
call fcn.11e7f280
cmp dword [edi], 0
je 0x11cd2aec
mov eax, dword [esi + 0x40]
mov ebp, dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 1
push eax
mov dword [esi + 0x48], 1
call ebp
mov ecx, dword [0x12133f80]
test ecx, ecx
je 0x11cd2a86
mov ecx, dword [esi + 0x40]
mov edx, dword [0x12126854]
push eax
push ecx
push 0xa53
push edx
push str.__s__CSafeDocProtect::OnNtCreateFile___Burn__:_Line:_d__TlsIndex__x_TRUE__Ret__d
push str.cdburn
push 4
call fcn.11ca5810
add esp, 0x1c
call fcn.11e93550
test eax, eax
je 0x11cd2c28
mov eax, dword [esi + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x11cd2aab
mov dword [esp + 0x10], 1
mov ecx, dword [esi + 0x44]
push 0
push ecx
call ebp
mov ecx, dword [0x12133f80]
test ecx, ecx
je 0x11cd2bc1
mov edx, dword [esi + 0x44]
push eax
mov eax, dword [0x12126854]
push edi
push edx
push ebx
push 0xa5f
push eax
push str.__s__CSafeDocProtect::OnNtCreateFile___Burn__:_Line:_d__File__s__TlsIndex2__x_Get__d__Ret__d
push str.cdburn
push 4
call fcn.11ca5810
add esp, 0x24
jmp 0x11cd2bc1
call fcn.11e93550
mov ebp, dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x11cd2b46
mov ecx, dword [0x121248d8]
push ecx
push ebx
call fcn.11e9bad0
mov edx, dword [esi + 0x44]
add esp, 8
mov edi, eax
push edi
push edx
call ebp
mov ecx, dword [0x12133f80]
test ecx, ecx
je 0x11cd2b89
mov ecx, dword [0x12126854]
push eax
mov eax, dword [esi + 0x44]
push edi
push eax
push 0xa6b
push ecx
push str.__s__CSafeDocProtect::OnNtCreateFile___Burn__:_Line:_d__TlsIndex2__x_set__d__Ret__d
push str.cdburn
push 4
call fcn.11ca5810
add esp, 0x20
jmp 0x11cd2b89
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edx, dword [esi + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x11cd2b89
mov eax, dword [0x121248e0]
push eax
push ebx
call fcn.11e9bad0
add esp, 8
test eax, eax
jne 0x11cd2b81
mov ecx, dword [0x121248dc]
push ecx
push ebx
call fcn.11e9bad0
add esp, 8
test eax, eax
je 0x11cd2b89
mov dword [esp + 0x10], 1
mov edx, dword [esi + 0x40]
push 0
push edx
call ebp
mov ecx, dword [0x12133f80]
test ecx, ecx
je 0x11cd2bc1
mov ecx, dword [0x12126854]
push eax
mov eax, dword [esi + 0x40]
push eax
push ebx
push 0xa7f
push ecx
push str.__s__CSafeDocProtect::OnNtCreateFile___Burn__:_Line:_d__File__s__TlsIndex__x_FALSE__Ret__d
push str.cdburn
push 4
call fcn.11ca5810
add esp, 0x20
mov eax, dword [esp + 0x10]
test eax, eax
je 0x11cd2c28
mov eax, dword [0x12133f80]
test eax, eax
je 0x11cd2bf3
mov edx, dword [0x12126854]
push ebx
push 0xa85
push edx
push str.__s__CSafeDocProtect::OnNtCreateFile___Burn__:_Line:_d__Forbid_to_access__s_
push str.cdburn
push 4
call fcn.11ca5810
add esp, 0x18
mov eax, 0xc0000022
jmp 0x11cd2c2a
mov ecx, dword [0x12133f80]
test ecx, ecx
je 0x11cd2c24
push eax
mov eax, dword [0x12126854]
push 0xa8d
push eax
push str.__s__CSafeDocProtect::OnNtCreateFile___Burn__:_Line:_d__TlsIndex__0xFFFFFFFF
push str.cdburn
push 4
call fcn.11ca5810
add esp, 0x18
mov eax, edi
jmp 0x11cd2c2a
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc