joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000aeb1
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push dword [ebp + 8]
mov esi, 0x200
push str._proc__d_stat
lea eax, [ebp - 0x204]
push esi
push eax
call fcn.100028c8
lea eax, [ebp - 0x204]
push 0x1013361c
push eax
call fcn.10109ee6
mov edi, eax
add esp, 0x18
test edi, edi
jne 0x1000af0d
test ebx, ebx
je 0x1000af04
mov dword [ebx], 1
xor eax, eax
xor edx, edx
jmp 0x1000b029
push edi
push esi
lea eax, [ebp - 0x204]
push 1
push eax
call fcn.10114603
push edi
mov esi, eax
call fcn.10113632
add esp, 0x14
test esi, esi
jg 0x1000af38
test ebx, ebx
je 0x1000af04
mov dword [ebx], 2
jmp 0x1000af04
lea eax, [ebp - 0x204]
push 0x29
push eax
call fcn.101131f0
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x1000af2c
inc esi
movsx eax, byte [esi]
push eax
call fcn.10113511
pop ecx
test eax, eax
jne 0x1000af4e
mov al, byte [esi]
test al, al
je 0x1000af2c
movsx eax, al
push eax
call fcn.10113511
pop ecx
test eax, eax
jne 0x1000af78
inc esi
mov al, byte [esi]
test al, al
jne 0x1000af63
mov al, byte [esi]
test al, al
je 0x1000af2c
xor edi, edi
cmp dword [ebp + 0xc], edi
jle 0x1000afc4
movsx eax, al
jmp 0x1000af8e
inc esi
movsx eax, byte [esi]
push eax
call fcn.10113511
pop ecx
test eax, eax
jne 0x1000af8a
mov al, byte [esi]
test al, al
je 0x1000af2c
movsx eax, al
push eax
call fcn.10113511
pop ecx
test eax, eax
jne 0x1000afb4
inc esi
mov al, byte [esi]
test al, al
jne 0x1000af9f
mov al, byte [esi]
test al, al
je 0x1000af2c
inc edi
cmp edi, dword [ebp + 0xc]
jl 0x1000af85
push 0
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.10115211
and dword [ebp - 0x208], 0
add esp, 0xc
cmp dword [ebp + 0x10], 0
mov edi, eax
je 0x1000b01a
jmp 0x1000afe8
inc esi
movsx eax, byte [esi]
push eax
call fcn.10113511
pop ecx
test eax, eax
jne 0x1000afe7
cmp byte [esi], 0
je 0x1000af2c
push 0
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.10115211
add esp, 0xc
add edi, eax
adc dword [ebp - 0x208], 0
test ebx, ebx
je 0x1000b021
and dword [ebx], 0
mov edx, dword [ebp - 0x208]
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1011389e
leave
ret
Function at 0x1000ca15
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x460]
push edi
push eax
call sym.mono.dll_mono_sha1_init
mov dword [esp], 0x1013361c
push ecx
call fcn.10109ee6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1000cac1
push esi
push edi
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.10114603
add esp, 0x10
jmp 0x1000ca93
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x460]
push eax
call sym.mono.dll_mono_sha1_update
push edi
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.10114603
add esp, 0x1c
test eax, eax
jg 0x1000ca6c
push edi
call fcn.10114391
pop ecx
pop esi
push edi
test eax, eax
je 0x1000caac
call fcn.10113632
pop ecx
jmp 0x1000cac1
call fcn.10113632
lea eax, [ebp - 0x460]
push ebx
push eax
call sym.mono.dll_mono_sha1_final
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.1011389e
leave
ret

Function at 0x1000fa07
Capabilities:
Copy file
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 0x14]
push edi
add eax, ecx
sub eax, esi
mov edi, esi
xor ebx, ebx
mov cl, byte [edi]
mov byte [eax + edi], cl
inc edi
cmp cl, bl
jne 0x1000fa1d
push 1
push dword [ebp + 8]
call fcn.10004df9
pop ecx
pop ecx
test eax, eax
jne 0x1000fa3d
inc eax
jmp 0x1000facb
mov eax, dword [ebp + 8]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000fa43
push ebx
push ebx
sub eax, edi
push ebx
push eax
push dword [ebp + 8]
call fcn.10001352
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 0x14]
add esp, 0x14
add eax, dword [ebp + 0x10]
sub eax, esi
mov cl, byte [esi]
mov byte [eax + esi], cl
inc esi
cmp cl, bl
jne 0x1000fa69
mov eax, dword [ebp + 0xc]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000fa79
push ebx
push ebx
sub eax, esi
push ebx
push eax
push dword [ebp + 0xc]
call fcn.10001352
add esp, 0x14
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov edi, eax
cmp edi, ebx
je 0x1000fab9
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov edi, eax
push dword [ebp + 8]
call sym.mono.dll_g_free
push esi
call sym.mono.dll_g_free
pop ecx
pop ecx
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x1000fdc7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.10002f15
xor ebx, ebx
push ebx
mov edi, eax
push str.__AssemblyInfo__.ini
push edi
push 0x101eb5f8
call fcn.10002dcb
push edi
mov esi, eax
call sym.mono.dll_g_free
push 1
push esi
call fcn.10004df9
add esp, 0x20
test eax, eax
je 0x1000fe12
push esi
call sym.mono.dll_g_free
xor eax, eax
pop ecx
inc eax
jmp 0x1000fe9f
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000fe17
push ebx
push ebx
sub eax, edx
push ebx
push eax
push esi
call fcn.10001352
push esi
mov edi, eax
call sym.mono.dll_g_free
add esp, 0x18
cmp edi, ebx
jne 0x1000fe3d
xor eax, eax
jmp 0x1000fe9f
push ebx
push 0x80
push 1
push ebx
push 3
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push edi
mov dword [ebp - 4], eax
call sym.mono.dll_g_free
cmp dword [ebp - 4], 0xffffffff
pop ecx
je 0x1000fe39
push dword [ebp + 0xc]
call sym.mono.dll_mono_path_resolve_symlinks
pop ecx
mov edi, eax
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x1000fe72
push ebx
lea ecx, [ebp - 8]
push ecx
sub eax, esi
push eax
push edi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
mov esi, eax
call sym.mono.dll_g_free
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1001efe2
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0xc]
call fcn.10008990
mov esi, dword [ebp + 8]
xor ebx, ebx
inc ebx
pop ecx
test byte [esi + 0x1e], bl
jne 0x1001f0f7
call fcn.100386e0
test byte [esi + 0x1e], bl
je 0x1001f011
pop esi
pop ebx
pop ebp
jmp fcn.10038744
push edi
cmp byte [esi + 0xe], bl
jne 0x1001f06a
cmp byte [esi + 0x92], 0x14
je 0x1001f06a
cmp dword [0x101f9c98], 0
je 0x1001f06a
push 4
push dword [esi + 0x30]
mov eax, ebx
mov word [esi + 0x44], ax
call fcn.10037bc4
mov dword [esi + 0x58], eax
mov eax, dword [esi]
add eax, 0x8c
mov dword [ebp + 8], eax
push 0
lea eax, [ebp + 8]
push eax
push ebx
push dword [0x101f9c98]
call fcn.1006b1dd
mov ecx, dword [esi + 0x58]
add esp, 0x18
mov dword [ecx], eax
or dword [esi + 0x1c], 0x10000
pop edi
jmp 0x1001f009
mov eax, dword [esi + 0x98]
test eax, eax
je 0x1001f060
mov edi, dword [eax]
movzx eax, word [edi + 0x44]
mov word [esi + 0x44], ax
shl eax, 2
push eax
mov eax, esi
call fcn.10015088
mov dword [esi + 0x58], eax
xor eax, eax
xor ebx, ebx
pop ecx
cmp ax, word [esi + 0x44]
jae 0x1001f060
push dword [ebp + 0xc]
push dword [esi + 0x98]
call fcn.100277cf
add esp, 4
push eax
mov eax, dword [edi + 0x58]
push dword [eax + ebx*4]
call fcn.1001efa2
mov ecx, dword [esi + 0x58]
push dword [ebp + 0xc]
mov dword [ecx + ebx*4], eax
call fcn.100089eb
add esp, 0x10
test eax, eax
je 0x1001f0d4
movzx eax, word [esi + 0x44]
inc ebx
cmp ebx, eax
jl 0x1001f097
jmp 0x1001f060
push str.Could_not_setup_the_interfaces
call fcn.10001abe
push eax
push 7
push esi
call fcn.100167fb
push dword [esi + 0x58]
call sym.mono.dll_g_free
add esp, 0x14
and dword [esi + 0x58], 0
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x10027d4a
Capabilities:
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
call sym.mono.dll_mono_domain_get
mov esi, dword [ebp + 8]
cmp eax, esi
je 0x10027e03
push esi
push dword [0x101f505c]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push dword [esi + 0x28]
call sym.mono.dll_mono_thread_current
add eax, 0x4c
push eax
call sym.mono.dll_mono_thread_current
push eax
call sym.mono.dll_mono_gc_wbarrier_set_arrayref
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x10027e03
push ebx
call sym.mono.dll_mono_thread_current
lea ebx, [eax + 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebx]
test eax, eax
je 0x10027e02
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
push edi
mov edi, str...monometadatadomain.c
mov esi, str._Assertion_at__s:_d__condition___s_not_met_n
cmp dword [eax + 8], ecx
jne 0x10027dcb
push str.thread__abort_exc__object.vtable__domain___domain
push 0x6f0
push edi
push esi
push 4
push 0
call fcn.100010d9
add esp, 0x18
call sym.mono.dll_mono_get_exception_thread_abort
push eax
push ebx
push dword [ebp - 4]
call sym.mono.dll_mono_gc_wbarrier_set_arrayref
mov eax, dword [ebx]
mov eax, dword [eax]
mov ecx, dword [ebp + 8]
add esp, 0xc
cmp dword [eax + 8], ecx
je 0x10027e01
push str.thread__abort_exc__object.vtable__domain__domain
push 0x6f2
push edi
push esi
push 4
push 0
call fcn.100010d9
add esp, 0x18
pop edi
pop ebx
pop esi
leave
ret
Function at 0x1002a357
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x1002a3a6
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x20
je 0x1002a386
or eax, 0xffffffff
jmp 0x1002a3a6
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x1002a381
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x254]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1011389e
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
call fcn.100386e0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.10001abe
pop ecx
push eax
push dword [0x101f7394]
call fcn.10001ccf
add esp, 0x10
pop ebp
jmp fcn.10038744

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

Disassembly:
push ebp
mov ebp, esp
call fcn.100386e0
push 0
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [0x101f739c]
call fcn.10001ccf
add esp, 0x10
pop ebp
jmp fcn.10038744

Function at 0x10037e78
Capabilities:
Allocate thread local storage

Disassembly:
cmp dword [0x101f73ec], 0
jne 0x10037ede
push esi
push 0x101f73cc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_TlsAlloc]
call esi
mov dword [0x101f9ccc], eax
call esi
mov dword [0x101f9cc8], eax
call esi
push 0x101f73e8
push 0x800
push str.Inflated_signatures_size
mov dword [0x101f9cd0], eax
call sym.mono.dll_mono_counters_register
push 0x101f73f0
push 0x400
push str.Memberref_signature_cache_size
call sym.mono.dll_mono_counters_register
add esp, 0x18
mov dword [0x101f73ec], 1
pop esi
ret

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

Disassembly:
push esi
push dword [0x101f9ccc]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
test esi, esi
je 0x10037f63
push dword [esi + 4]
call sym.mono.dll_g_free
push dword [esi + 8]
call sym.mono.dll_g_free
push dword [esi + 0x18]
call sym.mono.dll_g_free
push esi
call sym.mono.dll_g_free
add esp, 0x10
push 0
push dword [0x101f9ccc]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop esi
ret
Function at 0x100399ff
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
call fcn.10037e78
call fcn.100386e0
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x14
cmp edi, ebx
jne 0x10039a85
call fcn.10001a71
pop ecx
mov esi, eax
cmp dword [ebp + 0xc], ebx
je 0x10039a32
push dword [ebp + 0xc]
call fcn.10001abe
pop ecx
jmp 0x10039a34
xor eax, eax
mov dword [esi], eax
cmp dword [ebp + 0x14], ebx
je 0x10039a46
push dword [ebp + 0x14]
call fcn.10001abe
pop ecx
jmp 0x10039a48
xor eax, eax
mov dword [esi + 4], eax
cmp dword [ebp + 0x10], ebx
je 0x10039a5b
push dword [ebp + 0x10]
call fcn.10001abe
pop ecx
jmp 0x10039a5d
xor eax, eax
mov dword [esi + 8], eax
cmp dword [ebp + 0x18], ebx
je 0x10039a70
push dword [ebp + 0x18]
call fcn.10001abe
pop ecx
jmp 0x10039a72
xor eax, eax
mov dword [esi + 0xc], eax
mov eax, dword [0x101f73c8]
mov dword [esi + 0x10], eax
mov dword [0x101f73c8], esi
jmp 0x10039af9
push edi
call fcn.10037bc4
pop ecx
pop ecx
mov esi, eax
cmp dword [ebp + 0xc], ebx
je 0x10039aa1
push dword [ebp + 0xc]
push edi
call fcn.10037bfa
pop ecx
pop ecx
jmp 0x10039aa3
xor eax, eax
mov dword [esi], eax
cmp dword [ebp + 0x14], ebx
je 0x10039ab7
push dword [ebp + 0x14]
push edi
call fcn.10037bfa
pop ecx
pop ecx
jmp 0x10039ab9
xor eax, eax
mov dword [esi + 4], eax
cmp dword [ebp + 0x10], ebx
je 0x10039ace
push dword [ebp + 0x10]
push edi
call fcn.10037bfa
pop ecx
pop ecx
jmp 0x10039ad0
xor eax, eax
mov dword [esi + 8], eax
cmp dword [ebp + 0x18], ebx
je 0x10039ae5
push dword [ebp + 0x18]
push edi
call fcn.10037bfa
pop ecx
pop ecx
jmp 0x10039ae7
xor eax, eax
mov dword [esi + 0xc], eax
mov ecx, dword [edi + 0x364]
mov dword [esi + 0x10], ecx
mov dword [edi + 0x364], esi
pop edi
pop esi
pop ebx
pop ebp
jmp fcn.10038744
Function at 0x100610a2
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
call fcn.100386e0
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebp + 0x10]
test byte [ecx + 0x60], 0x20
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0xc]
je 0x100610f4
mov edx, dword [eax + 0x10]
and dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 1
test edx, edx
je 0x10061105
lea edi, [eax + 0x14]
cmp dword [ebp + 0xc], 0
je 0x10061122
cmp dword [edi], ecx
jne 0x100610e7
and dword [ebp + 0xc], 0
inc dword [ebp + 0x10]
add edi, 4
cmp dword [ebp + 0x10], edx
jb 0x100610d9
jmp 0x100610ff
xor edx, edx
cmp dword [eax + 8], ecx
setne dl
mov dword [ebp + 0xc], edx
cmp dword [ebp + 0xc], 0
je 0x10061122
push ecx
push dword [ebp + 8]
call fcn.1005d982
push dword [esi + 8]
mov dword [esi + 0xc], eax
push eax
push dword [ebp + 8]
call fcn.10060ffb
add esp, 0x14
mov dword [esi], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebp
jmp fcn.10038744
Function at 0x10065853
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov ebx, dword [ebp + 8]
and dword [ebp + 8], 0
push esi
push edi
call fcn.101162e9
add eax, 0x20
mov dword [0x101f76a4], eax
mov edi, str.alloc_time_jit
test ebx, ebx
jne 0x10065879
mov ebx, edi
mov esi, 0x10133ed0
push esi
push ebx
call fcn.101138e0
pop ecx
pop ecx
test eax, eax
je 0x10065897
push esi
push ebx
call fcn.101138e0
pop ecx
pop ecx
inc eax
jmp 0x10065899
mov eax, edi
push 0xffffffffffffffff
push 0x10133ba8
push eax
call fcn.100025a2
add esp, 0xc
mov dword [ebp - 4], eax
test eax, eax
je 0x1006598b
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
test ebx, ebx
je 0x1006598b
or dword [ebp + 8], 1
push 5
mov edi, str.time
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x100658e1
or dword [ebp + 8], 0x1040
jmp 0x10065981
push 6
mov edi, str.alloc
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x100658fd
or dword [ebp + 8], 0x80
jmp 0x10065981
push 5
mov edi, str.stat
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x10065916
or dword [ebp + 8], 0x8000
jmp 0x10065981
push 4
mov edi, 0x101a6a2c
mov esi, ebx
pop ecx
xor eax, eax
repe cmpsb byte [esi], byte es:[edi]
jne 0x1006592c
or dword [ebp + 8], 0x10
jmp 0x10065981
push 5
push str.file
push ebx
call fcn.101137de
add esp, 0xc
test eax, eax
jne 0x10065a4e
lea esi, [ebx + 5]
push 0x101a6a20
push esi
call fcn.10109ee6
pop ecx
pop ecx
mov dword [0x101f76a4], eax
test eax, eax
jne 0x10065981
call fcn.101162e9
add eax, 0x20
push esi
push str.profiler_:_cannot_open_profile_output_file__s._n
mov dword [0x101f76a4], eax
call fcn.101162e9
add eax, 0x40
push eax
call fcn.1011305a
add esp, 0xc
add dword [ebp - 4], 4
jne 0x100658b4
test byte [ebp + 8], 0x80
je 0x10065998
or dword [ebp + 8], 0x1040
xor edi, edi
cmp dword [ebp + 8], edi
jne 0x100659a6
mov dword [ebp + 8], 0x10d0
call fcn.10064be6
mov esi, eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
push esi
push eax
mov dword [0x101f5200], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0x249f00
call fcn.10001a71
mov dword [esp], fcn.1000231d
push fcn.10002334
mov dword [0x101f76b0], eax
call fcn.10001b98
push 0x1006574b
push esi
mov dword [0x101f76b4], eax
call sym.mono.dll_mono_profiler_install
mov edx, 0x1006520b
push edx
push 0x10065127
call sym.mono.dll_mono_profiler_install_enter_leave
push edi
push edx
push edi
call sym.mono.dll_mono_profiler_install_exception
push 0x100653c4
push 0x10065377
call sym.mono.dll_mono_profiler_install_jit_compile
push 0x1006529b
call sym.mono.dll_mono_profiler_install_allocation
push edi
push 0x1006560c
push 0x100655f2
push edi
call sym.mono.dll_mono_profiler_install_appdomain
add esp, 0x40
push 0x10065435
call sym.mono.dll_mono_profiler_install_statistical
push dword [ebp + 8]
call sym.mono.dll_mono_profiler_set_events
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
push ebx
push str.profiler_:_Unknown_argument__s._n
call fcn.101162e9
add eax, 0x40
push eax
call fcn.1011305a
add esp, 0xc
jmp 0x10065a49
Function at 0x10065bcb
Capabilities:
Generate random numbers via winapi

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push edi
mov edi, 0xf0000000
push edi
push 0x16
xor ebx, ebx
push ebx
push ebx
lea eax, [ebp - 4]
push eax
mov dword [ebp - 4], ebx
call esi
test eax, eax
jne 0x10065c04
push edi
push 1
push ebx
push ebx
lea eax, [ebp - 4]
push eax
call esi
test eax, eax
jne 0x10065c04
mov dword [ebp - 4], ebx
cmp dword [ebp - 4], ebx
je 0x10065c57
mov eax, dword [ebp + 8]
cmp eax, ebx
je 0x10065c57
mov esi, dword [eax + 0xc]
push ebx
push 1
push eax
call sym.mono.dll_mono_array_addr_with_size
push esi
mov dword [ebp - 8], eax
call fcn.10001a5d
mov edi, eax
add esp, 0x10
cmp edi, ebx
je 0x10065c57
push esi
push dword [ebp - 8]
push edi
call fcn.10114030
add esp, 0xc
push edi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptGenRandom]
push esi
push ebx
push edi
call fcn.10112fe0
push edi
call sym.mono.dll_g_free
add esp, 0x10
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
test eax, eax
je 0x1006c02e
cmp dword [eax + 0xc], 0
je 0x1006c02e
push ebx
push esi
push eax
push edi
push edi
call fcn.1006639a
mov ebx, eax
call fcn.100386e0
mov esi, 0x1000
push esi
push dword [ebp + 8]
push edi
call fcn.100372c3
add esp, 0x18
test eax, eax
je 0x1006c018
cmp dword [eax + 4], 0
jne 0x1006c018
push eax
call sym.mono.dll_mono_custom_attrs_free
pop ecx
push ebx
push esi
push dword [ebp + 8]
push edi
call fcn.100372f3
add esp, 0x10
pop esi
pop ebx
pop ebp
jmp fcn.10038744
pop ebp
ret
Function at 0x1007848e
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x18]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x1c]
and dword [edi], 0
push dword [ebp + 8]
mov byte [eax], 0
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ebx, eax
test ebx, ebx
je 0x10078504
cmp word [ebx + 8], 2
jne 0x100784e4
cmp word [ebx + 0xa], 4
jne 0x100784e4
mov esi, dword [ebx + 0xc]
jmp 0x100784de
push dword [eax]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.10078427
mov dword [edi], eax
test eax, eax
je 0x100784ff
lea edi, [eax + 0x1c]
add esi, 4
mov eax, dword [esi]
test eax, eax
jne 0x100784c2
push 0x400
push dword [ebx]
push 0x401
push dword [ebp + 0x18]
call fcn.101168ab
add esp, 0x10
xor eax, eax
jmp 0x1007852a
push 8
pop eax
jmp 0x1007852a
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, eax
mov eax, 0x2af9
sub ecx, eax
je 0x1007852a
dec ecx
je 0x10078525
dec ecx
je 0x1007851e
dec ecx
jmp 0x1007852a
mov eax, 0x2afb
jmp 0x1007852a
mov eax, 0x2afa
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
Function at 0x10078b63
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x101f77c8], 0
mov dword [ebp - 0x230], str.getaddrinfo
mov dword [ebp - 0x22c], 0x1007870e
mov dword [ebp - 0x228], str.getnameinfo
mov dword [ebp - 0x224], 0x10078998
mov dword [ebp - 0x220], str.freeaddrinfo
mov dword [ebp - 0x21c], fcn.100786d2
jne 0x10078ce5
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
je 0x10078cdb
push ebx
push esi
push edi
lea eax, [ebp - 0x218]
push eax
mov esi, 0x10c
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1011684c
push str.ws2_32
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.10116960
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x10078c3c
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10078c38
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
jne 0x10078c91
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.1011684c
push str.wship6
lea eax, [ebp - 0x110]
push esi
push eax
call fcn.10116960
add esp, 0x18
lea eax, [ebp - 0x110]
push eax
call ebx
mov edi, eax
test edi, edi
je 0x10078cd8
push str.getaddrinfo
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x10078c8d
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x10078cd8
xor esi, esi
push dword [ebp + esi*8 - 0x230]
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp + esi*8 - 0x22c], eax
test eax, eax
je 0x10078cb4
inc esi
cmp esi, 3
jl 0x10078c93
jmp 0x10078cbd
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
xor edi, edi
test edi, edi
je 0x10078cd8
xor eax, eax
mov ecx, dword [ebp + eax - 0x22c]
mov dword [eax + 0x101f5218], ecx
add eax, 8
cmp eax, 0x18
jl 0x10078cc3
pop edi
pop esi
pop ebx
mov dword [0x101f77c8], 1
movzx eax, word [ebp + 8]
mov ecx, dword [ebp - 4]
mov eax, dword [eax*8 + 0x101f5218]
xor ecx, ebp
call fcn.1011389e
leave
ret 4

Function at 0x10079f31
Capabilities:
Receive data
Receive 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
jle 0x10079f4d
xor eax, eax
jmp 0x10079fad
push ebx
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 dword [ebp + 0x10], eax
call fcn.10078f65
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x10079f76
mov dword [esi], 0x273d
jmp 0x10079faa
call sym.mono.dll_mono_thread_current
push ebx
push dword [ebp + 0x14]
lea esi, [eax + 0xa0]
push dword [ebp + 0x10]
mov dword [esi], 1
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_recv]
and dword [esi], 0
cmp eax, 0xffffffff
jne 0x10079fac
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp + 0x1c]
mov dword [ecx], eax
xor eax, eax
pop ebx
pop esi
pop ebp
ret