Function at 0x41f7e0
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59b338
mov eax, dword fs:[0]
push eax
sub esp, 0x118
mov eax, dword [0x60f074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x5c], edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0x70], edi
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0
mov dword [ebp - 4], 0
mov dword [edi + 4], vtable.ImportantFileWriter::DataSerializer.0
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
mov dword [edi + 8], 0
mov dword [edi + 0x10], eax
xor eax, eax
push 9
push str.Bookmarks
mov dword [edi], vtable.BookmarkStorage.1.0
mov dword [edi + 4], vtable.BookmarkStorage.0
mov dword [edi + 0xc], ebx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00405c70
mov byte [ebp - 4], 2
call fcn.0046fec0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, dword [eax + 0xe8]
mov dword [ebp - 0x74], esi
test esi, esi
je 0x41f89f
lea ecx, [esi + 4]
mov eax, 1
lock xadd dword [ecx], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
mov eax, dword [ebx]
push ecx
mov ecx, ebx
call dword [eax + 8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
push ecx
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.004771f0
lea ebx, [edi + 0x18]
mov byte [ebp - 4], 5
push eax
mov ecx, ebx
mov dword [ebp - 0x64], ebx
call fcn.00405a50
mov dword [ebx + 0x18], esi
test esi, esi
je 0x41f8e6
lea eax, [esi + 4]
mov ecx, 1
lock xadd dword [eax], ecx
mov dword [ebx + 0x1c], 0
push 0
push 0x2710
lea ecx, [ebx + 0x28]
mov dword [ebx + 0x20], 0
call fcn.0041ed30
add esp, 8
mov dword [ebp - 4], 8
cmp dword [0x61a268], 1
jne 0x41f951
cmp dword [0x61a250], 3
jg 0x41f951
cmp dword [ebx + 0x18], 0
jne 0x41f951
push 3
push 0x68
push str.f:my_lab_tabexplorerextab_masterlibrarypreferenceimportant_file_writer.cpp
lea ecx, [ebp - 0x124]
call fcn.0046c100
mov byte [ebp - 4], 0xa
lea ecx, [eax + 8]
mov edx, str.Check_failed:_file_message_loop_proxy_.get__.
mov dword [ebp - 0x5c], 2
call fcn.00403840
mov dword [ebp - 4], 8
test byte [ebp - 0x5c], 2
je 0x41f969
lea ecx, [ebp - 0x124]
call fcn.0046c520
lea ecx, [ebp - 0x58]
call fcn.00405c10
lea ecx, [ebp - 0x40]
call fcn.00405c10
mov byte [ebp - 4], 0xf
test esi, esi
je 0x41f99e
lea ecx, [esi + 4]
or eax, 0xffffffff
lock xadd dword [ecx], eax
sub eax, 1
jne 0x41f99e
lea eax, [ecx - 4]
neg ecx
sbb ecx, ecx
and ecx, eax
mov eax, dword [ecx]
call dword [eax + 0x28]
lea ecx, [ebp - 0x28]
call fcn.00405c10
lea eax, [edi + 0x48]
mov dword [ebp - 0x68], eax
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [ebp - 4], 0x11
call fcn.00533390
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0x28]
push 0x16
xor eax, eax
mov dword [ebp - 0x18], 0
push str.Bookmarks_From_History
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.00405c70
mov ecx, dword [ebp - 0x60]
lea edx, [ebp - 0x40]
mov byte [ebp - 4], 0x13
push edx
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x14
push ecx
lea ecx, [edi + 0x54]
push ecx
mov ecx, eax
call fcn.004771f0
lea ecx, [ebp - 0x40]
call fcn.00405c10
lea ecx, [ebp - 0x28]
call fcn.00405c10
mov dword [edi + 0x6c], 0
push 0
push 0x9c4
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x18
call fcn.0041ed30
push 0x1c
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [edi + 0x40], ecx
mov dword [edi + 0x44], eax
call fcn.00550175
mov esi, eax
add esp, 0xc
mov dword [ebp - 0x68], esi
mov byte [ebp - 4], 0x1a
lea ecx, [esi + 4]
push ebx
mov dword [esi], vtable.BackupTask.0
mov dword [ebp - 0x64], ecx
call fcn.00405a50
mov byte [ebp - 4], 0x18
call fcn.0046fec0
push esi
push dword [eax]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, eax
call fcn.0046e090
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00550156
mov esp, ebp
pop ebp
ret 8