joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400a3690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov r12, r8
mov r14, rdx
mov bl, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x1400a36f0
movzx edx, word [rbp + 0x60]
movzx ebx, bl
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], ebx
mov word [rsp + 0x20], dx
mov rdx, r14
mov r8, r12
call qword [0x1400fd008]
mov rax, r14
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea rsi, [rbp - 0x20]
mov rcx, r9
mov rdx, rsi
call fcn.140050850
lea rdx, [0x1400f0a78]
mov rcx, rsi
call fcn.140051060
mov rsi, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x1400a3730
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x1400fd008]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rbp - 0x20]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x1400d09d0]
movaps xmmword [r15], xmm0
mov rax, qword [rsi]
xor bl, 1
movzx ecx, bl
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, rsi
mov rdx, r15
call qword [0x1400fd008]
movzx esi, byte [r15 + 0x17]
test sil, sil
mov rcx, qword [r15]
mov rdx, qword [r15 + 8]
mov rax, rsi
cmovs rax, rdx
test rax, rax
je 0x1400a37ff
test sil, sil
mov rbx, rcx
cmovns rbx, r15
test r12, r12
je 0x1400a37e2
movzx eax, word [rbx]
mov rcx, qword [r12 + 0x30]
cmp rcx, qword [r12 + 0x38]
je 0x1400a37e7
lea rdx, [rcx + 2]
mov qword [r12 + 0x30], rdx
mov word [rcx], ax
cmp ax, 0xffff
jne 0x1400a37b5
xor r12d, r12d
mov sil, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov rdx, qword [rbp - 0x18]
add rbx, 2
test sil, sil
mov rax, r15
cmovs rax, rcx
movzx edi, sil
cmovs rdi, rdx
lea rax, [rax + rdi*2]
cmp rbx, rax
jne 0x1400a378c
jmp 0x1400a37ff
xor r12d, r12d
jmp 0x1400a37c1
mov rcx, qword [r12]
mov rsi, qword [rcx + 0x60]
mov rcx, r12
mov edx, eax
mov rax, rsi
call qword [0x1400fd008]
jmp 0x1400a37ac
shr sil, 7
mov qword [r14], r12
test sil, sil
je 0x1400a36de
call fcn.1400698a8
jmp 0x1400a36de
Function at 0x1400b46f0
Capabilities:
Encode data using base64

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r14, rcx
mov edi, 2
cmp rdx, 1
jne 0x1400b472a
mov rsi, qword [r14 + 8]
cmp rdi, rsi
ja 0x1400b4825
jae 0x1400b481b
mov rax, qword [r14 + 0x18]
test rax, rax
js 0x1400b4745
cvtsi2ss xmm0, rax
jmp 0x1400b475a
lea rax, [rdx - 1]
test rdx, rax
jne 0x1400b4738
mov rdi, rdx
jmp 0x1400b4707
mov rcx, rdx
call fcn.14004ffc0
mov rdi, rax
jmp 0x1400b4707
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [r14 + 0x20]
call fcn.140096b60
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1400d1320]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rsi, 3
jb 0x1400b4807
mov rcx, rsi
shr rcx, 1
movabs rdx, 0x5555555555555555
and rdx, rcx
mov rbx, rsi
sub rbx, rdx
movabs rdx, 0x3333333333333333
mov rcx, rbx
shr rcx, 2
and rbx, rdx
and rcx, rdx
add rcx, rbx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x1400b4807
cmp rax, 2
jb 0x1400b480f
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x1400b480f
mov rcx, rax
call fcn.14004ffc0
cmp rdi, rax
cmovbe rdi, rax
cmp rdi, rsi
jb 0x1400b4825
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, r14
mov rdx, rdi
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
jmp 0x14009ba20
Function at 0x1400b4c40
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x1400e4028]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1400b4cbf
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, esi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1400b4cc4
test bl, bl
je 0x1400b4c9b
cmp byte [rdi + 8], 0
je 0x1400b4d20
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
mov edx, esi
call fcn.140034500
mov sil, 1
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.14006ac50
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rdi]
jmp 0x1400b4c6d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rdi + 8], 0
je 0x1400b4cec
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400b4cf1
xor esi, esi
jmp 0x1400b4ca8
mov rcx, qword [rdi]
jmp 0x1400b4cd9
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rdi + 8], 0
je 0x1400b4d28
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x1400b4c9b
mov esi, dword [rsp + 0x24]
jmp 0x1400b4c9b
mov rcx, qword [rdi]
jmp 0x1400b4c90
mov rcx, qword [rdi]
jmp 0x1400b4d08
Function at 0x14000c180
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r11, rdx
mov r14, qword [rsp + 0x90]
mov r15, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rdi, r11
movzx esi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rsi]
cmp byte [rdi], bpl
jne 0x14000c200
cmp r10, rax
jb 0x14000c274
cmp r10, rdx
ja 0x14000c288
add rax, r9
xor edi, edi
nop
cmp rsi, rdi
je 0x14000c202
lea rbx, [rdi + 1]
cmp byte [rax + rdi], cl
mov rdi, rbx
jne 0x14000c1e0
jmp 0x14000c263
ja 0x14000c20a
mov rax, r10
cmp r11, r8
jne 0x14000c1b2
add r14, r15
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [r15 + 1]
movzx edx, byte [r15]
test dl, dl
js 0x14000c240
mov r15, rbx
sub ecx, edx
jns 0x14000c25a
jmp 0x14000c265
cmp rbx, r14
je 0x14000c299
movzx ebp, byte [r15 + 1]
add r15, 2
and edx, 0x7f
shl edx, 8
or edx, ebp
sub ecx, edx
js 0x14000c265
xor al, 1
cmp r15, r14
jne 0x14000c220
jmp 0x14000c265
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, rax
mov rdx, r10
call fcn.140035a90
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140035890
ud2
lea rcx, str.called__Option::unwrap____on_a__None__value_rustc_2c8cc343237b8f7d5a3c3703e3a87f2eb2c54a74library_alloc_srccollections_btreemapentry.rs
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.1400358a0
ud2
Function at 0x14000e633
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
not ecx
lea r10, [0x140058b88]
mov r9d, 0xff
cmp r8, 0x40
jb 0x14000e775
mov r11, r8
shr r11, 4
xor eax, eax
cmp rax, 0x40
je 0x14000e76a
sub r11, 1
jb 0x14000e79c
movzx edi, byte [rdx + rax + 0xf]
movzx esi, byte [rdx + rax + 0xe]
mov esi, dword [r10 + rsi*4 + 0x400]
xor esi, dword [r10 + rdi*4]
movzx edi, byte [rdx + rax + 0xd]
xor esi, dword [r10 + rdi*4 + 0x800]
movzx edi, byte [rdx + rax + 0xc]
xor esi, dword [r10 + rdi*4 + 0xc00]
movzx edi, byte [rdx + rax + 0xb]
xor esi, dword [r10 + rdi*4 + 0x1000]
movzx edi, byte [rdx + rax + 0xa]
xor esi, dword [r10 + rdi*4 + 0x1400]
movzx edi, byte [rdx + rax + 9]
xor esi, dword [r10 + rdi*4 + 0x1800]
movzx edi, byte [rdx + rax + 8]
xor esi, dword [r10 + rdi*4 + 0x1c00]
movzx edi, byte [rdx + rax + 7]
xor esi, dword [r10 + rdi*4 + 0x2000]
movzx edi, byte [rdx + rax + 6]
xor esi, dword [r10 + rdi*4 + 0x2400]
movzx edi, byte [rdx + rax + 5]
xor esi, dword [r10 + rdi*4 + 0x2800]
movzx edi, byte [rdx + rax + 4]
xor esi, dword [r10 + rdi*4 + 0x2c00]
movzx edi, byte [rdx + rax + 3]
mov ebx, ecx
shr ebx, 0x18
xor rbx, rdi
xor esi, dword [r10 + rbx*4 + 0x3000]
movzx edi, byte [rdx + rax + 2]
mov ebx, ecx
shr ebx, 0x10
and ebx, r9d
xor rbx, rdi
xor esi, dword [r10 + rbx*4 + 0x3400]
movzx edi, byte [rdx + rax + 1]
mov ebx, ecx
shr ebx, 8
and ebx, r9d
xor rbx, rdi
xor esi, dword [r10 + rbx*4 + 0x3800]
movzx edi, byte [rdx + rax]
and ecx, r9d
xor rcx, rdi
xor esi, dword [r10 + rcx*4 + 0x3c00]
add rax, 0x10
mov ecx, esi
jmp 0x14000e65c
sub r8, rax
add rdx, rax
jmp 0x14000e649
xor esi, esi
cmp r8, rsi
je 0x14000e790
mov al, byte [rdx + rsi]
xor al, cl
movzx eax, al
shr ecx, 8
xor ecx, dword [r10 + rax*4]
inc rsi
jmp 0x14000e777
not ecx
mov eax, ecx
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
sub r8, rax
lea rax, [0x14005cbf0]
mov ecx, 0xf
mov rdx, r8
mov r8, rax
call fcn.140035800
ud2
Function at 0x14000ee4a
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov r12, rdx
mov rbx, rcx
mov byte [rdx + 0xf0], 0xa
mov edx, 4
call fcn.14000efa2
mov edi, eax
mov dword [r12], eax
lea rcx, [rbx + 4]
mov edx, 4
call fcn.14000efa2
mov dword [r12 + 4], eax
lea rcx, [rbx + 8]
mov edx, 4
call fcn.14000efa2
mov dword [r12 + 8], eax
add rbx, 0xc
mov edx, 4
mov rcx, rbx
call fcn.14000efa2
mov dword [r12 + 0xc], eax
xor ecx, ecx
lea r8, [0x14005cf88]
mov r15d, 0xff
lea r9, [0x14005d388]
lea r10, [0x14005d788]
lea r11, [0x14005db88]
lea r14, [0x14005df88]
mov esi, eax
mov rdx, rsi
shr rdx, 0xe
and edx, 0x3fc
movzx edx, byte [rdx + r8 + 3]
shl edx, 0x18
xor edx, edi
mov rdi, rsi
shr rdi, 8
and rdi, r15
movzx edi, byte [r9 + rdi*4 + 2]
shl edi, 0x10
mov rbx, rsi
and rbx, r15
movzx ebx, byte [r10 + rbx*4 + 1]
shl ebx, 8
xor ebx, edi
xor ebx, edx
shr rsi, 0x18
movzx edi, byte [r11 + rsi*4]
xor edi, ebx
xor edi, dword [rcx + r14]
mov dword [r12 + rcx*4 + 0x10], edi
mov edx, dword [r12 + rcx*4 + 4]
xor edx, edi
mov dword [r12 + rcx*4 + 0x14], edx
xor edx, dword [r12 + rcx*4 + 8]
mov dword [r12 + rcx*4 + 0x18], edx
xor eax, edx
mov dword [r12 + rcx*4 + 0x1c], eax
add rcx, 4
cmp rcx, 0x28
jne 0x14000eedb
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140016560
Capabilities:
Encode data using xor

Disassembly:
cmp rdx, 0x20
jae 0x14001657b
test rdx, rdx
je 0x140016580
cmp rdx, 4
jae 0x140016583
xor eax, eax
mov r8, rcx
jmp 0x1400166e4
jmp fcn.140009690
xor eax, eax
ret
mov r8, rdx
and r8, 0xfffffffffffffffc
lea rax, [r8 - 4]
mov r9, rax
shr r9, 2
inc r9
test rax, rax
je 0x140016709
mov r10, r9
and r10, 0xfffffffffffffffe
pxor xmm0, xmm0
xor r11d, r11d
movdqa xmm2, xmmword [0x140037430]
movdqa xmm3, xmmword [0x140037440]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx eax, word [rcx + r11]
movd xmm4, eax
movzx eax, word [rcx + r11 + 2]
movd xmm5, eax
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm4, xmm0
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm0, xmm5, 0xd4
pshufd xmm5, xmm0, 0xd4
pand xmm5, xmm3
paddq xmm5, xmm1
movzx eax, word [rcx + r11 + 4]
movd xmm0, eax
movzx eax, word [rcx + r11 + 6]
movd xmm1, eax
pcmpgtb xmm0, xmm2
punpcklbw xmm0, xmm0
pshuflw xmm0, xmm0, 0xd4
pshufd xmm0, xmm0, 0xd4
pand xmm0, xmm3
paddq xmm0, xmm4
pcmpgtb xmm1, xmm2
punpcklbw xmm1, xmm1
pshuflw xmm1, xmm1, 0xd4
pshufd xmm1, xmm1, 0xd4
pand xmm1, xmm3
paddq xmm1, xmm5
add r11, 8
add r10, 0xfffffffffffffffe
jne 0x1400165d0
test r9b, 1
je 0x1400166ca
movzx eax, word [rcx + r11]
movd xmm2, eax
movzx eax, word [rcx + r11 + 2]
movd xmm3, eax
movdqa xmm4, xmmword [0x140037430]
pcmpgtb xmm2, xmm4
punpcklbw xmm2, xmm2
pshuflw xmm2, xmm2, 0xd4
pshufd xmm2, xmm2, 0xd4
movdqa xmm5, xmmword [0x140037440]
pand xmm2, xmm5
paddq xmm0, xmm2
pcmpgtb xmm3, xmm4
punpcklbw xmm3, xmm3
pshuflw xmm2, xmm3, 0xd4
pshufd xmm2, xmm2, 0xd4
pand xmm2, xmm5
paddq xmm1, xmm2
paddq xmm0, xmm1
pshufd xmm1, xmm0, 0xee
paddq xmm1, xmm0
movq rax, xmm1
cmp r8, rdx
je 0x140016708
add r8, rcx
add rcx, rdx
nop word [rax + rax]
xor edx, edx
cmp byte [r8], 0xc0
lea r9, [r8 + 1]
setge dl
add rax, rdx
mov r8, r9
cmp r9, rcx
jne 0x1400166f0
ret
pxor xmm0, xmm0
xor r11d, r11d
pxor xmm1, xmm1
test r9b, 1
jne 0x140016673
jmp 0x1400166ca
Function at 0x1400169f0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rdi, qword [rcx]
test rdi, rdi
je 0x140016a42
mov r11, qword [rsi + 8]
mov r9, qword [rsi + 0x10]
cmp r9, r11
jae 0x140016a42
movzx eax, byte [rdi + r9]
cmp eax, 0x49
je 0x140016a5d
cmp eax, 0x42
jne 0x140016a42
lea rcx, [r9 + 1]
mov qword [rsi + 0x10], rcx
cmp rcx, r11
jae 0x140016a9a
cmp byte [rdi + rcx], 0x5f
jne 0x140016a9a
lea rax, [r9 + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x140016b92
mov rcx, rsi
xor edx, edx
call fcn.140012450
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc r9
mov qword [rsi + 0x10], r9
mov rcx, rsi
xor edx, edx
call fcn.140012450
test al, al
jne 0x140016a95
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140016b0c
lea rdx, [0x140060ffb]
mov r8d, 1
call fcn.140009e60
test al, al
je 0x140016b0c
mov dil, 2
jmp 0x140016a51
xor eax, eax
mov r10d, 0x3e
nop word cs:[rax + rax]
mov r8b, 1
cmp rcx, r11
jae 0x140016bec
movzx edx, byte [rdi + rcx]
cmp dl, 0x5f
je 0x140016b86
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x140016aef
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x140016ade
add dl, 0xa9
jmp 0x140016aed
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x140016bec
add dl, 0xe3
mov ebx, edx
inc rcx
mov qword [rsi + 0x10], rcx
mul r10
jo 0x140016bec
movzx edx, bl
add rax, rdx
jae 0x140016ab0
jmp 0x140016bec
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x140016a51
xor ebx, ebx
lea r14, [0x1400613d6]
nop word cs:[rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x140016b44
cmp byte [rax + rcx], 0x45
je 0x140016c44
sub rbx, 1
jb 0x140016b69
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140016b69
mov r8d, 2
mov rdx, r14
call fcn.140009e60
test al, al
jne 0x140016a95
mov rcx, rsi
call fcn.140016c50
test al, al
jne 0x140016a95
mov rax, qword [rsi]
test rax, rax
jne 0x140016b30
jmp 0x140016a51
inc rcx
mov qword [rsi + 0x10], rcx
inc rax
je 0x140016bec
cmp rax, r9
jae 0x140016be9
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
ja 0x140016c3d
cmp qword [rsi + 0x20], 0
je 0x140016c36
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.1400169f0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140016a53
mov r8b, 1
xor ebx, ebx
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x140016c2c
lea rax, [0x1400613a1]
lea rdx, str.recursion_limit_reachedinvalid_syntax
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.140009e60
mov dil, 2
test al, al
jne 0x140016a51
mov qword [rsi], 0
mov byte [rsi + 8], bl
xor edi, edi
jmp 0x140016a51
mov bl, 1
xor r8d, r8d
jmp 0x140016bee
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x140016a51
Function at 0x14001c7c0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x478
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x3f0], 0xfffffffffffffffe
mov qword [rbp + 0x3e0], rcx
mov qword [rbp + 0x3c8], 0
mov qword [rbp + 0x3d0], 2
mov qword [rbp + 0x3d8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor r12d, r12d
xor r15d, r15d
xor ebx, ebx
cmp r8, 0x201
jae 0x14001c860
jmp 0x14001c84f
jae 0x14001c91e
cmp r8, 0x201
jae 0x14001c860
lea rdi, [rbp - 0x58]
mov r13d, 0x200
mov rsi, r8
jmp 0x14001c8b7
sub r8, rbx
sub r15, rbx
cmp r15, r8
jae 0x14001c88f
lea rcx, [rbp + 0x3c8]
mov rdx, rbx
call fcn.1400365f0
mov r12, qword [rbp + 0x3c8]
mov rax, qword [rbp + 0x3d0]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp r12, rax
mov ebx, 0xffffffff
cmovb rbx, r12
mov qword [rbp + 0x3d8], rbx
mov r15, r12
mov rdi, qword [rbp + 0x3e8]
mov r13, rbx
mov rsi, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, esi
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x14001c8df
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x14001c97d
mov r8d, r14d
cmp rsi, r8
jne 0x14001c840
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14001c9a0
add rsi, rsi
mov eax, 0xffffffff
cmp rsi, rax
cmovae rsi, rax
mov r8, rsi
cmp r8, 0x201
jb 0x14001c84f
jmp 0x14001c860
cmp r13, r8
jb 0x14001c9ba
lea rcx, [rbp + 0x3a8]
mov rdx, rdi
call fcn.14001d220
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rax, qword [rbp + 0x3e0]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
test r12, r12
je 0x14001c968
mov edx, 2
mov rcx, qword [rbp + 0x3e8]
call fcn.1400052b0
nop
add rsp, 0x478
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rcx, qword [rbp + 0x3e0]
mov qword [rcx], rax
mov byte [rcx + 0x18], 2
test r12, r12
jne 0x14001c957
jmp 0x14001c968
lea rcx, str.internal_error:_entered_unreachable_code
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.1400358a0
jmp 0x14001c9cf
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, r13
mov r8, rax
call fcn.140035890
ud2
Function at 0x14001e760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x38]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x14001e793
test ecx, ecx
jne 0x14001e7e2
movzx r15d, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14001e7a0
test ecx, ecx
jne 0x14001e7e2
mov rcx, rdi
call fcn.14001e640
movzx r10d, al
test bl, bl
jne 0x14001e7e9
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x14001e7d6.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x14001e95c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x14001e7d6.2
xor r10d, r10d
test bl, bl
je 0x14001e7b0
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x14001e93e
mov r11, qword [rdi]
lea r9, [r11 + rcx]
movzx r8d, byte [rdi + 0x10]
cmp rdx, rcx
jne 0x14001e81b
xor edi, edi
jmp 0x14001e898
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x14001e860
nop word cs:[rax + rax]
cmp byte [rax], 0x5c
je 0x14001e87b
inc rsi
dec rax
cmp rsi, 1
jne 0x14001e840
jmp 0x14001e898
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x14001e87b
cmp ebx, 0x5c
je 0x14001e87b
inc rsi
dec rax
cmp rsi, 1
jne 0x14001e860
jmp 0x14001e898
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x14001e94c
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x14001e8c2
mov al, 9
cmp rdx, 2
je 0x14001e8c6
cmp rdx, 1
jne 0x14001e8d6
cmp byte [r9], 0x2e
jne 0x14001e8d6
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x14001e8d6
mov al, 0xa
jmp 0x14001e8d6
cmp byte [r9], 0x2e
jne 0x14001e8d6
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x14001e7d6.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x14001e7d6.2
mov esi, 2
jmp case.0x14001e7d6.2
lea r8, str.library_std_srcpath.rs
call fcn.140035880
ud2
lea r8, str.library_std_srcpath.rs
call fcn.140035880
ud2
Function at 0x14002c310
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
lea rcx, [rbp - 0x30]
call fcn.140021a20
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x14002c35f
mov rbx, qword [rbp - 0x30]
mov r14, qword [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002c3c2
mov qword [rsi], rbx
mov qword [rsi + 8], rdi
mov qword [rsi + 0x10], r14
jmp 0x14002c3b7
mov rdx, qword [rbp - 0x30]
mov eax, edx
and eax, 3
cmp eax, 1
jne 0x14002c3af
lea rax, [rdx - 1]
mov qword [rbp - 0x18], rax
mov rcx, qword [rdx - 1]
mov qword [rbp - 0x10], rdx
mov rax, qword [rdx + 7]
call qword [rax]
mov rax, qword [rbp - 0x10]
mov rax, qword [rax + 7]
cmp qword [rax + 8], 0
mov rdi, qword [rbp - 0x18]
je 0x14002c3a2
mov rdx, qword [rax + 0x10]
mov rcx, qword [rdi]
call fcn.1400052b0
mov edx, 8
mov rcx, rdi
call fcn.1400052b0
mov qword [rsi + 8], 0
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
mov qword [rsi + 8], 0
test rbx, rbx
je 0x14002c3b7
mov edx, 2
mov rcx, rdi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
jmp fcn.1400052b0
Function at 0x14002f110
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
mov eax, 0x1098
call fcn.140034da0
sub rsp, rax
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x1000], xmm6
mov qword [rbp + 0xff8], 0xfffffffffffffffe
mov rsi, rdx
mov rbx, rcx
mov qword [rbp + 0xfb0], rcx
mov qword [rbp + 0xfb8], rdx
lea rdi, [rbp - 0x50]
mov r8d, 0x1000
mov rcx, rdi
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xfe8], 0
xorps xmm6, xmm6
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
lea r13, [0x140025310]
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xfc0]
mov qword [rbp + 0xfe0], rbx
mov rcx, rbx
mov rdx, rdi
mov r8d, 0x1000
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x14002f315
mov r14, qword [sym.imp.KERNEL32.dll_SleepEx]
mov r15d, 0xffffffff
lea rbx, [rbp + 0xfc0]
mov ecx, 0xffffffff
mov edx, 1
call r14
cmp dword [rbp + 0xfe8], 1
jne 0x14002f1e0
cmp dword [rbp + 0xfec], 0
jne 0x14002f31b
mov eax, dword [rbp + 0xff0]
test rax, rax
je 0x14002f31b
cmp eax, 0x1000
ja 0x14002f366
xor edi, edi
nop
cmp rdi, rax
ja 0x14002f34b
lea rdx, [rdi + rbp]
add rdx, 0xffffffffffffffb0
mov r12, rax
mov r8, rax
sub r8, rdi
cmp r8, r15
cmovae r8, r15
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
mov qword [rsp + 0x20], r13
mov rcx, rsi
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_WriteFileEx]
test eax, eax
je 0x14002f315
nop word cs:[rax + rax]
mov ecx, 0xffffffff
mov edx, 1
call r14
cmp dword [rbp + 0xfe8], 1
jne 0x14002f290
cmp dword [rbp + 0xfec], 0
jne 0x14002f31b
mov eax, dword [rbp + 0xff0]
add rdi, rax
mov rax, r12
cmp rdi, r12
jne 0x14002f220
mov dword [rbp + 0xfe8], 0
movaps xmmword [rbp + 0xfc0], xmm6
mov qword [rbp + 0xfd0], 0
lea rax, [rbp + 0xfe8]
mov qword [rbp + 0xfd8], rax
mov qword [rsp + 0x20], r13
mov rcx, qword [rbp + 0xfe0]
lea rdx, [rbp - 0x50]
mov r8d, 0x1000
mov r9, rbx
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x14002f1e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xfe0]
call rdi
mov rcx, rsi
call rdi
movaps xmm6, xmmword [rbp + 0x1000]
add rsp, 0x1098
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
lea r8, str.library_std_src_syswindowspipe.rs
mov rcx, rdi
mov qword [rbp + 0xfe0], rax
mov rdx, rax
call fcn.140035a90
jmp 0x14002f381
lea r8, str.library_std_src_syswindowspipe.rs
mov edx, 0x1000
mov qword [rbp + 0xfe0], rax
mov rcx, rax
call fcn.140035890
ud2