joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1007a0d2
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x1c]
and dword [esi], 0
mov ecx, dword [eax + 0xc]
sub ecx, dword [ebp + 0x14]
cmp dword [ebp + 0x10], ecx
jg 0x1007a12a
push dword [ebp + 0x10]
push 1
push eax
call sym.mono.dll_mono_array_addr_with_size
mov ecx, dword [ebp + 0x18]
add esp, 0xc
mov edx, eax
call fcn.10078f65
cmp eax, 0xffffffff
jne 0x1007a10f
mov dword [esi], 0x273d
jmp 0x1007a12a
push eax
push dword [ebp + 0x14]
push edx
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x1007a12c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1007b15e
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x194]
push eax
push 2
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x1007b1a1
push str.mono_network_init
push str._s:_Couldnt_initialise_networking
push 4
push 0
call fcn.100010d9
push 0xffffffffffffffff
call fcn.10109e62
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011389e
leave
ret

Function at 0x1007c772
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp dword [edi + 0x60], 2
mov dword [ebp - 8], 1
mov dword [ebp - 4], ebx
je 0x1007c7ae
push str.domain__state__MONO_APPDOMAIN_UNLOADING
push 0x53f
push str...monometadata_threadpool.c
push str._Assertion_at__s:_d__condition___s_not_met_n
push 4
push ebx
call fcn.100010d9
add esp, 0x18
push edi
push 0x101f9dc0
mov esi, 0x101f7898
call fcn.1007c6cd
push edi
push 0x101f7830
mov esi, 0x101f78a4
call fcn.1007c6cd
add esp, 0x10
push ebx
push 1
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov esi, eax
mov dword [edi + 0x124], esi
cmp dword [edi + 0x120], ebx
je 0x1007c826
cmp dword [ebp + 0xc], 0xffffffff
je 0x1007c819
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
jmp 0x1007c819
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0xc], 0xffffffff
je 0x1007c819
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
cmp eax, dword [ebp + 0xc]
ja 0x1007c823
cmp dword [edi + 0x120], ebx
jne 0x1007c7fc
jmp 0x1007c826
mov dword [ebp - 8], ebx
push esi
mov dword [edi + 0x124], ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1007d6a7
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [esi + 0x58], 1
jne 0x1007d6c0
cmp byte [esi + 0x52], 1
jne 0x1007d6c0
push esi
call fcn.1007d041
pop ecx
leave
ret
push 0xffffffffffffffff
push dword [0x101f7814]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x101f7818], 0
jne 0x1007d6e4
push 8
call fcn.10001a71
pop ecx
mov dword [0x101f7818], eax
push ebx
push edi
mov edi, 0x101f77ec
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [esi + 0xc]
push dword [0x101f7810]
call sym.mono.dll_mono_g_hash_table_lookup
pop ecx
pop ecx
push esi
test eax, eax
jne 0x1007d70e
call sym.mono.dll_mono_mlist_alloc
jmp 0x1007d715
push eax
call sym.mono.dll_mono_mlist_append
pop ecx
pop ecx
mov ebx, eax
call fcn.1007bf88
mov ecx, dword [esi + 0xc]
mov edx, dword [0x101f7818]
mov dword [edx], ecx
mov ecx, dword [0x101f7818]
mov word [ecx + 4], ax
mov ecx, dword [0x101f7818]
xor eax, eax
mov word [ecx + 6], ax
push ebx
push dword [esi + 0xc]
push dword [0x101f7810]
call sym.mono.dll_mono_g_hash_table_replace
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, byte [esi + 0x58]
push 0
mov byte [ebp - 1], al
push 1
lea eax, [ebp - 1]
push eax
push dword [0x101f780c]
call dword [sym.imp.WS2_32.dll_send]
pop edi
pop ebx
leave
ret

Function at 0x1007e043
Capabilities:
Resume thread

Disassembly:
mov eax, esi
call fcn.1007da76
test eax, eax
je 0x1007e076
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, dword [esi + 0x38]
test eax, eax
je 0x1007e076
push 0
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
push dword [esi + 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0x38], 0
ret
Function at 0x1007faf9
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [0x101f9c3c]
push ebx
call sym.mono.dll_mono_object_new
push 0x14
mov esi, eax
call fcn.10001a71
mov edi, eax
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x10], ebx
add esp, 0xc
mov dword [edi], eax
mov eax, dword [ebp + 0x10]
mov ebx, 0x101f7910
push ebx
mov dword [edi + 4], esi
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor eax, eax
cmp dword [0x101f799c], eax
je 0x1007fb58
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call sym.mono.dll_g_free
pop ecx
xor eax, eax
jmp 0x1007fc57
cmp dword [0x101f7960], eax
jne 0x1007fb7e
push eax
push 4
push 0x101f7960
call fcn.1001410e
push 0
push 0
call sym.mono.dll_mono_g_hash_table_new
add esp, 0x14
mov dword [0x101f7960], eax
push edi
push esi
call fcn.1007dfa8
push esi
push esi
push dword [0x101f7960]
call sym.mono.dll_mono_g_hash_table_insert
add esp, 0x14
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esi + 0x50]
test eax, eax
jne 0x1007fba8
mov eax, dword [0x101f7978]
lea ecx, [ebp + 8]
push ecx
push 4
push edi
push 0x1007f9a8
push eax
push 0
call fcn.1007df7e
add esp, 0x18
mov dword [ebp + 0xc], eax
test eax, eax
jne 0x1007fc00
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
push dword [0x101f7960]
call sym.mono.dll_mono_g_hash_table_remove
pop ecx
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push edi
call sym.mono.dll_g_free
mov dword [esp], str.Couldnt_create_thread
call sym.mono.dll_mono_get_exception_execution_engine
push eax
call sym.mono.dll_mono_raise_exception
pop ecx
jmp 0x1007fb50
and dword [esi + 0x34], 0
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 8]
push esi
mov dword [esi + 0x30], eax
mov byte [esi + 0x89], 2
call fcn.1007db3b
push 0x18
call fcn.10001a71
pop ecx
pop ecx
push eax
mov dword [esi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 0x14]
mov byte [esi + 0x18], al
test eax, eax
je 0x1007fc41
push 4
push esi
call fcn.1007f6e1
pop ecx
pop ecx
mov eax, esi
call fcn.1007da76
test eax, eax
je 0x1007fc55
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1007fc74
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
call sym.mono.dll_mono_thread_current
mov esi, eax
xor ebx, ebx
cmp esi, ebx
je 0x1007fca7
call sym.mono.dll_mono_domain_get
cmp dword [ebp + 8], eax
je 0x1007fde1
push 1
push dword [ebp + 8]
call sym.mono.dll_mono_domain_set
pop ecx
jmp 0x1007fde0
lea eax, [ebp + 8]
push edi
push eax
call fcn.10013fbf
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
pop ecx
test eax, eax
jne 0x1007fccf
call edi
push eax
push str.Thread__d_calling_into_managed_code_is_not_registered_with_the_GC._On_UNIX__this_can_be_fixed_by_include_ing__gc.h__before__pthread.h__in_the_file_containing_the_thread_creation_code.
push 4
push ebx
call fcn.100010d9
add esp, 0x10
push dword [0x101f9c3c]
push dword [ebp + 8]
call sym.mono.dll_mono_object_new
pop ecx
pop ecx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
mov dword [ebp - 8], eax
cmp eax, ebx
jne 0x1007fd0d
push str.thread_handle
push 0x3c3
push str...monometadata_threads.c
push str._Assertion_at__s:_d__condition___s_not_met_n
push 4
push ebx
call fcn.100010d9
add esp, 0x18
call edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push ebx
push 1
mov dword [ebp - 4], eax
push 0x1f03ff
lea eax, [ebp - 8]
push eax
call edi
push eax
push dword [ebp - 8]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov eax, dword [ebp - 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 4]
push esi
mov dword [esi + 0x30], eax
mov dword [esi + 0x34], ebx
mov byte [esi + 0x89], 2
call fcn.1007db3b
lea eax, [ebp - 4]
push 0x18
mov dword [esi + 0x3c], eax
call fcn.10001a71
pop ecx
pop ecx
push eax
mov dword [esi + 0x6c], eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
call fcn.1007da76
pop edi
test eax, eax
jne 0x1007fd81
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1007fd74
push esi
push dword [0x101f5230]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 1
push dword [ebp + 8]
call sym.mono.dll_mono_domain_set
call sym.mono.dll_mono_gc_wbarrier_arrayref_copy
push esi
call fcn.1007f2e6
add esp, 0xc
cmp dword [0x101f796c], ebx
je 0x1007fdd8
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.1007dfe6
mov eax, dword [ebp - 0xc]
pop ecx
pop ecx
cmp eax, ebx
jne 0x1007fdc9
lea eax, [ebp - 4]
jmp 0x1007fdcc
add eax, dword [ebp - 0x10]
push eax
push dword [ebp - 4]
call dword [0x101f796c]
pop ecx
pop ecx
push dword [ebp - 4]
call fcn.100644fd
pop ecx
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10080233
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, dword [ebp + 0x14]
mov ebx, 0xc0
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
call sym.mono.dll_mono_thread_interruption_requested
test eax, eax
jne 0x10080290
cmp dword [ebp + 0x10], eax
push 1
setne al
push edi
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
mov ebx, eax
cmp ebx, 0xc0
jne 0x10080290
cmp dword [ebp + 0x14], 0xffffffff
je 0x10080249
call sub.KERNEL32.dll_GetTickCount
sub eax, dword [ebp - 4]
mov edi, dword [ebp + 0x14]
cmp eax, edi
jae 0x1008028b
sub edi, eax
jmp 0x10080249
mov ebx, 0x102
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x100804e1
Capabilities:
Allocate thread local storage

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
xor edi, edi
push edi
push 4
push 0x101f798c
call fcn.1001410e
mov esi, dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
add esp, 0xc
push 0x101f7910
call esi
push 0x101f78b4
call esi
push 0x101f7944
call esi
push 0x101f78f4
call esi
push 0x101f78d8
call esi
push edi
push edi
xor esi, esi
inc esi
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x101f78f0], eax
cmp eax, edi
jne 0x10080556
push str.background_change_event___NULL
push 0xb0f
push str...monometadata_threads.c
push str._Assertion_at__s:_d__condition___s_not_met_n
push 4
push edi
call fcn.100010d9
add esp, 0x18
mov eax, 0x101f792c
call fcn.1007f24a
mov eax, 0x101f7938
call fcn.1007f24a
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x101f5230], eax
mov eax, dword [ebp + 8]
push 8
mov dword [0x101f7968], eax
mov eax, dword [ebp + 0xc]
push edi
push edi
mov dword [0x101f796c], eax
call fcn.1000530d
add esp, 0xc
mov dword [0x101f7998], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
pop edi
mov dword [0x101f79a0], esi
pop esi
pop ebp
ret
Function at 0x1008106e
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov dword [ebp - 8], eax
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 4], eax
mov edi, 0x101f7910
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x210]
push eax
push 0x1007f0c6
push dword [0x101f795c]
mov dword [ebp - 0x10], ebx
call sym.mono.dll_mono_g_hash_table_foreach
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [ebp - 0x10], ebx
jbe 0x100810ef
xor esi, esi
cmp dword [ebp - 0x10], ebx
jbe 0x100810e1
push ebx
push dword [ebp + esi*4 - 0x110]
call fcn.10080a2a
inc esi
pop ecx
pop ecx
cmp esi, dword [ebp - 0x10]
jb 0x100810cc
push 0x64
lea esi, [ebp - 0x210]
call fcn.100805a6
pop ecx
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [ebp - 4]
sub ecx, eax
add dword [ebp + 0xc], ecx
call sub.KERNEL32.dll_GetTickCount
cmp dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], eax
je 0x1008110f
cmp dword [ebp + 0xc], ebx
jl 0x10081120
cmp dword [ebp - 0x10], ebx
ja 0x1008108f
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
xor eax, eax
jmp 0x1008111b
Function at 0x100941bb
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
push esi
push edi
cmp dword [0x101f79cc], ebx
je 0x1009425e
call fcn.100386e0
cmp dword [0x101f79c4], ebx
jne 0x100941f9
push ebx
push sym.mono.dll_g_free
push fcn.1000231d
push fcn.10002334
call fcn.10001bed
add esp, 0x10
mov dword [0x101f79c4], eax
mov eax, dword [0x101f79e0]
push 0x64
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x1009420d
call fcn.10094192
mov esi, dword [ebp + 8]
inc dword [0x101f79e0]
mov edi, dword [esi + 0x38]
call sym.mono.dll_mono_domain_get
push eax
mov eax, dword [esi + 0x38]
push dword [eax]
call sym.mono.dll_mono_debug_find_method
push eax
push dword [esi + 0x1bc]
push dword [esi + 0xf8]
push dword [esi + 0x100]
push dword [edi + 0x10]
push dword [edi + 8]
push ebx
push ebx
push dword [edi]
push esi
push dword [0x101f79e4]
call fcn.100b5044
add esp, 0x34
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.10038744
cmp dword [0x101f79e4], ebx
je 0x100942ba
call fcn.100386e0
mov esi, dword [ebp + 8]
mov edi, dword [esi + 0x38]
call sym.mono.dll_mono_domain_get
push eax
mov eax, dword [esi + 0x38]
push dword [eax]
call sym.mono.dll_mono_debug_find_method
push eax
push dword [esi + 0x1bc]
push dword [esi + 0xf8]
push dword [esi + 0x100]
push dword [edi + 0x10]
push dword [edi + 8]
push ebx
push ebx
push dword [edi]
push esi
push dword [0x101f79e4]
call fcn.100b5044
push dword [0x101f79dc]
call fcn.10118084
add esp, 0x38
jmp 0x10094255
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x100a028d
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push esi
xor esi, esi
push dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
sub eax, esi
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x100a02b6
add esi, eax
cmp esi, dword [ebp + 0x10]
jl 0x100a0293
cmp eax, 0xffffffff
jne 0x100a02c5
call fcn.10114f43
cmp dword [eax], 4
je 0x100a0293
mov eax, esi
pop esi
pop ebp
ret
Function at 0x100a02ca
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x84]
push str.DWP_Handshake
push eax
call fcn.10115364
pop ecx
pop ecx
lea eax, [ebp - 0x84]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100a02f9
push 0
sub eax, edx
push eax
lea eax, [ebp - 0x84]
push eax
push dword [0x101f7a94]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x100a0343
call fcn.10114f43
cmp dword [eax], 4
je 0x100a02f0
push str.debugger_agent:_DWP_handshake_failed._n
call fcn.101162e9
add eax, 0x40
push eax
call fcn.1011305a
pop ecx
pop ecx
xor eax, eax
jmp 0x100a0401
lea eax, [ebp - 0x84]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x100a034c
push esi
sub eax, edx
push 0
push eax
lea eax, [ebp - 0x104]
push eax
push dword [0x101f7a94]
call fcn.100a028d
lea ecx, [ebp - 0x84]
add esp, 0x10
mov esi, eax
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100a0379
sub ecx, edx
cmp esi, ecx
jne 0x100a03e9
xor eax, eax
test ecx, ecx
setne al
push edi
lea edi, [ebp - 0x84]
lea esi, [ebp - 0x104]
mov ecx, eax
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
pop edi
jne 0x100a03e9
and dword [0x101f7b40], eax
push 4
lea eax, [ebp - 0x108]
push eax
xor esi, esi
inc esi
push esi
push 6
push dword [0x101f7a94]
mov dword [0x101f7b04], 2
mov dword [0x101f7b00], esi
mov dword [ebp - 0x108], esi
call dword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
jns 0x100a03e5
push str.debugger_agent:_Error_setting_TCP_NODELAY._n
jmp 0x100a03ee
mov eax, esi
jmp 0x100a0400
push str.debugger_agent:_DWP_handshake_failed._n
call fcn.101162e9
add eax, 0x40
push eax
call fcn.1011305a
pop ecx
xor eax, eax
pop ecx
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011389e
leave
ret
Function at 0x100a0e17
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx + 0x11c]
push esi
mov esi, dword [eax + 0x30]
test esi, esi
je 0x100a0e4b
push edi
xor edi, edi
mov eax, dword [esi + edi*4]
test eax, eax
je 0x100a0e3d
push eax
call fcn.10002131
pop ecx
inc edi
cmp edi, 7
jl 0x100a0e2f
push esi
call sym.mono.dll_g_free
pop ecx
pop edi
mov eax, dword [ebx + 0x11c]
and dword [eax + 0x30], 0
call fcn.100386e0
mov ecx, 0x101f7aa0
mov eax, dword [ecx]
xor esi, esi
cmp eax, esi
je 0x100a0e88
xor edx, edx
cmp dword [eax + 4], esi
jbe 0x100a0e88
mov eax, dword [ecx]
mov eax, dword [eax]
mov eax, dword [eax + edx*4]
cmp dword [eax + 4], ebx
jne 0x100a0e80
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov eax, dword [ecx]
inc edx
cmp edx, dword [eax + 4]
jb 0x100a0e6e
add ecx, 4
cmp ecx, 0x101f7abc
jl 0x100a0e5f
jmp 0x100a0e9e
push esi
push eax
call fcn.10004b47
pop ecx
pop ecx
mov eax, dword [0x101f7a78]
cmp dword [eax + 4], esi
jne 0x100a0e95
push ebx
push dword [0x101f7a74]
call fcn.10001eca
pop ecx
pop ecx
pop esi
pop ebx
pop ebp
jmp fcn.10038744
Function at 0x100a116d
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
xor esi, esi
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x78], eax
cmp dword [0x101f7a8c], esi
jne 0x100a1199
xor eax, eax
jmp 0x100a1319
push ebx
push dword [0x101f7a90]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ebx, eax
cmp ebx, esi
je 0x100a11b3
lea eax, [ebx + 0x7c]
cmp dword [eax], esi
jne 0x100a11ba
xor eax, eax
jmp 0x100a1318
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp edi, esi
je 0x100a1205
cmp dword [0x101f7abc], 1
jl 0x100a1315
push dword [ebp - 0x78]
call fcn.10057552
pop ecx
push eax
mov eax, dword [edi]
push dword [eax + 0x10]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__p__Received_interrupt_while_at__s__p___continuing._n
call fcn.10115e89
push dword [0x101f7a84]
call fcn.10118084
add esp, 0x14
jmp 0x100a1315
cmp dword [ebx + 0x44], esi
jne 0x100a1315
cmp dword [ebx + 0x48], esi
jne 0x100a1315
mov edi, dword [ebp - 0x78]
cmp edi, esi
je 0x100a124e
cmp dword [0x101f7abc], 1
jl 0x100a124e
push edi
call fcn.10057552
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push str.__p__Received_interrupt_while_at__p__treating_as_suspended._n
call fcn.10115e89
push dword [0x101f7a84]
call fcn.10118084
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
call fcn.100a1098
pop ecx
cmp dword [ebx + 0x88], esi
je 0x100a1315
mov dword [ebp - 0x54], esi
cmp edi, esi
je 0x100a12fd
call fcn.100387be
test eax, eax
jne 0x100a12b5
call fcn.10038780
test eax, eax
jne 0x100a12b5
lea eax, [ebp - 0x28]
push eax
push edi
call fcn.100f9e37
pop ecx
pop ecx
lea eax, [ebp - 0x74]
push eax
call fcn.100ee1cf
push eax
push dword [ebx + 0x88]
lea eax, [ebp - 0x28]
push esi
push eax
call sym.mono.dll_mono_domain_get
push eax
push 0x100a1127
call fcn.100e9690
add esp, 0x1c
cmp dword [ebp - 0x54], esi
je 0x100a12fd
mov eax, dword [ebp - 0x2c]
push 8
pop ecx
lea edi, [ebx + 0x8c]
lea esi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
push 9
pop ecx
lea edi, [ebx + 0xac]
lea esi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov dword [ebx + 0xd4], eax
mov dword [ebx + 0xd0], 1
call sym.mono.dll_mono_domain_get
push 9
pop ecx
lea esi, [ebp - 0x28]
mov edi, ebx
mov dword [ebx + 0x28], eax
rep movsd dword es:[edi], dword [esi]
jmp 0x100a1303
mov dword [ebx + 0xd0], esi
push 0x101f7b84
mov dword [ebx + 0x44], 1
call fcn.1000b67c
pop ecx
xor eax, eax
inc eax
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1011389e
leave
ret
Function at 0x100a2305
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebx
push esi
push edi
call fcn.100386e0
mov eax, dword [0x101f7b78]
xor ebx, ebx
cmp dword [eax + 4], ebx
jbe 0x100a234e
mov ecx, dword [eax]
mov esi, dword [ecx + ebx*4]
cmp dword [esi + 4], 0xa
jne 0x100a2348
mov edi, dword [esi + 0x10]
call fcn.100a22b1
push ebx
push dword [0x101f7b78]
call fcn.10004bb2
push esi
call sym.mono.dll_g_free
mov eax, dword [0x101f7b78]
add esp, 0xc
jmp 0x100a2349
inc ebx
cmp ebx, dword [eax + 4]
jb 0x100a2319
mov eax, dword [0x101f7afc]
xor edi, edi
xor esi, esi
cmp dword [eax + 4], edi
jbe 0x100a2372
mov eax, dword [eax]
push dword [eax + esi*4]
call sym.mono.dll_g_free
mov eax, dword [0x101f7afc]
inc esi
pop ecx
cmp esi, dword [eax + 4]
jb 0x100a235c
push 1
push eax
call fcn.10004a5f
push dword [0x101f7ac0]
call fcn.10002131
add esp, 0xc
mov dword [0x101f7afc], edi
mov dword [0x101f7ac0], edi
pop edi
pop esi
pop ebx
jmp fcn.10038744

Function at 0x100a246f
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push dword [0x101f7a90]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
jne 0x100a24bc
push 0x101b07dc
push 0xfc2
push str...monominidebugger_agent.c
push str._Assertion_at__s:_d__condition___s_not_met_n
push 4
push eax
call fcn.100010d9
add esp, 0x18
lea eax, [ebp - 0x28]
push eax
push ebx
call fcn.100f9e37
push 9
pop ecx
push dword [ebp - 0x2c]
lea edi, [esi + 0x50]
lea eax, [ebp - 0x28]
lea esi, [ebp - 0x28]
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.100fa058
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.100f9e37
mov ecx, dword [ebp - 4]
add esp, 0x18
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011389e
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
push ebx
call fcn.100386e0
mov ecx, dword [0x101f7b78]
mov eax, dword [ecx + 4]
xor ebx, ebx
test eax, eax
je 0x100a317c
mov ecx, dword [ecx]
push esi
mov esi, dword [ecx]
mov edx, dword [esi]
cmp edx, dword [ebp + 8]
jne 0x100a3122
mov edx, dword [esi + 4]
cmp edx, dword [ebp + 0xc]
je 0x100a312c
inc ebx
add ecx, 4
cmp ebx, eax
jb 0x100a3111
jmp 0x100a317b
push edi
cmp edx, 0xa
jne 0x100a313a
mov edi, dword [esi + 0x10]
call fcn.100a22b1
cmp dword [esi + 4], 0xb
jne 0x100a3149
push dword [esi + 0x10]
call fcn.100a268c
pop ecx
cmp dword [esi + 4], 6
jne 0x100a3157
mov edi, dword [esi + 0x10]
call fcn.100a22b1
cmp dword [esi + 4], 7
jne 0x100a3165
mov edi, dword [esi + 0x10]
call fcn.100a22b1
push ebx
push dword [0x101f7b78]
call fcn.10004bb2
push esi
call sym.mono.dll_g_free
add esp, 0xc
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.10038744