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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov ebx, edx
call fcn.00476ab0
test ebx, ebx
jne 0x48f76e
call fcn.00476ab0
mov edi, dword [0x56161c]
push edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x48f752
push 0xc08
call fcn.004bb5d5
add esp, 4
mov esi, eax
push 0xc08
push ebx
push esi
call fcn.004c13c0
add esp, 0xc
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push str.tsk_fs_attr_add_run:_Error__a_fs_attr_is_NULL
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 esi, dword [ebp + 8]
test esi, esi
jne 0x48f7dc
call fcn.00476ab0
mov edi, dword [0x56161c]
push edi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x48f7b4
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], 0x8000006
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push dword [eax + 0xc]
push dword [eax + 8]
push str.tsk_fs_attr_add_run:_Error__a_data_run_new_is_NULL___llu_
call fcn.004768f0
add esp, 0xc
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xorps xmm0, xmm0
mov eax, esi
movlpd qword [ebp - 0x14], xmm0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
lea esp, [esp]
add edx, dword [eax + 0x18]
adc ecx, dword [eax + 0x1c]
mov eax, dword [eax]
test eax, eax
jne 0x48f7f0
mov dword [ebp - 0xc], ecx
mov ecx, dword [ebx + 0x2c]
mov dword [ebp - 0x10], edx
test ecx, ecx
je 0x48f843
mov eax, dword [ecx + 0x18]
add eax, dword [ecx + 8]
mov edx, dword [ecx + 0x1c]
adc edx, dword [ecx + 0xc]
cmp eax, dword [esi + 8]
jne 0x48f843
cmp edx, dword [esi + 0xc]
jne 0x48f843
mov dword [ecx], esi
mov eax, dword [ebx + 0x2c]
cmp dword [eax], 0
je 0x48fb1f
lea ecx, [ecx]
mov eax, dword [eax]
mov dword [ebx + 0x2c], eax
cmp dword [eax], 0
jne 0x48f830
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edi, dword [ebx + 0x28]
xor ecx, ecx
mov dword [ebp - 8], ecx
test edi, edi
je 0x48faaa
cmp dword [0x561618], 0
mov edx, 0x52f6b8
je 0x48f893
test byte [edi + 0x20], 1
mov eax, 0x52f6b4
cmove eax, edx
push eax
push dword [edi + 0x1c]
push dword [edi + 0x18]
push dword [edi + 0xc]
push dword [edi + 8]
push str.tsk_fs_attr_add:__llu__llu__Filler:__s__n
call fcn.004bdd06
add eax, 0x40
push eax
call fcn.00479b20
mov ecx, dword [ebp - 8]
add esp, 0x1c
test byte [edi + 0x20], 1
je 0x48f8ce
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
cmp edx, dword [esi + 0xc]
ja 0x48fa18
jb 0x48f8b3
cmp eax, dword [esi + 8]
ja 0x48fa18
mov edx, dword [edi + 0x18]
add edx, eax
mov eax, dword [edi + 0x1c]
adc eax, dword [edi + 0xc]
cmp eax, dword [esi + 0xc]
ja 0x48f949
jb 0x48f8ce
cmp edx, dword [esi + 8]
ja 0x48f949
mov ecx, edi
mov edi, dword [edi]
mov dword [ebp - 8], ecx
test edi, edi
jne 0x48f853
mov edi, ecx
test edi, edi
je 0x48faac
mov eax, dword [edi + 0x18]
add eax, dword [edi + 8]
mov ecx, dword [edi + 0x1c]
adc ecx, dword [edi + 0xc]
mov edx, dword [esi + 8]
cmp ecx, dword [esi + 0xc]
jb 0x48fa9f
ja 0x48f909
cmp eax, edx
jbe 0x48faa1
mov eax, dword [edi + 0x10]
cmp eax, dword [esi + 0x10]
jne 0x48fa69
mov eax, dword [edi + 0x14]
cmp eax, dword [esi + 0x14]
jne 0x48fa69
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x48fa69
mov eax, dword [edi + 0x1c]
cmp eax, dword [esi + 0x1c]
jne 0x48fa69
mov ecx, esi
call fcn.0048f200
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [edi + 8]
cmp eax, dword [esi + 8]
jne 0x48f966
mov eax, dword [edi + 0xc]
cmp eax, dword [esi + 0xc]
jne 0x48f966
test ecx, ecx
je 0x48f961
mov dword [ecx], esi
jmp 0x48f9ba
mov dword [ebx + 0x28], esi
jmp 0x48f9ba
mov ecx, 0x28
call fcn.00479b80
mov edx, eax
test edx, edx
je 0x48f765
mov eax, dword [ebp - 8]
test eax, eax
je 0x48f985
mov dword [eax], edx
jmp 0x48f988
mov dword [ebx + 0x28], edx
mov dword [edx], esi
mov ecx, dword [esi + 8]
sub ecx, dword [edi + 8]
mov eax, dword [esi + 0xc]
sbb eax, dword [edi + 0xc]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x18], ecx
mov eax, dword [edi + 8]
mov dword [edx + 8], eax
mov eax, dword [edi + 0xc]
mov dword [edx + 0xc], eax
mov eax, ecx
mov dword [edx + 0x20], 1
sub dword [edi + 0x18], eax
mov eax, dword [edx + 0x1c]
sbb dword [edi + 0x1c], eax
cmp dword [esi], 0
mov ecx, esi
je 0x48f9c8
mov ecx, dword [ecx]
cmp dword [ecx], 0
jne 0x48f9c1
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
cmp edx, dword [edi + 0x18]
jne 0x48f9f5
cmp eax, dword [edi + 0x1c]
jne 0x48f9f5
mov eax, dword [edi]
mov dword [ecx], eax
test eax, eax
jne 0x48f9e3
mov dword [ebx + 0x2c], ecx
push edi
call fcn.004bae83
add esp, 4
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ecx], edi
sub dword [edi + 0x18], edx
sbb dword [edi + 0x1c], eax
mov ecx, dword [esi + 0x18]
add ecx, dword [esi + 8]
mov eax, dword [esi + 0x1c]
adc eax, dword [esi + 0xc]
mov dword [edi + 0xc], eax
xor al, al
mov dword [edi + 8], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00476ab0
mov ecx, 0x800000f
call fcn.00476850
mov eax, dword [ebx + 4]
mov eax, dword [eax + 8]
push dword [eax + 0xc]
push dword [eax + 8]
push dword [edi + 0xc]
push dword [edi + 8]
push dword [esi + 0xc]
push dword [esi + 8]
push str.tsk_fs_attr_add_run:_could_not_add_data_run_b.c._offset___llu__is_larger_than_FILLER___llu____llu_
call fcn.004768f0
add esp, 0x1c
cmp dword [0x561618], 0
je 0x48f765
mov ecx, ebx
call fcn.0048f680
mov al, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.00476ab0
mov ecx, 0x800000f
call fcn.00476850
mov ecx, dword [edi + 0x18]
add ecx, dword [edi + 8]
mov eax, dword [edi + 0x1c]
adc eax, dword [edi + 0xc]
push eax
mov eax, dword [ebx + 4]
push ecx
push dword [esi + 0xc]
mov eax, dword [eax + 8]
push dword [esi + 8]
push dword [eax + 0xc]
push dword [eax + 8]
push str.fs_attr_add_run:_error_adding_additional_run___llu_:_No_filler_entry_for__llu._Final:__llu
jmp 0x48fa44
cmp eax, edx
jne 0x48faac
cmp ecx, dword [esi + 0xc]
je 0x48fab4
jmp 0x48faac
xor edi, edi
mov eax, dword [esi + 8]
or eax, dword [esi + 0xc]
jne 0x48fac1
test edi, edi
je 0x48fabc
mov dword [edi], esi
jmp 0x48fb0d
mov dword [ebx + 0x28], esi
jmp 0x48fb0d
mov ecx, 0x28
call fcn.00479b80
mov edx, eax
test edx, edx
je 0x48f765
test edi, edi
je 0x48faef
mov ecx, dword [edi + 0x18]
add ecx, dword [edi + 8]
mov eax, dword [edi + 0x1c]
adc eax, dword [edi + 0xc]
mov dword [edi], edx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
jmp 0x48faf2
mov dword [ebx + 0x28], edx
mov ecx, dword [esi + 8]
mov eax, dword [esi + 0xc]
sub ecx, dword [edx + 8]
mov dword [edx + 0x18], ecx
sbb eax, dword [edx + 0xc]
mov dword [edx + 0x1c], eax
mov dword [edx + 0x20], 1
mov dword [edx], esi
mov dword [ebx + 0x2c], esi
cmp dword [esi], 0
je 0x48fb1f
mov esi, dword [esi]
mov dword [ebx + 0x2c], esi
cmp dword [esi], 0
jne 0x48fb15
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret