joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40ff36
Capabilities:
Write file on windows

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
lea rax, str.echoBinSafe
mov qword [rbp - 0x58], rax
lea rax, str.P:utenti_rossimarc_nim_2.0.8lib_system.nim
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], 0
mov word [rbp - 0x40], 0
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.nimFrame_5
call sym.nimErrorFlag_4
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x50], 0xad7
lea rcx, [0x00429180]
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x50], 0x12
lea rax, str.P:utenti_rossimarc_nim_2.0.8lib_systemiterators.nim
mov qword [rbp - 0x48], rax
mov qword [rbp - 8], 0
mov qword [rbp - 0x50], 0x13
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jge 0x410093
mov qword [rbp - 0x50], 0xad8
lea rax, str.P:utenti_rossimarc_nim_2.0.8lib_system.nim
mov qword [rbp - 0x48], rax
cmp qword [rbp - 8], 0
js 0x40fff7
mov rax, qword [rbp - 8]
cmp rax, qword [rbp + 0x18]
jl 0x410010
mov rax, qword [rbp + 0x18]
lea rdx, [rax - 1]
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.raiseIndexError2
jmp 0x41011e
mov rax, qword [rbp - 8]
shl rax, 4
mov rdx, rax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x50], 0xaef
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rax + 8]
mov rax, qword [rax]
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
lea rax, [rbp - 0x70]
mov r8d, 0
mov rdx, rax
call sym.writeWindows__system_u9015
mov rax, qword [rbp - 0x10]
movzx eax, byte [rax]
movzx eax, al
test eax, eax
jne 0x41011d
mov qword [rbp - 0x50], 0xd
lea rax, str.P:utenti_rossimarc_nim_2.0.8lib_systemiterators.nim
mov qword [rbp - 0x48], rax
add qword [rbp - 8], 1
jmp 0x40ffc5
nop
mov qword [rbp - 0x50], 0xaf3
lea rax, str.P:utenti_rossimarc_nim_2.0.8lib_system.nim
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x20], 0
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov r9, rax
mov r8d, 1
mov edx, 1
lea rcx, [0x00421109]
call sym.fwrite
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x50], 0xaf4
mov dword [rbp - 0x24], 0
mov ecx, 1
mov rax, qword [sym.__acrt_iob_func]
call rax
mov rcx, rax
call sym.fflush
mov dword [rbp - 0x24], eax
mov qword [rbp - 0x50], 0xaf8
lea rcx, [0x00429180]
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x41011e
nop
call sym.popFrame_5
nop
add rsp, 0x90
pop rbp
ret
Function at 0x410bd4
Capabilities:
Terminate process

Disassembly:
push rbp
mov rbp, rsp
add rsp, 0xffffffffffffff80
mov qword [rbp + 0x10], rcx
lea rcx, [0x004292a0]
mov rax, qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
call rax
mov rax, qword [0x00429398]
mov qword [rbp - 8], rax
lea rdx, [rbp - 0x28]
mov rax, qword [rbp - 8]
mov r8d, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_RtlLookupFunctionEntry]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x410c6c
mov rax, qword [rbp - 0x28]
mov r8, qword [rbp - 0x10]
mov rcx, qword [rbp - 8]
mov qword [rsp + 0x38], 0
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x30], rdx
lea rdx, [rbp - 0x38]
mov qword [rsp + 0x28], rdx
lea rdx, [0x004292a0]
mov qword [rsp + 0x20], rdx
mov r9, r8
mov r8, rcx
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_RtlVirtualUnwind]
call rax
jmp 0x410c85
mov rax, qword [rbp + 8]
mov qword [0x00429398], rax
mov rax, rbp
add rax, 8
mov qword [0x00429338], rax
mov rax, qword [0x00429398]
mov qword [0x00429210], rax
mov rax, qword [rbp + 0x10]
mov qword [0x00429320], rax
mov dword [0x00429200], 0xc0000409
mov dword [0x00429204], 1
mov rax, qword [0x0041f370]
mov qword [rbp - 0x20], rax
mov rax, qword [0x0041f380]
mov qword [rbp - 0x18], rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
call rax
lea rcx, [0x004218f0]
mov rax, qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov edx, 0xc0000409
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_TerminateProcess]
call rax
call sym.abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x410f50
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x30], rcx
mov qword [rbp - 0x28], rdx
mov qword [rbp - 0x20], r8
mov qword [rbp - 0x18], r9
lea rax, [rbp - 0x28]
mov qword [rbp - 0x58], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
call sym.fwrite
mov rbx, qword [rbp - 0x58]
mov ecx, 2
call sym.__acrt_iob_func
mov r8, rbx
mov rdx, qword [rbp - 0x30]
mov rcx, rax
call sym.vfprintf
call sym.abort
nop
Function at 0x411ee6
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x00429ac8]
test eax, eax
je 0x411f74
lea rcx, [0x00429aa0]
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x00429ad0]
mov qword [rbp - 8], rax
jmp 0x411f5b
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x411f4f
cmp qword [rbp - 0x10], 0
je 0x411f4f
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x411f15
lea rcx, [0x00429aa0]
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x411f75
nop
add rsp, 0x30
pop rbp
ret

Function at 0x412080
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x4120a8
mov eax, 0
jmp 0x4120f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x4120d1
mov eax, 0
jmp 0x4120f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x4120f1
mov eax, 0
jmp 0x4120f6
mov eax, 1
add rsp, 0x20
pop rbp
ret

Function at 0x4120fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x41217a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x412171
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x412171
mov rax, qword [rbp - 8]
jmp 0x41218f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x412144
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x413b19
Capabilities:
Print debug messages

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x90
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
cmp qword [rbp + 0x10], 0
je 0x413c63
mov rcx, qword [rbp + 0x10]
call sym.pthread_spin_destroy
cmp eax, 1
jne 0x413c56
movabs rax, 0x6c6320726f727245
movabs rdx, 0x7520676e696e6165
mov qword [rbp - 0x70], rax
mov qword [rbp - 0x68], rdx
movabs rax, 0x6b5f6e6970732070
movabs rdx, 0x20726f6620737965
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rdx
movabs rax, 0x20646165726874
mov edx, 0
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rdx
mov qword [rbp - 0x40], 0
mov qword [rbp - 0x38], 0
mov qword [rbp - 0x30], 0
mov qword [rbp - 0x28], 0
mov qword [rbp - 0x20], 0
mov qword [rbp - 0x18], 0
mov qword [rbp - 0x10], 0
mov word [rbp - 8], 0
mov byte [rbp - 6], 0
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov ecx, eax
lea rax, [rbp - 0x70]
add rax, 0x27
mov r8d, 0xa
mov rdx, rax
mov rax, qword [sym.imp.msvcrt.dll__ultoa]
call rax
mov dword [rbp - 4], 0x27
jmp 0x413c0c
add dword [rbp - 4], 1
mov eax, dword [rbp - 4]
cdqe
movzx eax, byte [rbp + rax - 0x70]
test al, al
je 0x413c22
mov eax, dword [rbp - 4]
cmp eax, 0x69
jbe 0x413c08
mov eax, dword [rbp - 4]
cmp eax, 0x69
ja 0x413c41
mov eax, dword [rbp - 4]
cdqe
mov byte [rbp + rax - 0x70], 0xa
mov eax, dword [rbp - 4]
add eax, 1
cdqe
mov byte [rbp + rax - 0x70], 0
lea rax, [rbp - 0x70]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
call rax
call sym.abort
mov rax, qword [rbp + 0x10]
mov rdx, qword [rbp + 0x18]
mov qword [rax], rdx
jmp 0x413c64
nop
add rsp, 0x90
pop rbp
ret
Function at 0x414c45
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [sym.imp.KERNEL32.dll_TlsAlloc]
call rax
mov dword [0x0041f330], eax
mov eax, dword [0x0041f330]
cmp eax, 0xffffffff
jne 0x414c6c
call sym.abort
nop
add rsp, 0x20
pop rbp
ret

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

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x80]
mov qword [rbp - 0x38], 0xffffffffffffffff
lea rdx, [sym.pthread_tls_init]
lea rcx, [0x00429b50]
call sym._pthread_once_raw
mov eax, dword [0x0041f330]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x40], rax
cmp qword [rbp - 0x40], 0
je 0x414e69
mov rax, qword [rbp - 0x40]
jmp 0x414fc9
call sym.pop_pthread_mem
mov qword [rbp - 0x40], rax
mov rax, qword [sym.__dyn_tls_pthread]
test rax, rax
je 0x414e85
cmp qword [rbp - 0x40], 0
jne 0x414e8f
mov eax, 0
jmp 0x414fc9
mov rax, qword [rbp - 0x40]
mov dword [rax + 0x44], 1
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 0x40]
mov dword [rdx + 0x70], eax
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x40]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x40]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x40]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 0x38]
mov rdx, rax
call sym.replace_spin_keys
mov rax, qword [rbp - 0x40]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x40]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x40]
lea rdi, [rax + 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov rsi, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThread]
call rax
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call rax
mov dword [rsp + 0x30], 2
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov r9, rdi
mov r8, rsi
mov rdx, rbx
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_DuplicateHandle]
call rax
test eax, eax
jne 0x414f6a
call sym.abort
mov rax, qword [rbp - 0x40]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_GetThreadPriority]
call rax
mov rdx, qword [rbp - 0x40]
mov dword [rdx + 0xc0], eax
mov rax, qword [rbp - 0x40]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x40]
movzx edx, byte [rax + 0x40]
and edx, 0xffffffcf
or edx, 0x10
mov byte [rax + 0x40], dl
mov eax, dword [0x0041f330]
mov rdx, qword [rbp - 0x40]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
test eax, eax
jne 0x414fc5
call sym.abort
mov rax, qword [rbp - 0x40]
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
ret
Function at 0x4150c3
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov qword [rbp - 0x10], 0
mov rax, qword [rbp + 0x10]
mov dword [rbp - 4], eax
call sym.__pthread_self_lite
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
mov rdx, qword [rbp + 0x10]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x18]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
mov rax, qword [rbp - 0x18]
movzx eax, byte [rax + 0x40]
and eax, 0x30
test al, al
jne 0x415130
mov rax, qword [rbp - 0x18]
add rax, 0xd0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.msvcrt.dll_longjmp]
call rax
mov eax, dword [0x0041f330]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
cmp qword [rbp - 0x10], 0
je 0x415274
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x4151cd
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x415188
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 0x10], 0
mov eax, dword [0x0041f330]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x415274
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 8]
mov dword [rbp - 4], eax
mov rax, qword [rbp - 0x10]
mov dword [rax + 0xbc], 1
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x415207
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x10]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x415274
mov rax, qword [rbp - 0x10]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 0x28]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x10]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 0x10]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 0x10], 0
mov eax, dword [0x0041f330]
mov rdx, qword [rbp - 0x10]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov eax, dword [rbp - 4]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x415eaa
Capabilities:
Set thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x40
mov qword [rbp + 0x10], rcx
mov dword [rbp - 0x14], 0
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
lea rcx, [0x0041f340]
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
lea rdx, [sym.pthread_tls_init]
lea rcx, [0x00429b50]
call sym._pthread_once_raw
mov eax, dword [0x0041f330]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
mov rax, qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
call rax
mov rdx, qword [rbp - 8]
mov dword [rdx + 0x70], eax
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rdx, rbp
mov rax, qword [rbp - 8]
add rax, 0xd0
mov rcx, rax
call sym._setjmp
test eax, eax
jne 0x415fab
mov qword [rbp - 0x10], pe_nt_image_headers64
lea rcx, [0x0041f340]
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
test rax, rax
je 0x415f7c
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 0x10]
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov rcx, rax
call rdx
mov qword [rbp - 0x10], rax
nop
nop
lea rcx, [0x0041f340]
call sym.pthread_mutex_lock
mov rdx, qword [rbp - 0x10]
mov rax, qword [rbp - 8]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x1d8]
mov rcx, rax
call sym._pthread_cleanup_dest
jmp 0x415fb7
lea rcx, [0x0041f340]
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_lock
mov rax, qword [rbp - 8]
mov rax, qword [rax + 8]
mov dword [rbp - 0x14], eax
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x415ff3
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 8]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x28]
test rax, rax
jne 0x416061
mov rax, qword [rbp - 8]
mov dword [rax], 0xdeadbeef
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov rcx, rax
call sym.push_pthread_mem
mov qword [rbp - 8], 0
mov eax, dword [0x0041f330]
mov rdx, qword [rbp - 8]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsSetValue]
call rax
jmp 0x4160ab
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_unlock
mov rax, qword [rbp - 8]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 8]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 8]
mov dword [rax + 0xbc], 1
jmp 0x4160ab
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
lea rcx, [0x0041f340]
call sym.pthread_mutex_unlock
test eax, eax
je 0x41609d
mov eax, dword [rbp - 0x14]
mov ecx, eax
mov rax, qword [sym.imp.msvcrt.dll__endthreadex]
call rax
nop
Function at 0x140007380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x140007400
cmp r11, r10
ja 0x140007477
cmp r10, rdx
ja 0x140007489
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140007402
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400073e0
jmp 0x140007464
ja 0x14000740a
mov r11, r10
cmp rax, r8
jne 0x1400073ae
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x140007440
mov rdi, r8
sub ecx, edx
jns 0x14000745b
jmp 0x140007466
cmp r8, rsi
je 0x140007498
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140007466
xor al, 1
cmp rdi, rsi
jne 0x140007420
jmp 0x140007466
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140005f80
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140004cb0
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140005ff0
int3

Function at 0x14000dbf0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000dc15
cmp rax, rcx
je 0x14000dc1b
cmp rdx, 4
jae 0x14000dc1f
xor eax, eax
xor r8d, r8d
jmp 0x14000dcb0
pop rbp
jmp fcn.140004840
xor eax, eax
pop rbp
ret
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x14003a4b0]
movdqa xmm3, xmmword [0x14003a4c0]
pxor xmm1, xmm1
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x14000dc40
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000dcc7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000dcb0
pop rbp
ret
Function at 0x14000ebc0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x14000ec44
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x14000ec44
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x14000ec5d
cmp eax, 0x42
jne 0x14000ec44
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x14000ed8d
cmp byte [r10 + rsi], 0x5f
jne 0x14000ed1c
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x14000ed8d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x14000ede7
mov dil, 1
xor r9d, r9d
jmp 0x14000ed8f
xor edx, edx
call fcn.14000a470
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.14000a470
test al, al
jne 0x14000edcd
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14000ec9c
lea rdx, [0x14003db7b]
mov r8d, 1
call fcn.140004d20
mov rdx, rbx
test al, al
jne 0x14000edcd
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x14000ec50
xor r14d, r14d
lea rdi, [0x14003ded1]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x14000ecd4
cmp byte [rax + rcx], 0x45
je 0x14000ee20
sub r14, 1
jb 0x14000ecfc
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x14000ecfc
mov r8d, 2
mov rdx, rdi
call fcn.140004d20
mov rdx, rbx
test al, al
jne 0x14000edcd
mov rcx, rdx
call fcn.14000bd40
test al, al
jne 0x14000edcd
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x14000ecc0
jmp 0x14000ec50
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x14000ed7d
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x14000ed5f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x14000ed51
add dl, 0xa9
jmp 0x14000ed5d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x14000ed8d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x14000ed8d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x14000ed8f
cmp rsi, r11
jb 0x14000ed30
jmp 0x14000ed8f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x14000ec1f
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x14000edd5
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as__mut_const___dyn___unsafe_extern__
lea rdx, [0x14003deb0]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.140004d20
mov rcx, rbx
test al, al
je 0x14000edd5
mov sil, 2
jmp 0x14000ec50
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x14000ec50
cmp qword [rcx + 0x20], 0
je 0x14000ede0
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.14000ebc0
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x14000ec52
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x14000ec50