joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2001ddca0
Capabilities:
Encode data using xor

Disassembly:
push rsi
sub rsp, 0x810
movdqa xmmword [rsp + 0x800], xmm6
mov edx, 1
xor eax, eax
xor ecx, ecx
nop word [rax + rax]
mov dword [rsp + rcx*4 + 0x400], edx
mov r8d, edx
mov dword [rsp + r8*4], ecx
lea r8d, [rdx + rdx]
cmp edx, 0x80
mov r9d, 0x1b
cmovb r9d, eax
movzx r8d, r8b
xor r8d, edx
xor r8d, r9d
mov dword [rsp + rcx*4 + 0x404], r8d
lea edx, [rcx + 1]
mov dword [rsp + r8*4], edx
lea edx, [r8 + r8]
cmp r8d, 0x80
mov r9d, 0x1b
cmovb r9d, eax
movzx edx, dl
xor edx, r8d
xor edx, r9d
add rcx, 2
cmp rcx, 0x100
jne 0x2001ddcc0
movaps xmm0, xmmword [0x200004220]
movaps xmmword [0x2001fd3c0], xmm0
movdqa xmm0, xmmword [0x200109e70]
movdqa xmmword [0x2001fd3d0], xmm0
movabs rax, 0x360000001b
mov qword [0x2001fd3e0], rax
mov byte [0x2001fc010], 0x63
mov byte [0x2001fc9f3], 0
mov ecx, 1
lea rax, [0x2001fc010]
lea rdx, [0x2001fc990]
nop word cs:[rax + rax]
movsxd r8, dword [rsp + rcx*4]
mov r9d, 0xff
sub r9, r8
mov r8d, dword [rsp + r9*4 + 0x400]
lea r9d, [r8 + r8]
mov r10d, r8d
shr r10d, 7
or r10d, r9d
movzx r9d, r10b
add r10d, r10d
mov r11d, r9d
shr r11d, 7
movzx r10d, r10b
or r11d, r10d
lea esi, [r11 + r11]
shr r10d, 7
movzx esi, sil
or r10d, esi
shr esi, 7
xor r9d, r8d
xor r9d, r11d
xor r9d, r10d
mov r8d, r10d
and r8d, 0x7f
lea r8d, [rsi + r8*2]
xor r9d, r8d
movsxd r8, r9d
xor r8, 0x63
mov byte [rcx + rax], r8b
mov byte [r8 + rdx], cl
inc rcx
cmp rcx, 0x100
jne 0x2001ddd80
xor ecx, ecx
pxor xmm0, xmm0
movdqa xmm1, xmmword [0x2001063c0]
lea rdx, [0x2001fc190]
lea r8, [0x2001fca90]
lea r9, [0x2001fce90]
lea r10, [0x2001fc590]
nop word cs:[rax + rax]
movd xmm2, dword [rax]
movdqa xmm3, xmm2
paddb xmm3, xmm2
pxor xmm4, xmm4
pcmpgtb xmm4, xmm2
pand xmm4, xmm1
pxor xmm4, xmm3
movdqa xmm3, xmm4
pxor xmm4, xmm2
punpcklbw xmm2, xmm0
pxor xmm5, xmm5
punpcklwd xmm5, xmm2
punpcklwd xmm2, xmm0
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
punpcklbw xmm4, xmm0
punpcklwd xmm4, xmm0
movdqa xmm6, xmm2
pslld xmm6, 8
por xmm6, xmm5
por xmm6, xmm3
movdqa xmm3, xmm4
pslld xmm3, 0x18
por xmm3, xmm6
movdqa xmmword [rcx + rdx], xmm3
pslld xmm6, 8
por xmm6, xmm4
movdqa xmmword [rcx + r8], xmm6
pslld xmm6, 8
por xmm2, xmm6
movdqa xmmword [rcx + r9], xmm2
psrld xmm6, 0x18
pslld xmm2, 8
por xmm2, xmm6
movdqa xmmword [rcx + r10], xmm2
add rax, 4
add rcx, 0x10
cmp rcx, 0x400
jne 0x2001dde30
movaps xmm6, xmmword [rsp + 0x800]
add rsp, 0x810
pop rsi
ret
Function at 0x2001eda80
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
movups xmm0, xmmword [rcx + 0x10]
movups xmm1, xmmword [rcx + 0x40]
movups xmmword [rcx + 0x20], xmm1
xorps xmm0, xmm1
movups xmmword [rcx + 0x30], xmm0
xor edx, edx
lea rax, [0x2000048b0]
xor r8d, r8d
nop word cs:[rax + rax]
mov r9d, 0x12
nop word cs:[rax + rax]
movzx r8d, r8b
movzx r8d, byte [r8 + rax]
xor r8b, byte [rcx + r9 - 2]
mov byte [rcx + r9 - 2], r8b
movzx r8d, r8b
movzx r8d, byte [r8 + rax]
xor r8b, byte [rcx + r9 - 1]
mov byte [rcx + r9 - 1], r8b
movzx r8d, r8b
movzx r8d, byte [r8 + rax]
xor r8b, byte [rcx + r9]
mov byte [rcx + r9], r8b
add r9, 3
cmp r9, 0x42
jne 0x2001edac0
add r8b, dl
inc edx
cmp edx, 0x12
jne 0x2001edab0
movzx edx, byte [rcx + 0xf]
xor dl, byte [rcx + 0x40]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx]
mov byte [rcx], dl
xor dl, byte [rcx + 0x41]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 1]
mov byte [rcx + 1], dl
xor dl, byte [rcx + 0x42]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 2]
mov byte [rcx + 2], dl
xor dl, byte [rcx + 0x43]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 3]
mov byte [rcx + 3], dl
xor dl, byte [rcx + 0x44]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 4]
mov byte [rcx + 4], dl
xor dl, byte [rcx + 0x45]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 5]
mov byte [rcx + 5], dl
xor dl, byte [rcx + 0x46]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 6]
mov byte [rcx + 6], dl
xor dl, byte [rcx + 0x47]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 7]
mov byte [rcx + 7], dl
xor dl, byte [rcx + 0x48]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 8]
mov byte [rcx + 8], dl
xor dl, byte [rcx + 0x49]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 9]
mov byte [rcx + 9], dl
xor dl, byte [rcx + 0x4a]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 0xa]
mov byte [rcx + 0xa], dl
xor dl, byte [rcx + 0x4b]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 0xb]
mov byte [rcx + 0xb], dl
xor dl, byte [rcx + 0x4c]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 0xc]
mov byte [rcx + 0xc], dl
xor dl, byte [rcx + 0x4d]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 0xd]
mov byte [rcx + 0xd], dl
xor dl, byte [rcx + 0x4e]
movzx edx, dl
movzx edx, byte [rdx + rax]
xor dl, byte [rcx + 0xe]
mov byte [rcx + 0xe], dl
xor dl, byte [rcx + 0x4f]
movzx edx, dl
movzx eax, byte [rdx + rax]
xor al, byte [rcx + 0xf]
mov byte [rcx + 0xf], al
mov byte [rsp + 0x27], al
lea rcx, [rsp + 0x27]
mov edx, 1
call fcn.200146a30
nop
add rsp, 0x28
ret
Function at 0x140001220
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rdx, [0x14003cfa0]
mov rcx, qword [rsp + 0x40]
call fcn.140003e84
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x14000125f
mov rdx, qword [rsp + 0x40]
lea rcx, [0x14003cfa8]
call fcn.140001960
jmp 0x140001294
mov rdx, qword [rsp + 0x20]
lea rcx, str.P5_n512_512_3_n
call fcn.140003f3c
mov r9, qword [rsp + 0x20]
mov r8d, 1
mov edx, 0x40000
mov rcx, qword [rsp + 0x48]
call fcn.140004294
mov rcx, qword [rsp + 0x20]
call fcn.140003d64
add rsp, 0x38
ret

Function at 0x140002498
Capabilities:
Parse pe header

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

Function at 0x140006668
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140006494

Function at 0x140014de0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140014e08
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140014e08
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140002a00
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
movss dword [rsp + 0x20], xmm3
push rdi
push r14
push r15
sub rsp, 0x40
mov eax, dword [rsp + 0x80]
mov rdi, rdx
mov edx, dword [rsp + 0x78]
test eax, eax
mov r11d, 6
mov rbp, r8
mov r10d, r11d
mov r14, rcx
cmovns r10d, eax
mov eax, edx
and eax, 0x7fffff
shr edx, 0x17
lea r9d, [rax + rax]
test edx, edx
jne 0x140002a57
neg eax
sbb ecx, ecx
and ecx, 0xffffff82
jmp 0x140002a5a
lea ecx, [rdx - 0x7f]
mov eax, r9d
mov r15d, 0x2d
bts eax, 0x18
test edx, edx
cmovne r9d, eax
mov eax, ecx
cdq
mov esi, eax
mov eax, 0x2b
xor esi, edx
sub esi, edx
test ecx, ecx
cmovns r15d, eax
cmp esi, 0xa
jae 0x140002a8b
lea edx, [rax - 0x27]
jmp 0x140002a94
cmp esi, 0x64
sbb rdx, rdx
add rdx, r11
mov rcx, rbp
movsxd r8, r10d
sub rcx, rdi
cmp rcx, r8
jge 0x140002ab2
mov qword [r14], rbp
mov dword [r14 + 8], 0x84
jmp 0x140002bf7
xor eax, eax
test r10d, r10d
setg al
sub rcx, r8
add rax, rdx
cmp rcx, rax
jl 0x140002aa2
mov qword [rsp + 0x60], rbx
cmp r10d, r11d
jge 0x140002af4
lea r8d, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea eax, [r8 - 1]
or eax, r9d
movzx ecx, r11b
mov edx, 1
shl edx, cl
and edx, eax
and edx, r8d
add r9d, edx
mov eax, r9d
and r9d, 0xffffff
shr eax, 0x18
add al, 0x30
mov byte [rdi], al
inc rdi
test r10d, r10d
jle 0x140002b7e
mov byte [rdi], 0x2e
lea r11, [0x140054d38]
mov eax, r9d
lea r8d, [r10 - 1]
shr rax, 0x14
mov ecx, 0x14
movzx eax, byte [rax + r11]
mov byte [rdi + 1], al
add rdi, 2
test r8d, r8d
je 0x140002b7e
mov edx, 0x100000
nop dword [rax]
test ecx, ecx
je 0x140002b68
lea eax, [rdx - 1]
sub ecx, 4
and r9d, eax
ror edx, 4
mov eax, r9d
shr rax, cl
movzx eax, byte [rax + r11]
mov byte [rdi], al
inc rdi
sub r8d, 1
jne 0x140002b40
jmp 0x140002b7e
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rdi
call fcn.140017db0
add rdi, rbx
mov byte [rdi], 0x70
lea r9, [rsp + 0x40]
mov byte [rdi + 1], r15b
add rdi, 2
nop
dec r9
mov eax, 0xcccccccd
mul esi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub sil, cl
add sil, 0x30
mov byte [r9], sil
mov esi, edx
test edx, edx
jne 0x140002b90
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rdi
cmp rax, rbx
jge 0x140002bd5
mov dword [r14 + 8], 0x84
jmp 0x140002bef
mov r8, rbx
mov rdx, r9
mov rcx, rdi
call fcn.140017700
mov dword [r14 + 8], 0
lea rbp, [rbx + rdi]
mov qword [r14], rbp
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rax, r14
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret
Function at 0x140002c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
movsd qword [rsp + 0x20], xmm3
push rdi
push r14
push r15
sub rsp, 0x40
mov eax, dword [rsp + 0x80]
mov rsi, rdx
mov rdx, qword [rsp + 0x78]
test eax, eax
mov r9, rdx
mov r11d, 0xd
mov r10d, r11d
movabs rbx, 0xfffffffffffff
cmovns r10d, eax
mov rbp, r8
and r9, rbx
shr rdx, 0x34
mov r14, rcx
test edx, edx
jne 0x140002c7a
mov rax, r9
neg rax
sbb ecx, ecx
and ecx, 0xfffffc02
jmp 0x140002c80
lea ecx, [rdx - 0x3ff]
mov rax, r9
movabs r8, 0x10000000000000
or rax, r8
mov r15d, 0x2d
test edx, edx
cmovne r9, rax
mov eax, ecx
cdq
mov edi, eax
mov eax, 0x2b
xor edi, edx
sub edi, edx
test ecx, ecx
cmovns r15d, eax
cmp edi, 0xa
jae 0x140002cba
lea ecx, [rax - 0x27]
jmp 0x140002cd3
cmp edi, 0x64
jae 0x140002cc6
mov ecx, 5
jmp 0x140002cd3
cmp edi, 0x3e8
sbb rcx, rcx
add rcx, 7
mov rdx, rbp
movsxd r8, r10d
sub rdx, rsi
cmp rdx, r8
jl 0x140002e0b
xor eax, eax
test r10d, r10d
setg al
sub rdx, r8
add rax, rcx
cmp rdx, rax
jl 0x140002e0b
cmp r10d, r11d
jge 0x140002d28
lea r8, [r9 + r9]
sub r11d, r10d
shl r11d, 2
lea rax, [r8 - 1]
or rax, r9
movzx ecx, r11b
mov edx, 1
shl rdx, cl
and rdx, rax
and rdx, r8
add r9, rdx
mov rax, r9
and r9, rbx
shr rax, 0x34
add al, 0x30
mov byte [rsi], al
inc rsi
test r10d, r10d
jle 0x140002db5
mov byte [rsi], 0x2e
lea r11, [0x140054d38]
mov rax, r9
lea r8d, [r10 - 1]
shr rax, 0x30
mov ecx, 0x30
movzx eax, byte [rax + r11]
mov byte [rsi + 1], al
add rsi, 2
test r8d, r8d
je 0x140002db5
movabs rdx, 0x1000000000000
test ecx, ecx
je 0x140002d9f
lea rax, [rdx - 1]
sub ecx, 4
and r9, rax
ror rdx, 4
mov rax, r9
shr rax, cl
mov eax, eax
movzx eax, byte [rax + r11]
mov byte [rsi], al
inc rsi
sub r8d, 1
jne 0x140002d73
jmp 0x140002db5
movsxd rbx, r8d
mov edx, 0x30
mov r8, rbx
mov rcx, rsi
call fcn.140017db0
add rsi, rbx
mov byte [rsi], 0x70
lea r9, [rsp + 0x40]
mov byte [rsi + 1], r15b
add rsi, 2
nop word [rax + rax]
dec r9
mov eax, 0xcccccccd
mul edi
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub dil, cl
add dil, 0x30
mov byte [r9], dil
mov edi, edx
test edx, edx
jne 0x140002dd0
lea rbx, [rsp + 0x40]
mov rax, rbp
sub rbx, r9
sub rax, rsi
cmp rax, rbx
jge 0x140002e15
mov dword [r14 + 8], 0x84
jmp 0x140002e2f
mov r8, rbx
mov rdx, r9
mov rcx, rsi
call fcn.140017700
mov dword [r14 + 8], 0
lea rbp, [rbx + rsi]
mov qword [r14], rbp
mov rax, r14
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rdi
ret

Function at 0x1400244f4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140024320
Function at 0x1413e8058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1413e81df
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 0x1413e8089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413e806f
add dl, dl
jne 0x1413e8096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413e80f6
xor eax, eax
add dl, dl
jne 0x1413e80a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1413e81ad
add dl, dl
jne 0x1413e80b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413e80c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413e80d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413e80dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1413e80ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1413e807e
mov eax, 1
add dl, dl
jne 0x1413e8106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1413e8113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413e80fb
sub eax, ebx
mov ebx, 1
jne 0x1413e814c
mov ecx, 1
add dl, dl
jne 0x1413e812e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1413e813b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413e8123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413e807e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1413e8168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1413e8175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1413e815d
cmp eax, 0x7d00
jae 0x1413e819b
cmp eax, 0x500
jb 0x1413e8196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413e807e
cmp eax, 0x7f
ja 0x1413e819e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1413e807e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1413e81d2
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 0x1413e807e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x16fc058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x16fc1df
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 0x16fc089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x16fc06f
add dl, dl
jne 0x16fc096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x16fc0f6
xor eax, eax
add dl, dl
jne 0x16fc0a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x16fc1ad
add dl, dl
jne 0x16fc0b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16fc0c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16fc0d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16fc0dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x16fc0ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x16fc07e
mov eax, 1
add dl, dl
jne 0x16fc106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x16fc113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x16fc0fb
sub eax, ebx
mov ebx, 1
jne 0x16fc14c
mov ecx, 1
add dl, dl
jne 0x16fc12e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16fc13b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x16fc123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x16fc07e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x16fc168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x16fc175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x16fc15d
cmp eax, 0x7d00
jae 0x16fc19b
cmp eax, 0x500
jb 0x16fc196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x16fc07e
cmp eax, 0x7f
ja 0x16fc19e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x16fc07e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x16fc1d2
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 0x16fc07e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140f571c0
Capabilities:
Encode data using xor

Disassembly:
jmp 0x140f571ca
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x140f571f3
pop rbp
sub rbp, 0x33
sub rbp, 0xf571c0
sub rsp, 0x20
jmp 0x140f57212
mov rax, 0xf571c0
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x35f7c54e
xor byte [rax], dl
inc rax
dec rcx
jne 0x140f57231
jmp 0x140f57248
invalid
Function at 0x18000b270
Capabilities:
Get session user name

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x48
lea rbp, [rsp + 0x40]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp - 4], 0
lea rdx, [rbp - 4]
xor ecx, ecx
call qword [sym.imp.advapi32.dll_GetUserNameW]
test eax, eax
jne 0x18000b384
mov ebx, dword [rbp - 4]
test rbx, rbx
je 0x18000b2da
lea rdi, [rbx + rbx]
movzx eax, byte [0x1801e4bc1]
mov edx, 2
mov rcx, rdi
call fcn.18000b020
mov rcx, rax
test rax, rax
jne 0x18000b2df
mov ecx, 2
mov rdx, rdi
call fcn.180129e70
ud2
mov ecx, 2
mov qword [rbp - 0x18], rbx
mov dword [rbp - 4], ebx
lea rdx, [rbp - 4]
mov qword [rbp - 0x10], rcx
call qword [sym.imp.advapi32.dll_GetUserNameW]
test eax, eax
je 0x18000b306
mov r8d, dword [rbp - 4]
test r8, r8
je 0x18000b34f
dec r8
jmp 0x18000b352
movzx eax, byte [0x1801e4bc1]
mov ecx, 7
mov edx, 1
call fcn.18000b020
test rax, rax
mov rdx, qword [rbp - 0x18]
je 0x18000b39e
mov dword [rax + 3], 0x6e776f6e
mov dword [rax], 0x6e6b6e75
mov qword [rsi], rax
mov qword [rsi + 8], 7
mov qword [rsi + 0x10], 7
mov byte [rsi + 0x18], 1
test edx, edx
jne 0x18000b366
jmp 0x18000b378
xor r8d, r8d
mov rdx, qword [rbp - 0x10]
mov rcx, rsi
call fcn.1800f58d0
mov rdx, qword [rbp - 0x18]
test edx, edx
je 0x18000b378
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x10]
call fcn.18000b030
mov rax, rsi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.assertion_failed:_successC:Userscokiss.cargo_registry_srcindex.crates.io_6f17d22bba15001fwhoami_1.4.1_srcwindows.rs
lea r8, [0x18012d6c8]
mov edx, 0x19
call fcn.18012a170
ud2
mov ecx, 1
mov edx, 7
call fcn.180129e70
ud2

Function at 0x18000b3f0
Capabilities:
Get hostname

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0x60]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, rcx
mov dword [rbp - 4], 0
lea r8, [rbp - 4]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov ebx, dword [rbp - 4]
test rbx, rbx
je 0x18000b451
lea rdi, [rbx + rbx]
movzx eax, byte [0x1801e4bc1]
mov edx, 2
mov rcx, rdi
call fcn.18000b020
test rax, rax
jne 0x18000b456
mov ecx, 2
mov rdx, rdi
call fcn.180129e70
ud2
mov eax, 2
mov qword [rbp - 0x10], rbx
mov dword [rbp - 4], ebx
lea r8, [rbp - 4]
xor ecx, ecx
mov qword [rbp - 0x18], rax
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x18000b4b7
mov r8d, dword [rbp - 4]
lea rcx, [rbp - 0x38]
mov rdx, qword [rbp - 0x18]
call fcn.1800f58d0
mov rdx, qword [rbp - 0x10]
test edx, edx
je 0x18000b49f
add rdx, rdx
mov r8d, 2
mov rcx, qword [rbp - 0x18]
call fcn.18000b030
lea rdx, [rbp - 0x38]
mov rcx, rsi
call fcn.18000b090
mov rax, rsi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop rbp
ret
movzx eax, byte [0x1801e4bc1]
mov ecx, 9
mov edx, 1
call fcn.18000b020
test rax, rax
je 0x18000b505
movabs rcx, 0x736f686c61636f6c
mov qword [rax], rcx
mov byte [rax + 8], 0x74
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 9
mov qword [rbp - 0x28], 9
mov byte [rbp - 0x20], 1
mov rdx, qword [rbp - 0x10]
test edx, edx
jne 0x18000b48d
jmp 0x18000b49f
mov ecx, 1
mov edx, 9
call fcn.180129e70
ud2
Function at 0x18000b920
Capabilities:
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x90
mov rsi, rcx
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [rsp + 0x28]
mov eax, dword [rsp + 0x4c]
cmp rcx, 0xc
ja case.default.0x18000b953
lea rdx, [0x18012d844]
movsxd r8, dword [rdx + rcx*4]
add r8, rdx
jmp r8
mov qword [rsi], 6
jmp 0x18000bb63
cmp ecx, 0xffff
jne case.0x18000b953.39
cmp eax, 0x249
jle 0x18000bb0d
cmp eax, 0x24a
je 0x18000bada
cmp eax, 0x898
je 0x18000bae1
cmp eax, 0x21d8
je 0x18000b9c8
jmp 0x18000bb6f
mov word [rsp + 0x26], cx
cmp eax, 0x249
jle 0x18000ba3b
cmp eax, 0x24a
je 0x18000bada
cmp eax, 0x898
je 0x18000bae1
cmp eax, 0x21d8
jne 0x18000ba51
mov ecx, 7
jmp 0x18000bb4c
mov qword [rsi], 1
jmp 0x18000bb63
movzx eax, byte [0x1801e4bc1]
mov ecx, 4
mov edx, 1
call fcn.18000b020
test rax, rax
je 0x18000bbea
mov dword [rax], 0x34364149
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 4
mov qword [rsi + 0x18], 4
mov qword [rsi], 0x16
jmp 0x18000bb63
mov qword [rsi], 7
jmp 0x18000bb63
mov qword [rsi], 3
jmp 0x18000bb63
cmp eax, 0x182
je 0x18000bb47
cmp eax, 0x1e6
je 0x18000bb1b
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x26]
mov qword [rsp + 0x70], rax
lea rax, [0x180115c30]
mov qword [rsp + 0x78], rax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x80], rax
lea rax, [0x180115e70]
mov qword [rsp + 0x88], rax
lea rax, str.Invalid_arch:
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 3
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 2
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x28]
call fcn.18010f720
mov rax, qword [rsp + 0x68]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rsp + 0x58]
jmp 0x18000bbda
mov ecx, 5
jmp 0x18000bb4c
movzx eax, byte [0x1801e4bc1]
mov ecx, 4
mov edx, 1
call fcn.18000b020
test rax, rax
je 0x18000bbea
mov dword [rax], 0x34364149
mov ecx, 0x16
jmp 0x18000bb4c
cmp eax, 0x182
je 0x18000bb47
cmp eax, 0x1e6
jne 0x18000bb6f
movzx eax, byte [0x1801e4bc1]
mov ecx, 4
mov edx, 1
call fcn.18000b020
test rax, rax
je 0x18000bbea
mov dword [rax], 0x36383449
mov ecx, 0x16
jmp 0x18000bb4c
mov ecx, 4
mov qword [rsi], rcx
mov qword [rsi + 8], rax
mov qword [rsi + 0x10], 4
mov qword [rsi + 0x18], 4
mov rax, rsi
add rsp, 0x90
pop rsi
ret
mov dword [rsp + 0x20], eax
lea rax, [rsp + 0x20]
mov qword [rsp + 0x58], rax
lea rax, [0x180115e70]
mov qword [rsp + 0x60], rax
lea rax, str.Unknown__
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], 2
mov qword [rsp + 0x48], 0
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], 1
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x28]
call fcn.18010f720
mov rax, qword [rsp + 0x80]
mov qword [rsi + 0x18], rax
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi + 8], xmm0
mov qword [rsi], 0x16
jmp 0x18000bb63
mov ecx, 1
mov edx, 4
call fcn.180129e70
ud2