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

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
mov r12, qword [sym.imp.msvcrt.dll__errno]
mov rdi, rcx
mov rsi, rdx
mov ebx, r8d
mov rcx, qword [rdi]
call sub.msvcrt.dll__fileno
mov ecx, eax
mov r8d, ebx
mov rdx, rsi
call sub.msvcrt.dll__read
movsxd rbp, eax
cmp eax, 0xffffffff
je 0x14007dc68
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
call r12
cmp dword [rax], 4
je 0x14007dc3a
mov rax, rbp
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
Function at 0x140004800
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor ebx, ebx
xor edi, edi
xor r12d, r12d
cmp r8, 0x201
jae 0x1400048a0
jmp 0x14000488f
jae 0x140004960
cmp r8, 0x201
jae 0x1400048a0
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x1400048f8
sub r8, r12
sub rdi, r12
cmp rdi, r8
jae 0x1400048cf
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14001a650
mov rbx, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rbx, rax
mov r12d, 0xffffffff
cmovb r12, rbx
mov qword [rbp + 0x3d8], r12
mov rdi, rbx
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140004921
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400049c8
mov r8d, r14d
cmp r15, r8
jne 0x140004880
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x1400049f5
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x14000488f
jmp 0x1400048a0
cmp rsi, r8
jb 0x140004a0f
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140006b50
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rbx, rbx
je 0x1400049b1
add rbx, rbx
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rbx
call fcn.140002010
mov rax, rsi
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3e0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
test rbx, rbx
jne 0x140004999
jmp 0x1400049b1
lea rcx, str.internal_error:_entered_unreachable_code_rustc_3d0e6bed600c0175628e96f1118293cf44fb97bdlibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14001afb0
jmp 0x140004a24
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14001b400
ud2
Function at 0x14000acc0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x140035c78]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14000ad04
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000ad6a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14000ada1
test eax, eax
js 0x14000ad7b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14000ad94
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140006820
mov qword [rsp + 0x70], rax
lea rcx, [rsp + 0x70]
call fcn.140002b20
mov ecx, 7
int 0x29
ud2
Function at 0x140018910
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x14001898a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140018980
cmp r11, r10
ja 0x140018a21
cmp r10, rdx
ja 0x140018a33
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140018982
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140018960
jmp 0x1400189f7
ja 0x14001898a
mov r11, r10
cmp rax, r8
jne 0x140018932
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x1400189fb
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x1400189d0
mov r8, r10
sub ecx, r9d
jns 0x1400189ee
jmp 0x1400189fd
cmp r10, rdx
je 0x140018a09
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x1400189fd
xor al, 1
cmp r8, rdx
jne 0x1400189b0
jmp 0x1400189fd
xor eax, eax
jmp 0x1400189fd
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, [0x140037adb]
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14001afb0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001b480
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001b400
int3

Function at 0x140019f70
Capabilities:
Parse pe header

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

Disassembly:
call fcn.141b9f447
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141b9f2f1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b9f2d7
add dl, dl
jne 0x141b9f2fe
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b9f35e
xor eax, eax
add dl, dl
jne 0x141b9f30d
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141b9f415
add dl, dl
jne 0x141b9f31e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b9f32b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b9f338
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b9f345
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141b9f352
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141b9f2e6
mov eax, 1
add dl, dl
jne 0x141b9f36e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141b9f37b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b9f363
sub eax, ebx
mov ebx, 1
jne 0x141b9f3b4
mov ecx, 1
add dl, dl
jne 0x141b9f396
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b9f3a3
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b9f38b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b9f2e6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141b9f3d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141b9f3dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141b9f3c5
cmp eax, 0x7d00
jae 0x141b9f403
cmp eax, 0x500
jb 0x141b9f3fe
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b9f2e6
cmp eax, 0x7f
ja 0x141b9f406
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141b9f2e6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141b9f43a
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 0x141b9f2e6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x1404652bb
Capabilities:
Encode data using xor

Disassembly:
mov rbp, r9
not r10b
push rbx
pop rdx
pop rax
jne 0x140462ffe
add byte [rax], al
add byte [rax], al
add byte [rax], al
lodsd eax, dword [rsi]
lodsd eax, dword [rsi]
lea ebp, [rax + 0x3b]
popfq
mov bl, byte [rdi]
or esp, 0xfc178683
test cl, dh
mov ah, 0x69
loopne 0x140465353
and bl, byte [rcx - 0x19]
sbb byte [rax + 0xe81ee08], bl
cmp cl, ch
neg byte [rdi + 0x9665625]
adc eax, 0x44b31151
pop rax
mov byte [0xc745b275], ah
loope 0x14046533e
invalid
call 0xcd383625
call 0xcd383625
jl 0x1404653b9
ror dword [rbx - 0x7d6f31f5], 0x92
pop rax
movabs al, byte [0xbdf353e38d65e585]
in al, 0x24
in al, dx
push rbx
mov ebp, 0xec4924e4
in eax, dx
mov ebp, 0xcaeadcdf
jl 0x1404653ab
mov ss, word [rdx + rbp*8 + 0x79]
mov dword [rbx], esp
push rax
sub byte [rax - 0x78e73946], al
int 0x57
add eax, 0x35c15d38
invalid
cmpsd dword [rsi], dword [rdi]
movabs byte [0xa5408f1533d03008], al
and eax, 0x741f3788
sub dword [rsi - 0x2679bb77], 0x47e2d12a
je 0x14046533c
scasb al, byte [rdi]
mov dword [rsi + rax*4 - 0x27], eax
sub dl, cl
loop 0x14046540b
mov esp, 0x630e5e1
mov al, 0xec
test eax, 0xdeeb8090
cmp eax, 0xab1e51ec
fcom qword [rsi + 0x69]
adc dword [rbp - 0x42780fa1], ecx
pop rax
xchg dword [rax + rbp], esp
cmp al, 0x19
mov dl, 0x18
cmp ebp, dword [rsi + 8]
xor sil, r15b
sahf
jns 0x140465424
or byte [rdi], 0x64
mov dl, byte [rax]
cdq
push rsp
lea esp, [rdi + 0x23]
add eax, 0x35b5fe84
or dword [rcx + 0x17e7a016], 0xffffff80
nop
loopne 0x140465468
cmp al, cl
jmp 0x12f380108
stc
lodsb al, byte [rsi]
int1
out dx, al
mov ds, word [rcx - 4]
out 3, al
iretd
invalid
xor ebx, ecx
popfq
mov esp, 0x225208ec
jp 0x14046549e
push rbp
push rbp
shr byte [rcx + 0x5c], 0xcc
push rsi
pop rcx
pop rbx
mov ebx, 0x2be444c7
push rcx
je 0x14046545a
pop rsp
jmp 0x14046549f
invalid
and dword [rcx + 0x3fe51888], 0x48e2281e
movabs eax, dword [0x48e2281e3fe51888]
movsb byte [rdi], byte [rsi]
jns 0x140465496
sal dword [rdx], 1
in al, dx
cmpsb byte [rsi], byte [rdi]
movabs dword [0x8f41546435365354], eax
xor eax, 0x519d85d
pop rdx
scasd eax, dword [rdi]
mov edx, 0x2c313e90
movabs al, byte [0xc100df30f1964639]
invalid
Function at 0x1405e2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1405e21df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x1405e2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405e206f
add dl, dl
jne 0x1405e2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405e20f6
xor eax, eax
add dl, dl
jne 0x1405e20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1405e21ad
add dl, dl
jne 0x1405e20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405e20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405e20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405e20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1405e20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1405e207e
mov eax, 1
add dl, dl
jne 0x1405e2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1405e2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405e20fb
sub eax, ebx
mov ebx, 1
jne 0x1405e214c
mov ecx, 1
add dl, dl
jne 0x1405e212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405e213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405e2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405e207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1405e2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1405e2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1405e215d
cmp eax, 0x7d00
jae 0x1405e219b
cmp eax, 0x500
jb 0x1405e2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405e207e
cmp eax, 0x7f
ja 0x1405e219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1405e207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1405e21d2
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 0x1405e207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140003fd0
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 0x140004060
cmp r11, r10
ja 0x1400040d6
cmp r10, rdx
ja 0x1400040ea
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x140004062
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140004040
jmp 0x1400040c4
ja 0x14000406a
mov r11, r10
cmp rax, r8
jne 0x140004004
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 0x1400040a0
mov rdi, r8
sub ecx, edx
jns 0x1400040bb
jmp 0x1400040c6
cmp r8, rsi
je 0x1400040fb
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x1400040c6
xor al, 1
cmp rdi, rsi
jne 0x140004080
jmp 0x1400040c6
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.140016d40
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140016b10
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140016b80
ud2

Function at 0x140008a00
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.140001a70
cmp rax, rcx
je 0x140008a25
cmp rdx, 4
jae 0x140008a28
xor eax, eax
xor r8d, r8d
jmp 0x140008ac0
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140018360]
movdqa xmm3, xmmword [0x140018370]
pxor xmm1, xmm1
nop dword [rax]
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 0x140008a50
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140008ad7
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140008ac0
ret
Function at 0x140009dd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov r9, qword [rcx]
test r9, r9
je 0x140009e2b
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x140009e2b
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x140009e46
cmp eax, 0x42
jne 0x140009e2b
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140009ef6
cmp byte [r9 + r11], 0x5f
jne 0x140009ef6
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140009f5e
mov rcx, rsi
xor edx, edx
call fcn.1400051b0
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc rcx
mov qword [rsi + 0x10], rcx
mov rcx, rsi
xor edx, edx
call fcn.1400051b0
test al, al
jne 0x140009ff1
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140009e82
lea rdx, [0x14001998c]
mov r8d, 1
call fcn.140002000
test al, al
jne 0x140009ff1
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140009e3a
xor r14d, r14d
lea rbx, [0x140019d40]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140009eb4
cmp byte [rax + rcx], 0x45
je 0x14000a01a
sub r14, 1
jb 0x140009ed9
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140009ed9
mov r8d, 2
mov rdx, rbx
call fcn.140002000
test al, al
jne 0x140009ff1
mov rcx, rsi
call fcn.140006a00
test al, al
jne 0x140009ff1
mov rax, qword [rsi]
test rax, rax
jne 0x140009ea0
jmp 0x140009e3a
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140009fb8
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x140009f52
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140009f3c
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140009f2b
add dl, 0xa9
jmp 0x140009f3a
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140009fb8
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140009fb8
movzx edx, bl
add rax, rdx
jae 0x140009f00
jmp 0x140009fb8
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140009fb8
cmp rax, rcx
jae 0x140009fb5
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140009ff9
cmp qword [rsi + 0x20], 0
je 0x14000a013
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.140009dd0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140009e3c
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x14000a008
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x140019d00]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.140002000
test al, al
je 0x14000a008
mov dil, 2
jmp 0x140009e3a
mov dil, 1
xor r8d, r8d
mov rcx, qword [rsi + 0x20]
test rcx, rcx
jne 0x140009fc3
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x140009e3a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140009e3a
Function at 0x140011170
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rax, rdx
movzx r11d, byte [rdx + 0x38]
cmp r11b, 1
ja 0x1400111d7
movzx r9d, byte [rax + 0x10]
movzx r8d, byte [rax + 0x3a]
xor edx, edx
test r8b, r8b
jne 0x140011328
cmp r9b, 5
jb 0x140011328
mov r10, qword [rax]
mov rdx, qword [rax + 8]
xor esi, esi
test r11b, r11b
jne 0x1400111c7
cmp r9b, 6
je 0x1400111c7
mov esi, 2
cmp rdx, 2
jb 0x1400113d8
cmp rsi, rdx
jne case.0x140010219.31
xor edx, edx
jmp 0x140011328
xor edx, edx
xor r8d, r8d
xor r10d, r10d
add rdx, r10
lea rdi, [r10 + rsi]
inc rdi
inc edi
cmp rdi, rdx
sete dl
movzx r10d, byte [r10 + rsi]
adc al, 0x32
test dl, 1
jne 0x14001131d
cmp r10b, 0x2e
jne 0x14001131d
movzx edx, byte [rdi]
cmp dl, 0x5c
sete r10b
cmp dl, 0x2f
cli
invalid
sete dl
or dl, r10b
jmp 0x140011328
cmp r10b, 0x2e
sete r10b
and dl, r10b
xor r10d, r10d
test r11b, r11b
jne case.default.0x140011350
invalid
cmp r9b, 6
je case.default.0x140011350
invalid
invalid
invalid
movzx r9d, r9b
lea r10, [0x14001c590]
add byte [rdi + 0x63], cl
or al, 0x8a
mov r10, qword [rax + 0x20]
add r10, 4
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 6
jmp case.default.0x140011350
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 2
jmp case.default.0x140011350
lea r8, str.library_std_srcpath.rs
mov ecx, 2
call fcn.140016a30
ud2
clc
add ecx, dword [rdi]
xchg dword [rsi], eax
add dword [rax], eax
add byte [rax - 0x73], cl
or eax, 0x7496

Function at 0x1400165d4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x14001661e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001661e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001661e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001661e
cmp dword [rcx + 0x84], 0xe
jbe 0x14001661e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140016620
xor al, al
add rsp, 0x28
ret
Function at 0x1400f705a
Capabilities:
Get hostname

Disassembly:
jmp 0x1402ded70
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
movsxd rbx, edx
mov rdi, rcx
mov edx, ebx
mov byte [rcx], 0
call qword [sym.imp.WS2_32.dll_gethostname]
mov byte [rbx + rdi - 1], 0
test eax, eax
jne 0x1402deda9
lea edx, [rax + 0x2e]
mov rcx, rdi
call fcn.1400f732a
test rax, rax
je 0x1402deda7
mov byte [rax], 0
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

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

Disassembly:
jmp 0x140291640
sub rsp, 0x28
cmp byte [rcx + 0x558], 0
je 0x14029165d
call fcn.1400faef3
test eax, eax
jne 0x140291683
xor al, al
add rsp, 0x28
ret
mov rcx, qword [rcx + 0x4c0]
cmp rcx, 0xffffffffffffffff
je 0x140291656
mov r9d, 2
lea rdx, [rsp + 0x30]
lea r8d, [r9 - 1]
call qword [sym.imp.WS2_32.dll_recv]
test eax, eax
je 0x140291656
mov al, 1
add rsp, 0x28
ret

Function at 0x1400f735c
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140247490
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x1402474c4
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x7d]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x1402474b0
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x1402474f1
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x140247510
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14024751e
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400fb088
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x140247595
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140247590
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140247590
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400fa1fb
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret