Function at 0x10025c56
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ecx, dword [0x101042e0]
mov esi, eax
call fcn.100290c0
mov ecx, dword [0x101042e4]
xor ebx, ebx
mov dword [ebp - 4], eax
cmp ecx, 0xffffffff
je 0x10025bd4
call fcn.100290c0
mov edi, eax
test edi, edi
je 0x10025bce
cmp edi, 0xffffffff
je 0x10025c41
jmp 0x10025c23
mov ecx, dword [0x101042e4]
or edx, 0xffffffff
call fcn.1003b000
test eax, eax
je 0x10025c41
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
pop ecx
mov edi, eax
pop ecx
mov ecx, dword [0x101042e4]
test edi, edi
je 0x10025c33
mov edx, edi
call fcn.1003b000
test eax, eax
jne 0x10025c15
mov ecx, dword [0x101042e4]
xor edx, edx
call fcn.1003b000
push edi
jmp 0x10025c3b
mov ecx, edi
call fcn.1003e545
push ebx
call sym.ucrtbase.dll__free_base
pop ecx
imul eax, dword [ebp - 4], 0x364
add eax, edi
mov dword [ebp - 4], eax
mov edi, eax
jmp 0x10025c43
xor edx, edx
call fcn.1003b000
push ebx
call sym.ucrtbase.dll__free_base
pop ecx
mov edi, ebx
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
test edi, edi
jne 0x10025c56
push 0xc
pop eax
jmp 0x10025dc0
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edi, dword [0x10105650]
mov esi, eax
mov eax, dword [0x101042e0]
mov dword [ebp - 4], eax
nop
mov ecx, dword [0x101042d0]
xor edi, dword [0x101042d0]
and ecx, 0x1f
ror edi, cl
cmp edi, 0xffffffff
je 0x10025cd9
test edi, edi
jne 0x10025d27
mov edi, 0x1000a588
mov ecx, dword [edi]
call fcn.1003269e
test eax, eax
jne 0x10025ca8
add edi, 4
cmp edi, 0x1000a590
jne 0x10025c90
jmp 0x10025cba
push 0x1000a548
push eax
call dword [sym.imp.api_ms_win_core_libraryloader_l1_1_0.dll_GetProcAddress]
mov edi, eax
test edi, edi
jne 0x10025d09
mov eax, dword [0x101042d0]
and eax, 0x1f
push 0x20
pop ecx
sub ecx, eax
or eax, 0xffffffff
ror eax, cl
mov ecx, 0x10105650
xor eax, dword [0x101042d0]
xchg dword [ecx], eax
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsGetValue]
mov ecx, dword [0x101042e4]
mov dword [ebp - 4], eax
cmp ecx, 0xffffffff
je 0x10025d3c
call fcn.100290c0
mov edi, eax
test edi, edi
je 0x10025d36
cmp edi, 0xffffffff
je 0x10025da4
jmp 0x10025d8b
mov eax, dword [0x101042d0]
and eax, 0x1f
push 0x20
pop ecx
sub ecx, eax
mov eax, edi
ror eax, cl
mov ecx, 0x10105650
xor eax, dword [0x101042d0]
xchg dword [ecx], eax
push dword [ebp - 4]
mov ecx, edi
call dword [0x10106270]
call edi
jmp 0x10025ce2
mov ecx, dword [0x101042e4]
or edx, 0xffffffff
call fcn.1003b000
test eax, eax
je 0x10025da4
push 0x364
push 2
call sym.ucrtbase.dll__calloc_base
pop ecx
mov edi, eax
pop ecx
mov ecx, dword [0x101042e4]
test edi, edi
je 0x10025d96
mov edx, edi
call fcn.1003b000
test eax, eax
jne 0x10025d7d
mov ecx, dword [0x101042e4]
xor edx, edx
call fcn.1003b000
push edi
jmp 0x10025d9e
mov ecx, edi
call fcn.1003e545
push ebx
call sym.ucrtbase.dll__free_base
pop ecx
imul ebx, dword [ebp - 4], 0x364
add ebx, edi
jmp 0x10025da4
xor edx, edx
call fcn.1003b000
push ebx
call sym.ucrtbase.dll__free_base
pop ecx
push esi
call dword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
test ebx, ebx
jne 0x10025db6
mov ebx, 0x101049f4
jmp 0x10025db9
add ebx, 0x10
mov eax, dword [ebp + 8]
mov dword [ebx], eax
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret