joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001500
Capabilities:
Execute command
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x1e0
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rsp + 0x1d0], rax
lea rdx, str.Debugger_detected_
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004180
lea rdx, [rsp + 0x30]
call fcn.140001690
mov rcx, rax
call fcn.140002e70
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [rsp + 0xc0]
call fcn.1400018b0
lea rdx, [rsp + 0x90]
call fcn.1400016b0
mov rcx, rax
call fcn.140002e70
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140003b90
nop
lea rdx, [rsp + 0x40]
call fcn.1400016f0
mov rcx, rax
call fcn.140002e70
mov rdx, rax
lea rcx, [rsp + 0xc0]
call fcn.140004180
lea rdx, [0x140004350]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
lea rcx, [rsp + 0xc0]
call fcn.140003b50
lea rdx, [rsp + 0x60]
call fcn.140001750
mov rcx, rax
call fcn.140002e70
mov rbx, rax
lea rdx, [rsp + 0x30]
call fcn.140001730
mov rcx, rax
call fcn.140002e70
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
lea rdx, [rsp + 0x78]
call fcn.1400017b0
mov rcx, rax
call fcn.140002e70
mov rbx, rax
lea rdx, [rsp + 0x40]
call fcn.140001780
mov rcx, rax
call fcn.140002ea0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbx, rax
lea r9, [rsp + 0xb0]
xor r8d, r8d
mov dl, 1
lea ecx, [r8 + 0x13]
call rdi
lea rax, [rsp + 0xb4]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0xc00002b4
call rbx
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140002730
Capabilities:
Encode data using xor
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xe0
movdqa xmm0, xmmword [0x14000beb0]
xor edi, edi
mov eax, 0xd
mov edx, edi
mov dword [rbp - 0x49], eax
movdqu xmmword [rbp - 0x45], xmm0
test eax, eax
je 0x140002787
nop dword [rax]
nop dword [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x140002770
mov byte [rbp + rax - 0x45], dil
mov edx, edi
lea rax, [rbp - 0x45]
mov dword [rbp - 0x45], 0xd8addedd
mov qword [rbp - 0x31], rax
mov eax, 0xa
mov dword [rbp - 0x49], eax
mov dword [rbp - 0x41], 0xefc0efcb
mov dword [rbp - 0x3d], 0x8bf8cc
test eax, eax
je 0x1400027d7
nop word [rax + rax]
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x1400027c0
movdqa xmm0, xmmword [0x14000be90]
mov edx, edi
mov byte [rbp + rax - 0x45], dil
lea rax, [rbp - 0x45]
mov qword [rbp - 0x29], rax
mov eax, 0xc
mov dword [rbp - 0x49], eax
movdqu xmmword [rbp - 0x45], xmm0
test eax, eax
je 0x140002817
nop
mov eax, edx
lea rcx, [rbp - 0x45]
add rcx, rax
lea eax, [rdx - 0x7f]
inc edx
xor byte [rcx], al
mov eax, dword [rbp - 0x49]
cmp edx, eax
jb 0x140002800
mov byte [rbp + rax - 0x45], dil
mov rbx, rdi
lea rax, [rbp - 0x45]
mov qword [rbp - 0x21], rax
nop word [rax + rax]
mov rcx, qword [rbp + rbx*8 - 0x31]
xor r9d, r9d
mov qword [rsp + 0x30], rdi
mov edx, 0x80000000
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
cmp rax, 0xffffffffffffffff
jne 0x140002880
inc rbx
cmp rbx, 3
jl 0x140002830
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
lea rdx, [rbp - 0x19]
call fcn.1400028a0
mov rcx, rax
call fcn.140002e70
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140001500
int3
Function at 0x140002e70
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
lea r9, [rcx + 4]
xor edx, edx
test eax, eax
je 0x140002e90
nop dword [rax]
lea r8d, [rdx - 0x7f]
xor byte [rdx + r9], r8b
inc edx
mov eax, dword [rcx]
cmp edx, eax
jb 0x140002e80
mov ecx, eax
mov rax, r9
mov byte [rcx + r9], 0
ret

Function at 0x140002ea0
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [rcx]
xor r11d, r11d
mov r9, rcx
mov edx, r11d
test eax, eax
je 0x140002ed5
mov r10d, 0x81
nop word [rax + rax]
mov eax, edx
lea ecx, [r10 + rdx]
inc edx
xor word [r9 + rax*2 + 4], cx
mov eax, dword [r9]
cmp edx, eax
jb 0x140002ec0
mov ecx, eax
lea rax, [r9 + 4]
mov word [r9 + rcx*2 + 4], r11w
ret

Function at 0x140003280
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x1400032a8
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400032ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400032d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140003329
test ecx, ecx
jle 0x140003309
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140003329
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140003329
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
Function at 0x1400038e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x14000390d
xor eax, eax
jmp 0x140003a79
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140003947
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140003947
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140003a79
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140003a6c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14000398a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x1400039b5
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003a71
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003a24
sub eax, 1
je 0x140003a24
cmp eax, 2
jne 0x140003a6c
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140003a71
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140003a52
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140003a6c
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140003a71
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140004af0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140003ec0
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140003f93
cmp byte [rcx + 0x71], 0
je 0x140003f93
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x140003f8f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140003f54
sub eax, 1
je 0x140003f58
cmp eax, 2
jne 0x140003f8f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004af0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140003f86
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140003f8f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140003f3c
xor al, al
jmp 0x140003f3c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140004af0
add rsp, 0x60
pop rbx
ret

Function at 0x1400054d0
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000551a
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000551a
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000551a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000551a
cmp dword [rcx + 0x84], 0xe
jbe 0x14000551a
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000551c
xor al, al
add rsp, 0x28
ret
Function at 0x1400047e4
Capabilities:
Identify system language via api

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400128b8]
xor rax, rsp
mov qword [rsp + 0x58], rax
lea r14, str.en_US
mov rsi, rcx
mov qword [rcx], r14
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultUILanguage]
mov word [rsp + 0x30], ax
mov ebx, 0x10
mov r9d, ebx
lea rdx, [0x140008110]
lea rax, [0x140004df0]
mov r8d, 0x1b3
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
call sub.api_ms_win_crt_private_l1_1_0.dll__o_bsearch
xor ebp, ebp
test rax, rax
jne 0x14000485f
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400048e5
cmp dword [rax + 0xc], 0x7c
jne 0x14000486c
cmp word [rax + 8], 0x7f
jne 0x14000484f
mov r8, qword [rax]
or rcx, 0xffffffffffffffff
inc rcx
cmp word [r8 + rcx*2], bp
jne 0x140004873
inc rcx
cmp rcx, 0x7ffffffe
jbe 0x140004890
mov word [rsp + 0x38], bp
jmp 0x1400048d7
lea rax, [rsp + 0x38]
mov r9d, ebp
sub r8, rax
lea rdx, [rsp + 0x38]
lea rax, [rbx - 0x10]
add rax, rcx
je 0x1400048c0
movzx eax, word [r8 + rdx]
test ax, ax
je 0x1400048c0
mov word [rdx], ax
add rdx, 2
sub rbx, 1
jne 0x1400048a0
test rbx, rbx
jne 0x1400048cf
sub rdx, 2
mov r9d, 0x8007007a
mov word [rdx], bp
test r9d, r9d
jns 0x1400048e1
mov ecx, 0x7a
jmp 0x140004854
test ecx, ecx
jne 0x1400048f1
mov rcx, qword [rsp + 0x78]
call fcn.14000494c
jmp 0x14000492a
mov rbx, rbp
mov rdi, rbp
mov rdx, qword [rdi + r14]
lea rcx, [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsicmp]
test eax, eax
je 0x14000491c
inc rbx
add rdi, 0x30
cmp rdi, 0x750
jb 0x1400048f7
jmp 0x14000492a
lea rax, [rbx + rbx*2]
shl rax, 4
add rax, r14
mov qword [rsi], rax
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400050e0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140005104
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x140012e60], eax
call fcn.1400056f0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140012e60], 0
jne case.default.0x14000515a
mov ecx, 1
call fcn.1400056f0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
sbb edi, dword ss:[rcx]
retf 0xee4
Function at 0x140d26058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x140d261df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, pe_nt_image_headers64
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140d26089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d2606f
add dl, dl
jne 0x140d26096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d260f6
xor eax, eax
add dl, dl
jne 0x140d260a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140d261ad
add dl, dl
jne 0x140d260b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d260c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d260d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d260dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140d260ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140d2607e
mov eax, 1
add dl, dl
jne 0x140d26106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140d26113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d260fb
sub eax, ebx
mov ebx, 1
jne 0x140d2614c
mov ecx, 1
add dl, dl
jne 0x140d2612e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d2613b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d26123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d2607e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140d26168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140d26175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140d2615d
cmp eax, 0x7d00
jae 0x140d2619b
cmp eax, 0x500
jb 0x140d26196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d2607e
cmp eax, 0x7f
ja 0x140d2619e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140d2607e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140d261d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140d2607e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140021c5b
Capabilities:
Create directory

Disassembly:
mov r8, rdx
mov rdx, rcx
mov cl, 1
jmp fcn.1400ebf20

Function at 0x140033c80
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 0x140033d10
cmp r11, r10
ja 0x140033d86
cmp r10, rdx
ja 0x140033d9a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140033d12
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140033cf0
jmp 0x140033d74
ja 0x140033d1a
mov r11, r10
cmp rax, r8
jne 0x140033cb4
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 0x140033d50
mov rdi, r8
sub ecx, edx
jns 0x140033d6b
jmp 0x140033d76
cmp r8, rsi
je 0x140033dab
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140033d76
xor al, 1
cmp rdi, rsi
jne 0x140033d30
jmp 0x140033d76
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.140124b60
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1401248d0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_82e1608dfa6e0b5569232559e3d385fea5a93112library_alloc_srccollections_btree_navigate.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140124950
ud2

Function at 0x140044de1
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rcx]
xor r9d, r9d
movabs r10, 0x100000001b3

Function at 0x14004f5b9
Capabilities:
Check for software breakpoints

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1ca8
call fcn.140123650
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1c10], xmm7
movaps xmmword [rbp + 0x1c00], xmm6
mov qword [rbp + 0x1bf8], 0xfffffffffffffffe
mov rdi, rdx
mov qword [rbp + 0x1b08], rcx
mov al, byte [r8 + 0x16]
mov byte [rbp + 0x1ba5], al
mov al, byte [r8 + 0x11]
mov byte [rbp + 0x1bcf], al
mov rcx, qword [r8]
mov rax, qword [r8 + 8]
mov qword [rbp + 0x1978], rax
mov qword [rbp + 0x1968], rcx
lea rax, [rcx + 8]
mov qword [rbp + 0x1970], rax
mov al, byte [r8 + 0x15]
mov byte [rbp + 0x1ba6], al
mov al, byte [r8 + 0x13]
mov byte [rbp + 0x1bbf], al
mov al, byte [r8 + 0x10]
mov byte [rbp + 0x1ba7], al
mov al, byte [r8 + 0x14]
mov byte [rbp + 0x1be6], al
xorps xmm6, xmm6
movss xmm7, dword [0x14012b8f0]
mov rsi, qword [rdx + 8]
push 3
pop rax
mov qword [rbp + 0x1a00], rax
mov qword [rbp + 0x1af0], rdx
Function at 0x14006430e
Capabilities:
Generate random numbers via rtlgenrandom
Generate random numbers via winapi

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rcx
mov r12d, 0x20
mov r13d, 0xffffffff
mov rbp, qword [sym.imp.bcrypt.dll_BCryptGenRandom]
mov rsi, qword [sym.imp.advapi32.dll_SystemFunction036]
test r12, r12
je 0x1400643a1
mov r14, rdi
cmp r12, r13
mov r15d, 0xffffffff
cmovb r15, r12
add rdi, r15
sub r12, r15
xor ecx, ecx
mov rdx, r14
mov r8d, r15d
mov r9d, 2
call rbp
cmp eax, 0xc0000000
jb 0x14006433b
mov ebx, eax
mov rcx, r14
mov edx, r15d
call rsi
test al, al
jne 0x14006433b
xor ebx, 0x80000000
je 0x1400643a1
mov al, byte [0x1401a7368]
mov ecx, 4
mov edx, 4
call fcn.140008570
test rax, rax
je 0x1400643b4
mov dword [rax], ebx
jmp 0x1400643a3
xor eax, eax
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ecx, 4
mov edx, 4
call fcn.140124460
ud2

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

Disassembly:
cmp dword [rcx], 2
jne 0x14007c67c
add rcx, 8
jmp fcn.140105a25
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
lea rbp, [rsp + 0x70]
lea ebp, [rsp + 0x70]
Function at 0x140079ad8
Capabilities:
Encrypt data via sspi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98

Function at 0x14007d718
Capabilities:
Get remote cert context via schannel

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x1c8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x130], xmm6
mov qword [rbp + 0x128], 0xfffffffffffffffe
mov rdi, rdx
mov r12, rcx
lea rax, [rdx + 0x44]
mov qword [rbp + 0x30], rax
lea rax, [rdx + 0xc0]
mov qword [rbp + 0x60], rax
lea rax, [rdx + 8]
mov qword [rbp + 0x28], rax
lea rax, [rdx + 0xa0]
mov qword [rbp + 0x20], rax
xorps xmm6, xmm6
mov rbx, qword [sym.imp.secur32.dll_FreeContextBuffer]
mov qword [rbp + 0x58], rcx

Function at 0x14007eac6
Capabilities:
Decrypt data via sspi

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
add byte [rax], 0
add byte [rax - 0x77], cl
xlatb

Function at 0x14008de9b
Capabilities:
Send data
Send data on socket

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0x80]
movaps xmmword [rbp], xmm6
mov qword [rbp - 8], 0xfffffffffffffffe
mov r14, r9
mov rdi, r8
mov rbx, rdx
mov r15, rcx
mov rax, qword [rbp + 0x80]
cmp dword [rdx], 2
jne 0x14008e047
lea rsi, [rbx + 8]
lea r13, [rbp - 0x16]
lea r12, [rbx + 0x20]
xor ecx, ecx
cmp qword [rbx + 0x20], 0xffffffffffffffff
cmove r12, rcx
mov ecx, 0xffffffff
cmp rax, rcx
cmovb rcx, rax
mov qword [rbp - 0x48], rcx
xorps xmm6, xmm6
mov qword [rbp - 0x30], r12
add r14, 0xfffffffffffffff0
shl rax, 4
lea r9, str.NoneSome0
test rax, rax
je 0x14008e072
mov ecx, dword [r14 + 0x10]
add r14, 0x10
add rax, 0xfffffffffffffff0
test rcx, rcx
je 0x14008e056
mov r9, qword [r14 + 8]
jmp 0x14008e074
xor ecx, ecx
mov qword [rsp + 0x20], rcx
mov rcx, r15
mov rdx, rbx
mov r8, rdi
call fcn.140079ad8
jmp 0x14008e0b7

Function at 0x1400977db
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1708
call fcn.140123650
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1670], xmm6
mov qword [rbp + 0x1668], 0xfffffffffffffffe
mov qword [rbp + 0x1508], r8
mov rbx, rdx
mov r13, rcx
mov rax, qword [rdx]
cmp rax, 5
jne 0x14009784d
add rbx, 8
mov rcx, r13
mov rdx, rbx
movaps xmm6, xmmword [rbp + 0x1670]
add rsp, 0x1708
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
jmp fcn.140097785
lea rcx, [rbx + 8]
mov qword [rbp + 0x1468], rcx
lea rcx, [rbx + 0x10]
mov qword [rbp + 0x1518], rcx
lea rcx, [rbx + 0x79]
mov qword [rbp + 0x1510], rcx
mov r8d, 0xa0
lea r9, [rbp + 0x1210]
lea rcx, [r9 + r8]
mov qword [rbp + 0x1580], rcx
mov edx, 0xa8
lea rcx, [r9 + rdx]
mov qword [rbp + 0x1588], rcx
lea r14, [rbp + 0x1048]
add r8, r14
mov qword [rbp + 0x1520], r8
add rdx, r14
mov qword [rbp + 0x1528], rdx
xorps xmm6, xmm6
push 0xb
pop r12
lea r15, [rbp + 0x1158]
mov qword [rbp + 0x1638], rbx