Function at 0x4bbb30
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4260
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x613384]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esi], vtable.io::FdManager.0
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
je 0x4bbb9c
mov edi, dword [esi + 8]
mov ebx, dword [edi - 4]
lea ecx, [edi - 4]
mov eax, dword [esi + 4]
sub ecx, eax
sar ecx, 2
lea eax, [eax + ecx*4]
lea edx, [eax + 4]
sub edi, edx
push edi
push edx
push eax
call fcn.005466f0
add dword [esi + 8], 0xfffffffc
add esp, 0xc
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x14]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
jne 0x4bbb65
push dword [esi + 0xa8]
push dword [0x6182ac]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
lea ecx, [esi + 0x88]
mov dword [ebp - 4], 0
call fcn.0046acb0
lea ecx, [esi + 0x58]
call fcn.004b89f0
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4bbc14
mov ecx, dword [esi + 0x54]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4bbbf5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bbde6
mov eax, edx
push ecx
push eax
call fcn.0054453d
mov dword [esi + 0x4c], 0
add esp, 8
mov dword [esi + 0x50], 0
mov dword [esi + 0x54], 0
mov eax, dword [esi + 0x40]
test eax, eax
je 0x4bbc60
mov ecx, dword [esi + 0x48]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4bbc41
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bbde6
mov eax, edx
push ecx
push eax
call fcn.0054453d
mov dword [esi + 0x40], 0
add esp, 8
mov dword [esi + 0x44], 0
mov dword [esi + 0x48], 0
mov eax, dword [esi + 0x34]
test eax, eax
je 0x4bbcac
mov ecx, dword [esi + 0x3c]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4bbc8d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bbde6
mov eax, edx
push ecx
push eax
call fcn.0054453d
mov dword [esi + 0x34], 0
add esp, 8
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov eax, dword [esi + 0x28]
test eax, eax
je 0x4bbcf8
mov ecx, dword [esi + 0x30]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4bbcd9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bbde6
mov eax, edx
push ecx
push eax
call fcn.0054453d
mov dword [esi + 0x28], 0
add esp, 8
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x4bbd44
mov ecx, dword [esi + 0x24]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4bbd25
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bbde6
mov eax, edx
push ecx
push eax
call fcn.0054453d
mov dword [esi + 0x1c], 0
add esp, 8
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x10]
test eax, eax
je 0x4bbd8c
mov ecx, dword [esi + 0x18]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4bbd6d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bbde6
mov eax, edx
push ecx
push eax
call fcn.0054453d
mov dword [esi + 0x10], 0
add esp, 8
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4bbdd4
mov ecx, dword [esi + 0xc]
sub ecx, eax
and ecx, 0xfffffffc
cmp ecx, 0x1000
jb 0x4bbdb5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4bbde6
mov eax, edx
push ecx
push eax
call fcn.0054453d
mov dword [esi + 4], 0
add esp, 8
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.0054fec6
int3