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

Disassembly:
cmp rdx, r8
je 0x14001fe97
push rbx
sub rsp, 0x20
mov qword [rsp + 0x30], rdi
mov r11, r8
lea rdi, [0x140000000]
mov r10, rdx
mov rbx, rcx
movzx edx, byte [r10 + 9]
movzx eax, dl
and al, 7
cmp al, 3
jne case.0x14001fdea.8
xor dl, 7
mov byte [r10 + 9], dl
test dl, 0x20
je case.0x14001fdea.8
movzx eax, byte [r10 + 8]
add eax, 0xfffffffc
cmp eax, 0x22
ja case.0x14001fdea.8
cdqe
movzx eax, byte [rdi + rax + 0x1feac]
mov ecx, dword [rdi + rax*4 + 0x1fe98]
add rcx, rdi
jmp rcx
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
jmp case.0x14001fdea.8
mov rcx, qword [r10 + 0x10]
lea rax, [r10 + 0x18]
cmp rcx, rax
je 0x14001fe0d
and dl, 0xc7
jmp 0x14001fe13
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
test byte [rcx + 8], 0x40
je case.0x14001fdea.8
mov rdx, qword [rcx]
test byte [rdx + 9], 0x18
je case.0x14001fdea.8
mov rcx, rbx
call fcn.140020530
jmp case.0x14001fdea.8
cmp word [r10 + 0xa], 0
jne case.0x14001fdea.5
mov rax, qword [r10 + 0x18]
test rax, rax
je 0x14001fe57
test byte [rax + 9], 0x18
je 0x14001fe57
mov rdx, rax
mov rcx, rbx
call fcn.140020530
movzx edx, byte [r10 + 9]
and dl, 0xe7
or dl, 0x20
mov byte [r10 + 9], dl
jmp case.0x14001fdea.8
mov rcx, r10
call fcn.14001f1d0
mov rcx, qword [rbx + 0x88]
mov qword [rax], rcx
mov qword [rbx + 0x88], r10
and byte [r10 + 9], 0xc7
mov r10, qword [r10]
cmp r10, r11
jne 0x14001fda3
mov rdi, qword [rsp + 0x30]
add rsp, 0x20
pop rbx
ret
Function at 0x1400213b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
xor ebp, ebp
mov rcx, rdx
mov esi, ebp
mov r15d, ebp
mov r12d, r8d
mov rbx, rdx
call fcn.14002b280
movzx ecx, byte [rbx + 0xb]
mov r14d, 1
shl r14d, cl
test eax, eax
je 0x14002142d
mov r10d, ebp
mov r11d, eax
nop dword [rax]
mov rax, qword [rbx + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x140021423
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x140021423
mov rcx, rdi
mov esi, 1
call fcn.140020530
add r10, 0x10
sub r11, 1
jne 0x140021400
mov r11d, ebp
test r14d, r14d
je 0x1400214d2
nop dword [rax]
mov rdx, qword [rbx + 0x18]
mov ecx, r14d
sub ecx, r11d
mov eax, r11d
dec ecx
test r12d, r12d
cmovne eax, ecx
lea rcx, [rax + rax*2]
movzx eax, byte [rdx + rcx*8 + 8]
lea r10, [rdx + rcx*8]
movzx ecx, byte [rdx + rcx*8 + 9]
and cl, 0x40
test al, 0xf
jne 0x140021479
test cl, cl
je 0x1400214c6
mov byte [r10 + 9], 0xb
jmp 0x1400214c6
test cl, cl
je 0x1400214aa
mov rdx, qword [r10 + 0x10]
test rdx, rdx
je 0x1400214aa
movzx ecx, byte [rdx + 8]
movzx r8d, byte [rdx + 9]
and cl, 0xf
cmp cl, 4
jne 0x1400214f3
test r8b, 0x18
je 0x1400214aa
mov rcx, rdi
call fcn.140020530
movzx eax, byte [r10 + 8]
and al, 0x40
test al, al
je 0x1400214c6
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x1400214c6
mov rcx, rdi
mov esi, 1
call fcn.140020530
inc r11d
cmp r11d, r14d
jb 0x140021440
cmp byte [rdi + 0x65], 0
jne 0x140021512
mov rcx, qword [rdi + 0x90]
mov qword [rbx + 0x30], rcx
mov qword [rdi + 0x90], rbx
and byte [rbx + 9], 0xc7
jmp 0x140021583
and al, 0x40
test r8b, 0x18
je 0x1400214ac
mov ebp, 1
test al, al
je 0x1400214c6
mov rax, qword [r10]
test byte [rax + 9], 0x18
je 0x1400214c6
mov r15d, ebp
jmp 0x1400214c6
test r15d, r15d
je 0x14002152f
mov rax, qword [rdi + 0xa0]
mov qword [rbx + 0x30], rax
mov qword [rdi + 0xa0], rbx
and byte [rbx + 9], 0xc7
jmp 0x140021583
test ebp, ebp
je 0x14002154b
mov rax, qword [rdi + 0xa8]
mov qword [rbx + 0x30], rax
mov qword [rdi + 0xa8], rbx
and byte [rbx + 9], 0xc7
jmp 0x140021583
movzx eax, byte [rbx + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x140021579
mov rcx, rbx
call fcn.14001f1d0
mov rcx, qword [rdi + 0x90]
mov qword [rax], rcx
mov qword [rdi + 0x90], rbx
and byte [rbx + 9], 0xc7
jmp 0x140021583
cmp cl, 6
jne 0x140021583
xor al, 2
mov byte [rbx + 9], al
mov rbx, qword [rsp + 0x40]
mov eax, esi
mov rsi, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
ret
Function at 0x140021700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, rcx
mov eax, 1
movzx ecx, byte [rdx + 0xb]
mov rbx, rdx
shl eax, cl
mov rcx, rdx
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rbp, [rax + r8*8]
call fcn.14002b280
xor esi, esi
test eax, eax
je 0x140021778
mov r10d, esi
mov r11d, eax
nop word [rax + rax]
mov rax, qword [rbx + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x14002176e
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x14002176e
mov rcx, rdi
call fcn.140020530
add r10, 0x10
sub r11, 1
jne 0x140021750
mov r10, qword [rbx + 0x18]
cmp r10, rbp
jae 0x1400217d5
movzx eax, byte [r10 + 8]
movzx ecx, byte [r10 + 9]
test al, 0xf
jne 0x14002179b
test cl, 0x40
je 0x1400217cc
mov byte [r10 + 9], 0xb
jmp 0x1400217cc
test cl, 0x40
je 0x1400217b7
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x1400217b7
mov rcx, rdi
call fcn.140020530
movzx eax, byte [r10 + 8]
test al, 0x40
je 0x1400217cc
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x1400217cc
mov rcx, rdi
call fcn.140020530
add r10, 0x18
cmp r10, rbp
jb 0x140021781
movzx eax, byte [rbx + 9]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x140021840
movzx eax, byte [rbx + 8]
add eax, 0xfffffffb
cmp eax, 0x21
ja case.0x14002180b.9
lea rdx, [0x140000000]
cdqe
movzx eax, byte [rdx + rax + 0x21878]
mov ecx, dword [rdx + rax*4 + 0x21860]
add rcx, rdx
jmp rcx
lea rsi, [rbx + 0x30]
jmp case.0x14002180b.9
lea rsi, [rbx + 0x10]
jmp case.0x14002180b.9
lea rsi, [rbx + 0x48]
jmp case.0x14002180b.9
lea rsi, [rbx + 0x78]
jmp case.0x14002180b.9
lea rsi, [rbx + 0x20]
mov rax, qword [rdi + 0x90]
mov qword [rsi], rax
mov qword [rdi + 0x90], rbx
and byte [rbx + 9], 0xc7
jmp 0x14002184a
cmp cl, 6
jne 0x14002184a
xor al, 2
mov byte [rbx + 9], al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140024840
Capabilities:
Check http status code

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x110
mov rax, qword [0x1400988a8]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov r14, rdx
mov rbx, rcx
lea rdx, [rsp + 0x20]
call fcn.140023d20
mov r9, rax
test rax, rax
je 0x140024899
mov r8, qword [rsp + 0x20]
mov al, 3
sub r9, rbx
mov qword [r14], r8
mov byte [r14 + 8], al
lea rax, [r9 + 1]
jmp 0x140024a1a
lea rdx, [0x140077570]
mov rcx, rbx
call fcn.140051e20
test rax, rax
je 0x1400248d0
movzx edi, byte [rax]
or edi, 0x20
cmp edi, 0x6e
je 0x140024a18
cmp edi, 0x78
jne 0x1400248d2
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140024b80
jmp 0x1400248df
xor edi, edi
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140051d74
mov rcx, qword [rsp + 0x20]
lea rbp, [0x140076c40]
cmp rcx, rbx
je 0x140024925
movzx eax, byte [rcx]
test byte [rax + rbp + 1], 8
je 0x140024912
nop word [rax + rax]
inc rcx
mov qword [rsp + 0x20], rcx
movzx eax, byte [rcx]
test byte [rax + rbp + 1], 8
jne 0x140024900
xor r9d, r9d
cmp byte [rcx], r9b
cmove r9, rcx
test r9, r9
jne 0x140024a04
mov edx, 0x2e
mov rcx, rbx
call fcn.140043620
mov rsi, rax
test rax, rax
je 0x140024a18
mov rcx, 0xffffffffffffffff
inc rcx
cmp byte [rbx + rcx], 0
jne 0x140024945
cmp rcx, 0xc8
ja 0x140024a18
lea rdx, [rsp + 0x30]
mov rcx, rbx
sub rdx, rbx
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x140024970
call fcn.14004e868
sub rsi, rbx
lea rdx, [rsp + 0x20]
mov rcx, qword [rax]
movzx eax, byte [rcx]
lea rcx, [rsp + 0x30]
mov byte [rsp + rsi + 0x30], al
cmp edi, 0x78
jne 0x1400249a6
call fcn.140024b80
jmp 0x1400249ab
call fcn.140051d74
mov rcx, qword [rsp + 0x20]
lea rax, [rsp + 0x30]
cmp rcx, rax
je 0x140024a18
movzx eax, byte [rcx]
test byte [rax + rbp + 1], 8
je 0x1400249e2
nop dword [rax]
nop dword [rax + rax]
inc rcx
mov qword [rsp + 0x20], rcx
movzx eax, byte [rcx]
test byte [rax + rbp + 1], 8
jne 0x1400249d0
xor r9d, r9d
cmp byte [rcx], r9b
cmove r9, rcx
test r9, r9
je 0x140024a18
lea rcx, [rsp + 0x30]
mov rax, rbx
sub rax, rcx
add r9, rax
test r9, r9
je 0x140024a18
mov al, 0x13
movsd qword [r14], xmm0
sub r9, rbx
mov byte [r14 + 8], al
lea rax, [r9 + 1]
jmp 0x140024a1a
xor eax, eax
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.1400428d0
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140024b80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x20
mov qword [rsp + 0x50], rbx
mov r12, rdx
mov rbx, rcx
call fcn.14004e868
xor edi, edi
lea r13, [0x140076c40]
xorps xmm1, xmm1
mov r10d, edi
mov esi, edi
mov r9d, edi
mov r8, qword [rax]
mov r11d, edi
movsx r14d, byte [r8]
mov qword [r12], rbx
movzx eax, byte [rbx]
test byte [rax + r13 + 1], 8
je 0x140024bdf
nop
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r13 + 1], 8
jne 0x140024bd0
mov qword [rsp + 0x58], r15
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x140024bf6
mov r15d, ebp
jmp 0x140024bff
cmp al, 0x2b
mov r15d, edi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x50]
jne 0x140024d37
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x140024d37
movsd xmm2, qword [0x1400775e0]
add rdx, 2
nop word [rax + rax]
movzx r8d, byte [rdx]
movsx rcx, r8b
cmp ecx, r14d
jne 0x140024c4a
test r11d, r11d
jne 0x140024c9f
mov r11d, ebp
inc rdx
jmp 0x140024c30
test byte [r8 + r13 + 1], 0x10
je 0x140024c9f
test r10d, r10d
jne 0x140024c61
cmp r8b, 0x30
jne 0x140024c61
inc esi
jmp 0x140024c92
inc r10d
cmp r10d, 0x1e
jg 0x140024c8f
test byte [rcx + r13 + 1], 2
je 0x140024c77
add ecx, 0xffffffd0
jmp 0x140024c7d
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x140024c92
inc r9d
test r11d, r11d
je 0x140024c9a
dec r9d
inc rdx
jmp 0x140024c30
lea eax, [rsi + r10]
test eax, eax
je 0x140024d37
mov qword [r12], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x140024d1e
movzx ecx, byte [rdx + 1]
cmp cl, 0x2d
jne 0x140024cd0
mov eax, 2
jmp 0x140024cde
cmp cl, 0x2b
mov rax, rdi
mov ebp, edi
sete al
inc rax
lea r8, [rdx + rax]
movzx edx, byte [rdx + rax]
test byte [rdx + r13 + 1], 2
je 0x140024d37
nop
movsx eax, dl
lea edi, [rdi + rdi*4]
inc r8
lea edi, [rdi - 0x18]
lea edi, [rax + rdi*2]
movzx eax, byte [r8]
movzx edx, al
test byte [rax + r13 + 1], 2
jne 0x140024cf0
mov eax, edi
mov qword [r12], r8
neg eax
test ebp, ebp
cmove eax, edi
add r9d, eax
test r15d, r15d
je 0x140024d2a
xorps xmm1, xmmword [0x1400775f0]
mov edx, r9d
movaps xmm0, xmm1
call fcn.14004e6a0
jmp 0x140024d3a
xorps xmm0, xmm0
mov r15, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x20
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret

Function at 0x14002a010
Capabilities:
Encode data using xor

Disassembly:
mov eax, edx
mov r9, rcx
xor eax, r8d
test rdx, rdx
je 0x14002a03f
nop dword [rax]
movzx r8d, byte [r9 + rdx - 1]
mov ecx, eax
shl ecx, 5
add r8d, ecx
mov ecx, eax
shr ecx, 2
add r8d, ecx
xor eax, r8d
sub rdx, 1
jne 0x14002a020
ret
Function at 0x14002a2a0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbp
push rsi
sub rsp, 0x20
mov rsi, r8
mov rbp, rdx
cmp r8, 0x28
ja 0x14002a2c5
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
jmp fcn.140029d60
movabs rax, 0x7fffffffffffffdf
cmp rsi, rax
jae 0x14002a32d
mov rax, qword [rcx + 0x18]
add r8, 0x19
mov qword [rsp + 0x30], rbx
mov edx, 0x14
mov qword [rsp + 0x38], rdi
mov ebx, dword [rax + 0x60]
call fcn.14001f640
mov r8, rsi
mov rdx, rbp
mov rdi, rax
mov dword [rax + 0xc], ebx
lea rcx, [rax + 0x18]
mov byte [rax + 0xa], 0
mov byte [rax + rsi + 0x18], 0
mov qword [rax + 0x10], rsi
call fcn.1400446d0
mov rbx, qword [rsp + 0x30]
mov rax, rdi
mov rdi, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
call fcn.140023ac0
int3
Function at 0x1400382a0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x450
mov rax, qword [0x1400988a8]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov r13d, r8d
mov rbp, rdx
mov rbx, rcx
call fcn.140013a70
mov rcx, rbp
mov r15d, eax
call fcn.140055140
mov rcx, rbx
sub r15d, 1
jne 0x14003831c
mov r8d, 1
mov rdx, rbp
call fcn.140038ad0
mov esi, eax
lea r14d, [r13 + 1]
mov rcx, rbp
call fcn.14004d400
test eax, eax
je 0x1400384a5
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call fcn.140032fa0
jmp 0x1400384c2
lea edx, [r15 + 0x14]
lea r8, str.too_many_arguments
call fcn.140032c80
mov esi, 1
mov r14d, r13d
dec r15d
test esi, esi
je 0x1400382fa
mov edx, r14d
mov rcx, rbx
call fcn.140014bb0
mov edx, r14d
mov rcx, rbx
cmp eax, 3
jne 0x1400383e0
call fcn.140032a60
mov rdi, rax
test rax, rax
jne 0x140038393
mov rcx, rbp
call fcn.1400545b4
mov rdx, rbp
mov ecx, eax
mov edi, eax
call fcn.1400567a8
lea rdx, [0x140076598]
mov rcx, rbx
call fcn.1400140c0
xor esi, esi
cmp edi, 0xffffffff
setne sil
jmp 0x140038483
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400329b0
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.1400338b0
mov r9, rbp
mov r8, rdi
mov edx, 1
mov rcx, rax
call fcn.14004d68c
add qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov rdi, rax
call fcn.1400338c0
xor esi, esi
test rdi, rdi
setne sil
jmp 0x140038483
xor r8d, r8d
call fcn.140032af0
movzx ecx, byte [rax]
cmp cl, 0x2a
jne 0x1400383f4
movzx ecx, byte [rax + 1]
cmp cl, 0x4c
je 0x140038473
cmp cl, 0x61
je 0x140038421
cmp cl, 0x6c
je 0x140038419
cmp cl, 0x6e
mov rcx, rbx
jne 0x140038494
mov rdx, rbp
call fcn.140038c00
jmp 0x140038481
mov r8d, 1
jmp 0x140038476
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.1400329b0
nop
mov edx, 0x400
lea rcx, [rsp + 0x20]
call fcn.1400338b0
mov r9, rbp
mov edx, 1
mov r8d, 0x400
mov rcx, rax
call fcn.14004d68c
add qword [rsp + 0x30], rax
cmp rax, 0x400
je 0x140038430
lea rcx, [rsp + 0x20]
call fcn.1400338c0
mov esi, 1
jmp 0x140038483
xor r8d, r8d
mov rdx, rbp
mov rcx, rbx
call fcn.140038ad0
mov esi, eax
inc r14d
test r15d, r15d
jne 0x140038334
jmp 0x1400382fa
lea r8, str.invalid_format
mov edx, r14d
call fcn.1400328a0
jmp 0x1400384c2
test esi, esi
jne 0x1400384bc
lea edx, [rsi - 2]
mov rcx, rbx
call fcn.140014720
mov rcx, rbx
call fcn.140014090
sub r14d, r13d
mov eax, r14d
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.1400428d0
add rsp, 0x450
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14005a0bc
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140059f4f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140059f4f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140059f4f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140059f4f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140059f4f
cmp dword [rcx + 0x84], 0xe
jbe 0x140059f4f
cmp dword [rcx + 0xf8], 0
je 0x140059f4f
mov ecx, ebx
call fcn.140059ff0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140059de0
cmp dword [rbp + 0x20], 0
je 0x140059f9c
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140059fa4
int3
xor r8d, r8d
xor edx, edx
jmp 0x140059ee8

Function at 0x14006b348
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14006b368
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400542ac
or eax, 0xffffffff
jmp 0x14006b36a
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400049d0
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 + 0x3d0], rcx
mov qword [rbp + 0x3d8], 0
mov qword [rbp + 0x3e0], 2
mov qword [rbp + 0x3e8], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3c8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x140004a70
jmp 0x140004a5f
jae 0x140004b2f
cmp r8, 0x201
jae 0x140004a70
mov r14d, 0x200
lea r15, [rbp - 0x58]
mov r12, r8
jmp 0x140004ac7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x140004a9f
lea rcx, [rbp + 0x3d8]
mov rdx, rbx
call fcn.14001c050
mov rsi, qword [rbp + 0x3d8]
mov rax, qword [rbp + 0x3e0]
mov qword [rbp + 0x3c8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x3e8], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3c8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x140004af0
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140004b9b
mov r8d, r13d
cmp r12, r8
jne 0x140004a50
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140004bcf
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x140004a5f
jmp 0x140004a70
cmp r14, r8
jb 0x140004be9
lea rcx, [rbp + 0x3a8]
mov rdx, r15
call fcn.140006c70
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3d0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
je 0x140004b84
mov rcx, qword [rbp + 0x3e0]
add rdx, rdx
mov r8d, 2
call fcn.1400024a0
mov rax, rsi
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 rsi, qword [rbp + 0x3d0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3d8]
test rdx, rdx
jne 0x140004b6f
jmp 0x140004b84
lea rcx, str.internal_error:_entered_unreachable_code_rustc_129f3b9964af4d4a709d1383930ade12dfe7c081library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.14001ce40
jmp 0x140004bfe
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.14001d190
ud2
Function at 0x14000c3b0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov rsi, rcx
movups xmm0, xmmword [0x140020860]
movaps xmmword [rbp], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x14000c3e8
mov rcx, qword [rbp + 0x60]
mov qword [rbp - 0x30], rcx
test r9, r9
mov qword [rbp - 0x38], r9
lea rcx, [rbp - 0x30]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
mov rax, rbp
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14000c446
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [rbp]
cmp eax, 0x103
je 0x14000c473
test eax, eax
js 0x14000c452
mov rdx, qword [rbp + 8]
xor eax, eax
jmp 0x14000c469
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xa8
pop rsi
pop rbp
ret
mov dword [rbp + 0x18], 0
mov byte [rbp + 0x1c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 1
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
lea rcx, [rbp + 0x18]
lea rdx, [rbp - 0x38]
call fcn.140006a40
mov qword [rbp - 8], rax
lea rcx, [rbp - 8]
call fcn.140002fe0
mov ecx, 7
int 0x29
ud2
Function at 0x14001a040
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
test r8, r8
je 0x14001a0ca
mov rax, rdx
mov rdx, qword [rbp + 0x50]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x14001a0c0
cmp r11, r10
ja 0x14001a146
cmp r10, rdx
ja 0x14001a158
add r11, r9
xor ebx, ebx
nop word cs:[rax + rax]
cmp rdi, rbx
je 0x14001a0c2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x14001a0a0
jmp 0x14001a127
ja 0x14001a0ca
mov r11, r10
cmp rax, r8
jne 0x14001a067
mov rdx, qword [rbp + 0x60]
test rdx, rdx
je 0x14001a12b
mov r8, qword [rbp + 0x58]
add rdx, r8
movzx ecx, cx
mov al, 1
nop
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x14001a100
mov r8, r10
sub ecx, r9d
jns 0x14001a11e
jmp 0x14001a12d
cmp r10, rdx
je 0x14001a13a
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x14001a12d
xor al, 1
cmp r8, rdx
jne 0x14001a0e0
jmp 0x14001a12d
xor eax, eax
jmp 0x14001a12d
mov al, 1
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14001cd40
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14001d1a0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14001d190
int3

Function at 0x14001ba48
Capabilities:
Parse pe header

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