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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x40], edx
xorps xmm0, xmm0
mov dword [ebp - 0x14], esi
push edi
mov dword [ebp - 0x10], 0
test byte [esi + 8], 2
mov eax, dword [esi + 4]
movlpd qword [ebp - 0x50], xmm0
mov ebx, dword [eax + 0xc]
jne 0x48fd22
mov edi, dword [0x56161c]
push edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x48fd06
push 0xc08
call fcn.004bb5d5
add esp, 4
mov esi, eax
push 0xc08
push 0
push esi
call fcn.004c13c0
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push str.tsk_fs_file_walk_nonres:_called_with_non_non_resident_data
mov dword [esi], 0x8000006
call fcn.004768f0
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, edx
and eax, 1
mov dword [ebp - 0x3c], eax
je 0x48fd37
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x3c]
jmp 0x48fd40
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x24]
mov edx, dword [esi + 0x30]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x40]
and eax, 4
mov dword [ebp - 8], edx
mov dword [ebp - 0x44], eax
jne 0x48fd65
mov ecx, dword [ebx + 0x50]
call fcn.00479b80
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x48fd19
mov eax, dword [esi + 0x28]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x48ffd9
mov ecx, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x50]
mov dword [ebp - 4], ecx
cmp dword [eax + 0x1c], 0
xorps xmm0, xmm0
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x34], edx
mov edx, dword [eax + 0x14]
mov dword [ebp - 0x38], edx
mov edx, dword [ebp - 8]
movlpd qword [ebp - 0x50], xmm0
jb 0x48ffc9
ja 0x48fdae
cmp dword [eax + 0x18], 0
jbe 0x48ffc9
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 4]
lea ecx, [ecx]
mov esi, dword [ebp - 0x1c]
add esi, dword [ebp - 0x34]
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x20]
adc esi, dword [ebp - 0x38]
cmp esi, dword [ebx + 0x44]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x14]
ja 0x490026
jb 0x48fdef
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebx + 0x40]
mov edx, dword [ebp - 8]
ja 0x490026
cmp dword [ebp - 0x44], 0
jne 0x48fec1
mov eax, dword [eax + 0x20]
test al, 2
je 0x48fe0d
push dword [ebx + 0x50]
push 0
push dword [ebp - 0x10]
jmp 0x48feb0
test al, 1
je 0x48fe52
push dword [ebx + 0x50]
push 0
push dword [ebp - 0x10]
call fcn.004c13c0
add esp, 0xc
cmp dword [0x561618], 0
je 0x48feb8
mov eax, dword [esi + 4]
mov eax, dword [eax + 8]
push dword [eax + 0xc]
push dword [eax + 8]
push str.tsk_fs_attr_walk_nonres:_File__llu_has_FILLER_entry__using_0s_n
call fcn.004bdd06
add eax, 0x40
push eax
call fcn.004bea01
add esp, 0x10
jmp 0x48feb8
cmp ecx, dword [esi + 0x44]
jl 0x48fe64
jg 0x48fe5e
cmp edi, dword [esi + 0x40]
jb 0x48fe64
cmp dword [ebp - 0x3c], 0
je 0x48fe00
push dword [ebx + 0x50]
mov edx, dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
call fcn.004912b0
mov ecx, dword [ebx + 0x50]
add esp, 0xc
cmp eax, ecx
jne 0x48fff6
xor eax, eax
mov edx, ecx
add edx, edi
adc eax, dword [ebp - 4]
cmp eax, dword [esi + 0x44]
jl 0x48feb8
jg 0x48fe9a
cmp edx, dword [esi + 0x40]
jbe 0x48feb8
cmp dword [ebp - 0x3c], 0
jne 0x48feb8
mov eax, dword [esi + 0x40]
sub ecx, eax
add ecx, edi
sub eax, edi
add eax, dword [ebp - 0x10]
push ecx
push 0
push eax
call fcn.004c13c0
add esp, 0xc
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 4]
mov esi, dword [ebx + 0x50]
cmp edx, esi
jb 0x48fed2
sub edx, esi
mov dword [ebp - 8], edx
jmp 0x48ffa5
xor ecx, ecx
mov eax, esi
sub eax, edx
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x30]
sbb ecx, ecx
sub edx, edi
sbb eax, dword [ebp - 4]
cmp ecx, eax
jg 0x48fef8
jl 0x48fef3
cmp dword [ebp - 0x4c], edx
jae 0x48fef8
sub esi, dword [ebp - 8]
jmp 0x48fefd
mov esi, dword [ebp - 0x28]
sub esi, edi
mov eax, dword [ebp - 0xc]
test byte [eax + 0x20], 3
jne 0x48ff54
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x44]
jg 0x48ff54
jl 0x48ff18
cmp edi, dword [eax + 0x40]
ja 0x48ff54
push dword [ebp - 0x2c]
mov eax, dword [ebx + 0xd8]
push dword [ebp - 0x24]
push ebx
call eax
add esp, 0xc
or eax, 0x20
push dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
push esi
push eax
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
push dword [ebp - 4]
mov eax, dword [ebp - 0x14]
push edi
push dword [eax + 4]
call dword [ebp + 8]
add esp, 0x24
mov dword [ebp - 0x18], eax
jmp 0x48ff82
mov eax, dword [ebx + 0xd8]
push 0
push 0
push ebx
call eax
add esp, 0xc
or eax, 0x40
test byte [ebp - 0x40], 8
jne 0x48ff7f
push dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x10]
push esi
push eax
push 0
push 0
jmp 0x48ff3f
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
add edi, esi
adc ecx, 0
xor edx, edx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
test eax, eax
jne 0x48ffd6
cmp ecx, dword [ebp - 0x30]
jg 0x48ffd6
jl 0x48ffa2
cmp edi, dword [ebp - 0x28]
jae 0x48ffd6
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x1c], 1
mov esi, dword [ebp - 0x20]
adc esi, 0
mov dword [ebp - 0x20], esi
cmp esi, dword [eax + 0x1c]
jb 0x48fdc0
ja 0x48ffc9
mov esi, dword [ebp - 0x1c]
cmp esi, dword [eax + 0x18]
jb 0x48fdc0
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x48fd81
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48ffe9
push eax
call fcn.004bae83
add esp, 4
cmp edi, 2
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
js 0x490009
call fcn.00476ab0
mov ecx, 0x8000004
call fcn.00476850
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
adc ecx, dword [ebp - 0x38]
push ecx
push eax
push str.tsk_fs_file_walk:_Error_reading_block_at__llu
call fcn.00476950
jmp 0x4900c5
mov eax, dword [esi + 4]
mov edi, dword [0x56161c]
push edi
mov eax, dword [eax + 8]
test byte [eax + 4], 2
je 0x490074
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x49006c
push 0xc08
call fcn.004bb5d5
add esp, 4
mov esi, eax
push 0xc08
push 0
push esi
call fcn.004c13c0
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x800000e
jmp 0x4900ad
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x4900a7
push 0xc08
call fcn.004bb5d5
add esp, 4
mov esi, eax
push 0xc08
push 0
push esi
call fcn.004c13c0
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov dword [esi], 0x8000007
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x20]
adc ecx, dword [ebp - 0x38]
push ecx
push eax
push str.Invalid_address_in_run__too_large_:__llu
call fcn.004768f0
add esp, 0xc
push dword [ebp - 0x10]
call fcn.004bae83
add esp, 4
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret