Function at 0x130f80
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 0x131002
mov edi, dword [0x1aa224]
push edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x130fe6
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.tsk_fs_file_walk_nonres:_called_with_non_non_resident_data
mov dword [esi], 0x8000006
call fcn.000ee5f0
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 0x131017
mov eax, dword [esi + 0x38]
mov dword [ebp - 0x28], eax
mov eax, dword [esi + 0x3c]
jmp 0x131020
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 0x131045
mov ecx, dword [ebx + 0x50]
call fcn.000f2310
mov ecx, eax
mov dword [ebp - 0x10], ecx
test ecx, ecx
je 0x130ff9
mov eax, dword [esi + 0x28]
xor edi, edi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1312bb
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 0x1312ab
ja 0x13108e
cmp dword [eax + 0x18], 0
jbe 0x1312ab
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]
nop dword [eax]
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 0x13130f
jb 0x1310cf
mov edx, dword [ebp - 0x24]
cmp edx, dword [ebx + 0x40]
mov edx, dword [ebp - 8]
ja 0x13130f
cmp dword [ebp - 0x44], 0
jne 0x1311a3
mov eax, dword [eax + 0x20]
test al, 2
je 0x1310ed
push dword [ebx + 0x50]
push 0
push dword [ebp - 0x10]
jmp 0x131192
test al, 1
je 0x131134
push dword [ebx + 0x50]
push 0
push dword [ebp - 0x10]
call fcn.00153d90
add esp, 0xc
cmp dword [0x1aa220], 0
je 0x13119a
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
push 2
call fcn.00158e14
add esp, 4
push eax
call fcn.000a3930
add esp, 0x10
jmp 0x13119a
cmp ecx, dword [esi + 0x44]
jl 0x131146
jg 0x131140
cmp edi, dword [esi + 0x40]
jb 0x131146
cmp dword [ebp - 0x3c], 0
je 0x1310e0
push dword [ebx + 0x50]
mov edx, dword [ebp - 0x10]
mov ecx, ebx
push dword [ebp - 0x2c]
push dword [ebp - 0x24]
call fcn.00135490
mov ecx, dword [ebx + 0x50]
add esp, 0xc
cmp eax, ecx
jne 0x1312d8
xor eax, eax
mov edx, ecx
add edx, edi
adc eax, dword [ebp - 4]
cmp eax, dword [esi + 0x44]
jl 0x13119a
jg 0x13117c
cmp edx, dword [esi + 0x40]
jbe 0x13119a
cmp dword [ebp - 0x3c], 0
jne 0x13119a
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.00153d90
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 0x1311b4
sub edx, esi
mov dword [ebp - 8], edx
jmp 0x131287
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 0x1311da
jl 0x1311d5
cmp dword [ebp - 0x4c], edx
jae 0x1311da
sub esi, dword [ebp - 8]
jmp 0x1311df
mov esi, dword [ebp - 0x28]
sub esi, edi
mov eax, dword [ebp - 0xc]
test byte [eax + 0x20], 3
jne 0x131236
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 4]
cmp ecx, dword [eax + 0x44]
jg 0x131236
jl 0x1311fa
cmp edi, dword [eax + 0x40]
ja 0x131236
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 0x131264
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 0x131261
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 0x131221
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 0x1312b8
cmp ecx, dword [ebp - 0x30]
jg 0x1312b8
jl 0x131284
cmp edi, dword [ebp - 0x28]
jae 0x1312b8
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 0x1310a0
ja 0x1312ab
mov esi, dword [ebp - 0x1c]
cmp esi, dword [eax + 0x18]
jb 0x1310a0
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
test eax, eax
jne 0x131061
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x1312cb
push eax
call fcn.00158d47
add esp, 4
cmp edi, 2
sete al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test eax, eax
js 0x1312eb
call fcn.000ee7f0
mov ecx, 0x8000004
call fcn.000ee550
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.000ee650
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 4]
mov edi, dword [0x1aa224]
push edi
mov eax, dword [eax + 8]
test byte [eax + 4], 2
je 0x13135d
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x131355
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]
mov dword [esi], 0x800000e
jmp 0x131396
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x131390
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]
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.000ee5f0
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret