joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14001be00
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
xor edx, edx
add rcx, 4
mov r8d, 0x118
call fcn.140057130
mov rcx, rbx
mov dword [rbx], 0x11c
call qword [0x1400c8038]
test eax, eax
jne 0x14001bf30
mov dword [rbp - 0x30], 0x6d
xor eax, eax
mov byte [rbp - 0x2c], 0x36
xor r8d, r8d
mov byte [rbp - 0x2b], 0x40
mov edx, r8d
mov byte [rbp - 0x2a], 0x30
mov byte [rbp - 0x29], 0x4d
mov byte [rbp - 0x28], 0x2b
mov byte [rbp - 0x27], 0xc
mov byte [rbp - 0x26], 4
mov byte [rbp - 0x25], 1
mov byte [rbp - 0x24], 8
mov byte [rbp - 0x23], 9
mov byte [rbp - 0x22], 0x4d
mov byte [rbp - 0x21], 0x19
mov byte [rbp - 0x20], 2
mov byte [rbp - 0x1f], 0x4d
mov byte [rbp - 0x1e], 0xa
mov byte [rbp - 0x1d], 8
mov byte [rbp - 0x1c], 0x19
mov byte [rbp - 0x1b], 0x4d
mov byte [rbp - 0x1a], 0x1b
mov byte [rbp - 0x19], 8
mov byte [rbp - 0x18], 0x1f
mov byte [rbp - 0x17], 0x1e
mov byte [rbp - 0x16], 4
mov byte [rbp - 0x15], 2
mov byte [rbp - 0x14], 3
mov byte [rbp - 0x13], 0x4d
mov byte [rbp - 0x12], 2
mov byte [rbp - 0x11], 0x1e
mov byte [rbp - 0x10], 0x4d
mov byte [rbp - 0xf], 4
mov byte [rbp - 0xe], 3
mov byte [rbp - 0xd], 0xb
mov byte [rbp - 0xc], 2
mov byte [rbp - 0xb], al
movzx eax, byte [rbp - 0x2c]
movzx eax, byte [rbp + rdx - 0x2c]
mov ecx, dword [rbp - 0x30]
xor cl, al
mov byte [rbp + rdx - 0x2c], cl
inc rdx
cmp rdx, 0x21
jb 0x14001bed2
mov byte [rbp - 0xb], r8b
lea rax, [rbp - 0x2c]
mov qword [rbp - 0x50], r8
mov qword [rbp - 0x40], r8
mov r8, 0xffffffffffffffff
mov qword [rbp - 0x38], 0xf
nop dword [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14001bf10
lea rdx, [rbp - 0x2c]
lea rcx, [rbp - 0x50]
call fcn.1400078f0
lea rcx, [rbp - 0x50]
call fcn.14001b970
mov rax, rbx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x14001bf50
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rbx, rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14001bf71
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
call qword [0x1400c80f8]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14001c015
lea rdx, [rsp + 0x68]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
mov rcx, rdi
test eax, eax
je 0x14001c00e
xorps xmm6, xmm6
cvtsi2sd xmm6, qword [rsp + 0x68]
mulsd xmm6, qword [0x1400978a8]
call qword [0x1400c8158]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14001c009
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001c004
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c076
mov rcx, r8
call fcn.140054b54
movaps xmm0, xmm6
jmp 0x14001c053
call qword [0x1400c8158]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14001c04b
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14001c046
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001c07c
mov rcx, r8
call fcn.140054b54
movsd xmm0, qword [0x1400978b8]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rbx, qword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rdi
ret
call fcn.14005afd0
int3
call fcn.14005afd0
int3
Function at 0x14001fbb0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov edi, 0xffff
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x14001fbd2
xor eax, eax
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x14001fc11
mov r8, qword [rcx + 0x58]
movsxd r9, dword [r8]
lea rcx, [rdx + r9*2]
cmp rdx, rcx
jae 0x14001fc11
lea eax, [r9 - 1]
mov dword [r8], eax
mov rcx, qword [rbx + 0x40]
mov rdx, qword [rcx]
lea rax, [rdx + 2]
mov qword [rcx], rax
movzx eax, si
mov word [rdx], si
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0x90], rbp
je 0x14001fd23
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x14001fc58
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x14001fc81
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.14005f89c
cmp ax, di
je 0x14001fd23
movzx edi, si
jmp 0x14001fd23
lea r8, [rsp + 0xa0]
mov word [rsp + 0x40], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rsp + 0x42]
lea r8, [rsp + 0x68]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0x48]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0xa8]
mov qword [rsp + 0x20], r8
lea r8, [rsp + 0x40]
call qword [rax + 0x38]
test eax, eax
je 0x14001fcdd
sub eax, 1
je 0x14001fcdd
cmp eax, 2
jne 0x14001fd23
movzx ecx, word [rsp + 0x40]
jmp 0x14001fc64
mov rbp, qword [rsp + 0xa0]
lea rax, [rsp + 0x48]
sub rbp, rax
je 0x14001fd0d
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x48]
mov r8, rbp
mov edx, 1
call fcn.140060510
cmp rbp, rax
jne 0x14001fd23
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0xa8], rax
movzx eax, si
jne 0x14001fd26
movzx eax, di
mov rbp, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x140021400
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x50
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400214ca
cmp byte [rcx + 0x72], 0
je 0x1400214ca
mov rax, qword [rcx]
mov qword [rsp + 0x68], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x1400214bd
mov rcx, qword [rbx + 0x68]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x40]
test eax, eax
je 0x14002147a
sub eax, 1
je 0x14002147e
cmp eax, 2
jne 0x1400214bd
mov rdi, qword [rsp + 0x68]
mov al, 1
mov byte [rbx + 0x72], 0
add rsp, 0x50
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x60]
lea rax, [rsp + 0x30]
sub rdi, rax
je 0x1400214ab
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x30]
mov r8, rdi
mov edx, 1
call fcn.140060510
cmp rdi, rax
jne 0x1400214bd
cmp byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x68]
sete al
add rsp, 0x50
pop rbx
ret
mov rdi, qword [rsp + 0x68]
xor al, al
add rsp, 0x50
pop rbx
ret
mov al, 1
add rsp, 0x50
pop rbx
ret
Function at 0x1400274b0
Capabilities:
Encode data using xor

Disassembly:
lea rax, [rcx + 4]
mov r10d, 0x29
mov rdx, rax
nop dword [rax]
movzx r8d, byte [rdx]
lea rdx, [rdx + 1]
mov r9d, dword [rcx]
xor r9b, r8b
mov byte [rdx - 1], r9b
sub r10, 1
jne 0x1400274c0
mov byte [rcx + 0x2d], r10b
ret

Function at 0x1400274f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, r9
mov rdi, r8
mov rsi, rcx
mov ecx, 0x20
call fcn.140054b18
mov rdx, qword [rsp + 0x60]
mov qword [rax], rdx
mov rdx, qword [rbx]
mov qword [rax + 8], rdx
mov rdx, qword [rdi]
mov qword [rax + 0x10], rdx
lea rcx, [0x14000fd90]
mov qword [rax + 0x18], rcx
mov qword [rsp + 0x48], rax
lea rbx, [rsi + 8]
mov qword [rsp + 0x28], rbx
xor edi, edi
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x1400278a0]
xor edx, edx
xor ecx, ecx
call fcn.14005d90c
mov qword [rsi], rax
test rax, rax
je 0x14002757a
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov dword [rbx], edi
mov ecx, 6
call fcn.14002a894
int3

Function at 0x140027590
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], r8
push rdi
sub rsp, 0x30
mov rbx, rcx
mov ecx, 0x10
call fcn.140054b18
mov rdx, qword [0x1400c81d8]
mov qword [rax], rdx
lea rcx, [0x1400245c0]
mov qword [rax + 8], rcx
mov qword [rsp + 0x50], rax
lea rdi, [rbx + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x140027950]
xor edx, edx
xor ecx, ecx
call fcn.14005d90c
mov qword [rbx], rax
test rax, rax
je 0x140027600
mov rax, rbx
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
mov dword [rdi], 0
mov ecx, 6
call fcn.14002a894
int3

Function at 0x140048c44
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x140032f7a
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x140032f5d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140032f48

Function at 0x14006ba10
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14006b83c
Function at 0x14007205c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x140071d82
call fcn.140061674
mov dword [rax], 0x16
call fcn.14005afb0
jmp 0x140071ecd
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140071ecd
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140071ecd
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140071db1
lock or dword [rcx + 0x14], 0x10
jmp 0x140071ecd
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140071dc5
call fcn.140074cb4
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x140071dd5
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x140071dd8
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14007086c
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.140075c6c
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x140071ebb
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x140071e69
mov rcx, rbx
call fcn.14007086c
cmp eax, 0xffffffff
je 0x140071e54
mov rcx, rbx
call fcn.14007086c
cmp eax, 0xfffffffe
je 0x140071e54
mov rcx, rbx
call fcn.14007086c
movsxd rdi, eax
lea r14, [0x1400c2890]
mov rcx, rbx
sar rdi, 6
call fcn.14007086c
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x140071e5b
lea rdx, [0x1400bf300]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140071e69
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x140071e8d
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x140071e8d
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x140071e8d
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x140071eab
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x140071eb6
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x140071ed2
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x140071d4c
Function at 0x140002df0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rdi
sub rsp, 0x280
mov rax, qword [0x140007008]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rcx, 0xffffffff80000002
mov rdi, rdx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
je 0x140002e4f
lea rax, [rsp + 0x40]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140002e6d
cmp eax, 2
jne 0x140002f8c
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140002fb0
add rsp, 0x280
pop rdi
ret
mov qword [rsp + 0x290], rbx
mov rcx, rdi
mov qword [rsp + 0x2a0], rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
xor esi, esi
cmp word [rdi + rcx*2 - 2], 0x5c
lea rbx, [rdi + rcx*2]
je 0x140002ea6
mov eax, 0x5c
mov word [rbx], ax
add rbx, 2
mov word [rbx], si
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x140002f55
nop dword [rax]
nop word [rax + rax]
lea r8, [rsp + 0x60]
mov word [rbx], si
mov edx, 0x208
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscat_s]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call fcn.140002df0
test eax, eax
je 0x140002f55
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x48], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x140002ef0
mov word [rbx - 2], si
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rsi, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0x290]
test eax, eax
je 0x140002e4f
xor eax, eax
jmp 0x140002e54
Function at 0x1416623d0
Capabilities:
Terminate process

Disassembly:
cld
pop r11
jmp 0x1416623dd
inc rsi
mov byte [rdi], dl
inc rdi
mov dl, byte [rsi]
add ebx, ebx
jne 0x1416623ed
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jb 0x1416623d5
lea eax, [rcx + 1]
jmp 0x1416623fb
dec eax
call r11
adc eax, eax
call r11
adc eax, eax
add ebx, ebx
jne 0x14166240e
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
mov dl, byte [rsi]
jae 0x1416623f4
sub eax, 3
jb 0x14166242e
shl eax, 8
movzx edx, dl
or eax, edx
inc rsi
xor eax, 0xffffffff
je 0x14166247d
sar eax, 1
movsxd rbp, eax
jb 0x141662464
jmp 0x14166243c
add ebx, ebx
jne 0x14166243a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x141662464
inc ecx
add ebx, ebx
jne 0x14166244a
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jb 0x141662464
call r11
adc ecx, ecx
add ebx, ebx
jne 0x14166245d
mov ebx, dword [rsi]
sub rsi, 0xfffffffffffffffc
adc ebx, ebx
jae 0x14166244c
add ecx, 2
jmp 0x141662469
call r11
adc ecx, ecx
cmp rbp, 0xfffffffffffffb00
adc ecx, 2
call fcn.1416fb000
jmp 0x1416623dd
pop rsi
mov rdi, rsi
push rsi
mov rdi, rsi
mov rsi, 0x15ec00
mov dl, 0x22
push rbx
push rdi
lea rcx, [rdi + rsi - 3]
pop rsi
push rsi
pop rbx
jmp 0x1416624c9
cmp rsi, rcx
jae 0x1416624d1
push rsi
pop rsi
lodsb al, byte [rsi]
cmp al, 0x80
jb 0x1416624b0
cmp al, 0x8f
ja 0x1416624b0
cmp byte [rsi - 2], 0xf
je 0x1416624b6
sub al, 0xe8
cmp al, 1
ja 0x14166249a
cmp rsi, rcx
jae 0x1416624d1
push rsi
lodsd eax, dword [rsi]
sub al, dl
jne 0x1416624a0
pop rdi
bswap eax
sub eax, edi
add eax, ebx
stosd dword [rdi], eax
cmp rsi, rcx
jae 0x1416624d1
lodsb al, byte [rsi]
jmp 0x1416624b0
pop rbx
pop rsi
sub rsp, 0x28
lea rdi, [rsi + 0x15c5000]
mov eax, dword [rdi]
or eax, eax
je 0x14166253a
mov ebx, dword [rdi + 4]
lea rcx, [rax + rsi + 0x166d28c]
add rbx, rsi
add rdi, 8
call qword [sym.imp.KERNEL32.DLL_LoadLibraryA]
xchg rbp, rax
mov al, byte [rdi]
inc rdi
or al, al
je 0x1416624de
jns 0x141662513
movzx rdx, word [rdi]
add rdi, 2
jmp 0x14166251d
mov rcx, rdi
mov rdx, rdi
dec eax
repne scasb al, byte [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.DLL_GetProcAddress]
or rax, rax
je 0x141662534
mov qword [rbx], rax
add rbx, 8
jmp 0x1416624fe
jmp qword [sym.imp.KERNEL32.DLL_ExitProcess]
add rsp, 0x28
mov rbp, qword [sym.imp.KERNEL32.DLL_VirtualProtect]
lea rdi, [rsi - 0x1000]
mov ebx, 0x1000
push rax
mov r9, rsp
mov r8d, 4
mov rdx, rbx
mov rcx, rdi
sub rsp, 0x20
call rbp
lea rax, [rdi + 0x1af]
and byte [rax], 0x7f
and byte [rax + 0x28], 0x7f
lea r9, [rsp + 0x20]
mov r8, qword [r9]
mov rdx, rbx
mov rcx, rdi
call rbp
add rsp, 0x28
pop rbp
pop rdi
pop rsi
pop rbx
lea rax, [rsp - 0x80]
push 0
cmp rsp, rax
jne 0x141662592
sub rsp, 0xffffffffffffff80
jmp 0x14006ee70
Function at 0x140003377
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x58
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
movsxd rax, dword [rcx + 0x3c]
mov eax, dword [rax + rcx + 0x88]
mov r12d, dword [rax + rcx + 0x1c]
mov r13d, dword [rax + rcx + 0x20]
add r13, rcx
mov ebp, dword [rax + rcx + 0x24]
add rbp, rcx
lea r14, [rsp + 0x28]
mov r15d, dword [r13]
add r15, rsi
mov rcx, r15
call sub.msvcrt.dll_strlen
mov rcx, r14
mov rdx, r15
mov r8, rax
call fcn.140008260
cmp qword [rsp + 0x28], 0
jne 0x14000341b
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov r8, rbx
mov r9, rdi
call fcn.140016f17
test al, al
jne 0x1400033fc
add r13, 4
add rbp, 2
jmp 0x1400033b4
add r12, rsi
movzx eax, word [rbp]
mov eax, dword [r12 + rax*4]
add rax, rsi
add rsp, 0x58
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rax, [rsp + 0x30]
movups xmm0, xmmword [rax]
lea r8, [rsp + 0x40]
movaps xmmword [r8], xmm0
lea rax, str.src_main.rs
mov qword [rsp + 0x20], rax
lea rcx, str.called__Result::unwrap____on_an__Err__value
lea r9, [0x140048140]
mov edx, 0x2b
call fcn.140009330
int3

Function at 0x140003451
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov rbx, rdx
mov qword [rsp + 0x20], rcx
movaps xmm0, xmmword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZ____]
lea r14, [rsp + 0x48]
movups xmmword [r14 - 1], xmm0
movaps xmm0, xmmword [0x1400460c0]
movups xmmword [r14 + 0xf], xmm0
mov byte [r14 + 0x1f], 0x61
lea rdi, [rsp + 0x28]
and qword [rdi], 0
mov qword [rdi + 8], 1
and qword [rdi + 0x10], 0
lea r15, [rdx + r8]
lea r12, [rsp + 0x68]
lea rdx, [r8 + 3]
shr rdx, 2
mov rcx, rdi
call fcn.140016d80
lea r13, [rsp + 0x47]
mov rax, r13
mov rbp, r12
cmp rbx, r15
je 0x14000356e
movzx ecx, byte [rbx]
test cl, cl
js 0x1400034da
inc rbx
jmp 0x140003535
mov edx, ecx
and edx, 0x1f
movzx r9d, byte [rbx + 1]
and r9d, 0x3f
cmp cl, 0xdf
jbe 0x140003529
lea rsi, [rbx + 3]
movzx r8d, byte [rbx + 2]
shl r9d, 6
and r8d, 0x3f
or r8d, r9d
cmp cl, 0xf0
jb 0x140003563
movzx ecx, byte [rsi]
and edx, 7
shl edx, 0x12
shl r8d, 6
and ecx, 0x3f
or ecx, r8d
or ecx, edx
cmp ecx, 0x110000
je 0x14000356e
add rbx, 4
jmp 0x140003535
add rbx, 2
shl edx, 6
or edx, r9d
mov ecx, edx
mov rsi, rbx
lea rbx, [rax + 1]
cmp rax, rbp
cmove rax, r13
cmove rbp, r12
cmove rbx, r14
xor cl, byte [rax]
movzx edx, cl
mov rcx, rdi
call fcn.140002bf0
mov rax, rbx
mov rbx, rsi
jmp 0x1400034c5
shl edx, 0xc
or r8d, edx
mov ecx, r8d
jmp 0x140003538
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x10], rax
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rcx], xmm0
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000bce0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x20
lea rbp, [rsp + 0x20]
mov rax, rdx
mov rsi, qword [rbp + 0x70]
mov rdi, qword [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
mov ebx, ecx
shr ebx, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov r15, rax
movzx r14d, byte [rax + 1]
add rax, 2
lea r10, [r11 + r14]
cmp byte [r15], bl
jne 0x14000bd60
cmp r11, r10
ja 0x14000bdd7
cmp r10, rdx
ja 0x14000bde9
add r11, r9
xor r15d, r15d
nop dword [rax + rax]
cmp r14, r15
je 0x14000bd62
lea r12, [r15 + 1]
cmp byte [r11 + r15], cl
mov r15, r12
jne 0x14000bd40
jmp 0x14000bdc4
ja 0x14000bd6a
mov r11, r10
cmp rax, r8
jne 0x14000bd0e
add rsi, rdi
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r8, [rdi + 1]
movzx edx, byte [rdi]
test dl, dl
js 0x14000bda0
mov rdi, r8
sub ecx, edx
jns 0x14000bdbb
jmp 0x14000bdc6
cmp r8, rsi
je 0x14000bdf8
movzx r8d, byte [rdi + 1]
add rdi, 2
and edx, 0x7f
shl edx, 8
or edx, r8d
sub ecx, edx
js 0x14000bdc6
xor al, 1
cmp rdi, rsi
jne 0x14000bd80
jmp 0x14000bdc6
xor eax, eax
and al, 1
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140008060
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140007550
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.14000a730
int3

Function at 0x1400135b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
mov rax, rdx
sub rdx, rcx
cmp rdx, 0x20
jae 0x1400135d5
cmp rax, rcx
je 0x1400135db
cmp rdx, 4
jae 0x1400135e2
xor eax, eax
xor r8d, r8d
jmp 0x140013680
pop rbp
jmp fcn.140007070
xor eax, eax
jmp 0x140013697
mov r8d, edx
and r8d, 0x1c
pxor xmm0, xmm0
xor eax, eax
movdqa xmm2, xmmword [0x140046590]
movdqa xmm3, xmmword [0x1400465a0]
pxor xmm1, xmm1
nop word cs:[rax + rax]
movzx r9d, word [rcx + rax]
movd xmm4, r9d
movzx r9d, word [rcx + rax + 2]
movd xmm5, r9d
pcmpgtb xmm4, xmm2
punpcklbw xmm4, xmm4
pshuflw xmm4, xmm4, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm0, xmm4
pcmpgtb xmm5, xmm2
punpcklbw xmm5, xmm5
pshuflw xmm4, xmm5, 0xd4
pshufd xmm4, xmm4, 0xd4
pand xmm4, xmm3
paddq xmm1, xmm4
add rax, 4
cmp r8, rax
jne 0x140013610
paddq xmm1, xmm0
pshufd xmm0, xmm1, 0xee
paddq xmm0, xmm1
movq rax, xmm0
cmp r8, rdx
je 0x140013697
nop dword [rax]
xor r9d, r9d
cmp byte [rcx + r8], 0xc0
setge r9b
add rax, r9
inc r8
cmp rdx, r8
jne 0x140013680
pop rbp
ret
Function at 0x140014670
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r14
push rsi
push rdi
push rbx
sub rsp, 0x40
lea rbp, [rsp + 0x40]
mov r10, qword [rcx]
test r10, r10
je 0x1400146f4
mov r11, qword [rcx + 8]
mov r8, qword [rcx + 0x10]
cmp r8, r11
jae 0x1400146f4
movzx eax, byte [r10 + r8]
cmp eax, 0x49
mov rbx, rcx
je 0x14001470d
cmp eax, 0x42
jne 0x1400146f4
lea rsi, [r8 + 1]
mov qword [rcx + 0x10], rsi
mov r9b, 1
cmp rsi, r11
jae 0x14001483d
cmp byte [r10 + rsi], 0x5f
jne 0x1400147cc
lea rax, [r8 + 2]
mov qword [rcx + 0x10], rax
xor eax, eax
cmp rax, r8
jae 0x14001483d
mov edx, dword [rcx + 0x18]
inc edx
cmp edx, 0x1f4
jbe 0x140014897
mov dil, 1
xor r9d, r9d
jmp 0x14001483f
xor edx, edx
call fcn.1400101b0
mov esi, eax
add sil, sil
mov eax, esi
add rsp, 0x40
pop rbx
pop rdi
pop rsi
pop r14
pop rbp
ret
inc r8
mov qword [rcx + 0x10], r8
xor edx, edx
call fcn.1400101b0
test al, al
jne 0x14001487d
mov rdx, rbx
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14001474c
lea rdx, [0x14004e23b]
mov r8d, 1
call fcn.1400075d0
mov rdx, rbx
test al, al
jne 0x14001487d
mov rax, qword [rdx]
mov sil, 1
test rax, rax
je 0x140014700
xor r14d, r14d
lea rdi, [0x14004e591]
nop word cs:[rax + rax]
mov rcx, qword [rdx + 0x10]
cmp rcx, qword [rdx + 8]
jae 0x140014784
cmp byte [rax + rcx], 0x45
je 0x1400148d0
sub r14, 1
jb 0x1400147ac
mov rcx, qword [rdx + 0x20]
test rcx, rcx
je 0x1400147ac
mov r8d, 2
mov rdx, rdi
call fcn.1400075d0
mov rdx, rbx
test al, al
jne 0x14001487d
mov rcx, rdx
call fcn.140011a10
test al, al
jne 0x14001487d
mov rdx, rbx
mov rax, qword [rbx]
test rax, rax
jne 0x140014770
jmp 0x140014700
xor eax, eax
mov r14d, 0x3e
nop word cs:[rax + rax]
movzx edx, byte [r10 + rsi]
cmp dl, 0x5f
je 0x14001482d
lea edi, [rdx - 0x30]
cmp dil, 0xa
jb 0x14001480f
lea edi, [rdx - 0x61]
cmp dil, 0x1a
jae 0x140014801
add dl, 0xa9
jmp 0x14001480d
lea edi, [rdx - 0x41]
cmp dil, 0x1a
jae 0x14001483d
add dl, 0xe3
mov edi, edx
inc rsi
mov qword [rcx + 0x10], rsi
mul r14
jo 0x14001483d
movzx edx, dil
xor edi, edi
add rax, rdx
jb 0x14001483f
cmp rsi, r11
jb 0x1400147e0
jmp 0x14001483f
inc rsi
mov qword [rcx + 0x10], rsi
inc rax
jne 0x1400146cf
xor edi, edi
mov rax, qword [rcx + 0x20]
test rax, rax
je 0x140014885
mov ecx, r9d
xor cl, 1
movzx ecx, cl
lea r8, [rcx + rcx*8]
add r8, 0x10
lea rcx, str.invalid_syntaxrecursion_limit_reached_for_______::closureshim_as_mut_const___dyn___unsafe_extern__
lea rdx, [0x14004e570]
test r9b, r9b
cmovne rdx, rcx
mov rcx, rax
call fcn.1400075d0
mov rcx, rbx
test al, al
je 0x140014885
mov sil, 2
jmp 0x140014700
mov qword [rcx], 0
mov byte [rcx + 8], dil
xor esi, esi
jmp 0x140014700
cmp qword [rcx + 0x20], 0
je 0x140014890
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
movaps xmmword [rbp - 0x10], xmm1
movaps xmmword [rbp - 0x20], xmm0
mov qword [rcx + 0x10], rax
mov dword [rcx + 0x18], edx
mov rsi, rcx
call fcn.140014670
movaps xmm0, xmmword [rbp - 0x20]
movaps xmm1, xmmword [rbp - 0x10]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x140014702
inc rcx
mov qword [rdx + 0x10], rcx
jmp 0x140014700