joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140b15c09
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rcx
rdtsc
xchg cl, dh
push r8
xchg dx, cx
push r11
movzx r8, ax
cdqe
mov bpl, sil
push rsi
push r15
cmove eax, edi
mov bpl, r10b
push r10
push r9
cwd
movsx dx, bpl
dec bpl
movabs rdx, 0
push rdx
bswap r9w
mov r10, qword [rsp + 0x90]
inc cx
cwde
movsx r9, dx
dec r10d
movsx rbp, cx
rol r10d, 2
sal bpl, 0x1d
sub r8w, 0x68a0
movsxd r8, esp
bswap r10d
xor r8b, 0xc8
test bpl, 0x30
xor r10d, 0x7cb75edf
ror r9w, cl
lahf
rol r10d, 2
shr ecx, cl
bswap rcx
test r12b, 0xb8
add r10, rdx
shr r9b, cl
movzx rcx, si
movabs rax, 0x100000000
shr r9b, 0xa3
setl r9b
add r10, rax
mov r8, rsp
bts r9d, r9d
sub rsp, 0x180
sal cl, cl
shl ch, 0x90
bswap r9w
and rsp, 0xfffffffffffffff0
btr r9, rbx
mov rbp, r10
shld rcx, r8, 0x7d
movabs rcx, 0
sub rbp, rcx
test rbx, 0x52c5e3d
rcl r9b, 0xaf
sbb rcx, rsi
lea r9, [0x140a344a8]
sal cl, cl
mov ecx, dword [r10]
add r10, 4
xor ecx, ebp
jmp 0x140b1301e
xor ecx, 0x2e876d84
clc
test r11b, 0xc5
add ecx, 0x233f725a
test si, dx
clc
cmc
not ecx
cmc
clc
push rbp
bsr bp, dx
and bpl, 0x3f
add bpl, r15b
xor dword [rsp], ecx
pop rbp
stc
cmp r11d, ebp
movsxd rcx, ecx
cmp r12b, dl
test sil, 0x2c
add r9, rcx
jmp 0x140a9a5dd
push rax
cwde
push rdi
cdq
rdtsc
push r13
bswap ax
lahf
cqo
push r12
jmp 0x140a343bd
push r9
ret
push rbp
cmovge rbp, r15
mov edx, 0x726e72cf
movzx bp, r13b
push r14
pushfq
jmp 0x140a8b2de
inc ecx
cmc
jmp 0x140a45161
push rbx
push rdx
mov dx, r9w
jmp 0x140aca5fd
Function at 0x2fc4d22a0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d2ca2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d2d3a
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d2d1e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d2d12
cmp qword [rbp - 0x10], 0
je 0x2fc4d2d12
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d2cd8
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d2d3b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d2e40
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d2e68
mov eax, 0
jmp 0x2fc4d2eb6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d2e91
mov eax, 0
jmp 0x2fc4d2eb6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d2eb1
mov eax, 0
jmp 0x2fc4d2eb6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d2ebc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d2f3a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d2f31
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d2f31
mov rax, qword [rbp - 8]
jmp 0x2fc4d2f4f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d2f04
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d1f60
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call sym.__acrt_iob_func
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sym.fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call sym.__acrt_iob_func
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sym.vfprintf
call sym.abort
nop

Function at 0x2fc4d2962
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x2fc4f5108]
test eax, eax
je 0x2fc4d29fa
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x2fc4f5110]
mov qword [rbp - 8], rax
jmp 0x2fc4d29de
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x2fc4d29d2
cmp qword [rbp - 0x10], 0
je 0x2fc4d29d2
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x2fc4d2998
lea rax, [0x2fc4f50e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x2fc4d29fb
nop
add rsp, 0x30
pop rbp
ret

Function at 0x2fc4d2b00
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x2fc4d2b28
mov eax, 0
jmp 0x2fc4d2b76
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x2fc4d2b51
mov eax, 0
jmp 0x2fc4d2b76
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x2fc4d2b71
mov eax, 0
jmp 0x2fc4d2b76
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x2fc4d2b7c
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x2fc4d2bfa
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x2fc4d2bf1
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x2fc4d2bf1
mov rax, qword [rbp - 8]
jmp 0x2fc4d2c0f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x2fc4d2bc4
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x14001a908
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movdqa xmm0, xmmword [rcx]
movdqa xmm1, xmmword [rdx]
pxor xmm1, xmm0
movdqa xmmword [rdx], xmm1
movdqa xmm1, xmmword [rdx + 0x10]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x10], xmm1
movdqa xmm1, xmmword [rdx + 0x20]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x20], xmm1
movdqa xmm1, xmmword [rdx + 0x30]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x30], xmm1
movdqa xmm1, xmmword [rdx + 0x40]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x40], xmm1
movdqa xmm1, xmmword [rdx + 0x50]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x50], xmm1
movdqa xmm1, xmmword [rdx + 0x60]
pxor xmm1, xmm0
movdqa xmmword [rdx + 0x60], xmm1
pxor xmm0, xmmword [rdx + 0x70]
movdqa xmmword [rdx + 0x70], xmm0
movdqa xmm0, xmmword [rcx + 0x10]
xor eax, eax
cmp rax, 0x80
je 0x14001a99a
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x14001a97d
movdqa xmm0, xmmword [rcx + 0x20]
xor eax, eax
cmp rax, 0x80
je 0x14001a9be
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x14001a9a1
movdqa xmm0, xmmword [rcx + 0x30]
xor eax, eax
cmp rax, 0x80
je 0x14001a9e2
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x14001a9c5
movdqa xmm0, xmmword [rcx + 0x40]
xor eax, eax
cmp rax, 0x80
je 0x14001aa06
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x14001a9e9
movdqa xmm0, xmmword [rcx + 0x50]
xor eax, eax
cmp rax, 0x80
je 0x14001aa2a
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x14001aa0d
movdqa xmm0, xmmword [rcx + 0x60]
xor eax, eax
cmp rax, 0x80
je 0x14001aa4e
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x14001aa31
movdqa xmm0, xmmword [rcx + 0x70]
xor eax, eax
cmp rax, 0x80
je 0x14001aa72
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x14001aa55
movdqa xmm0, xmmword [rcx + 0x80]
xor eax, eax
cmp rax, 0x80
je 0x14001aa99
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x14001aa7c
movdqa xmm0, xmmword [rcx + 0x90]
xor eax, eax
cmp rax, 0x80
je 0x14001aac0
movdqa xmm1, xmmword [rdx + rax]
aesenc xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x14001aaa3
movdqa xmm0, xmmword [rcx + 0xa0]
xor eax, eax
cmp rax, 0x80
je 0x14001aae7
movdqa xmm1, xmmword [rdx + rax]
aesenclast xmm1, xmm0
movdqa xmmword [rdx + rax], xmm1
add rax, 0x10
jmp 0x14001aaca
ret

Function at 0x14001ae98
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
aeskeygenassist xmm0, xmmword [rdx], 2
movdqa xmmword [rcx], xmm0
ret
Function at 0x140021430
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 0x1400214c0
cmp r11, r10
ja 0x140021536
cmp r10, rdx
ja 0x14002154a
add r11, r9
xor r15d, r15d
nop word cs:[rax + rax]
cmp r14, r15
je 0x1400214c2
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x1400214a0
jmp 0x140021524
ja 0x1400214ca
mov r11, r10
cmp rax, r8
jne 0x140021464
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 0x140021500
mov rdi, r8
sub ecx, edx
jns 0x14002151b
jmp 0x140021526
cmp r8, rsi
je 0x14002155b
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x140021526
xor al, 1
cmp rdi, rsi
jne 0x1400214e0
jmp 0x140021526
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.140035700
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.1400354d0
ud2
lea rcx, str.called__Option::unwrap____on_a__None__valueinvalid_args
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.140035540
ud2

Function at 0x140025cb0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae fcn.14001ec00
cmp rax, rcx
je 0x140025cd5
cmp rdx, 4
jae 0x140025cd8
xor eax, eax
xor r8d, r8d
jmp 0x140025d70
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140037400]
movdqa xmm3, xmmword [0x140037410]
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 0x140025d00
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140025d87
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140025d70
ret
Function at 0x140027050
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 0x1400270ab
mov r10, qword [rsi + 8]
mov rcx, qword [rsi + 0x10]
cmp rcx, r10
jae 0x1400270ab
movzx eax, byte [r9 + rcx]
cmp eax, 0x49
je 0x1400270c6
cmp eax, 0x42
jne 0x1400270ab
lea r11, [rcx + 1]
mov qword [rsi + 0x10], r11
cmp r11, r10
jae 0x140027176
cmp byte [r9 + r11], 0x5f
jne 0x140027176
lea rax, [rcx + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x1400271de
mov rcx, rsi
xor edx, edx
call fcn.140022740
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.140022740
test al, al
jne 0x140027271
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140027102
lea rdx, [0x1400394b3]
mov r8d, 1
call fcn.14001f190
test al, al
jne 0x140027271
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x1400270ba
xor r14d, r14d
lea rbx, [0x140039868]
nop word [rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140027134
cmp byte [rax + rcx], 0x45
je 0x140027293
sub r14, 1
jb 0x140027159
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140027159
mov r8d, 2
mov rdx, rbx
call fcn.14001f190
test al, al
jne 0x140027271
mov rcx, rsi
call fcn.140023f50
test al, al
jne 0x140027271
mov rax, qword [rsi]
test rax, rax
jne 0x140027120
jmp 0x1400270ba
xor eax, eax
mov edi, 0x3e
nop dword [rax]
mov r8b, 1
cmp r11, r10
jae 0x140027238
movzx edx, byte [r9 + r11]
cmp dl, 0x5f
je 0x1400271d2
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x1400271bc
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x1400271ab
add dl, 0xa9
jmp 0x1400271ba
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140027238
add dl, 0xe3
mov ebx, edx
inc r11
mov qword [rsi + 0x10], r11
mul rdi
jo 0x140027238
movzx edx, bl
add rax, rdx
jae 0x140027180
jmp 0x140027238
inc r11
mov qword [rsi + 0x10], r11
inc rax
je 0x140027238
cmp rax, rcx
jae 0x140027235
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x14002728b
cmp qword [rsi + 0x20], 0
je 0x140027284
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.140027050
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x1400270bc
mov r8b, 1
xor edi, edi
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140027279
lea rax, str.invalid_syntaxrecursion_limit_reached
lea rdx, [0x140039828]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
add r8, 0x10
call fcn.14001f190
test al, al
je 0x140027279
mov dil, 2
jmp 0x1400270ba
mov qword [rsi], 0
mov byte [rsi + 8], dil
xor edi, edi
jmp 0x1400270ba
mov dil, 1
xor r8d, r8d
jmp 0x14002723a
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x1400270ba
Function at 0x14002deb0
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 0x14002df17
movzx r9d, byte [rax + 0x10]
movzx r8d, byte [rax + 0x3a]
xor edx, edx
test r8b, r8b
jne 0x14002e068
cmp r9b, 5
jb 0x14002e068
mov r10, qword [rax]
mov rdx, qword [rax + 8]
xor esi, esi
test r11b, r11b
jne 0x14002df07
cmp r9b, 6
je 0x14002df07
mov esi, 2
cmp rdx, 2
jb 0x14002e110
cmp rsi, rdx
jne case.0x14002cfb9.31
xor edx, edx
jmp 0x14002e068
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 0x14002e05d
cmp r10b, 0x2e
jne 0x14002e05d
movzx edx, byte [rdi]
cmp dl, 0x5c
sete r10b
cmp dl, 0x2f
cli
invalid
sete dl
or dl, r10b
jmp 0x14002e068
cmp r10b, 0x2e
sete r10b
and dl, r10b
xor r10d, r10d
test r11b, r11b
jne case.default.0x14002e090
invalid
cmp r9b, 6
je case.default.0x14002e090
invalid
invalid
invalid
movzx r9d, r9b
lea r10, [0x14003ca94]
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.0x14002e090
mov r9, qword [rax + 0x20]
mov r10, qword [rax + 0x30]
mov r10d, 2
jmp case.default.0x14002e090
lea r8, str.library_std_srcpath.rs
mov ecx, 2
call fcn.1400353f0
ud2

Function at 0x140034ed8
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x18
xor edx, edx
cmp rcx, rdx
je 0x100001805
cmp rcx, 0xffffffffffffffff
je 0x100001805
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1000017fd
cmp dword [rcx + 0x3c], edx
jl 0x1000017fd
cmp dword [rcx + 0x3c], 0x10000000
jae 0x1000017fd
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x100001805
mov rax, rdx
add rsp, 0x18
ret
Function at 0x140caea70
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x140caea7d
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x140caea8d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x140caea75
lea eax, [rcx + 1]
jmp 0x140caea9b
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x140caeaae
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x140caea94
sub eax, 3
jb 0x140caeace
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x140caeb1d
sar eax, 1
movsxd rbp, eax
jb 0x140caeb04
jmp 0x140caeadc
add ebx, ebx
jne 0x140caeada
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140caeb04
inc ecx
add ebx, ebx
jne 0x140caeaea
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x140caeb04
call r11
adc ecx, ecx
add ebx, ebx
jne 0x140caeafd
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x140caeaec
add ecx, 2
jmp 0x140caeb09
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.140caea32
jmp 0x140caea7d
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x9200
mov dl, 1
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x140caeb69
cmp rsi, rcx
jae 0x140caeb71
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x140caeb50
cmp al, 0x8f
ja 0x140caeb50
cmp byte [rsi - 2], 0xf
je 0x140caeb56
sub al, 0xe8
cmp al, 1
ja 0x140caeb3a
cmp rsi, rcx
jae 0x140caeb71
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x140caeb40
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x140caeb71
lodsb al, byte [rsi]
jmp 0x140caeb50
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0xcac000]
mov eax, dword [rdi]
or eax, eax
je 0x140caebce
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0xcae28c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x140caeb7e
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x140caebc8
mov qword [rbx], rax
add rbx, 8
jmp 0x140caeb9e
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
add rdi, 4
lea rbx, [rsi - 4]
xor eax, eax
mov al, byte [rdi]
inc rdi
or eax, eax
je 0x140caec08
cmp al, 0xef
ja 0x140caebfa
add rbx, rax
mov rax, qword [rbx]
bswap rax
add rax, rsi
mov qword [rbx], rax
jmp 0x140caebda
and al, 0xf
shl eax, 0x10
mov ax, word [rdi]
add rdi, 2
jmp 0x140caebe9
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x237]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x140caec5c
sub rsp, 0xffffffffffffff80
jmp 0x140009550
Function at 0x1400a2d00
Capabilities:
Parse pe header

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

Function at 0x1400b50c4
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 0x1400b4ebb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b4ebb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b4ebb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b4ebb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b4ebb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b4ebb
cmp dword [rcx + 0xf8], 0
je 0x1400b4ebb
mov ecx, ebx
call fcn.1400b4fcc
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.1400b4c20
nop
cmp dword [rbp + 0x20], 0
je 0x1400b4f09
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1400b4f14
int3
xor r8d, r8d
xor edx, edx
jmp 0x1400b4e4c