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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rdi, qword [0x1401bb660]
mov r9, rcx
mov r8, qword [rcx + 0x188]
movsxd rax, edx
imul rbx, rax, 0x70
add rbx, qword [rcx + 0x18]
mov dword [rcx + 0x74], edx
test dword [rbx], 0x10000
movss xmm2, dword [rbx + 0x34]
je 0x140042db3
addss xmm2, dword [rcx + 0x90]
movaps xmm0, xmm2
lea rsi, [r8 + 0x110]
subss xmm0, dword [r8 + 0x28]
movss dword [rsi], xmm2
movss xmm1, dword [rcx + 0x88]
addss xmm1, dword [rcx + 0x7c]
movss dword [r8 + 0x128], xmm2
subss xmm0, dword [r8 + 0x154]
movss dword [r8 + 0x118], xmm2
movss dword [r8 + 0x114], xmm1
movss dword [r8 + 0x158], xmm0
mov eax, dword [rcx + 0x8c]
mov dword [r8 + 0x148], eax
movsx eax, byte [rbx + 0x6a]
mov dword [r8 + 0x168], eax
movss dword [r8 + 0x22c], xmm1
mov eax, dword [rbx + 0x34]
mov dword [r8 + 0x228], eax
mov eax, dword [rbx + 0x38]
mov dword [r8 + 0x230], eax
mov eax, dword [rbx + 0x3c]
mov dword [r8 + 0x1cc], eax
movzx eax, byte [rbx + 0x68]
mov byte [r8 + 0xc3], al
cmp byte [rbx + 0x68], 0
je 0x140042e5f
xor eax, eax
mov dword [rdi + 0x1c30], eax
mov dword [rdi + 0x1c38], eax
test dword [rcx + 4], 0x100000
je 0x140042e6f
mov eax, 2
jmp 0x140042eee
movups xmm0, xmmword [rbx + 0x20]
mov rax, qword [r8 + 0x2a8]
movss xmm4, dword [rbx + 0x20]
movss xmm3, dword [rbx + 0x24]
movss xmm2, dword [rbx + 0x28]
movss xmm1, dword [rbx + 0x2c]
movups xmmword [r8 + 0x248], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r8 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd rdx, dword [rax + 0x58]
mov rcx, qword [rax + 0x60]
add rdx, rdx
movups xmmword [rcx + rdx*8 - 0x10], xmm0
movzx eax, word [rbx + 0x5c]
mov rdx, qword [r8 + 0x2a8]
mov r8d, eax
mov rcx, qword [r9 + 0x1a0]
call fcn.1400397b0
cmp byte [rdi + 0x3240], 0
je 0x140042f2f
cmp byte [rbx + 0x68], 0
jne 0x140042f2f
xor r8d, r8d
lea rdx, [0x14014762c]
mov rcx, rsi
call fcn.1400173c0
mov dword [rdi + 0x3270], 0x7f7fffff
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x1400464d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1401bb660]
mov rdx, qword [rax + 0x2060]
cmp ecx, 0xffffffff
jne 0x1400464ee
cmp dword [rdx + 0x74], ecx
cmovne ecx, dword [rdx + 0x74]
cmp ecx, dword [rdx + 0x6c]
mov eax, 0xffffffff
cmove ecx, eax
test byte [rdx + 4], 7
je 0x140046533
movzx eax, word [rdx + 0x78]
mov r8d, dword [rdx]
mov word [rdx + 0x224], cx
lea rcx, str.ContextMenu
mov word [rdx + 0x7a], ax
mov byte [rdx + 0x23b], 1
xor edx, edx
call fcn.1400136d0
xor edx, edx
mov ecx, eax
add rsp, 0x28
jmp fcn.14001cd40
add rsp, 0x28
ret
Function at 0x140046540
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401bb660]
mov rcx, qword [rax + 0x2060]
mov r10, qword [rax + 0x12c0]
movsxd rax, dword [rcx + 0x74]
movups xmm0, xmmword [rcx + 0x170]
movss xmm4, dword [rcx + 0x170]
movss xmm3, dword [rcx + 0x174]
movss xmm2, dword [rcx + 0x178]
movss xmm1, dword [rcx + 0x17c]
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
imul r9, rax, 0x70
mov rax, qword [r10 + 0x2a8]
add r9, qword [rcx + 0x18]
movups xmmword [r10 + 0x248], xmm0
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r10 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [r9 + 0x5c]
mov rdx, qword [r10 + 0x2a8]
mov rcx, qword [rcx + 0x1a0]
add rsp, 0x38
jmp fcn.1400397b0

Function at 0x140046610
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub rsp, 0x38
mov rax, qword [0x1401bb660]
mov rcx, qword [rax + 0x2060]
mov r9, qword [rax + 0x12c0]
movups xmm0, xmmword [r9 + 0x248]
movups xmmword [rcx + 0x170], xmm0
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rcx + 0x150]
movss xmm4, dword [rcx + 0x150]
movss xmm3, dword [rcx + 0x154]
movss xmm2, dword [rcx + 0x158]
movss xmm1, dword [rcx + 0x15c]
movups xmmword [r9 + 0x248], xmm0
movss dword [rsp + 0x20], xmm4
movss dword [rsp + 0x24], xmm3
movss dword [rsp + 0x28], xmm2
movss dword [rsp + 0x2c], xmm1
movss dword [rax + 0x88], xmm4
movss dword [rax + 0x8c], xmm3
movss dword [rax + 0x90], xmm2
movss dword [rax + 0x94], xmm1
mov rax, qword [r9 + 0x2a8]
movups xmm0, xmmword [rsp + 0x20]
movsxd r8, dword [rax + 0x58]
mov rdx, qword [rax + 0x60]
add r8, r8
movups xmmword [rdx + r8*8 - 0x10], xmm0
movzx r8d, word [rcx + 0x232]
mov rcx, qword [rcx + 0x1a0]
mov rdx, qword [r9 + 0x2a8]
add rsp, 0x38
jmp fcn.1400397b0
Function at 0x140097650
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rbp
push rdi
sub rsp, 0x50
mov rax, qword [rcx + 8]
mov ebp, r8d
mov ecx, 0x3e80000
mov rbx, qword [rax + 0x2f0]
mov rax, qword [rdx + 0x80]
movzx edx, word [rdx + 0x68]
movzx edi, word [rax + 0x18]
mov eax, 0x40000
shl edi, 0x10
cmp edi, eax
cmovl edi, eax
shl edx, 0x10
call fcn.1400816d0
mov dword [rsp + 0x24], eax
mov ecx, eax
cmp eax, 0x28f
jge 0x1400976a6
xor eax, eax
add rsp, 0x50
pop rdi
pop rbp
pop rbx
ret
mov eax, dword [rbx + 0x24]
mov qword [rsp + 0x80], rsi
mov esi, dword [rbx + 0x28]
mov qword [rsp + 0x48], r12
mov r12d, dword [rbx + 0x3c]
mov qword [rsp + 0x40], r13
mov r13d, dword [rbx + 0x38]
mov dword [rsp + 0x88], eax
mov eax, dword [rbx + 0x2c]
mov qword [rsp + 0x38], r14
mov r14d, dword [rbx + 0x40]
mov dword [rsp + 0x70], eax
mov eax, dword [rbx + 0x34]
mov qword [rsp + 0x30], r15
mov r15d, dword [rbx + 0x30]
mov dword [rsp + 0x78], eax
mov dword [rsp + 0x20], r12d
test ebp, ebp
jg 0x1400976fd
mov ebp, 0x4b0000
jmp 0x14009770b
shl ebp, 0x10
mov edx, ecx
mov ecx, ebp
call fcn.140084eb0
mov ebp, eax
bsr ecx, ebp
bsr eax, edi
shl r12d, 0x10
add eax, ecx
cmp eax, 0x2e
jl 0x140097721
mov eax, r12d
jmp 0x14009772a
mov edx, edi
mov ecx, ebp
call fcn.140084eb0
mov r9d, dword [rsp + 0x88]
mov ecx, r9d
shl ecx, 0x10
cmp eax, ecx
jge 0x140097746
shl esi, 0x10
mov ecx, esi
jmp 0x140097835
mov r8d, dword [rsp + 0x70]
mov edx, r8d
shl edx, 0x10
mov dword [rsp + 0x88], edx
cmp eax, edx
jge 0x1400977a4
mov ebx, r8d
mov edx, edi
sub ebx, r9d
call fcn.1400816d0
mov ecx, ebp
sub ecx, eax
test ebx, ebx
je 0x140097794
sub r15d, esi
mov r8d, ebx
mov edx, r15d
call fcn.140084da0
shl esi, 0x10
mov edx, edi
mov ecx, esi
mov ebx, eax
call fcn.1400816d0
add ebx, eax
jmp 0x14009783e
mov esi, dword [rsp + 0x78]
mov ebx, esi
mov r8d, dword [rsp + 0x70]
shl ebx, 0x10
jmp 0x1400977b1
mov esi, dword [rsp + 0x78]
mov ebx, esi
shl ebx, 0x10
cmp eax, ebx
jge 0x1400977f0
mov ecx, dword [rsp + 0x88]
mov r12d, esi
mov edx, edi
sub r12d, r8d
call fcn.1400816d0
mov ecx, ebp
sub ecx, eax
test r12d, r12d
je 0x1400977f5
sub r13d, r15d
mov r8d, r12d
mov edx, r13d
call fcn.140084da0
shl r15d, 0x10
mov edx, edi
mov ecx, r15d
mov ebx, eax
call fcn.1400816d0
add ebx, eax
jmp 0x14009783e
cmp eax, r12d
jge 0x14009782e
mov r15d, dword [rsp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.1400816d0
sub ebp, eax
sub r15d, esi
je 0x14009782e
sub r14d, r13d
mov r8d, r15d
mov edx, r14d
mov ecx, ebp
call fcn.140084da0
shl r13d, 0x10
mov edx, edi
mov ecx, r13d
mov ebx, eax
call fcn.1400816d0
add ebx, eax
jmp 0x14009783e
shl r14d, 0x10
mov ecx, r14d
mov edx, edi
call fcn.1400816d0
mov ebx, eax
mov edx, dword [rsp + 0x24]
mov ecx, ebx
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rbp
pop rbx
jmp fcn.1400816d0
Function at 0x1400efda0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xc0
mov rax, qword [0x1401b83f8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov ebp, r9d
mov byte [rsp + 0x20], dl
xor r9d, r9d
mov r14d, r8d
mov r13d, r9d
mov rbx, rcx
mov ecx, dword [rbx + 4]
mov r10d, 0xffff
mov eax, ecx
mov dword [rbx + 0x38], r9d
imul eax, r14d
mov r15d, 0xffffffff
imul ecx, ebp
mov edi, r9d
mov qword [rbx + 0x60], r9
mov qword [rbx + 0x58], r9
mov dword [rbx + 0x54], r9d
mov dword [rbx + 0x48], eax
mov rax, qword [rbx + 0x18]
mov qword [rbx + 0x30], rax
mov rax, qword [rbx + 0x20]
sub rax, 4
mov dword [rbx + 0x4c], ecx
mov qword [rbx + 0x28], rax
mov word [rbx + 0x50], r9w
cmp r9w, word [rbx + 0x78]
jge 0x1400efedf
movsx r12d, dl
mov rsi, r9
nop dword [rax + rax]
mov rax, qword [rbx + 0x90]
lea edx, [r15 + 1]
mov dword [rbx + 0x70], r9d
mov rcx, rbx
mov qword [rbx + 0x68], r9
mov r9d, r12d
movsx r15d, word [rsi + rax]
mov r8d, r15d
call fcn.1400eebe0
test al, al
jne 0x1400eff4c
mov rdx, qword [rbx + 0x68]
test rdx, rdx
je 0x1400efec1
mov eax, dword [rbx + 4]
mov ecx, dword [rbx + 0x44]
dec eax
test ecx, eax
jne 0x1400efea2
cmp ecx, dword [rbx + 0x48]
jl 0x1400efea2
cmp ecx, dword [rbx + 0x4c]
jg 0x1400efea2
mov rax, qword [rbx + 0x58]
movzx ecx, byte [rdx + 0x1c]
xor cl, byte [rax + 0x1c]
test cl, 8
jne 0x1400efea2
add qword [rbx + 0x30], 0xfffffffffffffffc
mov rcx, rbx
call fcn.1400ef290
test al, al
jne 0x1400eff4c
cmp qword [rbx + 0x60], 0
jne 0x1400efec1
mov rax, qword [rbx + 0x68]
mov qword [rbx + 0x60], rax
movsx eax, word [rbx + 0x78]
inc edi
add rsi, 2
mov r9d, 0
cmp edi, eax
jl 0x1400efe40
mov r10d, 0xffff
mov rcx, qword [rbx + 0x60]
test rcx, rcx
je 0x1400eff1d
movzx r8d, word [rbx + 0x50]
sub r8w, 1
je 0x1400eff1a
nop dword [rax]
nop dword [rax + rax]
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
cmp qword [rdx + 8], rax
jne 0x1400eff11
mov qword [rcx + 8], rdx
mov rcx, rdx
add r8w, r10w
jne 0x1400eff00
mov qword [rcx], r9
cmp qword [rbx + 0x60], 0
je 0x1400eff30
mov rcx, rbx
call fcn.1400eef10
test al, al
jne 0x1400eff77
sub r13, 1
js 0x1400eff7c
movzx edx, byte [rsp + 0x20]
lea ebp, [r14 - 1]
mov r14d, dword [rsp + r13*4 + 0x30]
xor r9d, r9d
jmp 0x1400efddc
mov eax, dword [rbx + 0x38]
cmp eax, 0x62
jne 0x1400eff7e
cmp r14d, ebp
je 0x1400eff7e
movzx edx, byte [rsp + 0x20]
mov dword [rsp + r13*4 + 0x30], r14d
add r14d, ebp
sar r14d, 1
inc r13
inc r14d
xor r9d, r9d
jmp 0x1400efddc
mov eax, dword [rbx + 0x38]
jmp 0x1400eff7e
xor eax, eax
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140133970
mov rbx, qword [rsp + 0x110]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400f8730
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x1400f873b
xor eax, eax
ret
lea r11, [0x140165570]
not ecx
cmp r8, 8
jb 0x1400f880d
mov r10, r8
shr r10, 3
imul rax, r10, 0xfffffffffffffff8
add r8, rax
nop dword [rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1400f8760
test r8, r8
je 0x1400f883d
nop dword [rax]
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r8, 1
jne 0x1400f8820
not ecx
mov eax, ecx
ret
Function at 0x140119540
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
test edx, edx
jle 0x1401195ad
push rdi
sub rsp, 0x20
mov qword [rsp + 0x30], rbx
lea rbx, [rcx + 0x18]
movsxd rdi, edx
nop word [rax + rax]
mov rax, qword gs:[0x30]
xor edx, edx
mov r8, qword [rbx - 0x10]
mov rcx, qword [rax + 0x60]
mov rcx, qword [rcx + 0x30]
call fcn.14020d8a4
int3
ret
Function at 0x1401200d0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x14012019c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14012019c
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x1401201b5
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14012018c
cmp byte [rax], 0x5c
jne 0x140120186
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x140120186
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x140120172
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x140120183
test r8b, 0x10
jne 0x140120186
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x140120186
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.140127830
test edi, edi
jne 0x1401200f0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.140122520
int3
Function at 0x140128d30
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rdi
sub rsp, 0x48
mov qword [rsp + 0x30], r13
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x18], 0xf
mov rbx, rdx
mov qword [rsp + 0x28], r14
mov rdi, rcx
xor r14d, r14d
mov qword [rcx + 0x10], r14
mov byte [rcx], r14b
mov rax, qword [rdx + 0x10]
cmp rax, 0xf
jbe 0x140128d7f
movzx r8d, byte [rsp + 0x60]
mov rdx, rax
call fcn.1401053a0
mov qword [rdi + 0x10], r14
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
mov r13d, 0xfffffffa
mov qword [rsp + 0x20], r15
jb 0x140128d9c
mov r15, qword [rbx]
mov rcx, r15
mov rbx, r15
jmp 0x140128da2
mov r15, rbx
mov rcx, rbx
add rax, rcx
mov qword [rsp + 0x68], rax
cmp rbx, rax
je 0x140128eed
movzx ebx, byte [rsp + 0x60]
mov qword [rsp + 0x70], rbp
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x38], r12
nop word [rax + rax]
movzx eax, byte [r15]
shl r14d, 8
add r14d, eax
add r13d, 8
mov qword [rsp + 0x60], r14
js 0x140128e6d
lea ecx, [r13 + 6]
movsxd r12, r14d
mov eax, 0xaaaaaaab
movsxd rsi, r13d
mul ecx
lea r14, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
shr edx, 2
imul eax, edx, 0xfffffffa
mov ebp, edx
add r13d, eax
nop dword [rax]
mov rdx, qword [rdi + 0x18]
mov rcx, rsi
mov rax, r12
sar rax, cl
mov rcx, qword [rdi + 0x10]
and eax, 0x3f
movzx r9d, byte [rax + r14]
cmp rcx, rdx
jae 0x140128e4d
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140128e42
mov rax, qword [rdi]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140128e5e
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140105230
sub rsi, 6
sub rbp, 1
jne 0x140128e10
mov r14, qword [rsp + 0x60]
inc r15
cmp r15, qword [rsp + 0x68]
jne 0x140128dd0
mov r8, qword [rdi + 0x10]
mov r12, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x70]
cmp r13d, 0xfffffffa
jle 0x140128eed
shl r14d, 8
lea ecx, [r13 + 8]
movsxd rdx, r14d
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
sar rdx, cl
mov rcx, qword [rdi + 0x18]
and edx, 0x3f
movzx r9d, byte [rdx + rax]
cmp r8, rcx
jae 0x140128eda
lea rax, [r8 + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rcx, 0x10
jb 0x140128ece
mov rax, qword [rdi]
mov byte [r8 + rax], r9b
mov byte [r8 + rax + 1], 0
jmp 0x140128eed
movzx r8d, byte [rsp + 0x60]
mov edx, 1
mov rcx, rdi
call fcn.140105230
mov rcx, qword [rdi + 0x10]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
test cl, 3
je 0x140128f52
movzx ebx, byte [rsp + 0x60]
nop word [rax + rax]
mov rdx, qword [rdi + 0x18]
cmp rcx, rdx
jae 0x140128f35
lea rax, [rcx + 1]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x140128f2d
mov rax, qword [rdi]
mov word [rcx + rax], 0x3d
jmp 0x140128f49
mov r9b, 0x3d
movzx r8d, bl
mov edx, 1
mov rcx, rdi
call fcn.140105230
mov rcx, qword [rdi + 0x10]
test cl, 3
jne 0x140128f10
mov rax, rdi
add rsp, 0x48
pop rdi
pop rbx
ret
Function at 0x14013b350
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rdi
sub rsp, 0x20
xor r10d, r10d
mov rbx, r8
mov r11, r8
mov rdi, rdx
mov eax, ecx
and rbx, 0xfffffffffffffff0
je 0x14013b395
lea rcx, [rsp + 0x30]
call fcn.14013b3d0
pxor xmm0, xmmword [r10 + rdi]
movdqu xmmword [r10 + rdi], xmm0
add r10, 0x10
cmp r10, rbx
jne 0x14013b372
mov eax, dword [rsp + 0x30]
cmp r10, r11
je 0x14013b3c3
lea rdx, [r10 + rdi]
sub r11, r10
mov ecx, eax
lea rdx, [rdx + 1]
shl ecx, 0xd
xor ecx, eax
mov eax, ecx
shr eax, 0x11
xor ecx, eax
mov eax, ecx
shl eax, 5
xor eax, ecx
xor byte [rdx - 1], al
sub r11, 1
jne 0x14013b3a1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140001420
Capabilities:
Contain obfuscated stackstrings
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov byte [rbp - 0x30], 0x7c
xor r10d, r10d
mov byte [rbp - 0x2f], 0x7b
movabs rdi, 0xdd717c3cee9f8024
mov byte [rbp - 0x2e], 8
mov r11, rdi
mov byte [rbp - 0x2d], 0x73
mov rbx, rcx
mov byte [rbp - 0x2c], 0x5c
lea esi, [r10 + 0xf]
mov byte [rbp - 0x2b], 0x19
mov byte [rbp - 0x2a], 0x60
mov byte [rbp - 0x29], 0x16
mov byte [rbp - 0x28], 0x14
mov byte [rbp - 0x27], 0x6c
mov byte [rbp - 0x26], 0x63
mov byte [rbp - 0x25], 0x19
mov byte [rbp - 0x24], 1
mov byte [rbp - 0x23], 0x1b
mov byte [rbp - 0x22], 9
mov byte [rbp - 0x21], 0xc
mov byte [rbp - 0x20], 0x72
mov byte [rbp - 0x1f], 4
mov byte [rbp - 0x1e], 0x1b
mov byte [rbp - 0x1d], 0xb
mov byte [rbp - 0x1c], 5
mov byte [rbp - 0x1b], 0x71
mov byte [rbp - 0x1a], 0
mov byte [rbp - 0x19], 0x18
mov byte [rbp - 0x18], 9
mov byte [rbp - 0x17], 0xd
mov byte [rbp - 0x16], 0xa
mov byte [rbp - 0x15], 0xb
mov byte [rbp - 0x14], 0x6c
mov byte [rbp - 0x13], 0x7e
mov byte [rbp - 0x12], 0x76
mov byte [rbp - 0x11], 0xd
mov byte [rbp - 0x10], 0x73
mov byte [rbp - 0xf], 0x70
mov byte [rbp - 0xe], 0x74
mov byte [rbp - 0xd], 0x7e
mov byte [rbp - 0xc], 6
mov byte [rbp - 0xb], 5
mov byte [rbp - 0xa], 0x74
mov byte [rbp - 9], 0x74
mov byte [rbp - 8], 0x79
mov byte [rbp - 7], 0x33
mov byte [rbp - 6], 0x42
movzx eax, byte [rbp - 0x30]
lea rax, [rbp - 0x30]
sub r11, rax
nop word [rax + rax]
mov rcx, r10
lea r8, [rbp - 0x30]
add r8, r10
and ecx, esi
cmp rcx, rsi
mov rdx, rdi
cmovae rcx, rsi
movzx r9d, byte [r8]
lea eax, [r8 + r11]
shl cl, 2
shr rdx, cl
and dl, sil
xor dl, al
xor dl, r9b
mov byte [rbp + r10 - 0x30], dl
inc r10
cmp r10, 0x2b
jb 0x140001510
mov qword [rsp + 0x30], 0
lea rcx, [rbp - 0x30]
mov dword [rsp + 0x28], 0x80
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
lea r11, [rsp + 0x70]
mov qword [rbx], rax
mov rbx, qword [r11 + 0x10]
cmp rax, 0xffffffffffffffff
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
setne al
mov rsp, r11
pop rbp
ret
Function at 0x140004e40
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov r11d, r8d
mov r10, rdx
not r11d
mov r9, rcx
mov eax, r11d
test rdx, rdx
je 0x140004e9d
lea rbx, [0x140042e30]
movzx r8d, byte [r9]
lea r9, [r9 + 1]
dec r10
cmp r8b, 0x23
jne 0x140004e84
cmp r10, 2
jb 0x140004e84
cmp byte [r9], r8b
jne 0x140004e84
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
xor rdx, r8
shr eax, 8
xor eax, dword [rbx + rdx*4]
test r10, r10
jne 0x140004e60
not eax
mov rbx, qword [rsp + 8]
ret
movzx r8d, byte [rcx]
inc r9
test r8b, r8b
je 0x140004edf
lea rbx, [0x140042e30]
cmp r8b, 0x23
jne 0x140004ec3
cmp byte [r9], r8b
jne 0x140004ec3
cmp byte [r9 + 1], r8b
cmove eax, r11d
movzx edx, al
movzx ecx, r8b
movzx r8d, byte [r9]
xor rdx, rcx
shr eax, 8
inc r9
xor eax, dword [rbx + rdx*4]
test r8b, r8b
jne 0x140004eb0
mov rbx, qword [rsp + 8]
not eax
ret

Function at 0x140005020
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14000503a
mov qword [r8], 0
lea rdx, [0x1400429bc]
call fcn.140004ef0
mov rbx, rax
test rax, rax
jne 0x14000505a
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
mov qword [rsp + 0x30], rsi
mov rcx, rbx
mov qword [rsp + 0x38], rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x140005131
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005131
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x140005131
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x140005131
cmp rdi, 0xffffffffffffffff
je 0x140005131
mov rax, qword [0x140121218]
test rax, rax
je 0x1400050ce
inc dword [rax + 0xf4]
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x140005131
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rdi
je 0x14000511e
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x140121218]
test rax, rax
je 0x140005113
dec dword [rax + 0xf4]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000513a
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14000512c
mov qword [r14], rdi
mov rax, rsi
jmp 0x14000513c
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret