Function at 0x100e9ae3
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp + 0x1c]
push edi
mov dword [ebp - 0x60], esi
mov dword [ebp - 0x90], eax
call sym.mono.dll_mono_domain_get
push dword [0x101f5580]
mov dword [ebp - 0x7c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov dword [ebp - 0x70], eax
call fcn.100ee1cf
xor edi, edi
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], edi
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x94], edi
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x8c], edi
cmp ebx, edi
jne 0x100e9b79
push str.ctx___NULL
push 0x479
push 0x101b9fa4
push str._Assertion_at__s:_d__condition___s_not_met_n
push 4
push edi
call fcn.100010d9
add esp, 0x18
cmp esi, edi
jne 0x100e9ba2
call sym.mono.dll_mono_get_exception_null_reference
push str.Object_reference_not_set_to_an_instance_of_an_object
push dword [ebp - 0x7c]
mov esi, eax
call sym.mono.dll_mono_string_new
push eax
lea eax, [esi + 0x10]
push eax
push esi
call sym.mono.dll_mono_gc_wbarrier_set_arrayref
add esp, 0x14
mov dword [ebp - 0x60], esi
mov eax, dword [ebp - 0x7c]
cmp esi, dword [eax + 0x34]
jne 0x100e9bb6
mov dword [ebp - 0x94], 1
jmp 0x100e9bc5
cmp esi, dword [eax + 0x30]
jne 0x100e9bc5
call sym.mono.dll_mono_get_exception_null_reference
mov esi, eax
mov dword [ebp - 0x60], esi
push dword [0x101f9c34]
push esi
call sym.mono.dll_mono_object_isinst
pop ecx
pop ecx
test eax, eax
je 0x100e9be2
mov eax, dword [esi + 8]
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x80], eax
jmp 0x100e9be5
mov dword [ebp - 0x64], edi
cmp dword [ebp - 0x64], edi
je 0x100e9c58
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 0x2c]
cmp eax, edi
je 0x100e9c58
mov ecx, dword [ebp - 0x64]
mov ecx, dword [ecx]
mov ecx, dword [ecx]
mov esi, dword [ecx + 0x34]
push 0x15
mov edi, str.InvalidCastException
pop ecx
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
jne 0x100e9c56
push eax
call fcn.10016e09
mov esi, eax
mov eax, dword [ebp - 0x70]
push dword [eax + 0x30]
call fcn.10016e09
mov edi, eax
push edi
push esi
push str.Unable_to_cast_object_of_type__s_to_type__s.
call fcn.100024b0
push eax
push dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
call sym.mono.dll_mono_string_new
mov ecx, dword [ebp - 0x64]
push esi
mov dword [ecx + 0x10], eax
call sym.mono.dll_g_free
push edi
call sym.mono.dll_g_free
push dword [ebp - 0x78]
call sym.mono.dll_g_free
add esp, 0x28
xor edi, edi
cmp dword [0x101f7d10], edi
jne 0x100e9c6a
call fcn.100e8638
mov dword [0x101f7d10], eax
cmp dword [0x101f7cf8], edi
jne 0x100e9c7c
call fcn.100e8664
mov dword [0x101f7cf8], eax
mov esi, dword [ebp - 0x70]
cmp dword [esi], edi
jne 0x100e9ca2
push str.jit_tls__end_of_stack
push 0x4a5
push 0x101b9fa4
push str._Assertion_at__s:_d__condition___s_not_met_n
push 4
push edi
call fcn.100010d9
add esp, 0x18
cmp dword [esi + 0x28], edi
jne 0x100e9cc6
push str.jit_tls__abort_func
push 0x4a6
push 0x101b9fa4
push str._Assertion_at__s:_d__condition___s_not_met_n
push 4
push edi
call fcn.100010d9
add esp, 0x18
cmp dword [ebp + 0x14], edi
jne 0x100e9d54
push 9
pop ecx
mov esi, ebx
lea edi, [ebp - 0x28]
rep movsd dword es:[edi], dword [esi]
call fcn.100f8ba9
mov esi, dword [ebp - 0x60]
test eax, eax
je 0x100e9d00
mov eax, dword [esi]
mov eax, dword [eax]
push dword [eax + 0x34]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__p:__EXCEPTION_handling:__s_n
call fcn.1000100d
add esp, 0xc
push esi
call fcn.10064469
push dword [ebp - 0x90]
lea eax, [ebp - 0x9c]
push eax
push 1
push dword [ebp - 0x74]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.100e9ae3
add esp, 0x1c
test eax, eax
jne 0x100e9d46
cmp dword [0x101f7dd4], eax
je 0x100e9d32
int3
push 0
push ebx
push esi
call fcn.100a7c58
push esi
call sym.mono.dll_mono_unhandled_exception
add esp, 0x10
jmp 0x100e9d54
lea eax, [ebp - 0x28]
push eax
push ebx
push esi
call fcn.100a7c58
add esp, 0xc
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x100e9d61
or dword [eax], 0xffffffff
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x100e9d6e
and dword [eax], 0
and dword [ebp - 0x74], 0
push 9
pop ecx
push 0x30
lea eax, [ebp - 0x58]
push 0
mov esi, ebx
lea edi, [ebp - 0xc4]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.10112fe0
add esp, 0xc
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x88]
push eax
push esi
lea eax, [ebp - 0x28]
push eax
push ebx
lea eax, [ebp - 0x58]
push eax
push eax
push dword [ebp - 0x70]
push dword [ebp - 0x7c]
call fcn.100e9235
mov edi, eax
add esp, 0x28
mov dword [ebp - 0x5c], edi
cmp edi, esi
jne 0x100e9de3
push str.Exception_inside_function_without_unwind_info
push 0x10
push esi
call fcn.100010d9
push 0x4c9
push 0x101b9fa4
push str._Assertion:_should_not_be_reached_at__s:_d_n
push 4
push esi
call fcn.100010d9
add esp, 0x20
cmp edi, 0xffffffff
je 0x100ea0ab
mov eax, dword [edi + 8]
mov ecx, dword [ebx + 0x20]
cmp eax, ecx
ja 0x100e9dff
mov edx, dword [edi + 0x10]
add edx, eax
cmp edx, ecx
jae 0x100e9e0b
push 9
pop ecx
lea esi, [ebp - 0x28]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jmp 0x100e9d8f
inc dword [ebp - 0x84]
cmp dword [ebp + 0x14], esi
je 0x100e9e57
mov eax, dword [edi]
mov eax, dword [eax + 0x14]
and al, 0x7c
cmp al, 0x10
je 0x100e9e57
cmp dword [ebp - 0x64], esi
je 0x100e9e57
cmp dword [ebp - 0x80], esi
jne 0x100e9e57
cmp dword [ebp - 0x84], 0x3e8
jge 0x100e9e57
push ecx
push dword [ebp - 0x6c]
call fcn.10004eae
push ebx
mov esi, eax
call fcn.100e8708
push eax
push esi
call fcn.10004eae
add esp, 0x14
mov dword [ebp - 0x6c], eax
xor esi, esi
mov eax, dword [edi]
test dword [eax + 0x14], 0x200
je 0x100e9e6c
mov dword [ebp - 0x8c], 1
cmp dword [ebp - 0x94], esi
je 0x100e9e7f
mov eax, dword [ebx + 0x14]
sub eax, dword [ebp - 0xb0]
jmp 0x100e9e84
mov eax, 0xffffff
cmp eax, 0x10000
jbe 0x100ea09e
mov eax, dword [edi + 0x14]
and eax, 0x7fff
je 0x100ea09e
mov dword [ebp - 0x68], esi
cmp eax, esi
jbe 0x100ea09e
mov esi, dword [ebp - 0x5c]
add esi, 0x20
mov eax, dword [ebx + 0x20]
and dword [ebp - 0x78], 0
lea edi, [esi - 8]
cmp dword [esi], eax
ja 0x100ea07f
cmp eax, dword [esi + 4]
ja 0x100ea07f
mov ecx, dword [ebp - 0x5c]
push ebx
mov eax, edi
call fcn.100e8d7b
mov dword [ebp - 0xa0], eax
mov eax, dword [edi]
pop ecx
test eax, eax
je 0x100e9ee6
cmp eax, 1
jne 0x100e9f59
mov eax, dword [esi - 4]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp - 0x60]
mov dword [eax + ecx], edx
cmp dword [edi], 1
jne 0x100e9f59
cmp dword [ebp + 0x14], 0
je 0x100e9f45
mov eax, dword [0x101f75c0]
inc dword [eax + 0x14]
push edx
push dword [ebx + 0x14]
push dword [esi + 0xc]
call sym.mono.dll_mono_gc_wbarrier_arrayref_copy
push dword [esi + 0xc]
push ebx
call dword [0x101f7d10]
add esp, 0x14
mov dword [ebp - 0x78], eax
test eax, eax
je 0x100e9f34
mov eax, dword [ebp - 0x98]
test eax, eax
je 0x100e9f34
mov ecx, dword [ebp - 0x74]
mov dword [eax], ecx
mov eax, dword [ebp - 0x90]
test eax, eax
je 0x100e9f56
mov ecx, dword [ebp - 0x5c]
mov dword [eax], ecx
jmp 0x100e9f56
mov ecx, dword [ebp - 0x74]
xor eax, eax
cmp ecx, dword [ebp - 0x9c]
sete al
mov dword [ebp - 0x78], eax
inc dword [ebp - 0x74]
cmp dword [edi], 0
jne 0x100e9f76
push dword [ebp - 0xa0]
push dword [ebp - 0x60]
call sym.mono.dll_mono_object_isinst
pop ecx
pop ecx
test eax, eax
jne 0x100ea101
cmp dword [ebp - 0x78], 0
jne 0x100ea101
cmp dword [ebp + 0x14], 0
jne 0x100ea07f
mov eax, dword [ebx + 0x20]
cmp dword [esi], eax
ja 0x100e9ffa
cmp eax, dword [esi + 4]
jae 0x100e9ffa
cmp dword [edi], 4
jne 0x100e9ffa
call fcn.100f8ba9
test eax, eax
je 0x100e9fd0
mov eax, dword [ebp - 0x5c]
push dword [eax]
call fcn.100f7e7b
pop ecx
test eax, eax
je 0x100e9fd0
mov eax, dword [ebp - 0x5c]
push 1
push dword [eax]
call sym.mono.dll_mono_method_full_name
push eax
push dword [ebp - 0x68]
push str.EXCEPTION:_fault_clause__d_of__s_n
call fcn.1000100d
add esp, 0x14
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
push dword [edi]
push dword [eax]
call fcn.100644c7
push dword [ebp - 0x60]
push dword [ebx + 0x14]
push dword [esi + 8]
call sym.mono.dll_mono_gc_wbarrier_arrayref_copy
push dword [esi + 8]
push ebx
call dword [0x101f7d10]
add esp, 0x20
mov eax, dword [ebx + 0x20]
cmp dword [esi], eax
ja 0x100ea07f
cmp eax, dword [esi + 4]
jae 0x100ea07f
cmp dword [edi], 2
jne 0x100ea07f
call fcn.100f8ba9
test eax, eax
je 0x100ea040
mov eax, dword [ebp - 0x5c]
push dword [eax]
call fcn.100f7e7b
pop ecx
test eax, eax
je 0x100ea040
mov eax, dword [ebp - 0x5c]
push 1
push dword [eax]
call sym.mono.dll_mono_method_full_name
push eax
push dword [ebp - 0x68]
push str.EXCEPTION:_finally_clause__d_of__s_n
call fcn.1000100d
add esp, 0x14
push dword [ebp - 0x68]
mov eax, dword [ebp - 0x5c]
push dword [edi]
push dword [eax]
call fcn.100644c7
push dword [ebp - 0x60]
push dword [ebx + 0x14]
push dword [esi + 8]
call sym.mono.dll_mono_gc_wbarrier_arrayref_copy
mov eax, dword [0x101f75c0]
inc dword [eax + 0x18]
call fcn.100f0408
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
push dword [esi + 8]
push ebx
call dword [0x101f7d10]
add esp, 0x20
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x14]
inc dword [ebp - 0x68]
and eax, 0x7fff
add esi, 0x18
cmp dword [ebp - 0x68], eax
jb 0x100e9eae
mov edi, dword [ebp - 0x5c]
xor esi, esi
cmp dword [ebp + 0x14], esi
jne 0x100ea0ab
push dword [edi]
call fcn.10064498
pop ecx
cmp dword [ebp - 0x5c], 0xffffffff
push 9
pop ecx
lea esi, [ebp - 0x28]
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
jne 0x100e9d8f
cmp dword [ebp + 0x14], 0
jne 0x100ea200
call fcn.100f0408
mov ecx, dword [ebp - 0x88]
push dword [ebp - 0x60]
mov dword [eax], ecx
mov eax, dword [ebp - 0x70]
call dword [eax + 0x28]
mov dword [esp], 0x56b
push 0x101b9fa4
push str._Assertion:_should_not_be_reached_at__s:_d_n
push 4
push 0
call fcn.100010d9
add esp, 0x14
jmp 0x100e9d8f
cmp dword [ebp + 0x14], 0
je 0x100ea174
cmp dword [ebp - 0x64], 0
je 0x100ea157
cmp dword [ebp - 0x80], 0
jne 0x100ea157
push dword [ebp - 0x6c]
call fcn.10004fd1
push dword [0x101f9be8]
mov dword [ebp - 0x6c], eax
call fcn.100e8d2e
mov esi, dword [ebp - 0x64]
push eax
lea eax, [esi + 8]
push eax
push esi
call sym.mono.dll_mono_gc_wbarrier_set_arrayref
add esp, 0x14
cmp dword [ebp - 0x8c], 0
je 0x100ea157
push esi
call fcn.100e8945
push eax
lea eax, [esi + 0x1c]
push eax
push esi
call sym.mono.dll_mono_gc_wbarrier_set_arrayref
add esp, 0x10
xor esi, esi
inc esi
push dword [ebp - 0x6c]
call fcn.10004ece
pop ecx
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011389e
leave
ret
call fcn.100f8ba9
mov esi, dword [ebp - 0x5c]
test eax, eax
je 0x100ea1a6
push dword [esi]
call fcn.100f7e7b
pop ecx
test eax, eax
je 0x100ea1a6
push 1
push dword [esi]
call sym.mono.dll_mono_method_full_name
push eax
push dword [ebp - 0x68]
push str.EXCEPTION:_catch_found_at_clause__d_of__s_n
call fcn.1000100d
add esp, 0x14
push dword [ebp - 0x68]
push dword [edi]
push dword [esi]
call fcn.100644c7
mov esi, dword [ebp - 0x60]
push esi
push dword [ebx + 0x14]
push dword [edi + 0x10]
call sym.mono.dll_mono_gc_wbarrier_arrayref_copy
mov eax, dword [edi + 0x10]
add esp, 0x18
mov dword [ebx + 0x20], eax
call fcn.100f0408
mov ecx, dword [ebp - 0x88]
mov dword [eax], ecx
mov eax, dword [0x101f75c0]
mov ecx, dword [ebp - 0x84]
add dword [eax + 0x1c], ecx
mov eax, dword [ebp - 0x7c]
cmp esi, dword [eax + 0x34]
jne 0x100ea1f9
mov eax, dword [ebp - 0x70]
and dword [eax + 0x14], 0
call fcn.10118f95
xor eax, eax
jmp 0x100ea165
cmp dword [ebp - 0x64], 0
je 0x100ea250
cmp dword [ebp - 0x80], 0
jne 0x100ea250
push dword [ebp - 0x6c]
call fcn.10004fd1
push dword [0x101f9be8]
mov dword [ebp - 0x6c], eax
call fcn.100e8d2e
mov esi, dword [ebp - 0x64]
push eax
lea eax, [esi + 8]
push eax
push esi
call sym.mono.dll_mono_gc_wbarrier_set_arrayref
add esp, 0x14
cmp dword [ebp - 0x8c], 0
je 0x100ea250
push esi
call fcn.100e8945
push eax
lea eax, [esi + 0x1c]
push eax
push esi
call sym.mono.dll_mono_gc_wbarrier_set_arrayref
add esp, 0x10
xor esi, esi
jmp 0x100ea15a