Function at 0x101cff20
Capabilities:
Get thread local storage value

Disassembly:
push 0xffffffffffffffff
push 0x101d3c78
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x10263fdc]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor eax, eax
or ebp, 0xffffffff
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x30], ebx
mov dword [esp + 0x14], esi
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
cmp eax, ebp
je 0x101cff8c
mov dword [esp + 0x14], 1
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x30], eax
mov eax, dword [0x10264014]
cmp eax, ebp
je 0x101cffd9
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
push eax
call edi
cmp eax, ebx
je 0x101cffd9
mov ecx, dword [0x10264014]
cmp ecx, ebp
jne 0x101cffb0
xor eax, eax
jmp 0x101cffb9
push ecx
call edi
mov ecx, dword [0x10264014]
cmp byte [eax + 0x48], bl
je 0x101cffd9
mov dword [esp + 0x24], esi
cmp ecx, ebp
jne 0x101cffca
xor eax, eax
jmp 0x101cffcd
push ecx
call edi
mov eax, dword [eax + 0x44]
mov dword [esp + esi*4 + 0x30], eax
inc esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ebx
mov ebp, dword [esp + 0x54]
cmp dword [ebp], 0xffffffff
mov ecx, dword [ebp + 4]
mov dword [esp + 0x48], ebx
jne 0x101cfffa
cmp ecx, 0x7fffffff
je 0x101d00ff
lea eax, [esp + 0x28]
push eax
call fcn.10012030
mov ecx, dword [ebp + 4]
mov edx, eax
mov esi, dword [edx]
mov eax, dword [ebp]
mov edx, dword [edx + 4]
add esp, 4
sub eax, esi
sbb ecx, edx
js 0x101d0029
jg 0x101d0020
cmp eax, ebx
jb 0x101d0029
add eax, 0xf423f
adc ecx, ebx
jmp 0x101d0030
sub eax, 0xf423f
sbb ecx, ebx
push ebx
push 0xf4240
push ecx
push eax
call fcn.101cf460
push ebx
push ebx
push ebx
mov edi, edx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CreateWaitableTimerA]
mov dword [esp + 0x50], eax
mov dword [esp + 0x18], eax
cmp eax, ebx
je 0x101d00ff
push 0
push 0x14
push edi
push esi
mov ebx, 0x20
call fcn.101cf460
xor ecx, ecx
cmp edx, ecx
jl 0x101d0078
jg 0x101d0076
cmp eax, ebx
jbe 0x101d0078
mov ebx, eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], ecx
cmp edi, ecx
jl 0x101d00a0
jg 0x101d008a
cmp esi, ecx
jbe 0x101d00a0
push 0xffffffffffffffff
push 0xffffd8f0
push edi
push esi
call fcn.101cf330
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], edx
mov eax, dword [0x10268338]
test eax, eax
jne 0x101d00ce
push str.SetWaitableTimerEx
push str.KERNEL32.DLL
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x101d00c9
mov eax, 0x101cfef0
mov dword [0x10268338], eax
mov esi, dword [esp + 0x50]
push ebx
push 0
push 0
push 0
push 0
lea ecx, [esp + 0x3c]
push ecx
push esi
call eax
test eax, eax
setne al
test al, al
je 0x101d00fd
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov dword [esp + eax*4 + 0x30], esi
inc eax
mov dword [esp + 0x14], eax
xor ebx, ebx
or esi, 0xffffffff
cmp dword [esp + 0x1c], esi
setne al
xor edi, edi
mov byte [esp + 0x50], al
test al, al
jne 0x101d0162
mov ecx, dword [ebp + 4]
cmp dword [ebp], esi
jne 0x101d0123
cmp ecx, 0x7fffffff
je 0x101d0162
lea edx, [esp + 0x28]
push edx
call fcn.10012030
mov esi, dword [eax]
mov eax, dword [eax + 4]
mov ecx, dword [ebp]
mov edx, dword [ebp + 4]
add esp, 4
sub ecx, esi
sbb edx, eax
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x28]
mov dword [esp + 0x2c], edx
call fcn.101cfe20
mov edi, edx
mov esi, eax
cmp edi, ebx
jg 0x101d0162
jl 0x101d015e
cmp esi, ebx
jae 0x101d0162
xor esi, esi
xor edi, edi
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x101d01cf
push 0
push esi
push 0
lea ecx, [esp + 0x3c]
push ecx
push eax
call ebx
cmp eax, dword [esp + 0x14]
jae 0x101d01dd
cmp eax, dword [esp + 0x20]
je 0x101d0267
cmp eax, dword [esp + 0x24]
je 0x101d0299
cmp eax, dword [esp + 0x1c]
jne 0x101d01dd
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
test eax, eax
je 0x101d01b9
cmp eax, 0xffffffff
je 0x101d01b9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
test esi, esi
jne 0x101d01d6
push esi
jmp 0x101d01d7
push esi
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esp + 0x50], 0
jne 0x101d023f
cmp dword [ebp], 0xffffffff
mov ecx, dword [ebp + 4]
jne 0x101d01f5
cmp ecx, 0x7fffffff
je 0x101d023f
lea edx, [esp + 0x28]
push edx
call fcn.10012030
mov ecx, dword [ebp + 4]
mov edx, eax
mov esi, dword [edx]
mov eax, dword [ebp]
mov edx, dword [edx + 4]
add esp, 4
sub eax, esi
sbb ecx, edx
js 0x101d0225
jg 0x101d021b
test eax, eax
jb 0x101d0225
add eax, 0xf423f
adc ecx, 0
jmp 0x101d022d
sub eax, 0xf423f
sbb ecx, 0
push 0
push 0xf4240
push ecx
push eax
call fcn.101cf460
mov edi, edx
mov esi, eax
cmp esi, 0xffffffff
jne 0x101d024c
test edi, edi
je 0x101d0168
test edi, edi
jl 0x101d019d
jg 0x101d0168
test esi, esi
je 0x101d019d
jmp 0x101d0168
mov eax, dword [esp + 0x18]
mov dword [esp + 0x48], 0xffffffff
test eax, eax
je 0x101d0283
cmp eax, 0xffffffff
je 0x101d0283
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret
mov eax, dword [0x10264014]
cmp eax, 0xffffffff
jne 0x101d02a7
xor eax, eax
jmp 0x101d02ae
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov eax, dword [eax + 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x102560a4
lea ecx, [esp + 0x54]
xor al, al
push ecx
mov byte [esp + 0x58], al
call sub.MSVCR100.dll__CxxThrowException
int3