joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140012690
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
lea rbx, [0x1400223c0]
cmp ecx, 2
je 0x1400126e0
lea rbx, str.SIGSEGV:_Illegal_storage_access.__Attempt_to_read_from_nil___n
cmp ecx, 0xb
je 0x1400126e0
lea rbx, str.SIGABRT:_Abnormal_termination._n
cmp ecx, 0x16
je 0x1400126e0
lea rbx, str.SIGFPE:_Arithmetic_error._n
cmp ecx, 8
je 0x1400126e0
lea rbx, str.SIGILL:_Illegal_operation._n
cmp ecx, 4
lea rax, [0x1400223e0]
cmovne rbx, rax
nop word [rax + rax]
mov rcx, rbx
call sym.strlen
mov rcx, rbx
mov rdx, rax
call sym.showErrorMessage__system_2538
mov ecx, 1
call sym.exit
nop
nop

Function at 0x140012960
Capabilities:
Terminate process

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdi, [0x140022448]
mov rbx, rcx
mov ecx, 2
call rsi
lea rdx, str.could_not_load:
mov rcx, rax
call sym.rawWrite
test rbx, rbx
je 0x140012999
cmp qword [rbx], 0
jne 0x1400129d8
mov ecx, 2
call rsi
mov rdx, rdi
mov rcx, rax
call sym.rawWrite
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xc1
je 0x1400129de
mov ecx, 2
call rsi
lea rdx, [0x140022491]
mov rcx, rax
call sym.rawWrite
mov ecx, 1
call sym.exit
lea rdi, [rbx + 0x10]
jmp 0x140012999
mov ecx, 2
call rsi
lea rdx, str._n_bad_format__library_may_be_wrong_architecture_
mov rcx, rax
call sym.rawWrite
jmp 0x1400129b8

Function at 0x140012a00
Capabilities:
Terminate process

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rsi, rcx
mov ecx, 2
call rbx
lea rdx, str.could_not_import:
mov rcx, rax
call sym.rawWrite
mov ecx, 2
call rbx
mov rdx, rsi
mov rcx, rax
call sym.rawWrite
mov ecx, 2
call rbx
lea rdx, [0x140022491]
mov rcx, rax
call sym.rawWrite
mov ecx, 1
call sym.exit
nop
nop dword [rax]

Function at 0x140012b80
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rcx, qword [0x140053848]
test rcx, rcx
je 0x140012ba0
add rcx, 0x10
mov edx, 1
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_longjmp]
mov rax, qword [0x140053860]
mov rbx, qword [0x140053840]
test rax, rax
je 0x140012bb8
mov rcx, rbx
call rax
mov rcx, rbx
call sym.reportUnhandledErrorAux__system_2754
mov ecx, 1
call sym.exit
nop
nop dword [rax + rax]

Function at 0x140016b60
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
lea rax, [0x140022e00]
test rcx, rcx
mov rbx, rdx
je 0x140016b7a
cmp qword [rcx], 0
jne 0x140016b98
mov rcx, rax
call sym.getenv
test rax, rax
mov rcx, rax
je 0x140016bac
add rsp, 0x20
pop rbx
jmp sym.cstrToNimstr
lea rax, [rcx + 0x10]
mov rcx, rax
call sym.getenv
test rax, rax
mov rcx, rax
jne 0x140016b8a
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp sym.copyString
Function at 0x14001a430
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x30
lea rcx, [0x14003fb00]
xor edx, edx
call sym.getEnv__pureZos_489
mov ecx, 0x22
mov rbx, rax
call sym.rawNewString
lea rcx, [rsp + 0x28]
xor r8d, r8d
mov rdx, rbx
movabs rbx, 0x6568636e69772e5c
mov qword [rsp + 0x28], rax
call sym.formatValue__pureZstrformat_162
mov rcx, qword [rsp + 0x28]
mov edx, 0xa
call sym.resizeString
mov qword [rsp + 0x28], rax
mov rdx, qword [rax]
lea rdx, [rax + rdx + 0x10]
mov qword [rdx], rbx
mov dword [rdx + 7], 0x6b6365
add qword [rax], 0xa
mov rcx, qword [rsp + 0x28]
call sym.copyString
mov rcx, rax
mov rbx, rax
call sym.nosfileExists
test al, al
je 0x14001a4d8
lea r8, str._Malware_
xor ecx, ecx
xor r9d, r9d
lea rdx, str._Malware__has_been_run._nFurther_executions_will_not_work._nRestart_the_VM.
call qword [0x1400556f8]
xor ecx, ecx
call sym.exit
nop word [rax + rax]
xor edx, edx
mov rcx, rbx
call sym.writeFile__systemZio_567
nop
add rsp, 0x30
pop rbx
ret

Function at 0x14001ada0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov rbx, rcx
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sym.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sym.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x14001ae10
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x140055774]
test esi, esi
mov rbx, rcx
jle 0x14001af40
mov rax, qword [0x140055778]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001ae5b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x14001aee5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x14001ae40
mov rcx, rbx
call sym.__mingw_GetSectionForAddress
test rax, rax
mov rdi, rax
je 0x14001af62
mov rax, qword [0x140055778]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call sym._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140055778]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14001af47
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14001aede
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14001aef0
add dword [0x140055774], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov r8d, 0x40
mov eax, 4
mov rcx, qword [rsp + 0x20]
cmove r8d, eax
mov rdx, qword [rsp + 0x38]
add rbx, qword [0x140055778]
mov r9, rbx
mov qword [rbx + 8], rcx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14001aede
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call sym.__report_error
nop dword [rax]
xor esi, esi
jmp 0x14001ae68
mov rax, qword [0x140055778]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [rdi + 8]
mov r8, qword [rax + rbx + 0x18]
call sym.__report_error
lea rcx, str.Address__p_has_no_image_section
mov rdx, rbx
call sym.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14001b4d0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1400557e0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400557c0]
test rbx, rbx
je 0x14001b52c
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x14001b523
test rsi, rsi
je 0x14001b523
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14001b508
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14001b740
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14001b758
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14001b760
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x14001b770
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx r8d, word [rcx + 6]
movzx eax, word [rcx + 0x14]
test r8w, r8w
lea rax, [rcx + rax + 0x18]
je 0x14001b7bd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
cmp rdx, r8
mov rcx, r8
jb 0x14001b7b4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x14001b7bf
add rax, 0x28
cmp rax, r9
jne 0x14001b7a0
xor eax, eax
ret

Function at 0x14001b7c0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x14001b850
mov rdx, qword [0x140040470]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x14001b83e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14001b83e
cmp word [rax + 0x18], 0x20b
jne 0x14001b83e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x14001b850
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x14001b829
add rbx, 0x28
cmp rbx, rdi
je 0x14001b850
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x14001b820
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

Function at 0x14001b860
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140040470]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14001b880
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14001b888
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14001b880
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14001b8dd
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
cmp rcx, r8
mov rdx, r8
jb 0x14001b8d4
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14001b880
add rax, 0x28
cmp rax, r9
jne 0x14001b8c0
xor eax, eax
ret

Function at 0x14001b8e0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140040470]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14001b8ff
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14001b908
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14001b8ff
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x14001b920
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140040470]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14001b940
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14001b948
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14001b940
movzx r8d, word [rdx + 6]
movzx eax, word [rdx + 0x14]
test r8w, r8w
lea rax, [rdx + rax + 0x18]
je 0x14001b990
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14001b987
test rcx, rcx
je 0x14001b940
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x14001b978
xor eax, eax
ret
Function at 0x14001b9a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140040470]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14001b9bf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14001b9c8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14001b9e0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140040470]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14001ba00
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14001ba08
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14001ba00
movzx r9d, word [r8 + 6]
sub rcx, rdx
movzx edx, word [r8 + 0x14]
test r9w, r9w
lea rdx, [r8 + rdx + 0x18]
je 0x14001ba00
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x14001ba54
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14001ba60
add rdx, 0x28
cmp r9, rdx
jne 0x14001ba40
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x14001ba70
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140040470]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14001ba92
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14001baa0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14001ba92
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14001ba92
movzx r10d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
test r10w, r10w
lea rdx, [r8 + rdx + 0x18]
je 0x14001ba92
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
cmp rax, r9
mov r8, r9
jb 0x14001baf5
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14001bb08
add rdx, 0x28
cmp rdx, r10
jne 0x14001bae0
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14001bb17
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14001bb27
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14001bafe
test ecx, ecx
jg 0x14001bb10
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140003ed0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003f1a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003f1a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003f1a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003f1a
cmp dword [rcx + 0x84], 0xe
jbe 0x140003f1a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003f1c
xor al, al
add rsp, 0x28
ret
Function at 0x140002baf
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rdi, rdx
mov rsi, rcx
cmp qword [rdx], 0
je 0x140002bfe
lea rdx, [rdi + 8]
cmp qword [rdi + 0x38], 0xffffffffffffffff
mov r8, qword [rdi + 0x48]
mov r9, qword [rdi + 0x50]
mov rax, qword [rdi + 0x58]
mov rcx, qword [rdi + 0x60]
je 0x140002ce4
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x140002cf3
mov bpl, byte [rdi + 0x1a]
mov rbx, qword [rdi + 8]
mov r15, qword [rdi + 0x48]
mov r14, qword [rdi + 0x50]
mov r13b, byte [rdi + 0x18]
xor r12d, r12d
test bpl, bpl
jne 0x140002d19
mov eax, r13d
xor al, 1
mov byte [rdi + 0x18], al
mov rcx, rbx
mov rdx, r15
mov r8, r14
call fcn.14000258a
test rax, rax
je 0x140002d2d
test rdx, rdx
je 0x140002cfd
mov r8b, byte [rax]
movzx ecx, r8b
test cl, cl
jns 0x140002c9f
mov edx, ecx
and edx, 0x1f
movzx r9d, byte [rax + 1]
and r9d, 0x3f
cmp cl, 0xdf
jbe 0x140002c90
movzx ecx, byte [rax + 2]
shl r9d, 6
and ecx, 0x3f
or ecx, r9d
cmp r8b, 0xf0
jb 0x140002c9a
movzx eax, byte [rax + 3]
and edx, 7
shl edx, 0x12
shl ecx, 6
and eax, 0x3f
or eax, ecx
or eax, edx
mov ecx, eax
jmp 0x140002c9f
shl edx, 6
or edx, r9d
mov ecx, edx
jmp 0x140002c9f
shl edx, 0xc
or ecx, edx
test r13b, r13b
jne 0x140002d02
cmp ecx, 0x110000
je 0x140002d12
mov eax, 1
cmp ecx, 0x80
jb 0x140002cd5
mov eax, 2
cmp ecx, 0x800
jb 0x140002cd5
cmp ecx, 0x10000
mov eax, 4
sbb rax, 0
add rbx, rax
mov qword [rdi + 8], rbx
mov r13b, 1
jmp 0x140002c15
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
mov rcx, rsi
call fcn.1400025bc
jmp 0x140002d1c
test r13b, r13b
je 0x140002d12
mov qword [rsi + 8], rbx
mov qword [rsi + 0x10], rbx
mov r12d, 1
jmp 0x140002d19
mov byte [rdi + 0x1a], 1
xor r12d, r12d
mov qword [rsi], r12
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, str._rustc_aedd173a2c086e558c2b66d3743b344f977621a7librarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, r15
mov rdx, r14
mov r8, rbx
mov r9, r14
call fcn.1400a8490
int3
Function at 0x14000fe40
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rax, rdx
mov rsi, qword [rsp + 0x90]
mov rdi, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
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 0x14000fed0
cmp r11, r10
ja 0x14000ff46
cmp r10, rdx
ja 0x14000ff58
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x14000fed2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000feb0
jmp 0x14000ff34
ja 0x14000feda
mov r11, r10
cmp rax, r8
jne 0x14000fe74
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 0x14000ff10
mov rdi, r8
sub ecx, edx
jns 0x14000ff2b
jmp 0x14000ff36
cmp r8, rsi
je 0x14000ff67
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000ff36
xor al, 1
cmp rdi, rsi
jne 0x14000fef0
jmp 0x14000ff36
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.1400a80f0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400a7e60
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400a82d0
int3

Function at 0x14001213b
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3
cmp r8, r9
je 0x140012161
movzx r11d, byte [rdx + r9]
xor rax, r11
imul rax, r10
inc r9
jmp 0x14001214b
mov qword [rcx], rax
ret

Function at 0x1400122f4
Capabilities:
Hash data using fnv

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rdx
mov rdi, rcx
mov rbx, qword [rcx]
xor ecx, ecx
test rbx, rbx
setne cl
call fcn.1400265ee
test rbx, rbx
je 0x14001232d
mov rdx, qword [rdi + 8]
mov r8, qword [rdi + 0x10]
mov rcx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.14001213b
mov cl, byte [rdi + 8]
mov rdx, rsi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp fcn.140012133
Function at 0x140044a62
Capabilities:
Check for software breakpoints

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x1ea8
call fcn.1400a6b60
sub rsp, rax
movaps xmmword [rsp + 0x1e90], xmm9
movaps xmmword [rsp + 0x1e80], xmm8
movaps xmmword [rsp + 0x1e70], xmm7
movaps xmmword [rsp + 0x1e60], xmm6
mov rbx, rdx
mov r15, rcx
lea r12, [rcx + 0x1b0]
lea r13, [rsp + 0x11e8]
lea rbp, [rcx + 0x1d1]
lea r14, [rsp + 0xa1]
lea rsi, [rcx + 0x180]
lea rax, [rcx + 0xd8]
mov qword [rsp + 0x2d8], rax
xorps xmm6, xmm6
movss xmm7, dword [0x1400ac840]
lea rax, [rcx + 0x158]
mov qword [rsp + 0x160], rax
lea rax, [rcx + 0x18]
mov qword [rsp + 0x2d0], rax
lea rax, [rcx + 8]
mov qword [rsp + 0x2c8], rax
lea rdi, [rsp + 0x11e0]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0xf8], rax
mov qword [rsp + 0x100], rsi

Function at 0x14004c7e5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x6e8
mov r12, r8
mov rdi, rdx
mov qword [rsp + 0x70], rcx
mov rdx, qword [rdx + 0x408]
add rdx, 0x10
lea rsi, [rsp + 0x160]
mov rcx, rsi
call fcn.14001169c
cmp qword [rsi], 0
jne 0x14004e370
mov rcx, qword [rsp + 0x168]
mov dl, byte [rsp + 0x170]
mov rax, qword [rcx + 0x28]
or rax, qword [rcx + 0x38]
je 0x14004c848
call fcn.14009b798
jmp 0x14004c871
mov rsi, qword [rcx + 0x230]
call fcn.14009b798
cmp rsi, 1
ja 0x14004c871
mov rdx, qword [rdi + 0x408]
add rdx, 0x10
lea rcx, [rdi + 0x3a8]
call fcn.140052346
mov rax, qword [rdi + 0x380]
cmp rax, 2
jne 0x14004c88c
mov qword [rsp + 0x160], 2
jmp 0x14004c8ec
lea rsi, [rdi + 0x380]
lea rdx, [rdi + 0x398]
test rax, rax
je 0x14004c8c1
mov rcx, qword [rdi + 0x388]
mov rax, qword [rdi + 0x390]
mov r8, qword [rax + 0x10]
dec r8
and r8, 0xfffffffffffffff0
add rcx, r8
add rcx, 0x10
jmp 0x14004c8cf
mov rcx, qword [rdi + 0x388]
mov rax, qword [rdi + 0x390]
call qword [rax + 0x70]
mov r14, rax
lea r15, [rsp + 0x160]
mov rcx, r15
mov rdx, rsi
call fcn.14009f4eb
mov qword [r15 + 0x18], r14
mov rax, qword [rdi + 0x3a0]
mov rcx, qword [rsp + 0x160]
mov rdx, qword [rsp + 0x168]
movups xmm0, xmmword [rsp + 0x170]
movaps xmmword [rsp + 0x460], xmm0
mov qword [rsp + 0x450], rcx
mov qword [rsp + 0x458], rdx
mov qword [rsp + 0x470], rax
cmp dword [rsp + 0x450], 2
je 0x14004c94a
lea rdx, [rsp + 0x468]
lea rcx, [rsp + 0x450]
call fcn.14009f53a
mov qword [rsp + 0x5e8], 2
and qword [rsp + 0x608], 0
lea r14, [rdi + 0x48]
lea rax, [rdi + 0x3a8]
mov qword [rsp + 0x2b8], rax
lea rax, [rdi + 0x418]
mov qword [rsp + 0x2b0], rax
lea rbp, [rsp + 0xb8]
mov dword [rsp + 0x5c], eax
mov dword [rsp + 0x58], eax
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x78], r14
mov rax, qword [rsp + 0x168]
mov cl, byte [rsp + 0x170]
lea r8, [rsp + 0x2d0]
mov qword [r8], rax
mov byte [r8 + 8], cl
lea rax, str.C:Users_ferre.cargo_registry_srcindex.crates.io_6f17d22bba15001fh2_0.3.25_srcproto_streams_streams.rs
Function at 0x14005c181
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x48]
mov rcx, qword [rdx + 0x38]
mov rdx, qword [rdx + 0x40]
lea r9, [0x1400dbc60]
call fcn.14005bf1e
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0xe8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14005c259
test eax, eax
je 0x14005c275
cmp eax, 0x90317
je 0x14005c2e2
cmp eax, 0x90321
jne 0x14005c2ea
mov dword [rdi + 0xa0], 0x10000
xor ebx, ebx
mov byte [rdi + 0xa4], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14005c12b
and qword [rdi + 0x108], 0
mov byte [rsi + 1], bl
jmp 0x14005c2f8
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
jmp 0x14005c2e6
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x38]
mov rdx, qword [rdi + 0x40]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x10]
and qword [rdi + 0x20], 0
call fcn.14005c30c
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.1400a63c7
and qword [rdi + 0x28], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x48]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14005c12b
xor eax, eax
cmp qword [rdi + 0x48], rbx
sete al
mov qword [rdi + 0x108], rax
mov byte [rsi + 1], 0
jmp 0x14005c2f8
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14005c2f8
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x14005c5a4
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov r8, qword [rdx + 0x170]
mov rcx, qword [rdx + 0x160]
mov rdx, qword [rdx + 0x168]
lea r9, [0x1400dbc60]
call fcn.14005bf1e
xor ecx, ecx
test rax, rax
cmove edx, ecx
xorps xmm0, xmm0
lea rcx, [rsp + 0x20]
movups xmmword [rcx + 0x30], xmm0
mov dword [rcx], edx
mov dword [rcx + 4], 1
mov qword [rcx + 8], rax
movups xmmword [rcx + 0x10], xmm0
movups xmmword [rcx + 0x20], xmm0
movabs rax, 0x400000000
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], rcx
lea rcx, [rdi + 0x1e8]
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.secur32.dll_DecryptMessage]
cmp eax, 0x80090318
je 0x14005c688
test eax, eax
je 0x14005c6a7
cmp eax, 0x90317
je 0x14005c729
cmp eax, 0x90321
jne 0x14005c731
mov dword [rdi + 0x1c8], 0x10000
xor ebx, ebx
mov byte [rdi + 0x1cc], bl
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, 0
cmove eax, dword [rsp + 0x50]
sub rdx, rax
mov rcx, rdi
call fcn.14005c545
and qword [rdi + 0x208], 0
mov byte [rsi + 1], bl
jmp 0x14005c73f
cmp dword [rsp + 0x34], 4
mov eax, 1
cmove eax, dword [rsp + 0x30]
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
jmp 0x14005c72d
mov r8, qword [rsp + 0x38]
mov rcx, qword [rdi + 0x160]
mov rdx, qword [rdi + 0x168]
sub r8, rcx
mov r9d, dword [rsp + 0x30]
add r9, r8
lea rbx, [rdi + 0x138]
and qword [rdi + 0x148], 0
call fcn.14005c30c
lea r8, [rdx + rax]
mov rcx, rbx
mov rdx, rax
call fcn.1400a63c7
and qword [rdi + 0x150], 0
xor ebx, ebx
cmp dword [rsp + 0x54], 5
mov rdx, qword [rdi + 0x170]
mov eax, dword [rsp + 0x50]
cmovne eax, ebx
sub rdx, rax
mov rcx, rdi
call fcn.14005c545
xor eax, eax
cmp qword [rdi + 0x170], rbx
sete al
mov qword [rdi + 0x208], rax
mov byte [rsi + 1], 0
jmp 0x14005c73f
mov byte [rsi + 1], 1
xor ebx, ebx
jmp 0x14005c73f
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov bl, 1
mov byte [rsi], bl
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret