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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1800163a0
sub rsp, rax
mov rax, qword [0x18009d900]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.180028f10
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x18002ef9f
mov rax, rbp
jmp 0x18002f0a7
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x180000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0xa2380]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.180030070
mov r13, rax
lea rax, [0x180000000]
mov rcx, qword [rax + rbx*8 + 0xa2380]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x18002f0a3
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18002f0a3
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.180030070
test rax, rax
js 0x18002f0a3
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x18002f0a3
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x18002f095
lea r8, [0x180000000]
cmp rcx, rdx
jae 0x18002f095
cmp byte [rcx], 0xd
jne 0x18002f07b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x18002f08a
cmp byte [rcx + 1], 0xa
jne 0x18002f08a
inc rcx
jmp 0x18002f08a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x9e280]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x18002f05d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x18002f0a7
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.180016370
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret

Function at 0x18002f2c8
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x18002f2de
mov al, 1
jmp 0x18002f33e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x18002f2ef
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x18002f33c
mov ecx, dword [rcx + 0x18]
nop
call fcn.180035eb4
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x18002f33c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x18002f33c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x18002f33c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x18002f33e
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x18002f410
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x1800a2380]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x18002f467
cmp word [rdx], r13w
jne 0x18002f467
or byte [rax + rdi*8 + 0x38], cl
jmp 0x18002f46c
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x18002f591
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x18002f5b2
lea r9, [rdx + 2]
cmp cx, r11w
je 0x18002f4a5
mov rdx, r9
mov word [rbx], cx
jmp 0x18002f4cc
cmp r9, r8
jae 0x18002f4dc
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x18002f486
jmp 0x18002f591
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x18002f586
cmp dword [rsp + 0x80], esi
je 0x18002f586
lea r8, [0x1800a2380]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x18002f55e
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x18002f52e
mov word [rbx], r13w
jmp 0x18002f58e
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x18002f53b
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x18002f58e
cmp word [rsp + 0x70], r13w
jne 0x18002f56b
cmp rbx, r14
je 0x18002f528
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.180030078
cmp word [rsp + 0x70], r13w
je 0x18002f591
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x1800a2380]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x18002f58b
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x18002f591
Function at 0x180035854
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.180027918
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x1800358f5
cmp ebx, dword [rsp + 0x30]
je 0x1800358ee
test esi, esi
je 0x1800358ee
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x1800358c9
sub r8w, 0x61
cmp r8w, 0x19
ja 0x1800358d6
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x1800358b3
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x1800358da
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x1800358f7
mov eax, 1
jmp 0x1800358f7
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18003708c
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.180026048
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x180037116
cmp byte [rbp - 0x21], r15b
je 0x180037111
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x18003714c
call fcn.18002ce60
test eax, eax
jne 0x180037138
cmp byte [rbp - 0x21], r15b
je 0x180037130
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x18003714c
cmp byte [rbp - 0x21], r15b
je 0x180037149
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.18002662c
test eax, eax
jne 0x1800371ec
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.180026048
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x18003718b
cmp byte [rbp - 0x21], r15b
je 0x1800371c0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1800371c0
call fcn.18002ce60
test eax, eax
jne 0x1800371ac
cmp byte [rbp - 0x21], r15b
je 0x1800371a5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1800371c0
cmp byte [rbp - 0x21], r15b
je 0x1800371bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.18002662c
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1800371ec
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1800371ef
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1800371fd
mov rcx, rdi
call fcn.180027c78
cmp byte [rbp + 0x3f], r15b
je 0x18003720c
mov rcx, qword [rbp + 0x27]
call fcn.180027c78
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x180038fd0
Capabilities:
Parse pe header

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x40
mov rsi, qword [rdx + 0x20]
mov r11, qword [rdx + 0x28]
lea r10, [r11 + 1]
mov qword [rdx + 0x28], r10
mov al, 1
cmp r10, rsi
jae 0x14001a650
mov rax, qword [rdx + 0x18]
movzx edi, byte [rax + r10]
mov al, 1
cmp edi, 0x2b
je 0x14001a645
cmp edi, 0x2d
jne 0x14001a650
xor eax, eax
add r11, 2
mov qword [rdx + 0x28], r11
mov r10, r11
cmp r10, rsi
jae 0x14001a7ef
mov rdi, qword [rdx + 0x18]
movzx r11d, byte [rdi + r10]
lea rbx, [r10 + 1]
mov qword [rdx + 0x28], rbx
add r11b, 0xd0
cmp r11b, 0xa
jae 0x14001a7fa
movzx r11d, r11b
cmp rbx, rsi
jae 0x14001a6ed
mov ebx, 1
sub rbx, rsi
add r10, 2
jmp 0x14001a6ac
movzx esi, sil
lea r11d, [r11 + r11*4]
lea r11d, [rsi + r11*2]
lea rsi, [rbx + r10]
inc rsi
inc r10
cmp rsi, 2
je 0x14001a6ed
movzx esi, byte [rdi + r10 - 1]
add sil, 0xd0
cmp sil, 0xa
jae 0x14001a6ed
mov qword [rdx + 0x28], r10
cmp r11d, 0xccccccb
jle 0x14001a690
cmp r11d, 0xccccccc
jne 0x14001a6d8
cmp sil, 7
jbe 0x14001a690
test r9, r9
sete r9b
mov byte [rsp + 0x20], al
call fcn.1401e9f70
jmp 0x14001a7dc
mov r10d, dword [rsp + 0x80]
test al, al
je 0x14001a70a
lea eax, [r10 + r11]
sar eax, 0x1f
add eax, 0x80000000
add r10d, r11d
jmp 0x14001a71a
xor eax, eax
cmp r10d, r11d
setns al
add eax, 0x7fffffff
sub r10d, r11d
cmovo r10d, eax
movq xmm1, r9
punpckldq xmm1, xmmword [0x1401f8d00]
subpd xmm1, xmmword [0x1401f8d10]
movapd xmm0, xmm1
unpckhpd xmm0, xmm1
addsd xmm0, xmm1
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jb 0x14001a78c
xorpd xmm1, xmm1
movsd xmm2, qword [0x1401f8d20]
nop dword [rax + rax]
ucomisd xmm0, xmm1
jne 0x14001a768
jnp 0x14001a7c5
test r10d, r10d
jns 0x14001a823
divsd xmm0, xmm2
add r10d, 0x134
mov eax, r10d
neg eax
cmovs eax, r10d
cmp eax, 0x135
jae 0x14001a760
mov eax, eax
mov r9, qword [str.8___]
movsd xmm1, qword [r9 + rax*8]
test r10d, r10d
js 0x14001a7e4
mulsd xmm0, xmm1
movq rax, xmm0
movabs r9, 0x7fffffffffffffff
and r9, rax
movabs rax, 0x7ff0000000000000
cmp r9, rax
je 0x14001a823
test r8b, r8b
jne 0x14001a7d2
xorpd xmm0, xmmword [0x1401f8d30]
movsd qword [rcx + 8], xmm0
xor eax, eax
mov qword [rcx], rax
add rsp, 0x40
pop rbx
pop rdi
pop rsi
ret
divsd xmm0, xmm1
test r8b, r8b
je 0x14001a7ca
jmp 0x14001a7d2
mov qword [rsp + 0x28], 5
jmp 0x14001a803
mov qword [rsp + 0x28], 0xd
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401ea010
mov qword [rsi + 8], rax
mov qword [rsi], 1
jmp 0x14001a7dc
mov qword [rsp + 0x28], 0xe
lea rax, [rsp + 0x28]
mov rsi, rcx
mov rcx, rdx
mov rdx, rax
call fcn.1401ea010
mov rcx, rsi
mov qword [rsi + 8], rax
mov eax, 1
jmp 0x14001a7d9
Function at 0x140038160
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x1400381a2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x1400381aa
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x1400381bb
jmp 0x1400381d2
xor r10d, r10d
jmp 0x14003825d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x1400381d2
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x1400381e9
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140038209
add r11, r8
jmp 0x140038339
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x1400382d2
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140038280
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x1400382ef
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x140038300
jmp 0x14003831b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x14003831b
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x140038335
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x14003e210
Capabilities:
Manipulate console buffer

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
cmp byte [rcx + 8], 0
je 0x14003e2da
inc rdi
mov qword [rbp + 0x10], rdi
inc rsi
mov qword [rbp + 8], rsi
lea rax, [rbp + 0x10]
mov qword [rbp - 0x60], rax
lea rax, [fcn.1401e50f0]
mov qword [rbp - 0x58], rax
lea rdx, [rbp + 8]
mov qword [rbp - 0x50], rdx
mov qword [rbp - 0x48], rax
lea rax, str.e__H
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 3
mov qword [rbp - 0x20], 0
lea rax, [rbp - 0x60]
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], 2
lea rax, [rbp - 0x10]
lea rdx, [rbp - 0x40]
mov rsi, rcx
mov rcx, rax
call fcn.1401d6c00
mov rdx, qword [rbp - 8]
mov r8, qword [rbp]
mov rcx, rsi
mov qword [rbp + 0x18], rdx
call fcn.14003b2b0
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x14003e320
mov r8d, 1
mov rcx, qword [rbp + 0x18]
mov rsi, rax
call fcn.140029650
mov rax, rsi
jmp 0x14003e320
mov rax, qword [rcx]
movzx ecx, byte [rax + 0x62]
xor ecx, 0xfffffff5
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov rbx, rax
xorps xmm0, xmm0
movaps xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x32], 0
lea rdx, [rbp - 0x40]
mov rcx, rax
call qword [sym.imp.kernel32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x14003e31e
shl edi, 0x10
movzx edx, si
or edx, edi
mov rcx, rbx
call qword [sym.imp.kernel32.dll_SetConsoleCursorPosition]
xor eax, eax
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop rbp
ret

Function at 0x14003e450
Capabilities:
Manipulate console buffer

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x50
cmp byte [rcx + 8], 0
je 0x14003e47c
lea rdx, [0x1401fc8cc]
mov r8d, 5
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp fcn.14003b2b0
mov rax, qword [rcx]
movzx ecx, byte [rax + 0x62]
xor ecx, 0xfffffff5
call qword [sym.imp.kernel32.dll_GetStdHandle]
mov rsi, rax
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x3e], 0
lea rdi, [rsp + 0x30]
mov rcx, rax
mov rdx, rdi
call qword [sym.imp.kernel32.dll_GetConsoleScreenBufferInfo]
test eax, eax
je 0x14003e50f
movzx ebx, word [rsp + 0x38]
movzx eax, word [rsp + 0x3e]
movzx ebp, word [rsp + 0x36]
shl ebp, 0x10
sub ax, word [rsp + 0x3a]
mov dword [rsp + 0x30], 0
movsx r14d, ax
mov qword [rsp + 0x20], rdi
mov rcx, rsi
mov dl, 0x20
mov r8d, r14d
mov r9d, ebp
call qword [sym.imp.kernel32.dll_FillConsoleOutputCharacterA]
mov qword [rsp + 0x20], rdi
mov rcx, rsi
mov edx, ebx
mov r8d, r14d
mov r9d, ebp
call qword [sym.imp.kernel32.dll_FillConsoleOutputAttribute]
mov rcx, rsi
mov edx, ebp
call qword [sym.imp.kernel32.dll_SetConsoleCursorPosition]
xor eax, eax
add rsp, 0x50
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x140042150
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
test byte [rcx], 1
je 0x14004218f
lea rdx, [rcx + 8]
cmp qword [rcx + 0x38], 0xffffffffffffffff
mov r8, qword [rcx + 0x48]
mov r9, qword [rcx + 0x50]
mov rax, qword [rcx + 0x58]
mov rcx, qword [rcx + 0x60]
je 0x1400422c7
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 0
jmp 0x1400422d6
cmp byte [rcx + 0x1a], 0
je 0x1400421ac
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x140042309
jmp 0x140042327
mov r8, qword [rcx + 8]
mov rax, qword [rcx + 0x48]
mov rdx, qword [rcx + 0x50]
movzx r9d, byte [rcx + 0x18]
jmp 0x1400421c7
add r8, r10
mov qword [rcx + 8], r8
mov r10d, r9d
xor r9b, 1
test r8, r8
je 0x1400421f6
cmp r8, rdx
jae 0x1400421f0
cmp byte [rax + r8], 0xbf
jg 0x1400421f6
jmp 0x140042331
jne 0x140042331
cmp r8, rdx
je 0x1400422e9
movzx ebx, byte [rax + r8]
movzx r11d, bl
test r11b, r11b
jns 0x140042270
mov esi, r11d
and esi, 0x1f
movzx edi, byte [rax + r8 + 1]
and edi, 0x3f
cmp r11b, 0xdf
jbe 0x14004225a
movzx r11d, byte [rax + r8 + 2]
shl edi, 6
and r11d, 0x3f
or r11d, edi
cmp bl, 0xf0
jb 0x1400422b2
movzx edi, byte [rax + r8 + 3]
and esi, 7
shl esi, 0x12
shl r11d, 6
and edi, 0x3f
or edi, r11d
or edi, esi
mov r11d, edi
test r10b, 1
je 0x140042276
jmp 0x1400422be
shl esi, 6
or esi, edi
mov r11d, esi
nop word cs:[rax + rax]
test r10b, 1
jne 0x1400422be
mov r10d, 1
cmp r11d, 0x80
jb 0x1400421c0
mov r10d, 2
cmp r11d, 0x800
jb 0x1400421c0
cmp r11d, 0x10000
mov r10d, 4
sbb r10, 0
jmp 0x1400421c0
shl esi, 0xc
or r11d, esi
test r10b, 1
je 0x140042276
mov byte [rcx + 0x18], r9b
mov rdx, r8
jmp 0x1400422f3
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x30], 1
lea rcx, [rsp + 0x38]
call fcn.140042350
test byte [rsp + 0x38], 1
jne 0x140042309
jmp 0x140042327
mov byte [rcx + 0x18], r9b
test r10b, 1
je 0x140042315
mov qword [rsp + 0x40], rdx
mov eax, 1
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
je 0x140042327
mov rdx, qword [rsp + 0x40]
mov eax, 1
jmp 0x140042329
mov byte [rcx + 0x1a], 1
xor eax, eax
mov qword [rsp + 0x38], rax
test byte [rsp + 0x38], 1
jne 0x140042309
xor eax, eax
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
mov byte [rcx + 0x18], r9b
lea rcx, [0x1401ff6c0]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov r9, rdx
call fcn.1401f5b70
int3
Function at 0x140045490
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x140045526
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdet_rustc_f6e511eec7342f59a25f7c0534f1dbea00d01b14library_alloc_srccollections_btree_navigate.rs]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401fba70]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140038160
test rdi, rdi
je 0x1400455b5
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x1400455ce
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x1400456c6
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140045748
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x1400456d3
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140045590
cmp r9, 8
jae 0x1400456dc
jmp 0x140045748
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.140038160
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140045748
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140045748
mov r8, rcx
cmp r9, 8
jb 0x140045748
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x1400456e0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14006fad0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test byte [rdx], 1
je 0x14006fb10
lea rax, [rdx + 8]
cmp qword [rdx + 0x38], 0xffffffffffffffff
mov r8, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov r10, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
je 0x14006fc32
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x14006fc41
cmp byte [rdx + 0x1a], 0
jne 0x14006fc68
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
movzx r10d, byte [rdx + 0x18]
jmp 0x14006fb37
add r8, r11
mov qword [rdx + 8], r8
mov r11d, r10d
xor r10b, 1
test r8, r8
je 0x14006fb66
cmp r8, r9
jae 0x14006fb60
cmp byte [rax + r8], 0xbf
jg 0x14006fb66
jmp 0x14006fc76
jne 0x14006fc76
cmp r8, r9
je 0x14006fc4b
movzx ebx, byte [rax + r8]
movzx esi, bl
test sil, sil
js 0x14006fbc0
test r11b, 1
jne 0x14006fc29
mov r11d, 1
cmp esi, 0x80
jb 0x14006fb30
mov r11d, 2
cmp esi, 0x800
jb 0x14006fb30
cmp esi, 0x10000
mov r11d, 4
sbb r11, 0
jmp 0x14006fb30
mov edi, esi
and edi, 0x1f
movzx ebp, byte [rax + r8 + 1]
and ebp, 0x3f
cmp sil, 0xdf
jbe 0x14006fc07
movzx esi, byte [rax + r8 + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp bl, 0xf0
jb 0x14006fc1a
movzx ebx, byte [rax + r8 + 3]
and edi, 7
shl edi, 0x12
shl esi, 6
and ebx, 0x3f
or ebx, esi
or ebx, edi
mov esi, ebx
test r11b, 1
je 0x14006fb86
jmp 0x14006fc29
shl edi, 6
or edi, ebp
mov esi, edi
test r11b, 1
je 0x14006fb86
jmp 0x14006fc29
shl edi, 0xc
or esi, edi
test r11b, 1
je 0x14006fb86
mov byte [rdx + 0x18], r10b
mov r9, r8
jmp 0x14006fc55
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
mov rdx, rax
call fcn.14006f1d0
jmp 0x14006fc6d
mov byte [rdx + 0x18], r10b
test r11b, 1
je 0x14006fc64
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r9
mov eax, 1
jmp 0x14006fc6a
mov byte [rdx + 0x1a], 1
xor eax, eax
mov qword [rcx], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov byte [rdx + 0x18], r10b
lea rcx, str.XB__
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, r9
call fcn.1401f5b70
int3