joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007ac20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rbx, rcx
mov dword [rsp + 0x30], 0x4e204f4e
lea rcx, [rbp + 0x150]
mov dword [rsp + 0x34], 0x20454d41
mov word [rsp + 0x38], 0x2020
lea rdx, str.FAT32___1
mov byte [rsp + 0x3a], 0x20
mov eax, 7
mov dword [rsp + 0x20], 0x4d9058eb
mov dword [rsp + 0x24], 0x4e495753
mov word [rsp + 0x28], 0x2e34
mov byte [rsp + 0x2a], 0x31
nop dword [rax]
nop word [rax + rax]
lea rcx, [rcx + 0x80]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
lea rdx, [rdx + 0x80]
movups xmmword [rcx - 0x80], xmm0
movups xmm0, xmmword [rdx - 0x60]
movups xmmword [rcx - 0x70], xmm1
movups xmm1, xmmword [rdx - 0x50]
movups xmmword [rcx - 0x60], xmm0
movups xmm0, xmmword [rdx - 0x40]
movups xmmword [rcx - 0x50], xmm1
movups xmm1, xmmword [rdx - 0x30]
movups xmmword [rcx - 0x40], xmm0
movups xmm0, xmmword [rdx - 0x20]
movups xmmword [rcx - 0x30], xmm1
movups xmm1, xmmword [rdx - 0x10]
movups xmmword [rcx - 0x20], xmm0
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x14007ac90
mov eax, dword [rdx + 0x10]
movups xmm0, xmmword [rdx]
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x48], 0
movups xmmword [rcx], xmm0
mov dword [rcx + 0x10], eax
movzx eax, word [rdx + 0x14]
mov edx, 4
mov word [rcx + 0x14], ax
lea rax, [rsp + 0x50]
lea rcx, [0x140176fe0]
mov dword [rsp + 0x4c], 0xaa550000
lea rax, [rax + 0x80]
movups xmm0, xmmword [rcx]
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movups xmmword [rax - 0x80], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rax - 0x70], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rax - 0x60], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rax - 0x50], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rax - 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rax - 0x30], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rax - 0x20], xmm0
movups xmmword [rax - 0x10], xmm1
sub rdx, 1
jne 0x14007ad21
lea r9d, [rdx + 0xb]
mov rcx, rbx
lea r8, [rsp + 0x20]
call fcn.140077660
test eax, eax
je 0x14007ae14
mov r9d, 0xb
lea r8, [rsp + 0x30]
mov rcx, rbx
lea edx, [r9 + 0x3c]
call fcn.140077660
test eax, eax
je 0x14007ae14
mov r9d, 0x396
lea r8, [rbp + 0x150]
mov edx, 0x52
mov rcx, rbx
call fcn.140077660
test eax, eax
je 0x14007ae14
mov r9d, 0x10
lea r8, [rsp + 0x40]
mov edx, 0x3f0
mov rcx, rbx
call fcn.140077660
test eax, eax
je 0x14007ae14
mov r9d, 0x200
lea r8, [rsp + 0x50]
mov edx, 0x1c00
mov rcx, rbx
call fcn.140077660
test eax, eax
je 0x14007ae14
mov eax, 1
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
mov rbx, qword [rsp + 0x600]
xor eax, eax
add rsp, 0x5f0
pop rbp
ret
Function at 0x14007f330
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x30]
sub rsp, 0x130
mov r9d, 0x10b
mov dword [rsp + 0x20], 0xc031fcfa
lea r8, [rsp + 0x20]
mov dword [rsp + 0x24], 0xd88ed08e
xor edx, edx
mov dword [rsp + 0x28], 0x8d7c00bd
mov rbx, rcx
mov dword [rsp + 0x2c], 0xb8fbe066
mov dword [rsp + 0x30], 0xc08e1fe0
mov dword [rsp + 0x34], 0xef89ee89
mov dword [rsp + 0x38], 0xf30100b9
mov dword [rsp + 0x3c], 0x7c22eaa5
mov dword [rsp + 0x40], 0xd88e1fe0
mov dword [rsp + 0x44], 0xc031d08e
mov dword [rsp + 0x48], 0xbe8dc08e
mov dword [rsp + 0x4c], 0x5f601be
mov dword [rsp + 0x50], 0x836d7580
mov dword [rsp + 0x54], 0xff8110c7
mov dword [rsp + 0x58], 0xf2727dfe
mov dword [rsp + 0x5c], 0x6e00c4e8
mov dword [rsp + 0x60], 0x6361206f
mov dword [rsp + 0x64], 0x65766974
mov dword [rsp + 0x68], 0x72617020
mov dword [rsp + 0x6c], 0x69746974
mov dword [rsp + 0x70], 0x66206e6f
mov dword [rsp + 0x74], 0x646e756f
mov dword [rsp + 0x78], 0xe8feeb00
mov dword [rsp + 0x7c], 0x657200a5
mov dword [rbp - 0x80], 0x65206461
mov dword [rbp - 0x7c], 0x726f7272
mov dword [rbp - 0x78], 0x69687720
mov dword [rbp - 0x74], 0x7220656c
mov dword [rbp - 0x70], 0x69646165
mov dword [rbp - 0x6c], 0x6420676e
mov dword [rbp - 0x68], 0x65766972
mov dword [rbp - 0x64], 0xe8daeb00
mov dword [rbp - 0x60], 0x61700081
mov dword [rbp - 0x5c], 0x74697472
mov dword [rbp - 0x58], 0x206e6f69
mov dword [rbp - 0x54], 0x6e676973
mov dword [rbp - 0x50], 0x72757461
mov dword [rbp - 0x4c], 0x3d212065
mov dword [rbp - 0x48], 0x41353520
mov dword [rbp - 0x44], 0xb9eb0041
mov dword [rbp - 0x40], 0x720010e8
mov dword [rbp - 0x3c], 0x3e8126b6
mov dword [rbp - 0x38], 0xaa557dfe
mov dword [rbp - 0x34], 0xead175
mov dword [rbp - 0x30], 0xbb00007c
mov dword [rbp - 0x2c], 0x41b455aa
mov dword [rbp - 0x28], 0x327213cd
mov dword [rbp - 0x24], 0xaa55fb81
mov dword [rbp - 0x20], 0xc1f62c75
mov dword [rbp - 0x1c], 0xeb277401
mov dword [rbp - 0x18], 0x4001010
mov qword [rbp - 0x14], 0x7c0000
mov dword [rbp - 0xc], 0
mov dword [rbp - 8], 0x8458b00
mov dword [rbp - 4], 0x8b7cd1a3
mov dword [rbp], 0xd3a30a45
mov dword [rbp + 4], 0x4200b87c
mov dword [rbp + 8], 0xcd7cc9be
mov dword [rbp + 0xc], 0x4b8c313
mov dword [rbp + 0x10], 0x7c00bb02
mov dword [rbp + 0x14], 0x8a024d8b
mov dword [rbp + 0x18], 0x13cd0175
mov dword [rbp + 0x1c], 0xb4db31c3
mov dword [rbp + 0x20], 0x5e10cd0e
mov dword [rbp + 0x24], 0x3c56ac
mov word [rbp + 0x28], 0xf375
mov byte [rbp + 0x2a], 0xc3
call fcn.140077660
test eax, eax
je 0x14007f567
mov rcx, rbx
call fcn.14007e790
test eax, eax
je 0x14007f567
mov eax, 1
mov rbx, qword [rsp + 0x140]
add rsp, 0x130
pop rbp
ret
mov rbx, qword [rsp + 0x140]
xor eax, eax
add rsp, 0x130
pop rbp
ret
Function at 0x140086cc4
Capabilities:
Enumerate pe sections

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsxd r8, dword [0x14000003c]
lea rsi, [0x140000000]
add r8, rsi
mov rbx, rdx
mov rdi, rcx
cmp dword [r8 + 0x84], 0xd
jbe 0x140086d3c
mov r10d, dword [r8 + 0xf0]
xor r9d, r9d
test r10d, r10d
je 0x140086d3c
movzx ecx, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rcx, 0x18
mov r10d, dword [r10 + rsi + 0xc]
add rcx, r8
test r11d, r11d
je 0x140086d3c
mov eax, dword [rcx + 0xc]
cmp r10d, eax
jb 0x140086d30
mov edx, dword [rcx + 8]
add eax, edx
cmp r10d, eax
jb 0x140086d4e
inc r9d
add rcx, 0x28
cmp r9d, r11d
jb 0x140086d1e
xor eax, eax
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
ret
mov dword [rdi], edx
mov eax, dword [rcx + 0x24]
mov dword [rbx], eax
mov eax, dword [rcx + 0xc]
add rax, rsi
jmp 0x140086d3e
Function at 0x14008d060
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r13
push r15
sub rsp, 0x10
mov r9d, dword [rcx + 0x10]
mov r15, r8
mov r10, rdx
mov r13, rcx
mov rbp, 0xffffffffffffffff
cmp r8, 4
ja 0x14008d090
xor eax, eax
add rsp, 0x10
pop r15
pop r13
pop rbp
ret
mov qword [rsp], r14
mov r14d, 0
mov r8d, r14d
sub r15, 4
je 0x14008d22e
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
mov qword [rsp + 8], r12
lea r12, [0x140000000]
mov qword [rsp + 0x40], rdi
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r8 + r10]
and al, 0xfe
cmp al, 0xe8
jne 0x14008d20e
mov rcx, r8
sub rcx, rbp
cmp rcx, 3
jbe 0x14008d10e
mov r9d, r14d
movzx ecx, byte [r10 + r8 + 4]
lea rdx, [r10 + 4]
mov rbp, r8
lea eax, [rcx - 1]
cmp al, 0xfd
ja 0x14008d14e
add r9d, r9d
or r9d, 1
jmp 0x14008d20e
add cl, 0xff
shl r9d, cl
and r9d, 7
je 0x14008d0ee
cmp byte [r9 + r12 + 0x13ef98], r14b
je 0x14008d13f
movzx eax, byte [r9 + r12 + 0x13efa0]
mov rcx, r8
sub rcx, rax
movzx eax, byte [rcx + r10 + 4]
inc al
test al, 0xfe
jne 0x14008d0ee
add r9d, r9d
mov rbp, r8
or r9d, 1
jmp 0x14008d20e
movzx eax, byte [r10 + r8 + 3]
lea rdi, [r10 + 3]
mov esi, dword [r13 + 0xc]
lea rbx, [r10 + 2]
shl ecx, 8
lea r11, [r10 + 1]
or eax, ecx
movzx ecx, byte [rbx + r8]
shl eax, 8
or eax, ecx
movzx ecx, byte [r11 + r8]
shl eax, 8
or eax, ecx
sub eax, esi
sub eax, r8d
sub eax, 5
test r9d, r9d
je 0x14008d1dc
mov ecx, r9d
mov ebx, 0x18
movzx r11d, byte [rcx + r12 + 0x13efa0]
shl r11d, 3
sub ebx, r11d
mov edx, eax
mov ecx, ebx
shr edx, cl
inc dl
test dl, 0xfe
jne 0x14008d1cc
mov ecx, 0x20
mov edx, 1
sub ecx, r11d
shl edx, cl
dec edx
xor eax, edx
sub eax, esi
sub eax, r8d
sub eax, 5
jmp 0x14008d1a2
lea r11, [r10 + 1]
lea rbx, [r10 + 2]
lea rdi, [r10 + 3]
lea rdx, [r10 + 4]
and eax, 0x1ffffff
mov ecx, eax
and ecx, 0x1000000
neg ecx
or eax, ecx
mov ecx, eax
mov byte [r11 + r8], al
shr ecx, 8
mov byte [rbx + r8], cl
mov ecx, eax
shr ecx, 0x10
shr eax, 0x18
mov byte [rdi + r8], cl
mov byte [rdx + r8], al
add r8, 4
inc r8
cmp r8, r15
jb 0x14008d0d0
mov r12, qword [rsp + 8]
mov rdi, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x30]
mov rcx, r8
sub rcx, rbp
cmp rcx, 3
ja 0x14008d243
add cl, 0xff
shl r9d, cl
mov r14d, r9d
mov dword [r13 + 0x10], r14d
mov rax, r8
mov r14, qword [rsp]
add rsp, 0x10
pop r15
pop r13
pop rbp
ret
Function at 0x1400903c0
Capabilities:
Encode data using xor
Hash data using crc32b
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov r10, rcx
test rcx, rcx
jne 0x1400903e9
lea edx, [rcx + 4]
mov ecx, 0x100
call fcn.1400c537c
mov r10, rax
test rax, rax
je 0x1400904a3
mov eax, 1
test ebx, ebx
je 0x14009044c
mov ebx, 0x80000000
nop word [rax + rax]
mov edx, ebx
lea ecx, [rbx + rbx]
sar edx, 0x1f
xor r9d, r9d
and edx, 0x4c11db7
mov ebx, edx
xor ebx, ecx
test eax, eax
je 0x14009043a
mov r11, r10
nop dword [rax]
lea ecx, [r9 + rax]
mov r8d, ebx
xor r8d, dword [r11]
lea r11, [r11 + 4]
inc r9d
mov dword [r10 + rcx*4], r8d
cmp r9d, eax
jb 0x140090420
add eax, eax
cmp eax, 0x100
jb 0x140090400
mov rax, r10
add rsp, 0x20
pop rbx
ret
mov dword [r10], 0
mov r11d, 0x80
nop dword [rax]
mov ecx, eax
lea ebx, [r11 + r11]
and cl, 1
neg cl
mov ecx, eax
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
mov eax, edx
xor eax, ecx
xor r9d, r9d
nop
lea ecx, [r9 + r11]
mov r8d, eax
xor r8d, dword [r10 + r9*4]
add r9d, ebx
mov dword [r10 + rcx*4], r8d
cmp r9d, 0x100
jb 0x140090480
shr r11d, 1
jne 0x140090460
mov rax, r10
add rsp, 0x20
pop rbx
ret

Function at 0x1400904b0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x1400904de
nop word [rax + rax]
movzx r10d, byte [rdx]
lea rdx, [rdx + 1]
mov eax, ecx
shr ecx, 8
xor r10, rax
movzx eax, r10b
xor ecx, dword [r9 + rax*4]
sub r8, 1
jne 0x1400904c0
mov eax, ecx
ret

Function at 0x1400911c0
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
je 0x1400912ba
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx]
mov rdi, rdx
mov esi, r8d
sub eax, 0x7f2bb708
add rsi, rdx
mov rbx, rcx
cmp eax, 2
ja 0x140091210
movabs rcx, 0xffffffff00000000
test rcx, rdx
jne 0x140091279
lea rax, [rsi - 1]
test rcx, rax
jne 0x140091279
mov rcx, rbx
call fcn.140091f70
mov eax, dword [rbx]
sub eax, 0x7f2bb76d
cmp eax, 2
ja 0x1400912ab
movsxd rax, dword [rbx + 0x38]
mov r8d, 1
mov rcx, rax
shl r8, cl
dec r8
shr rdi, cl
add r8, rsi
shr r8, cl
sub r8d, edi
cmp rdi, qword [rbx + 0x20]
jb 0x14009129b
mov rdx, qword [rbx + 0x28]
cmp rdi, rdx
ja 0x14009129b
mov ecx, r8d
dec rcx
add rcx, rdi
cmp rcx, rdx
ja 0x14009129b
mov rax, qword [rbx + 0x10]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x40]
mov edx, 1
mov r8d, 0xffffffff
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140092770
mov r8, qword [rbx + 0x40]
mov edx, edi
mov ecx, 0x7f2bb72d
call fcn.1400a19c0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400915e0
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
je 0x1400916da
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx]
mov rdi, rdx
mov esi, r8d
sub eax, 0x7f2bb708
add rsi, rdx
mov rbx, rcx
cmp eax, 2
ja 0x140091630
movabs rcx, 0xffffffff00000000
test rcx, rdx
jne 0x140091699
lea rax, [rsi - 1]
test rcx, rax
jne 0x140091699
mov rcx, rbx
call fcn.140092620
mov eax, dword [rbx]
sub eax, 0x7f2bb76d
cmp eax, 2
ja 0x1400916cb
movsxd rax, dword [rbx + 0x38]
mov r8d, 1
mov rcx, rax
shl r8, cl
dec r8
shr rdi, cl
add r8, rsi
shr r8, cl
sub r8d, edi
cmp rdi, qword [rbx + 0x20]
jb 0x1400916bb
mov rdx, qword [rbx + 0x28]
cmp rdi, rdx
ja 0x1400916bb
mov ecx, r8d
dec rcx
add rcx, rdi
cmp rcx, rdx
ja 0x1400916bb
mov rax, qword [rbx + 0x10]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x48]
mov edx, 1
mov r8d, 0xffffffff
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140092770
mov r8, qword [rbx + 0x40]
mov edx, edi
mov ecx, 0x7f2bb72e
call fcn.1400a19c0
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140091770
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x1400917a8
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x1400917a8
mov r9, rdx
mov qword [rsp + 0x20], rax
lea rdx, str.ext2fs
mov r8d, 0xa
lea rcx, str._s:___08X___called__s_with_64_bit_bitmap_for__s_
call fcn.14004f910
add rsp, 0x38
ret
mov r9, rdx
lea rcx, str._s:___08X___called__s_with_64_bit_bitmap_
lea rdx, str.ext2fs
mov r8d, 0xa
add rsp, 0x38
jmp fcn.14004f910

Function at 0x1400917d0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x40]
add edx, 0x80d44900
mov r9, r8
mov r8d, dword [rcx + 0x50]
add r8d, edx
lea rdx, str.ext2fs
test rax, rax
je 0x14009180a
lea rcx, str._s:___08X____llu_for__s_
mov qword [rsp + 0x20], rax
call fcn.14004f910
add rsp, 0x38
ret
lea rcx, str._s:___08X____llu_
add rsp, 0x38
jmp fcn.14004f910

Function at 0x140091f70
Capabilities:
Print debug messages

Disassembly:
mov r11d, r8d
mov r10d, edx
mov r9, rcx
cmp edx, dword [rcx + 0x10]
jb 0x140091fc8
mov ecx, dword [rcx + 0x14]
cmp edx, ecx
ja 0x140091fc8
lea eax, [r8 - 1]
add eax, edx
cmp eax, ecx
ja 0x140091fc8
xor r8d, r8d
test r11d, r11d
jle 0x140091fd6
nop word [rax + rax]
mov edx, r8d
inc r8d
sub edx, dword [r9 + 0x10]
add edx, r10d
mov ecx, edx
and edx, 7
shr rcx, 3
add rcx, qword [r9 + 0x28]
movzx eax, byte [rcx]
bts eax, edx
mov byte [rcx], al
cmp r8d, r11d
jl 0x140091fa0
ret
mov r8, qword [r9 + 0x20]
mov ecx, 0x7f2bb72d
jmp fcn.1400a19c0
ret
Function at 0x140092620
Capabilities:
Print debug messages

Disassembly:
mov r11d, r8d
mov r10d, edx
mov r9, rcx
cmp edx, dword [rcx + 0x10]
jb 0x140092678
mov ecx, dword [rcx + 0x14]
cmp edx, ecx
ja 0x140092678
lea eax, [r8 - 1]
add eax, edx
cmp eax, ecx
ja 0x140092678
xor r8d, r8d
test r11d, r11d
jle 0x140092686
nop word [rax + rax]
mov edx, r8d
inc r8d
sub edx, dword [r9 + 0x10]
add edx, r10d
mov ecx, edx
and edx, 7
shr rcx, 3
add rcx, qword [r9 + 0x28]
movzx eax, byte [rcx]
btr eax, edx
mov byte [rcx], al
cmp r8d, r11d
jl 0x140092650
ret
mov r8, qword [r9 + 0x20]
mov ecx, 0x7f2bb72e
jmp fcn.1400a19c0
ret

Function at 0x140092770
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x20]
add edx, 0x80d44900
mov r9d, r8d
mov r8d, dword [rcx + 0x30]
add r8d, edx
lea rdx, str.ext2fs
test rax, rax
je 0x1400927aa
lea rcx, str._s:___08X____lu_for__s_
mov qword [rsp + 0x20], rax
call fcn.14004f910
add rsp, 0x38
ret
lea rcx, str._s:___08X____lu_
add rsp, 0x38
jmp fcn.14004f910
Function at 0x1400a19c0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov r9d, edx
lea rdx, str.ext2fs
test r8, r8
je 0x1400a19f0
mov qword [rsp + 0x20], r8
lea r8d, [rcx - 0x7f2bb700]
lea rcx, str._s:___08X____lu_for__s_
call fcn.14004f910
add rsp, 0x38
ret
lea r8d, [rcx - 0x7f2bb700]
lea rcx, str._s:___08X____lu_
add rsp, 0x38
jmp fcn.14004f910
Function at 0x1400aa210
Capabilities:
Hash data using sha512

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x100
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0xf0], rax
movabs rax, 0x6a09e667f3bcc908
mov ebx, edx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x68], edx
movabs rax, 0xbb67ae8584caa73b
mov qword [rsp + 0x30], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsp + 0x38], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsp + 0x40], rax
movabs rax, 0x510e527fade682d1
mov qword [rsp + 0x48], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsp + 0x50], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x58], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x60], rax
mov rbp, r8
mov qword [rsp + 0x20], rdx
mov rsi, rcx
test ebx, ebx
je 0x1400aa35f
mov qword [rsp + 0x138], rdi
test edx, edx
jne 0x1400aa2f7
cmp ebx, 0x80
jb 0x1400aa2f7
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.1400aa390
add qword [rsp + 0x20], 0x400
sub rsi, 0xffffffffffffff80
mov edx, dword [rsp + 0x68]
add ebx, 0xffffff80
jmp 0x1400aa34f
mov eax, edx
mov ecx, 0x80
sub ecx, edx
mov edi, ebx
cmp ebx, ecx
mov rdx, rsi
cmovae edi, ecx
lea rcx, [rsp + 0x6c]
add rcx, rax
mov r8d, edi
call fcn.1401362c0
mov edx, dword [rsp + 0x68]
add rsi, rdi
add edx, edi
sub ebx, edi
mov dword [rsp + 0x68], edx
cmp edx, 0x80
jne 0x1400aa34f
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1400aa390
add qword [rsp + 0x20], 0x400
xor edx, edx
mov dword [rsp + 0x68], edx
test ebx, ebx
jne 0x1400aa2c8
mov rdi, qword [rsp + 0x138]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.1400aad80
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400b1f80
add rsp, 0x100
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400ae700
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea rdi, [0x140141c50]
mov r10, r8
mov r9, rdx
test dl, 3
je 0x1400ae742
test r8, r8
je 0x1400ae742
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
inc r9
xor ecx, dword [rdi + rax*4]
sub r10, 1
je 0x1400ae742
test r9b, 3
jne 0x1400ae721
mov r11, r10
lea rbx, [r9 - 4]
and r11d, 7
shr r10, 3
test r10, r10
je 0x1400ae7ed
nop word [rax + rax]
mov r8d, dword [rbx + 8]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, ecx
xor r9, rax
mov eax, r8d
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 8
movzx edx, al
mov rax, r9
shr rax, 0x10
mov ecx, dword [rdi + rcx*4 + 0x400]
xor ecx, dword [rdi + rdx*4 + 0x800]
movzx edx, al
mov rax, r9
shr rax, 8
xor ecx, dword [rdi + rdx*4 + 0x1400]
movzx edx, al
mov eax, r8d
shr rax, 0x18
xor ecx, dword [rdi + rdx*4 + 0x1800]
xor ecx, dword [rdi + rax*4]
mov rax, r9
shr rax, 0x18
xor ecx, dword [rdi + rax*4 + 0x1000]
movzx eax, r8b
xor ecx, dword [rdi + rax*4 + 0xc00]
movzx eax, r9b
xor ecx, dword [rdi + rax*4 + 0x1c00]
sub r10, 1
jne 0x1400ae760
test r11, r11
je 0x1400ae81d
lea r8, [rbx + 3]
nop word [rax + rax]
movzx eax, byte [r8 + 1]
lea r8, [r8 + 1]
mov edx, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [rdi + rax*4]
sub r11, 1
jne 0x1400ae800
mov rbx, qword [rsp + 8]
mov eax, ecx
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1400af620
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
xor eax, eax
movzx ecx, byte [rdx]
mov r10, r8
lea r8, [rdx + 0x10]
mov rbx, r9
mov r11, rdx
test cl, cl
je 0x1400af67f
mov r9d, ecx
nop dword [rax + rax]
mov edx, eax
lea r8, [r8 + 1]
mov ecx, eax
shr edx, 0x1b
shl ecx, 5
mov eax, edx
xor eax, ecx
movsx ecx, byte [r8 - 1]
xor eax, ecx
sub r9, 1
jne 0x1400af660
cmp dword [r11 + 4], 0
jne 0x1400af6bc
mov r8d, dword [r11 + 8]
test r8d, r8d
je 0x1400af6bc
add r8d, 3
shr r8d, 2
test r8d, r8d
je 0x1400af6bc
nop dword [rax]
mov edx, eax
lea r10, [r10 + 4]
mov ecx, eax
shr edx, 0x10
shl ecx, 0x10
mov eax, edx
xor eax, ecx
xor eax, dword [r10 - 4]
sub r8d, 1
jne 0x1400af6a0
mov dword [rbx], eax
mov edx, dword [r11 + 4]
test edx, edx
je 0x1400af6e9
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.14009b340
test eax, eax
jne 0x1400af6eb
mov eax, dword [rbx]
mov ecx, eax
shr ecx, 0x10
shl eax, 0x10
xor ecx, eax
xor ecx, dword [rsp + 0x28]
mov dword [rbx], ecx
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400b1f80
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
ret

Function at 0x1400b30cc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b3116
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b3116
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b3116
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b3116
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b3116
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b3118
xor al, al
add rsp, 0x28
ret
Function at 0x14010307c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x1401030b7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010cb6c
call fcn.14010cbf8
mov eax, dword [rax]
jmp 0x14010312e
cmp rdi, qword [rbx + 0x18]
ja 0x1401030c3
mov qword [rbx + 0x20], rdi
jmp 0x14010312c
cmp byte [rbx + 0x28], 0
lea rsi, [rdi + 1]
je 0x1401030da
mov rcx, qword [rbx + 0x10]
call fcn.14011a644
mov byte [rbx + 0x28], 0
lea rcx, [rdi*2 + 2]
call fcn.14011c984
mov qword [rbx + 0x10], rax
mov r8, rax
neg rax
mov edx, 0
sbb eax, eax
not eax
and eax, 0xc
cmove rdx, rsi
test eax, eax
sete cl
mov byte [rbx + 0x28], cl
mov qword [rbx + 0x18], rdx
test eax, eax
jne 0x14010312e
mov ecx, dword [rbx + 0x18]
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
test rax, rax
je 0x1401030a1
mov qword [rbx + 0x20], rax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140104500
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400b2940
sub rsp, rax
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14011c8b0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14010454f
mov rax, rbp
jmp 0x140104657
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x19e890]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14010ff2c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x19e890]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140104653
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140104653
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14010ff2c
test rax, rax
js 0x140104653
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140104653
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140104645
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140104645
cmp byte [rcx], 0xd
jne 0x14010462b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14010463a
cmp byte [rcx + 1], 0xa
jne 0x14010463a
inc rcx
jmp 0x14010463a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x193600]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x14010460d
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140104657
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400b1f80
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret