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

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x44e0f8
movzx edx, byte [rax]
nop
test edx, edx
jne 0x44dfbc
test r8b, r8b
jne 0x44dfbc
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
bt edx, 7
jae 0x44dfcf
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x44e0b8
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
cmp rbx, r8
jb 0x44e0a6
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rcx
sar rcx, 0x3f
and r8, rcx
lea rsi, [rax + r8]
test rbx, rbx
jbe 0x44e09c
movzx r8d, byte [rax + r8]
bt r8d, 7
jae 0x44e023
xor eax, eax
xor ecx, ecx
xor r8d, r8d
jmp 0x44e066
mov eax, 1
cmp rax, rbx
ja 0x44e055
add qword [rdi], r8
sub rdx, rax
sub rbx, rax
mov rcx, rdx
neg rdx
sar rdx, 0x3f
and rax, rdx
add rax, rsi
mov edi, 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rbx
call fcn.0045e620
lea r8d, [rcx + 7]
mov ecx, eax
mov eax, r10d
cmp rax, rbx
jae 0x44e094
movzx r9d, byte [rax + rsi]
lea r10d, [rax + 1]
mov r11d, r9d
and r9d, 0x7f
mov eax, ecx
mov ecx, r8d
shl r9d, cl
or eax, r9d
test r11b, 0x80
jne 0x44e05d
mov r8d, eax
mov eax, r10d
jmp 0x44e028
mov rcx, rbx
call fcn.0045e560
xor eax, eax
mov rcx, rax
call fcn.0045e560
mov eax, r8d
mov rcx, rbx
call fcn.0045e620
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x44e0ee
movzx r10d, byte [rdx + rax]
inc edx
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
or r8d, r10d
test r11b, 0x80
jne 0x44e0b1
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x44dfd5
mov eax, edx
mov rcx, rbx
call fcn.0045e560
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.0045e560
nop
int3
Function at 0x455a80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x455b3b
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [0x00455b80]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045bd40
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045be80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00455a80
Function at 0x45e000
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005a6b60]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x005a6891], 0
je 0x45e036
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x005a6e80]
aesenc xmm0, xmmword [0x005a6e90]
aesenc xmm0, xmmword [0x005a6ea0]
movq rax, xmm0
ret
jmp 0x4090c0

Function at 0x45f9a0
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005a6e00]
mov qword [rsp + 8], rdx
lea r8d, [0x005a68a8]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045dee0
add rsp, 0x30
ret
Function at 0x46c040
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x46c25f
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
add qword [rax + 0x58], rcx
mov rdx, qword [rax + 0x50]
test rdx, rdx
jle 0x46c170
nop dword [rax + rax]
cmp rdx, 0x40
ja 0x46c251
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
lea rsi, [rdx - 0x40]
mov r8, rsi
neg rsi
cmp rcx, rsi
cmovl rsi, rcx
mov qword [rsp + 0x28], rsi
sar r8, 0x3f
and r8, rdx
lea rdx, [rax + r8]
lea rdx, [rdx + 0x10]
cmp rbx, rdx
je 0x46c0e2
mov rax, rdx
mov rcx, rsi
call fcn.0045eee0
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
mov rdx, qword [rax + 0x50]
add rdx, rsi
mov qword [rax + 0x50], rdx
cmp rdx, 0x40
jne 0x46c14c
mov qword [rsp], rax
lea rcx, [rax + 0x10]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call fcn.0046c500
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x50], 0
mov rcx, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x70]
cmp rcx, rsi
jb 0x46c249
sub rdi, rsi
mov rdx, rcx
sub rcx, rsi
mov r8, rdi
neg rdi
sar rdi, 0x3f
and rsi, rdi
add rbx, rsi
jmp 0x46c176
mov rdx, rcx
mov r8, rdi
cmp rcx, 0x40
jl 0x46c1f5
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
and rcx, 0xffffffffffffffc0
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
call fcn.0046c500
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov rcx, qword [rsp + 0x30]
and rax, rcx
and rax, 0xffffffffffffffc0
mov rbx, qword [rsp + 0x40]
add rbx, rax
sub rcx, rdx
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
test rcx, rcx
je 0x46c238
cmp rcx, 0x40
mov esi, 0x40
cmovl rsi, rcx
lea rdi, [rax + 0x10]
cmp rbx, rdi
je 0x46c234
mov qword [rsp + 0x38], rsi
mov rax, rdi
mov rcx, rsi
nop dword [rax + rax]
call fcn.0045eee0
mov rax, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x38]
mov qword [rax + 0x50], rsi
mov rax, rdx
xor ebx, ebx
xor ecx, ecx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov rax, rsi
call fcn.0045e620
mov rax, rdx
mov ecx, 0x40
call fcn.0045e620
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.0045be80
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0046c040
Function at 0x140023a60
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
push rbx
push rsi
push rdi
push r15
sub rsp, 0x28
xorps xmm0, xmm0
mov rbx, rdx
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], 0
xor r8d, r8d
mov qword [rcx + 0x18], send
mov rsi, rcx
mov byte [rcx], 0
mov rax, qword [rdx + 0x10]
shr rax, 2
lea rdx, [rax + rax*2]
call fcn.140031ac0
cmp qword [rbx + 0x18], 0x10
mov r9, qword [rbx + 0x10]
jb 0x140023aab
mov rbx, qword [rbx]
cmp qword [rsi + 0x18], 0x10
mov r15, rsi
jb 0x140023ab8
mov r15, qword [rsi]
xor r8d, r8d
mov rdi, r15
test r9, r9
je 0x140023bf5
mov eax, dword [rsp + 0x50]
xor edx, edx
movzx r11d, byte [rsp + 0x52]
mov qword [rsp + 0x58], rbp
movzx ebp, byte [rsp + 0x51]
mov qword [rsp + 0x60], r12
lea r12, [0x1400f0ad0]
mov qword [rsp + 0x20], r14
movzx r14d, byte [rsp + 0x53]
nop dword [rax]
nop dword [rax + rax]
movzx ecx, byte [rbx]
dec r9
cmp cl, 0x3d
je 0x140023b90
movzx r10d, byte [rcx + r12]
cmp r10b, 0xff
je 0x140023b90
mov byte [rsp + rdx + 0x50], r10b
inc rbx
mov eax, dword [rsp + 0x50]
inc rdx
movzx r14d, byte [rsp + 0x53]
inc r8d
movzx r11d, byte [rsp + 0x52]
movzx ebp, byte [rsp + 0x51]
cmp rdx, 4
jne 0x140023b87
movzx r8d, bpl
movzx edx, r11b
shr r8b, 4
movzx ecx, al
shl cl, 2
and r8b, 3
add r8b, cl
shr dl, 2
and dl, 0xf
mov byte [rdi], r8b
movzx ecx, bpl
xor r8d, r8d
shl cl, 4
add dl, cl
movzx ecx, r11b
shl cl, 6
add cl, r14b
mov byte [rdi + 1], dl
mov byte [rdi + 2], cl
add rdi, 3
xor edx, edx
test r9, r9
jne 0x140023b00
mov r12, qword [rsp + 0x60]
test r8d, r8d
je 0x140023beb
shl al, 2
movzx ecx, bpl
shr cl, 4
and cl, 3
shl bpl, 4
add cl, al
movzx eax, r11b
shr al, 2
and al, 0xf
shl r11b, 6
add al, bpl
mov byte [rsp + 0x50], cl
add r11b, r14b
mov byte [rsp + 0x51], al
lea eax, [r8 - 1]
mov byte [rsp + 0x52], r11b
movsxd rbx, eax
test eax, eax
jle 0x140023beb
mov r8, rbx
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.1400e4c90
add rdi, rbx
mov rbp, qword [rsp + 0x58]
mov r14, qword [rsp + 0x20]
sub rdi, r15
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.140031ac0
mov rax, rsi
add rsp, 0x28
pop r15
pop rdi
pop rsi
pop rbx
ret
Function at 0x140023c20
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
lea rdx, [r8 + 2]
mov qword [rcx + 0x10], 0
mov rdi, r8
mov qword [rcx + 0x18], send
movabs rbp, 0xaaaaaaaaaaaaaaab
mov byte [rcx], 0
mov rax, rbp
xor r8d, r8d
mul rdx
mov rsi, rcx
shr rdx, 1
shl rdx, 2
call fcn.140031ac0
cmp qword [rsi + 0x18], 0x10
mov r10, rsi
jb 0x140023c86
mov r10, qword [rsi]
mov rax, rbp
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mul rdi
mov rcx, r10
mov r8, rdx
shr r8, 1
mov r9, r8
je 0x140023d00
movzx eax, byte [rbx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
movzx eax, byte [rbx + 1]
movsx edx, byte [rbx]
shr eax, 4
and edx, 3
shl edx, 4
add edx, eax
movzx eax, byte [rdx + r11]
mov byte [rcx + 1], al
movzx eax, byte [rbx + 2]
movsx edx, byte [rbx + 1]
shr eax, 6
and edx, 0xf
lea eax, [rax + rdx*4]
movzx eax, byte [rax + r11]
mov byte [rcx + 2], al
movsx rax, byte [rbx + 2]
add rbx, 3
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [rcx + 3], al
add rcx, 4
sub r9, 1
jne 0x140023ca1
lea rax, [r8 + r8*2]
sub rdi, rax
sub rdi, 1
je 0x140023d51
cmp rdi, 1
jne 0x140023d7b
movzx eax, byte [rbx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
movsx edx, byte [rbx]
movzx eax, byte [rbx + 1]
and edx, 3
shr eax, 4
shl edx, 4
add edx, eax
movzx eax, byte [rdx + r11]
mov byte [rcx + 1], al
movsx rax, byte [rbx + 1]
and eax, 0xf
movzx eax, byte [r11 + rax*4]
mov byte [rcx + 2], al
mov byte [rcx + 3], 0x3d
jmp 0x140023d77
movzx eax, byte [rbx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
movsx rax, byte [rbx]
and eax, 3
add rax, rax
movzx eax, byte [r11 + rax*8]
mov byte [rcx + 1], al
mov word [rcx + 2], 0x3d3d
add rcx, 4
sub rcx, r10
xor r8d, r8d
mov rdx, rcx
mov rcx, rsi
call fcn.140031ac0
mov rbx, qword [rsp + 0x30]
mov rax, rsi
mov rsi, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140036c10
Capabilities:
Encrypt data using dpapi

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x80
lea rax, [r11 - 0x48]
mov qword [r11 - 0x30], rdx
mov qword [r11 - 0x58], rax
mov rdi, rcx
mov dword [r11 - 0x60], r9d
lea rcx, [r11 - 0x38]
mov dword [r11 - 0x38], r8d
xor ebx, ebx
xor r9d, r9d
mov qword [r11 - 0x68], rbx
xor r8d, r8d
xor edx, edx
call sub.CRYPT32.dll_CryptUnprotectData
test eax, eax
je 0x140036cff
xorps xmm0, xmm0
mov qword [rsp + 0x70], rbx
movups xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x60], bl
mov ebx, dword [rsp + 0x40]
mov qword [rsp + 0x78], send
test rbx, rbx
jne 0x140036c83
mov qword [rsp + 0x70], rbx
mov byte [rsp + rbx + 0x60], bl
jmp 0x140036cbd
lea rcx, [rsp + 0x60]
cmp rbx, 0xf
ja 0x140036ca4
mov r8, rbx
mov qword [rsp + 0x70], rbx
xor edx, edx
call fcn.1400e5330
mov byte [rsp + rbx + 0x60], 0
jmp 0x140036cbd
movzx r8d, byte [rsp + 0xa0]
mov r9, rbx
mov rdx, rbx
mov byte [rsp + 0x20], 0
call fcn.1400232f0
cmp qword [rsp + 0x78], 0x10
lea rcx, [rsp + 0x60]
mov r8d, dword [rsp + 0x40]
cmovae rcx, qword [rsp + 0x60]
mov rdx, qword [rsp + 0x48]
call fcn.1400e4c90
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rsp + 0x60]
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
mov byte [rdi + 0x20], 1
jmp 0x140036d02
mov byte [rdi + 0x20], bl
mov rbx, qword [rsp + 0x90]
mov rax, rdi
add rsp, 0x80
pop rdi
ret
Function at 0x140037f00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
movsd xmm2, qword [0x1400f10a8]
mov r9, rcx
movsd xmm4, qword [0x1400f1100]
xorps xmm3, xmm3
xorps xmm0, xmm0
mov edi, 2
xor esi, esi
nop
mov edx, dword [r9]
cmp edx, 0x270
jne 0x140037f91
lea r8, [r9 + 8]
mov r10d, edx
nop dword [rax]
nop word [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x140037f50
mov edx, dword [r9]
jmp 0x140038072
cmp edx, 0x4e0
jb 0x140038072
lea r10, [r9 + 0x9c4]
mov r11d, 0xe3
mov ebx, dword [r10]
nop dword [rax]
mov eax, ebx
mov ebx, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, ebx
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub r11, 1
jne 0x140037fb0
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov ebx, dword [r10]
nop word [rax + rax]
mov eax, ebx
mov ebx, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, ebx
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub r11, 1
jne 0x140038000
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov edx, esi
mov dword [r9 + 0x9c0], ecx
mov dword [r9], esi
mov eax, edx
xorps xmm1, xmm1
mov ecx, dword [r9 + rax*4 + 4]
lea eax, [rdx + 1]
mov dword [r9], eax
mov eax, ecx
shr eax, 0xb
and eax, dword [r9 + 0x1384]
xor ecx, eax
mov eax, ecx
and eax, 0xff3a58ad
shl eax, 7
xor ecx, eax
mov eax, ecx
and eax, 0xffffdf8c
shl eax, 0xf
xor ecx, eax
mov eax, ecx
shr eax, 0x12
xor eax, ecx
cvtsi2sd xmm1, rax
subsd xmm1, xmm3
mulsd xmm1, xmm2
mulsd xmm2, xmm4
addsd xmm0, xmm1
sub rdi, 1
jne 0x140037f30
mov rbx, qword [rsp + 8]
mov rsi, qword [rsp + 0x10]
mov rdi, qword [rsp + 0x18]
divsd xmm0, xmm2
ret

Function at 0x1400386c0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x1400386e0
mov dword [rcx], 0x270
mov rax, rcx
ret
Function at 0x140039580
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, qword [rcx]
mov r10d, 0x270
mov ecx, dword [r9]
cmp ecx, r10d
jne 0x1400395e1
lea r8, [r9 + 8]
nop dword [rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400395a0
mov ecx, dword [r9]
jmp 0x1400396c8
cmp ecx, 0x4e0
jb 0x1400396c8
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140039600
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x140039650
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1400aae00
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov r15, rdx
lea r14, [rdx - 1]
mov rdi, rcx
xor r12d, r12d
nop word [rax + rax]
mov rsi, r12
mov rbp, r12
test r14, r14
je 0x1400ab001
nop
movzx ecx, byte [rdi + 8]
add cl, 0xff
shl rsi, cl
add rsi, rsi
nop dword [rax]
mov r9, qword [rdi]
mov ecx, dword [r9]
cmp ecx, 0x270
jne 0x1400aaeb4
lea rax, [r9 + 8]
mov r10d, ecx
nop word [rax + rax]
mov r8d, dword [rax - 4]
xor r8d, dword [rax]
lea rax, [rax + 4]
btr r8d, 0x1f
xor r8d, dword [rax - 8]
mov ecx, r8d
and cl, 1
neg cl
sbb edx, edx
shr r8d, 1
and edx, 0x9908b0df
xor edx, dword [rax + 0x62c]
xor edx, r8d
mov dword [rax + 0x9b8], edx
sub r10, 1
jne 0x1400aae70
mov ecx, dword [r9]
jmp 0x1400aaf95
cmp ecx, 0x4e0
jb 0x1400aaf95
lea r10, [r9 + 0x9c4]
mov ebx, 0xe3
mov r11d, dword [r10]
nop
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400aaed0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, eax
lea r10, [r10 + 4]
xor edx, r11d
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x1400aaf20
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
mov ecx, r12d
mov dword [r9], r12d
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
mov rdx, qword [rdi + 0x10]
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
cmp rax, rdx
ja 0x1400aae50
movzx ecx, byte [rdi + 8]
or rsi, rax
add cl, 0xff
shl rbp, cl
add rbp, rbp
or rbp, rdx
cmp rbp, r14
jb 0x1400aae40
xor edx, edx
mov rax, rbp
div r15
mov rcx, rax
mov r8, rdx
xor edx, edx
mov rax, rsi
div r15
cmp rax, rcx
jb 0x1400ab025
cmp r8, r14
jne 0x1400aae30
mov rbx, qword [rsp + 0x20]
mov rax, rdx
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
pop r15
pop r14
pop r12
ret
Function at 0x1400ab050
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
push rbp
push rdi
mov eax, 0x13d0
call fcn.1400e3030
sub rsp, rax
mov rdi, rcx
call fcn.1400ea8d8
mov r9d, 0xffffffff
mov dword [rsp + 0x44], eax
mov dword [rsp + 0x13c4], r9d
mov r8d, 1
nop dword [rax]
nop word [rax + rax]
mov edx, eax
shr edx, 0x1e
xor edx, eax
imul eax, edx, 0x6c078965
add eax, r8d
mov dword [rsp + r8*4 + 0x44], eax
inc r8
cmp r8, 0x270
jb 0x1400ab090
lea rax, [rsp + 0x40]
mov dword [rsp + 0x40], 0x270
mov qword [rsp + 0x20], rax
mov ecx, 0x40
mov rax, 0xffffffffffffffff
nop
dec rcx
shr rax, 1
cmp rax, r9
ja 0x1400ab0d0
mov rdx, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rdi]
mov qword [rsp + 0x30], rax
call fcn.1400aac60
mov rbx, qword [rdi]
mov rbp, qword [rdi + 8]
cmp rbx, rbp
je 0x1400ab1be
mov qword [rsp + 0x13f8], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x1400], r14
mov r14d, 0x80000000
mov qword [rsp + 0x13f0], rax
nop dword [rax]
lea rcx, [rsp + 0x13f0]
call fcn.140039580
mov eax, eax
imul rcx, rax, 7
cmp ecx, 3
ja 0x1400ab168
nop dword [rax + rax]
lea rcx, [rsp + 0x13f0]
call fcn.140039580
mov eax, eax
imul rcx, rax, 7
cmp ecx, 4
jb 0x1400ab150
shr rcx, 0x20
add ecx, 0x80000005
cmp ecx, r14d
lea eax, [rcx + r14]
lea esi, [rcx - 0x80000000]
cmovae esi, eax
xor edi, edi
test esi, esi
jle 0x1400ab1a5
nop dword [rax + rax]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400ab1c9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
inc edi
cmp edi, esi
jl 0x1400ab190
add rbx, 0x40
cmp rbx, rbp
jne 0x1400ab130
mov rsi, qword [rsp + 0x13f8]
mov r14, qword [rsp + 0x1400]
add rsp, 0x13d0
pop rdi
pop rbp
pop rbx
ret
call fcn.1400e9718
int3
Function at 0x1400b9f30
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
xor esi, esi
mov rdi, rcx
mov qword [rcx], rsi
xor edx, edx
mov qword [rcx + 8], rsi
mov r8d, 0x208
mov qword [rcx + 0x10], rsi
lea rcx, [rsp + 0x60]
call fcn.1400e5330
lea rdx, [rsp + 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
dec eax
cmp eax, 0x103
ja 0x1400ba0dc
lea rbx, [rsp + 0x60]
cmp word [rsp + 0x60], si
je 0x1400ba0dc
mov eax, dword [rbx]
mov rdx, qword [rdi + 8]
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x30], 3
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], 7
movups xmm1, xmmword [rsp + 0x30]
mov dword [rsp + 0x24], 0x5c
movups xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm1
cmp rdx, qword [rdi + 0x10]
je 0x1400ba016
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], rsi
mov qword [rdx + 0x18], rsi
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rdx + 0x10], xmm1
add qword [rdi + 8], 0x20
jmp 0x1400ba065
lea r8, [rsp + 0x40]
mov rcx, rdi
call fcn.1400aca80
mov rdx, qword [rsp + 0x58]
cmp rdx, 8
jb 0x1400ba065
mov rcx, qword [rsp + 0x40]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ba060
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ba0fc
call fcn.1400e2cd8
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], si
cmp rdx, 8
jb 0x1400ba0b6
mov rcx, qword [rsp + 0x20]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ba0b1
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ba0fc
call fcn.1400e2cd8
mov rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rbx + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x1400ba0c0
lea rbx, [rbx + rax*2]
add rbx, 2
cmp word [rbx], si
jne 0x1400b9fa3
lea r11, [rsp + 0x270]
mov rax, rdi
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400c4dc4
int3