Function at 0x48a840
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
sub esp, 8
mov eax, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], 0x58399c
lea esi, [ebp - 0xc]
lea edx, [ebp - 8]
mov ecx, 1
push 0x5839a0
push eax
push 0x581e04
push esi
push 0x581e04
call fcn.0046b200
nop word cs:[eax + eax]
nop
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x80
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov eax, dword [eax]
test dl, 0x10
jne 0x48a970
test dl, 0x20
jne 0x48a9cd
mov esi, dword [eax]
mov eax, 0x27
cmp esi, 0x2710
jb 0x48aa31
mov ebx, 0x27
nop word cs:[eax + eax]
nop dword [eax + eax]
mov eax, esi
mov ecx, 0xd1b71759
mul ecx
mov ecx, esi
shr edx, 0xd
imul eax, edx, 0x2710
sub ecx, eax
imul eax, ecx, 0x147b
shr eax, 0x13
imul edi, eax, 0x64
movzx eax, word [eax + eax + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990000000000000000000000000000000000000000000000000000000000000000]
sub ecx, edi
cmp esi, 0x5f5e0ff
mov esi, edx
mov word [ebp + ebx - 0x90], ax
movzx eax, cx
movzx eax, word [eax + eax + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990000000000000000000000000000000000000000000000000000000000000000]
mov word [ebp + ebx - 0x8e], ax
lea eax, [ebx - 4]
mov ebx, eax
ja 0x48a8d0
cmp edx, 0x63
jbe 0x48a957
movzx ecx, dx
shr ecx, 2
imul esi, ecx, 0x147b
shr esi, 0x11
imul ecx, esi, 0x64
sub edx, ecx
movzx ecx, dx
mov edx, esi
movzx ecx, word [ecx + ecx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990000000000000000000000000000000000000000000000000000000000000000]
mov word [ebp + eax - 0x8e], cx
add eax, 0xfffffffe
cmp edx, 0xa
jae 0x48aa41
add dl, 0x30
mov byte [ebp + eax - 0x8d], dl
dec eax
jmp 0x48aa54
mov ebx, dword [eax]
mov esi, 0x81
mov ecx, 0x30
mov edi, ebx
nop
mov eax, ebx
shr edi, 4
mov edx, 0x57
and al, 0xf
cmp al, 0xa
cmovb edx, ecx
add dl, al
cmp ebx, 0x10
mov eax, esi
mov ebx, edi
mov byte [ebp + esi - 0x8e], dl
lea esi, [esi - 1]
jae 0x48a980
add eax, 0xfffffffe
cmp eax, 0x80
ja 0x48aa86
mov ecx, dword [ebp + 0xc]
mov edi, 0x81
lea eax, [ebp + eax - 0x8c]
mov edx, 1
sub edi, esi
push edi
jmp 0x48aa27
mov ebx, dword [eax]
mov edx, 0x81
mov esi, 0x30
mov edi, ebx
nop dword [eax + eax]
mov eax, ebx
shr edi, 4
mov ecx, 0x37
and al, 0xf
cmp al, 0xa
cmovb ecx, esi
add cl, al
cmp ebx, 0x10
mov eax, edx
mov ebx, edi
mov byte [ebp + edx - 0x8e], cl
lea edx, [edx - 1]
jae 0x48a9e0
add eax, 0xfffffffe
cmp eax, 0x80
ja 0x48aa86
mov ecx, dword [ebp + 0xc]
mov esi, 0x81
lea eax, [ebp + eax - 0x8c]
sub esi, edx
mov edx, 1
push esi
push eax
push 2
push 0x5808c7
jmp 0x48aa73
mov edx, esi
cmp edx, 0x63
ja 0x48a92b
jmp 0x48a957
movzx ecx, word [edx + edx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990000000000000000000000000000000000000000000000000000000000000000]
mov word [ebp + eax - 0x8e], cx
add eax, 0xfffffffe
mov ecx, dword [ebp + 0xc]
mov edi, 0x27
mov edx, 1
lea esi, [ebp + eax - 0x8c]
sub edi, eax
push edi
push esi
push 0
push str.vmesh_src_char_anim.rs
call fcn.00469bb0
add esp, 0x10
add esp, 0x80
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
mov edx, pe_nt_image_headers32
push 0x577f50
call fcn.004699f0
nop word [eax + eax]
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x84
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov eax, dword [eax]
test dl, 0x10
jne 0x48ab90
test dl, 0x20
jne 0x48abed
mov eax, dword [eax]
mov edi, eax
mov dword [ebp - 0x10], eax
neg edi
cmovs edi, eax
mov eax, 0x27
cmp edi, 0x2710
jb 0x48ac51
mov esi, 0x27
nop dword [eax + eax]
mov eax, edi
mov ecx, 0xd1b71759
mul ecx
mov ecx, edi
shr edx, 0xd
imul eax, edx, 0x2710
sub ecx, eax
imul eax, ecx, 0x147b
shr eax, 0x13
imul ebx, eax, 0x64
movzx eax, word [eax + eax + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990000000000000000000000000000000000000000000000000000000000000000]
sub ecx, ebx
cmp edi, 0x5f5e0ff
mov edi, edx
mov word [ebp + esi - 0x94], ax
movzx eax, cx
movzx eax, word [eax + eax + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990000000000000000000000000000000000000000000000000000000000000000]
mov word [ebp + esi - 0x92], ax
lea eax, [esi - 4]
mov esi, eax
ja 0x48aaf0
cmp edx, 0x63
jbe 0x48ab77
movzx ecx, dx
shr ecx, 2
imul esi, ecx, 0x147b
shr esi, 0x11
imul ecx, esi, 0x64
sub edx, ecx
movzx ecx, dx
mov edx, esi
movzx ecx, word [ecx + ecx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990000000000000000000000000000000000000000000000000000000000000000]
mov word [ebp + eax - 0x92], cx
add eax, 0xfffffffe
cmp edx, 0xa
jae 0x48ac61
add dl, 0x30
mov byte [ebp + eax - 0x91], dl
dec eax
jmp 0x48ac74
mov ebx, dword [eax]
mov esi, 0x81
mov ecx, 0x30
mov edi, ebx
nop
mov eax, ebx
shr edi, 4
mov edx, 0x57
and al, 0xf
cmp al, 0xa
cmovb edx, ecx
add dl, al
cmp ebx, 0x10
mov eax, esi
mov ebx, edi
mov byte [ebp + esi - 0x92], dl
lea esi, [esi - 1]
jae 0x48aba0
add eax, 0xfffffffe
cmp eax, 0x80
ja 0x48aca9
mov ecx, dword [ebp + 0xc]
mov edi, 0x81
lea eax, [ebp + eax - 0x90]
mov edx, 1
sub edi, esi
push edi
jmp 0x48ac47
mov ebx, dword [eax]
mov edx, 0x81
mov esi, 0x30
mov edi, ebx
nop dword [eax + eax]
mov eax, ebx
shr edi, 4
mov ecx, 0x37
and al, 0xf
cmp al, 0xa
cmovb ecx, esi
add cl, al
cmp ebx, 0x10
mov eax, edx
mov ebx, edi
mov byte [ebp + edx - 0x92], cl
lea edx, [edx - 1]
jae 0x48ac00
add eax, 0xfffffffe
cmp eax, 0x80
ja 0x48aca9
mov ecx, dword [ebp + 0xc]
mov esi, 0x81
lea eax, [ebp + eax - 0x90]
sub esi, edx
mov edx, 1
push esi
push eax
push 2
push 0x5808c7
jmp 0x48ac96
mov edx, edi
cmp edx, 0x63
ja 0x48ab4b
jmp 0x48ab77
movzx ecx, word [edx + edx + str.000102030405060708091011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798990000000000000000000000000000000000000000000000000000000000000000]
mov word [ebp + eax - 0x92], cx
add eax, 0xfffffffe
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp + 0xc]
mov edi, 0x27
lea esi, [ebp + eax - 0x90]
sub edi, eax
not edx
shr edx, 0x1f
push edi
push esi
push 0
push str.vmesh_src_char_anim.rs
call fcn.00469bb0
add esp, 0x10
add esp, 0x84
pop esi
pop edi
pop ebx
pop ebp
ret
mov ecx, eax
mov edx, pe_nt_image_headers32
push 0x577f50
call fcn.004699f0
nop word [eax + eax]
push ebp
mov ebp, esp
push edi
push esi
mov edi, dword [ebp + 8]
mov esi, dword [edi]
mov eax, dword [esi]
test eax, eax
je 0x48acd3
dec eax
jmp 0x48acda
mov ecx, esi
call fcn.0048a3d0
push 1
push eax
call sub.KERNEL32.dll_TlsSetValue
cmp dword [edi + 4], 0
je 0x48acfc
mov eax, dword [edi + 8]
test eax, eax
je 0x48acfc
lock dec dword [eax]
jne 0x48acfc
mov ecx, dword [edi + 8]
call fcn.0048a390
push edi
push 0
push dword [0x5970d8]
call sub.KERNEL32.dll_HeapFree
mov eax, dword [esi]
test eax, eax
je 0x48ad13
dec eax
jmp 0x48ad1a
mov ecx, esi
call fcn.0048a3d0
push 0
push eax
call sub.KERNEL32.dll_TlsSetValue
pop esi
pop edi
pop ebp
ret