joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002780c
Capabilities:
Parse pe header

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov esi, r8d
mov ebx, edx
mov r14d, ecx
test r8d, r8d
jne 0x1400275e0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400275e0
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400275e0
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400275e0
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400275e0
cmp dword [rcx + 0x84], 0xe
jbe 0x1400275e0
cmp dword [rcx + 0xf8], esi
je 0x1400275e0
mov ecx, r14d
call fcn.140027728
mov ecx, 2
call fcn.14002c5a0
nop
cmp byte [0x140051398], 0
jne 0x1400276aa
mov r15d, 1
mov eax, r15d
xchg dword [0x140051388], eax
test ebx, ebx
jne 0x140027653
mov rdi, qword [section..data]
mov edx, edi
and edx, 0x3f
lea ecx, [rbx + 0x40]
sub ecx, edx
xor eax, eax
ror rax, cl
xor rax, rdi
mov rcx, qword [0x140051390]
cmp rcx, rax
je 0x14002764a
xor rdi, rcx
mov ecx, edx
ror rdi, cl
mov rcx, rdi
call qword [fcn.140001cc0]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rdi
lea rcx, [0x140051520]
jmp 0x14002765f
cmp ebx, r15d
jne 0x140027665
lea rcx, [0x140051538]
call fcn.140028c14
nop
test ebx, ebx
jne 0x14002767c
lea rdx, [0x140037448]
lea rcx, [0x140037428]
call fcn.140028570
lea rdx, [0x140037458]
lea rcx, [0x140037450]
call fcn.140028570
movzx eax, byte [0x140051398]
test esi, esi
cmove eax, r15d
mov byte [0x140051398], al
jmp 0x1400276aa
mov ecx, 2
call fcn.14002c5f4
test esi, esi
jne 0x1400276c1
mov ecx, r14d
call fcn.1400276dc
int3
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
xor r8d, r8d
xor edx, edx
jmp 0x140027570
Function at 0x14002bf38
Capabilities:
Create thread
Print debug messages

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov esi, r8d
mov r14, rdx
mov rbx, rcx
call fcn.1400298d0
mov bpl, al
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor edi, edi
test eax, eax
je 0x14002bf8b
test rbx, rbx
je 0x14002bf7c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test bpl, bpl
je 0x14002bf8b
mov edi, 4
jmp 0x14002c034
call fcn.1400296d8
test al, al
jne 0x14002bfa8
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb edi, edi
neg edi
add edi, 3
jmp 0x14002c034
test bpl, bpl
je 0x14002c00b
mov qword [rsp + 0x28], rdi
lea r9, [rsp + 0x30]
lea r8, [0x14002bf10]
mov dword [rsp + 0x20], edi
xor edx, edx
mov qword [rsp + 0x30], r14
xor ecx, ecx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x44], edi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14002c034
xor r8d, r8d
or edx, 0xffffffff
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, rbx
test eax, eax
je 0x14002c005
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14002c034
mov edi, dword [rsp + 0x44]
jmp 0x14002bffd
call fcn.1400297fc
test al, al
jne 0x14002c01c
bts esi, 0x15
xor ecx, ecx
jmp 0x14002c024
call fcn.140029734
mov rcx, rax
mov r9d, esi
mov r8, r14
mov rdx, rbx
call fcn.140029650
mov edi, eax
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rdi, qword [rsp + 0x78]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop r14
ret
Function at 0x140001a60
Capabilities:
Contain obfuscated stackstrings
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x140005020]
xor rax, rsp
mov qword [rbp - 8], rax
xor ebx, ebx
mov edx, ebx
lea eax, [rdx + 1]
lea ecx, [rax + 1]
and ecx, eax
and ecx, edx
add edx, 3
and ebx, ecx
cmp edx, 0x235e6a2
jl 0x140001a82
lea rax, [rbp - 0x38]
lea rcx, [rbp - 0x60]
mov dword [rbp - 0x38], 0x74303633
mov qword [rbp - 0x60], rax
lea rax, [rbp - 0x50]
mov dword [rbp - 0x34], 0x796172
mov dword [rbp - 0x50], 0x73303633
mov word [rbp - 0x4c], 0x64
mov qword [rbp - 0x58], rax
call fcn.140001160
test al, al
jne 0x140001ae9
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rbp - 0x60]
call fcn.140001160
test al, al
je 0x140001ad1
mov dword [rbp - 0x48], 0x968c8397
mov dword [rbp - 0x44], 0x96839082
mov dword [rbp - 0x40], 0x8388968f
mov byte [rbp - 0x3c], 0
lea rcx, [rbp - 0x48]
mov edx, recv
nop dword [rax + rax]
movzx eax, byte [rcx]
inc rcx
xor al, 0x3b
sub al, 0x3b
xor al, 0x26
sub al, 0x26
dec rdx
mov byte [rcx - 1], al
jne 0x140001b10
mov byte [rbp - 0xa], dl
mov dword [rbp - 0x30], 0x6b5c3a63
mov dword [rbp - 0x2c], 0x746e6f61
lea rdx, [rbp - 0x20]
mov word [rbp - 0x28], 0x5c
mov dword [rbp - 0x20], 0x989096a7
mov dword [rbp - 0x1c], 0xa796c5a7
mov dword [rbp - 0x18], 0x9bb69895
mov dword [rbp - 0x14], 0x94969190
mov dword [rbp - 0x10], 0x9bd2d4ca
mov word [rbp - 0xc], 0x9b88
mov r8d, reloc.WS2_32.dll_socket
movzx eax, byte [rdx]
inc rdx
xor al, 0x7b
sub al, 0x7b
dec r8
mov byte [rdx - 1], al
jne 0x140001b70
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x48]
call fcn.140001520
mov ecx, ebx
call qword [sym.imp.MSVCR100.dll_exit]
int3
Function at 0x1400027c7
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140005020]
jne 0x1400023ca
rol rcx, 0x10
test cx, 0xffff
jne 0x1400023c6
repz ret
ror rcx, 0x10
jmp 0x140002720
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140005160]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x140005258]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400027a5
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140005160]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x1400027c7
mov rax, qword [rsp + 0x88]
mov qword [0x140005258], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x1400051f8], rax
mov rax, qword [0x140005258]
mov qword [0x1400050d0], rax
mov rax, qword [rsp + 0x90]
mov qword [0x1400051e0], rax
mov dword [0x1400050c0], 0xc0000409
mov dword [0x1400050c4], 1
mov rax, qword [0x140005020]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140005028]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140005158], eax
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400032e0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140005158], 0
jne 0x14000284e
mov ecx, 1
call sub.MSVCR100.dll___crt_debugger_hook
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14000178f
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov eax, ecx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov byte [rbp + 0x10], al
mov byte [rbp - 1], 0
jmp 0x140001828
mov byte [rbp - 2], 0
jmp 0x14000181e
movzx eax, byte [rbp - 1]
movzx edx, byte [rbp - 2]
mov rcx, qword [rbp + 0x18]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx r8d, byte [rax]
movzx eax, byte [rbp + 0x10]
lea edx, [rax*4]
movzx eax, byte [rbp - 1]
add eax, edx
lea edx, [rax*4]
movzx eax, byte [rbp - 2]
add eax, edx
movsxd rdx, eax
mov rax, qword [rbp + 0x20]
add rax, rdx
movzx edx, byte [rax]
movzx eax, byte [rbp - 1]
movzx ecx, byte [rbp - 2]
xor edx, r8d
mov r8, qword [rbp + 0x18]
movsxd rcx, ecx
cdqe
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x1400017b0
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x1400017aa
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x14000183a
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
jmp 0x1400018ad
mov byte [rbp - 2], 0
jmp 0x1400018a3
movzx eax, byte [rbp - 2]
movzx edx, byte [rbp - 1]
mov rcx, qword [rbp + 0x10]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
movzx r9d, byte [rbp - 2]
movzx ecx, byte [rbp - 1]
cdqe
lea rdx, str.cw
movzx edx, byte [rax + rdx]
mov r8, qword [rbp + 0x10]
movsxd rcx, ecx
movsxd rax, r9d
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x140001852
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x14000184c
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x140002366
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov byte [rbp - 1], 0
jmp 0x1400023d9
mov byte [rbp - 2], 0
jmp 0x1400023cf
movzx eax, byte [rbp - 2]
movzx edx, byte [rbp - 1]
mov rcx, qword [rbp + 0x10]
movsxd rdx, edx
cdqe
shl rax, 2
add rax, rcx
add rax, rdx
movzx eax, byte [rax]
movzx eax, al
movzx r9d, byte [rbp - 2]
movzx ecx, byte [rbp - 1]
cdqe
lea rdx, [0x14007b100]
movzx edx, byte [rax + rdx]
mov r8, qword [rbp + 0x10]
movsxd rcx, ecx
movsxd rax, r9d
shl rax, 2
add rax, r8
add rax, rcx
mov byte [rax], dl
add byte [rbp - 2], 1
cmp byte [rbp - 2], 3
jbe 0x14000237e
add byte [rbp - 1], 1
cmp byte [rbp - 1], 3
jbe 0x140002378
nop
nop
add rsp, 0x10
pop rbp
ret

Function at 0x14000262c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov byte [rbp - 1], 0
jmp 0x140002675
movzx edx, byte [rbp - 1]
mov rax, qword [rbp + 0x10]
add rax, rdx
movzx r8d, byte [rax]
movzx edx, byte [rbp - 1]
mov rax, qword [rbp + 0x18]
add rax, rdx
movzx ecx, byte [rax]
movzx edx, byte [rbp - 1]
mov rax, qword [rbp + 0x10]
add rax, rdx
mov edx, r8d
xor edx, ecx
mov byte [rax], dl
add byte [rbp - 1], 1
cmp byte [rbp - 1], 0xf
jbe 0x140002642
nop
nop
add rsp, 0x10
pop rbp
ret
Function at 0x140002d50
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140003b70
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140003b70
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002dc0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x14007e0a4]
mov rbx, rcx
test esi, esi
jle 0x140002ef0
mov rax, qword [0x14007e0a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002e0b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002e95
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002df0
mov rcx, rbx
call fcn.140003810
mov rdi, rax
test rax, rax
je 0x140002f12
mov rax, qword [0x14007e0a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003950
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x14007e0a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140002ef7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002e8e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002ea0
add dword [0x14007e0a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x14007e0a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002e8e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002d50
nop dword [rax]
xor esi, esi
jmp 0x140002e18
mov rax, qword [0x14007e0a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002d50
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002d50
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140003480
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x14007e100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x14007e0e0]
test rbx, rbx
je 0x1400034dc
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 0x1400034d3
test rsi, rsi
je 0x1400034d3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400034b8
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 0x140003810
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14007b5b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140003830
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140003838
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140003830
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000388d
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]
mov rdx, r8
cmp rcx, r8
jb 0x140003884
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140003830
add rax, 0x28
cmp rax, r9
jne 0x140003870
xor eax, eax
ret

Function at 0x140003890
Capabilities:
Parse pe header

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

Function at 0x140003950
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14007b5b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000396f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140003978
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x14000196c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400019b6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400019b6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400019b6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400019b6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400019b6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400019b8
xor al, al
add rsp, 0x28
ret
Function at 0x1400055b0
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 0x140005630
cmp r11, r10
ja 0x1400056a7
cmp r10, rdx
ja 0x1400056b9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x140005632
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x140005610
jmp 0x140005694
ja 0x14000563a
mov r11, r10
cmp rax, r8
jne 0x1400055de
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 0x140005670
mov rdi, r8
sub ecx, edx
jns 0x14000568b
jmp 0x140005696
cmp r8, rsi
je 0x1400056c8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140005696
xor al, 1
cmp rdi, rsi
jne 0x140005650
jmp 0x140005696
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.140026de0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140026c50
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.140026ee0
int3
Function at 0x1400062f3
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
cmp byte [rcx + 0x79], 0
je 0x140006308
xor esi, esi
jmp 0x1400064b5
mov rdi, rcx
mov rsi, qword [rcx + 0x48]
lea rax, [rcx + 8]
cmp qword [rcx], 0
je 0x140006352
mov r9, qword [rdi + 0x50]
movups xmm0, xmmword [rdi + 0x58]
cmp qword [rdi + 0x38], 0xffffffffffffffff
sete byte [rsp + 0x30]
movups xmmword [rsp + 0x20], xmm0
lea rbx, [rsp + 0x40]
mov rcx, rbx
mov rdx, rax
mov r8, rsi
call fcn.1400064d9
cmp qword [rbx], 0
jne 0x140006483
jmp 0x140006458
mov cl, byte [rdi + 0x1a]
mov r8, qword [rdi + 8]
mov rdx, qword [rdi + 0x50]
mov r9b, byte [rdi + 0x18]
test cl, cl
jne 0x140006458
mov r10d, r9d
xor r10b, 1
mov byte [rdi + 0x18], r10b
test r8, r8
je 0x140006390
cmp r8, rdx
jae 0x14000638a
cmp byte [rsi + r8], 0xbf
jg 0x140006390
jmp 0x1400064c1
jne 0x1400064c1
cmp r8, rdx
je 0x14000644f
mov bl, byte [rsi + r8]
movzx r10d, bl
test r10b, r10b
jns 0x140006404
mov r11d, r10d
and r11d, 0x1f
movzx ebp, byte [rsi + r8 + 1]
and ebp, 0x3f
cmp r10b, 0xdf
jbe 0x1400063f1
movzx r10d, byte [rsi + r8 + 2]
shl ebp, 6
and r10d, 0x3f
or r10d, ebp
cmp bl, 0xf0
jb 0x1400063fd
movzx ebx, byte [rsi + r8 + 3]
and r11d, 7
shl r11d, 0x12
shl r10d, 6
and ebx, 0x3f
or ebx, r10d
or ebx, r11d
mov r10d, ebx
jmp 0x140006404
shl r11d, 6
or r11d, ebp
mov r10d, r11d
jmp 0x140006404
shl r11d, 0xc
or r10d, r11d
test r9b, r9b
jne 0x140006476
cmp r10d, 0x110000
je 0x140006454
mov r9d, 1
cmp r10d, 0x80
jb 0x140006441
mov r9d, 2
cmp r10d, 0x800
jb 0x140006441
cmp r10d, 0x10000
mov r9d, 4
sbb r9, 0
add r8, r9
mov qword [rax], r8
mov r9b, 1
jmp 0x140006361
test r9b, r9b
jne 0x140006479
mov byte [rdi + 0x1a], 1
cmp byte [rdi + 0x79], 0
jne 0x140006301
mov byte [rdi + 0x79], 1
cmp byte [rdi + 0x78], 0
je 0x14000649d
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
jmp 0x1400064ae
mov rdx, r8
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rdx
mov rdx, qword [rsp + 0x48]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rdi + 0x68]
sub rdx, rcx
add rsi, rcx
mov qword [rdi + 0x68], rax
jmp 0x1400064b5
mov rsi, qword [rdi + 0x68]
mov rdx, qword [rdi + 0x70]
cmp rdx, rsi
je 0x140006301
sub rdx, rsi
add rsi, qword [rdi + 0x48]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rax, str._rustc_129f3b9964af4d4a709d1383930ade12dfe7c081librarycore_src_strpattern.rs
mov qword [rsp + 0x20], rax
mov rcx, rsi
mov r9, rdx
call fcn.140027020
int3
Function at 0x14000c6a0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x14000c6c5
cmp rax, rcx
je 0x14000c6cb
cmp rdx, 4
jae 0x14000c6d2
xor eax, eax
xor r8d, r8d
jmp 0x14000c770
pop rbp
jmp fcn.140002a20
xor eax, eax
jmp 0x14000c787
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140029520]
movdqa xmm3, xmmword [0x140029530]
pxor xmm1, xmm1
nop word cs:[rax + 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 0x14000c700
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x14000c787
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x14000c770
pop rbp
ret
Function at 0x140013350
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x28
lea rbp, [rsp + 0x20]
movzx r9d, byte [rdx + 0x38]
movzx eax, byte [rdx + 0x3a]
cmp al, byte [rax + r8*8 - 0x3f6af0bf]

Function at 0x140018b44
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140018b8e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140018b8e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140018b8e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140018b8e
cmp dword [rcx + 0x84], 0xe
jbe 0x140018b8e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140018b90
xor al, al
add rsp, 0x28
ret

Function at 0x14001c208
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14001c277
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14001c277
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14001c277
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14001c277
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14001c277
cmp dword [rcx + 0x84], 0xe
jbe 0x14001c277
cmp dword [rcx + 0xf8], 0
je 0x14001c277
mov ecx, ebx
call fcn.14001c328
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14001c104
nop
cmp dword [rbp + 0x20], 0
je 0x14001c2c5
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14001c2d0
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14001c208

Function at 0x14001c40c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001c208
Function at 0x14001f4cc
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14001f4fc
xor eax, eax
jmp 0x14001f5bf
mov rbp, rbx
cmp word [rax], si
je 0x14001f521
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14001f508
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14001f504
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14001f3ec
movsxd r14, eax
test eax, eax
jne 0x14001f55f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14001f4f5
mov rcx, r14
call fcn.1400203a8
mov rdi, rax
test rax, rax
jne 0x14001f578
xor ecx, ecx
call fcn.14001da4c
jmp 0x14001f554
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14001f3ec
test eax, eax
jne 0x14001f5a9
mov rcx, rdi
call fcn.14001da4c
jmp 0x14001f5b3
xor ecx, ecx
call fcn.14001da4c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret