joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ecd0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x43ee32
sub rsp, 0x68
mov qword [rsp + 0x60], rbp
lea rbp, [rsp + 0x60]
mov rax, qword [rsp + 0x70]
mov ecx, dword [rax + 0x14]
mov qword [rsp], rax
mov rdx, qword [rsp + 0x78]
mov qword [rsp + 8], rdx
mov dword [rsp + 0x10], ecx
mov rcx, qword [rsp + 0x80]
mov qword [rsp + 0x18], rcx
mov rbx, qword [rsp + 0x88]
mov qword [rsp + 0x20], rbx
mov byte [rsp + 0x28], 1
call fcn.0043e350
mov eax, dword [rsp + 0x30]
test eax, 7
jne 0x43ed52
mov dword [rsp + 0x90], eax
mov rbp, qword [rsp + 0x60]
add rsp, 0x68
ret
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x70]
mov qword [rsp], rax
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 8], rcx
call fcn.0043e910
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x10]
mov qword [rsp + 0x58], rcx
mov rdx, qword [rsp + 0x70]
mov rbx, qword [rdx]
mov qword [rsp + 0x48], rbx
movsxd rdx, dword [rdx + 0x14]
mov qword [rsp + 0x40], rdx
call fcn.00429450
lea rax, [0x00485d23]
mov qword [rsp], rax
mov qword [rsp + 8], 0x10
call fcn.00429df0
mov rax, qword [rsp + 0x58]
mov qword [rsp], rax
mov rax, qword [rsp + 0x50]
mov qword [rsp + 8], rax
call fcn.00429df0
call fcn.004296b0
mov rax, qword [rsp + 0x48]
mov qword [rsp], rax
call fcn.00429c90
call fcn.004296b0
mov rax, qword [rsp + 0x80]
mov qword [rsp], rax
call fcn.00429c90
call fcn.004296b0
mov rax, qword [rsp + 0x40]
mov qword [rsp], rax
call fcn.00429c90
call fcn.004296b0
mov eax, dword [rsp + 0x3c]
movsxd rcx, eax
mov qword [rsp], rcx
call fcn.00429c20
call fcn.00429700
call fcn.004294e0
mov eax, dword [rsp + 0x3c]
jmp 0x43ed41
call fcn.0044bf70
jmp fcn.0043ecd0

Function at 0x43f5d0
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
nop
inc dword [rax + 0x244]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rcx, qword [rax + 0x30]
nop
nop
mov rdx, rax
mov qword [rcx + 0x138], rax
nop
mov rax, qword [rdx + 0x30]
mov qword [rdx + 0xd8], rax
mov dword [rsp], 0
lea rax, fcn.00432700
mov qword [rsp + 8], rax
call fcn.00427730
test eax, eax
jne 0x43f6f3
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov rax, qword [rax + 0x30]
mov qword [rsp + 0x18], rax
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x2d0], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rax + 0x2d8], rcx
lea rcx, [rsp + 0x40]
nop
mov qword [rax + 0x2e0], rcx
mov rcx, qword [0x004e6f10]
mov qword [rsp], rcx
lea rcx, [rax + 0x2d0]
mov qword [rsp + 8], rcx
call fcn.00403690
mov rax, qword [rsp + 0x18]
mov rcx, qword [rax + 0x2e8]
mov rdx, qword [rax + 0x2f0]
mov rax, qword [rax + 0x2f8]
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rax
nop
call fcn.00428010
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
nop
call fcn.00428010
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
Function at 0x444fc0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x4450a0
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x0044b7b0]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0044be20
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
call fcn.0044bf70
jmp fcn.00444fc0
Function at 0x140006d10
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov ebx, 8
mov rdi, rcx
add qword [rcx + 0x20], rbx
mov rax, qword [rcx + 0x20]
mov rsi, qword [rax - 8]
call fcn.14000a9d4
test eax, eax
jne 0x140006ce3
call fcn.140008de8
mov dword [rax], 0x16
call fcn.1400071c0
xor al, al
jmp 0x140006d6b
mov ecx, dword [rdi + 0x3c]
mov edx, 4
cmp ecx, 5
jg 0x140006d1c
je 0x140006d30
test ecx, ecx
je 0x140006d2d
sub ecx, 1
je 0x140006d15
sub ecx, 1
je 0x140006d0e
sub ecx, 1
je 0x140006d2d
cmp ecx, 1
je 0x140006d30
xor ebx, ebx
jmp 0x140006d30
mov ebx, 0x41574102
push rsi
push r13
push rbp
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x218
xor ebx, ebx
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rcx + rax + 0x88]
add byte [rax], al
add byte [rcx - 0x77], cl
jrcxz 0x140006d81
mov r11, rsp
lea r10, [r11 + 0x208]
lea edx, [rbx + 0x208]
add rax, rcx
mov esi, dword [rax + 0x20]
mov edi, dword [rax + 0x1c]
mov ebp, dword [rax + 0x24]
add rsi, rcx
mov r13d, dword [rsi]
add r13, rcx
movsx r14w, byte [r13]
test r14b, r14b
je 0x140006e26
nop
cmp eax, edx

Function at 0x140007490
Capabilities:
Encrypt data using rc4 prga

Disassembly:
enter 0xffffffffffffee75, 0x44
mov ecx, eax
mov eax, r9d
and ecx, 0xfffffff0
mov r9d, ecx
sub eax, ecx
add rdi, r9
add rdx, r9
cmp r8d, ecx
je 0x140007237
movzx ecx, byte [rdi]
test eax, eax
mov byte [rdx], cl
je 0x140007237
invalid
mov dh, 0x4f

Function at 0x1400074f0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
add al, 0x83
clc
add al, 0x88
add al, 0xf
test byte [rdx], bh
std
invalid

Function at 0x140007ea8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rax, qword [rcx + 0xb0]
mov r13, qword [rsp + 0xb8]
mov rsi, rcx
mov rbp, rdx
mov ecx, dword [rax + 0x78]
mov rdi, r8
mov r12d, r9d
mov edx, dword [rax + 0xb0]
call qword [rsi + 0xb8]
mov rbx, rax
movzx eax, byte [r13 + 0x10]
lea rcx, [rbx + 1]
add qword [r8 - 0x49f0befd], rcx
invalid
invalid
mov byte [rbx + 1], al

Function at 0x140007ee4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rax, qword [rcx + 0xb0]
mov r13, qword [rsp + 0xb8]
mov rsi, rcx
mov rbp, rdx
mov ecx, dword [rax + 0x78]
mov rdi, r8
mov r12d, r9d
mov edx, dword [rax + 0xb0]
call qword [rsi + 0xb8]
mov rbx, rax
movzx eax, byte [r13 + 0x10]
lea rcx, [rbx + 1]
add qword [r8 - 0x49f0befd], rcx
invalid
invalid
mov byte [rbx + 1], al
Function at 0x140007ef0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
movzx eax, byte [r13 + 0x12]
mov byte [rbx + 2], al
movzx eax, byte [r13 + 0x13]
mov byte [rbx + 3], al
xor eax, eax
cmp byte [rbx], 0
je 0x1400080a0
nop dword [rax + rax]
lea edx, [rax + 1]
cmp byte [rbx + rdx], 0
mov rax, rdx
jne 0x140007f10
movzx eax, byte [r13 + 0x60]
mov byte [rbx + rdx], al
movzx eax, byte [r13 + 0x61]
mov byte [rbx + rdx + 1], al
movzx eax, byte [r13 + 0x62]
mov byte [rbx + rdx + 2], al
movzx eax, byte [r13 + 0x63]
mov byte [rbx + rdx + 3], al
movsx r10w, byte [rbx]
mov byte [rbx + 8], 0x25
test r10b, r10b
je 0x140007faf
xor eax, eax
nop
lea edx, [rax + 1]
cmp byte [rbx + rdx], 0
mov rax, rdx
jne 0x140007f50
cdqe
xor r8d, r8d
lea rcx, [rbx + rax + 1]
jmp 0x140007f73
mov r8d, r9d
lea r9d, [r8 + 1]
lea rax, [rbx + r9]
mov rdx, r9
cmp byte [rax], 0
jne 0x140007f70
test edx, edx
je 0x140007faf
lea rdx, [rcx + r9*2]
lea r9, [rbx + r9 - 1]
sub r9, r8
xor edx, edx
jmp 0x140007f1c
Function at 0x140008410
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
add byte [rax], al
mov word [rbp], cx
mov edx, dword [rax + 0xb0]
mov ecx, dword [rax + 0x78]
call qword [rsi + 0xb8]
xor ecx, ecx
cmp word [rbp], 0
jne 0x140008436
jmp 0x140008537
mov ecx, r8d
lea r8d, [rcx + 1]
cmp word [rbp + r8*2], 0
mov rdx, r8
jne 0x140008433
test edx, edx
je 0x140008537
lea r8, [rax + 0x10]
cmp rbp, r8
lea r8, [rbp + 0x10]
setae r9b
cmp rax, r8
setae r8b
or r9b, r8b
je 0x14000a100
cmp ecx, 6
jbe 0x14000a100
mov r8d, edx
xor ecx, ecx
shr r8d, 3
shl r8, 4
movdqu xmm3, xmmword [rbp + rcx]
movups xmmword [rax + rcx], xmm3
add rcx, 0x10
cmp rcx, r8
jne 0x140008483
mov ecx, edx
and ecx, 0xfffffff8
cmp ecx, edx
je 0x140008537
movsxd r8, ecx
movzx r9d, word [rbp + r8*2]
mov word [rax + r8*2], r9w
lea r8d, [rcx + 1]
cmp edx, r8d
jbe 0x140008537
movsxd r8, r8d
movzx r9d, word [rbp + r8*2]
mov word [rax + r8*2], r9w
lea r8d, [rcx + 2]
cmp edx, r8d
jbe 0x140008537
movsxd r8, r8d
movzx r9d, word [rbp + r8*2]
mov word [rax + r8*2], r9w
lea r8d, [rcx + 3]
cmp edx, r8d
jbe 0x140008537
movsxd r8, r8d
movzx r9d, word [rbp + r8*2]
mov word [rax + r8*2], r9w
lea r8d, [rcx + 4]
cmp edx, r8d
jbe 0x140008537
movsxd r8, r8d
movzx r9d, word [rbp + r8*2]
mov word [rax + r8*2], r9w
lea r8d, [rcx + 5]
cmp edx, r8d
jbe 0x140008537
movsxd r8, r8d
add ecx, 6
movzx r9d, word [rbp + r8*2]
cmp edx, ecx
mov word [rax + r8*2], r9w
jbe 0x140008537
movsxd rcx, ecx
movzx edx, word [rbp + rcx*2]
mov word [rax + rcx*2], dx
mov rcx, rax
call qword [rsi + 0x88]
mov edx, dword [rbx + 0x44]
mov r8, rbx
mov rcx, rax
call fcn.140006d10
mov edx, dword [rbx + 0x80]
mov qword [rsp + 0x128], rax
call fcn.140006d10
mov edx, dword [rbx + 0x58]
mov qword [rsp + 0xf8], rax
call fcn.140006d10
mov edx, dword [rbx + 0xc]
mov qword [rsp + 0x108], rax
call fcn.140006d10
mov edx, dword [rbx + 0xe0]
mov qword [rsp + 0x110], rax
call fcn.140006d10
mov edx, dword [rbx + 0xcc]
mov qword [rsp + 0xf0], rax
call fcn.140006d10
mov edx, dword [rbx + 0xbc]
add byte [rax - 0x77], cl
test byte [rax + rax], ah
add dword [rax], eax
add al, ch
push rsi
out 0xff, eax
dec dword [rbx + 0x9c93]
add byte [rax - 0x77], cl
test byte [rax + rbx], ah
add dword [rax], eax
add al, ch
out 0xff, eax
dec dword [rax - 0x77]
test byte [rax + riz], ah
add dword [rax], eax
add byte [rax - 0x75], cl
xchg byte [rax - 0x75000000], dh
nop
mov al, 0
add byte [rax], al
xor edx, edx
jmp 0x14000a107
mov rdx, r8
movzx r8d, word [rbp + rdx*2]
cmp rdx, rcx
mov word [rax + rdx*2], r8w
lea r8, [rdx + 1]
jne 0x14000a104
jmp 0x140008537
Function at 0x1400085ac
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
add byte [rax - 0x77], cl
test byte [rax + rax], ah
add dword [rax], eax
add al, ch
push rsi
out 0xff, eax
dec dword [rbx + 0x9c93]
add byte [rax - 0x77], cl
test byte [rax + rbx], ah
add dword [rax], eax
add al, ch
out 0xff, eax
dec dword [rax - 0x77]
test byte [rax + riz], ah
add dword [rax], eax
add byte [rax - 0x75], cl
xchg byte [rax - 0x75000000], dh
nop
mov al, 0
add byte [rax], al
mov ecx, dword [rax + 0x78]
call qword [rsi + 0xb8]
mov edx, 0x14
mov rbp, rax
mov rax, qword [rsi + 0xb0]
add byte [rax], al
mov ecx, dword [rax + 0x78]
call qword [rsi + 0xb8]
movzx edx, byte [rbx + 0x11c]
mov byte [rax], dl
movzx edx, byte [rbx + 0x11d]
cmp byte [rax], 0
invalid
push rax

Function at 0x1400085f8
Capabilities:
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
add byte [rax - 0x77], cl
test byte [rax + rax], ah
add dword [rax], eax
add al, ch
push rsi
out 0xff, eax
dec dword [rbx + 0x9c93]
add byte [rax - 0x77], cl
test byte [rax + rbx], ah
add dword [rax], eax
add al, ch
out 0xff, eax
dec dword [rax - 0x77]
test byte [rax + riz], ah
add dword [rax], eax
add byte [rax - 0x75], cl
xchg byte [rax - 0x75000000], dh
nop
mov al, 0
add byte [rax], al
mov ecx, dword [rax + 0x78]
call qword [rsi + 0xb8]
mov edx, 0x14
mov rbp, rax
mov rax, qword [rsi + 0xb0]
add byte [rax], al
mov ecx, dword [rax + 0x78]
call qword [rsi + 0xb8]
movzx edx, byte [rbx + 0x11c]
mov byte [rax], dl
movzx edx, byte [rbx + 0x11d]
cmp byte [rax], 0
invalid
push rax
Function at 0x140009050
Capabilities:
Encode data using xor
Encrypt data using speck
Resolve function by parsing pe exports

Disassembly:
mov eax, dword [rsp + 0xc0]
mov r8, qword [rsi + 0xb8]
lea edx, [rax + rax]
mov rax, qword [rsi + 0xb0]
test edx, edx
mov dword [rsp + 0xc0], edx
jne 0x1400088a5
mov edx, dword [rax + 0xb0]
jmp 0x1400088a5
Function at 0x140004e10
Capabilities:
Add user account

Disassembly:
sub rsp, 0xa8
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x48], r8
mov dword [rsp + 0x44], edx
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x6c], edx
mov qword [rsp + 0x70], r8
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x80], rax
call fcn.1400023f0
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x50], rax
lea rcx, [rsp + 0x50]
call fcn.140003e60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x30]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x88], 0
mov qword [rsp + 0x90], 0
mov qword [rsp + 0xa0], 0
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x98]
call fcn.14000cc20
mov rcx, qword [rsp + 0x38]
mov edx, dword [rsp + 0x44]
mov r8, qword [rsp + 0x48]
mov r9, rax
call qword [sym.imp.netapi32.dll_NetUserAdd]
nop
add rsp, 0xa8
ret
Function at 0x140011a70
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], 2
xorps xmm0, xmm0
movups xmmword [rbp + 0x3d0], xmm0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor edi, edi
xor ebx, ebx
xor r12d, r12d
cmp r8, 0x201
jae 0x140011b00
jmp 0x140011aef
jae 0x140011bc0
cmp r8, 0x201
jae 0x140011b00
mov esi, 0x200
lea r13, [rbp - 0x58]
mov r15, r8
jmp 0x140011b58
sub r8, r12
sub rbx, r12
cmp rbx, r8
jae 0x140011b2f
lea rcx, [rbp + 0x3c8]
mov rdx, r12
call fcn.14002bcb0
mov rax, qword [rbp + 0x3c8]
mov qword [rbp + 0x3e8], rax
mov rdi, qword [rbp + 0x3d0]
mov eax, 0xffffffff
cmp rdi, rax
mov r12d, 0xffffffff
cmovb r12, rdi
mov qword [rbp + 0x3d8], r12
mov rbx, rdi
mov rsi, r12
mov r13, qword [rbp + 0x3e8]
mov r15, r12
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r15d
mov rdx, r13
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r14d, eax
test eax, eax
jne 0x140011b81
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x140011c28
mov r8d, r14d
cmp r15, r8
jne 0x140011ae0
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x140011c4b
add r15, r15
mov eax, 0xffffffff
cmp r15, rax
cmovae r15, rax
mov r8, r15
cmp r8, 0x201
jb 0x140011aef
jmp 0x140011b00
cmp rsi, r8
jb 0x140011c65
lea rcx, [rbp + 0x3a8]
mov rdx, r13
call fcn.140015810
movups xmm0, xmmword [rbp + 0x3a8]
movups xmm1, xmmword [rbp + 0x3b8]
mov rsi, qword [rbp + 0x3e0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
test rdi, rdi
je 0x140011c11
add rdi, rdi
mov r8d, 2
mov rcx, qword [rbp + 0x3e8]
mov rdx, rdi
call fcn.140005a40
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 + 0x3e0]
mov qword [rsi], rax
mov byte [rsi + 0x18], 2
test rdi, rdi
jne 0x140011bf9
jmp 0x140011c11
lea rcx, str.internal_error:_entered_unreachable_code_rustc_5680fa18feaa87f3ff04063800aec256c3d4b4belibrary_alloc_src_vecmod.rs
lea r8, str.library_std_src_syswindowsmod.rs
mov edx, 0x28
call fcn.14002c850
jmp 0x140011c7a
lea rax, str.library_std_src_syswindowsmod.rs
mov rcx, r8
mov rdx, rsi
mov r8, rax
call fcn.14002cda0
ud2
Function at 0x140016210
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rdi, rdx
movzx ebp, byte [rdx + 0x38]
xor ebx, ebx
cmp bpl, 1
setne dl
mov eax, 0
sbb eax, eax
mov rsi, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x140016240
test ecx, ecx
jne 0x140016290
movzx ebx, byte [rdi + 0x3a]
cmp al, 0xff
je 0x14001624c
test ecx, ecx
jne 0x140016290
mov rcx, rdi
call fcn.1400160f0
movzx eax, al
test bpl, bpl
jne 0x140016297
lea rdx, [rdi + 0x10]
xor ecx, ecx
cmp byte [rdi + 0x10], 6
cmove rdx, rcx
je case.0x140016283.2
movzx r8d, byte [rdx]
mov ecx, 6
lea r9, [0x140016408]
movsxd r8, dword [r9 + r8*4]
add r8, r9
jmp r8
mov rcx, qword [rdx + 0x10]
add rcx, 4
jmp case.0x140016283.2
xor eax, eax
test bpl, bpl
je 0x14001625c
xor ecx, ecx
add rax, rcx
movzx r10d, bl
lea rcx, [rax + r10]
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x1400163e9
mov r11, qword [rdi]
lea r8, [r11 + rcx]
cmp rdx, rcx
jne 0x1400162ca
movzx r9d, byte [rdi + 0x10]
xor r10d, r10d
jmp 0x140016349
movzx r9d, byte [rdi + 0x10]
add rax, r10
sub rax, rdx
inc rax
lea rdi, [rdx + r11]
dec rdi
xor r10d, r10d
cmp r9b, 3
jae 0x140016310
nop dword [rax + rax]
cmp byte [rdi], 0x5c
je 0x14001632b
inc rax
dec rdi
cmp rax, 1
jne 0x1400162f0
jmp 0x140016349
movzx ebx, byte [rdi]
cmp ebx, 0x2f
je 0x14001632b
cmp ebx, 0x5c
je 0x14001632b
inc rax
dec rdi
cmp rax, 1
jne 0x140016310
jmp 0x140016349
neg rax
add rcx, rax
inc rcx
cmp rdx, rcx
jb 0x1400163f7
add r11, rcx
mov r10d, 1
mov r8, r11
sub rdx, rcx
je 0x140016373
mov al, 9
cmp rdx, 2
je 0x140016377
cmp rdx, 1
jne 0x140016387
cmp byte [r8], 0x2e
jne 0x140016387
xor eax, eax
cmp r9b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x140016387
mov al, 0xa
jmp 0x140016387
cmp byte [r8], 0x2e
jne 0x140016387
cmp byte [r8 + 1], 0x2e
sete al
xor al, 9
add r10, rdx
mov qword [rsi], r10
mov byte [rsi + 8], al
mov qword [rsi + 0x10], r8
mov qword [rsi + 0x18], rdx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 8
jmp case.0x140016283.2
mov rcx, qword [rdx + 0x10]
mov rdx, qword [rdx + 0x20]
lea r8, [rdx + 1]
test rdx, rdx
cmove r8, rdx
add rcx, r8
add rcx, 2
jmp case.0x140016283.2
mov ecx, 2
jmp case.0x140016283.2
lea r8, str.library_std_srcpath.rs
call fcn.14002cd20
ud2
lea r8, str.library_std_srcpath.rs
call fcn.14002cd20
ud2
Function at 0x14001afe0
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0xa8
mov rdi, rdx
mov rsi, rcx
mov rcx, qword [rsp + 0xe0]
movups xmm0, xmmword [0x1400302c8]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r9, rax
cmovb rax, r9
test rcx, rcx
je 0x14001b024
mov rdx, qword [rsp + 0xe8]
mov qword [rsp + 0x80], rdx
test rcx, rcx
mov qword [rsp + 0x78], rcx
lea rdx, [rsp + 0x80]
cmove rdx, rcx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], r8
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rdi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x14001b08a
mov rcx, rdi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x14001b0c1
test eax, eax
js 0x14001b09b
mov rax, qword [rsp + 0x68]
mov qword [rsi + 8], rax
xor eax, eax
jmp 0x14001b0b4
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
shl rax, 0x20
or rax, 2
mov qword [rsi + 8], rax
mov eax, 1
mov qword [rsi], rax
add rsp, 0xa8
pop rdi
pop rsi
ret
mov byte [rsp + 0x5c], 0
mov dword [rsp + 0x58], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x80], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x88], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x78]
call fcn.140015310
mov rcx, rax
call fcn.14000f580
mov ecx, 7
int 0x29
ud2

Function at 0x140029990
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140029a0a
mov rax, rdx
mov rdx, qword [rsp + 0x70]
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 0x140029a00
cmp r10, r11
jb 0x140029aa3
cmp r10, rdx
ja 0x140029ab7
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140029a02
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x1400299e0
jmp 0x140029a77
ja 0x140029a0a
mov r11, r10
cmp rax, r8
jne 0x1400299b2
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140029a7b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140029a50
mov r8, r10
sub ecx, r9d
jns 0x140029a6e
jmp 0x140029a7d
cmp r10, rdx
je 0x140029a89
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140029a7d
xor al, 1
cmp r8, rdx
jne 0x140029a30
jmp 0x140029a7d
xor eax, eax
jmp 0x140029a7d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.called__Option::unwrap____on_a__None__valuelibrarycore_src_nummod.rsfrom_str_radix_int:_must_lie_in_the_range___2__36_____found
lea r8, str.librarycore_srcunicodeprintable.rs
mov edx, 0x2b
call fcn.14002c850
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.14002ce20
ud2
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.14002cda0
ud2
Function at 0x14002b63c
Capabilities:
Parse pe header

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