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

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rcx, qword [rsp + 0x28]
test rcx, rcx
jbe 0x1400477b9
mov rdx, qword [rsp + 0x20]
movzx ebx, byte [rdx]
test ebx, ebx
jne 0x140047636
movzx esi, byte [rsp + 0x48]
test sil, sil
je 0x140047767
bt ebx, 7
nop word [rax + rax]
jae 0x140047759
xor eax, eax
xor ebx, ebx
xor esi, esi
jmp 0x140047660
lea esi, [rcx + 7]
mov rcx, rax
mov eax, r8d
nop word [rax + rax]
cmp rcx, rax
jbe 0x1400477b4
movzx edi, byte [rax + rdx]
lea r8d, [rax + 1]
mov r9d, edi
and edi, 0x7f
mov rax, rcx
mov ecx, esi
shl edi, cl
or ebx, edi
test r9b, 0x80
jne 0x14004764e
mov esi, ebx
and ebx, 1
neg ebx
shr esi, 1
xor ebx, esi
mov rsi, qword [rsp + 0x40]
add dword [rsi], ebx
nop dword [rax + rax]
cmp rax, r8
jb 0x1400477a9
sub rax, r8
mov rbx, qword [rsp + 0x30]
sub rbx, r8
mov rsi, rbx
neg rbx
sar rbx, 0x3f
and r8, rbx
lea rbx, [rdx + r8]
test rax, rax
jbe 0x14004779f
movzx edx, byte [rdx + r8]
bt edx, 7
jae 0x140047751
xor ecx, ecx
xor edx, edx
xor edi, edi
nop
jmp 0x1400476e8
lea edi, [rcx + 7]
mov ecx, r9d
cmp rax, rcx
jbe 0x140047792
movzx r8d, byte [rcx + rbx]
lea r9d, [rcx + 1]
mov r10d, r8d
and r8d, 0x7f
mov ecx, edi
shl r8d, cl
or edx, r8d
test r10b, 0x80
jne 0x1400476e2
cmp rax, r9
jb 0x140047787
mov rcx, qword [rsp + 0x38]
add qword [rcx], rdx
sub rsi, r9
mov rcx, rsi
neg rsi
sar rsi, 0x3f
and rsi, r9
lea rdx, [rbx + rsi]
mov qword [rsp + 0x50], rdx
sub rax, r9
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rcx
mov byte [rsp + 0x68], 1
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov r9d, 1
jmp 0x14004770f
mov rax, rcx
mov r8d, 1
jmp 0x140047686
mov qword [rsp + 0x50], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
mov byte [rsp + 0x68], 0
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rcx, rax
mov eax, r9d
call fcn.140059ce0
mov rdx, rax
mov eax, ecx
mov rcx, rdx
call fcn.140059c20
mov rcx, rax
xor eax, eax
call fcn.140059c20
mov rcx, rax
mov eax, r8d
call fcn.140059ce0
call fcn.140059c20
xor eax, eax
nop dword [rax + rax]
call fcn.140059c20
nop
int3
Function at 0x14004d3e0
Capabilities:
Access peb ldr_data

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x14004d4c1
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov rax, qword gs:[0x28]
mov rax, qword [rax]
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x18], xmm0
movups xmmword [rsp + 0x28], xmm0
movups xmmword [rsp + 0x38], xmm0
movups xmmword [rsp + 0x48], xmm0
lea rcx, [0x140053a60]
mov qword [rsp + 0x10], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.1400578c0
mov rax, qword [rsp + 8]
mov qword [rsp + 0x88], rax
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
nop
ret
call fcn.140057a20
jmp fcn.14004d3e0
Function at 0x140059600
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x140002b40
sub rsp, 0x28
mov qword [rsp + 0x20], rbp
lea rbp, [rsp + 0x20]
mov rax, qword [rsp + 0x30]
mov rcx, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp], rcx
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rax
call fcn.1400086a0
mov rax, qword [rsp + 0x18]
mov qword [rsp + 0x40], rax
mov rbp, qword [rsp + 0x20]
add rsp, 0x28
ret
call fcn.140057a20
jmp 0x140002ae0
cmp byte [0x1403dc7b2], 0
je 0x14005961f
mov rax, qword [rsp + 8]
mov rcx, qword [rax + 8]
mov rax, qword [rax]
lea rdx, [rsp + 0x18]
jmp 0x140056a40
jmp 0x140002ae0

Function at 0x140059640
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x1403dca20]
nop
mov rcx, qword [rsp + 8]
mov ecx, dword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*4]
xor rax, rcx
shl rcx, 0x20
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rcx, rax
movabs rax, 0x83cf8eadf876d2d7
imul rax, rcx
mov rcx, rax
shr rax, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x1403dc7b2], 0
je 0x14005967c
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x1403dcca0]
aesenc xmm0, xmmword [0x1403dccb0]
aesenc xmm0, xmmword [0x1403dccc0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x140008920

Function at 0x1400596a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [0x1403dca20]
mov rcx, qword [rsp + 8]
mov rcx, qword [rcx]
mov rdx, qword [rsp + 0x10]
lea rax, [rdx + rax*8]
xor rcx, rax
movabs rax, 0xea38ec9079f01541
imul rax, rcx
rol rax, 0x1f
movabs rcx, 0x2723a30d96da1399
imul rcx, rax
mov rax, rcx
shr rcx, 0x1d
xor rax, rcx
movabs rcx, 0x83cf8eadf876d2d7
imul rcx, rax
mov rax, rcx
shr rcx, 0x20
xor rax, rcx
mov qword [rsp + 0x18], rax
ret
cmp byte [0x1403dc7b2], 0
je 0x1400596dd
mov rax, qword [rsp + 8]
movq xmm0, qword [rsp + 0x10]
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x1403dcca0]
aesenc xmm0, xmmword [0x1403dccb0]
aesenc xmm0, xmmword [0x1403dccc0]
movq qword [rsp + 0x18], xmm0
ret
jmp 0x1400089a0
Function at 0x1400704e0
Capabilities:
Encode data using base64

Disassembly:
sub rsp, 0x18
mov qword [rsp + 0x10], rbp
lea rbp, [rsp + 0x10]
mov rdx, qword [rsp + 0x20]
mov rbx, qword [rdx + 8]
lea rsi, [rbx + 0x2e]
imul rsi, rsi, 0xffffffffffffffe4
movabs rax, 0x5816058160581606
mov rcx, rdx
imul rsi
sar rdx, 5
sar rsi, 0x3f
sub rdx, rsi
lea rsi, [rdx + 0x15c]
sar rsi, 0x3f
shr rsi, 0x3d
lea rdx, [rsi + rdx]
lea rdx, [rdx + 0x15c]
sar rdx, 3
cmp rdx, 0x57
jae 0x1400705b9
lea rsi, [rdx + rdx*2]
lea rdi, [0x1400c1f40]
mov r8, qword [rdi + rsi*8 + 8]
lea r9, [r8 + rbx]
lea r9, [r9 + 0x40]
cmp r9, 0xffffffffffffffc4
jge 0x140070562
inc rdx
nop
jmp 0x140070538
cmp r9, 0xffffffffffffffe0
jle 0x14007056d
dec rdx
jmp 0x140070538
mov rbx, qword [rdi + rsi*8]
mov rax, qword [rcx]
mov rsi, rdx
mul rbx
shr rax, 0x3f
add rdx, rax
mov qword [rcx], rdx
mov rdx, qword [rcx + 8]
lea rdx, [rdx + r8]
lea rdx, [rdx + 0x40]
mov qword [rcx + 8], rdx
mov rcx, rsi
shl rsi, 3
lea rdx, [rsi - 0x15c]
neg rdx
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rcx
mov rbp, qword [rsp + 0x10]
add rsp, 0x18
ret
mov rax, rdx
mov ecx, 0x57
call fcn.140059c20
nop
int3
Function at 0x14007fec0
Capabilities:
Hash data using fnv

Disassembly:
mov rax, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov edx, dword [rsp + 8]
xor ebx, ebx
jmp 0x14007fee1
movzx esi, byte [rax + rbx]
inc rbx
imul edx, edx, 0x1000193
xor edx, esi
cmp rcx, rbx
jg 0x14007fed2
mov dword [rsp + 0x28], edx
ret

Function at 0x14009f4e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x14009f5f9
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
movabs rdx, 0xc70f5c35c93535cf
mov qword [rsp + 0x29], rdx
movabs rdx, 0xced072c70f5c35c9
mov qword [rsp + 0x2c], rdx
movabs rdx, 0x8070308060705
mov qword [rsp + 0x34], rdx
mov dword [rsp + 0x3c], 0x600090a
xor eax, eax
nop
jmp 0x14009f560
add edi, 0x70
movzx r8d, byte [rsp + rsi + 0x29]
mov byte [rsp + rsi + 0x29], dil
sub r8d, edx
lea edx, [r8 + 0x70]
mov byte [rsp + rbx + 0x29], dl
add rax, 2
nop
cmp rax, 0xc
jge 0x14009f595
movzx edx, byte [rsp + rax + 0x34]
lea rbx, [rax + 1]
cmp rbx, 0xc
jae 0x14009f5eb
movzx ebx, byte [rsp + rax + 0x35]
mov esi, edx
xor edx, ebx
add edx, eax
cmp rbx, 0xb
jae 0x14009f5df
movzx edi, byte [rsp + rbx + 0x29]
sub edi, edx
cmp rsi, 0xb
jb 0x14009f542
jmp 0x14009f5d3
mov qword [rsp], 0
lea rax, [rsp + 0x29]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0xb
call fcn.140043fe0
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov eax, esi
mov ecx, 0xb
call fcn.140059c20
mov eax, ebx
mov ecx, 0xb
call fcn.140059c20
mov rax, rbx
mov ecx, 0xc
call fcn.140059c20
nop
call fcn.140057a20
nop
jmp fcn.14009f4e0
Function at 0x14009f900
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x14009fa33
sub rsp, 0x50
mov qword [rsp + 0x48], rbp
lea rbp, [rsp + 0x48]
movabs rdx, 0x2e35bac92ec6b732
mov qword [rsp + 0x28], rdx
movabs rdx, 0x357447310dca2e35
mov qword [rsp + 0x2e], rdx
movabs rdx, 0x5090b0102080902
mov qword [rsp + 0x36], rdx
movabs rdx, 0x40105090b010208
mov qword [rsp + 0x38], rdx
movabs rdx, 0x80c090b0b040201
mov qword [rsp + 0x40], rdx
xor eax, eax
jmp 0x14009f991
movzx r8d, byte [rsp + rsi + 0x28]
mov byte [rsp + rsi + 0x28], dil
lea edx, [r8 + rdx]
lea edx, [rdx - 0x57]
mov byte [rsp + rbx + 0x28], dl
add rax, 2
cmp rax, 0x12
jge 0x14009f9ca
movzx edx, byte [rsp + rax + 0x36]
lea rbx, [rax + 1]
cmp rbx, 0x12
jae 0x14009fa25
movzx ebx, byte [rsp + rax + 0x37]
mov esi, edx
xor edx, ebx
add edx, eax
cmp rbx, 0xe
jae 0x14009fa14
movzx edi, byte [rsp + rbx + 0x28]
lea edi, [rdi + rdx]
lea edi, [rdi - 0x57]
cmp rsi, 0xe
jb 0x14009f977
jmp 0x14009fa08
mov qword [rsp], 0
lea rax, [rsp + 0x28]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0xe
call fcn.140043fe0
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rcx
mov rbp, qword [rsp + 0x48]
add rsp, 0x50
ret
mov eax, esi
mov ecx, 0xe
call fcn.140059c20
mov eax, ebx
mov ecx, 0xe
nop dword [rax + rax]
call fcn.140059c20
mov rax, rbx
mov ecx, 0x12
call fcn.140059c20
nop
call fcn.140057a20
jmp fcn.14009f900

Function at 0x1400a0080
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
cmp rsp, qword [rcx + 0x10]
jbe 0x1400a018d
sub rsp, 0x48
mov qword [rsp + 0x40], rbp
lea rbp, [rsp + 0x40]
movabs rdx, 0x5c568557547d5e8d
mov qword [rsp + 0x2b], rdx
mov byte [rsp + 0x33], 0x30
movabs rdx, 0x703050506040302
mov qword [rsp + 0x34], rdx
mov dword [rsp + 0x3c], 0x5010500
xor eax, eax
jmp 0x1400a00f4
add edi, 0xffffffde
movzx r8d, byte [rsp + rsi + 0x2b]
mov byte [rsp + rsi + 0x2b], dil
sub r8d, edx
lea edx, [r8 - 0x22]
mov byte [rsp + rbx + 0x2b], dl
add rax, 2
cmp rax, 0xc
jge 0x1400a0129
movzx edx, byte [rsp + rax + 0x34]
lea rbx, [rax + 1]
cmp rbx, 0xc
jae 0x1400a017f
movzx ebx, byte [rsp + rax + 0x35]
mov esi, edx
xor edx, ebx
add edx, eax
cmp rbx, 9
jae 0x1400a0173
movzx edi, byte [rsp + rbx + 0x2b]
sub edi, edx
cmp rsi, 9
jb 0x1400a00d7
jmp 0x1400a0167
mov qword [rsp], 0
lea rax, [rsp + 0x2b]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 9
call fcn.140043fe0
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rcx
mov rbp, qword [rsp + 0x40]
add rsp, 0x48
ret
mov eax, esi
mov ecx, 9
call fcn.140059c20
mov eax, ebx
mov ecx, 9
call fcn.140059c20
mov rax, rbx
mov ecx, 0xc
call fcn.140059c20
nop
call fcn.140057a20
jmp fcn.1400a0080
Function at 0x1400a01a0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
lea rax, [rsp - 0x10]
cmp rax, qword [rcx + 0x10]
jbe 0x1400a0360
sub rsp, 0x90
mov qword [rsp + 0x88], rbp
lea rbp, [rsp + 0x88]
movabs rdx, 0xe475652d6990113f
mov qword [rsp + 0x2d], rdx
movabs rdx, 0x9726914441e47565
mov qword [rsp + 0x32], rdx
movabs rdx, 0x5b6a4920842b51de
mov qword [rsp + 0x3a], rdx
movabs rdx, 0x45bb309a3309b266
mov qword [rsp + 0x42], rdx
movabs rdx, 0xa14443a3530e3da
mov qword [rsp + 0x4a], rdx
movabs rdx, 0x1523081d1024130c
mov qword [rsp + 0x52], rdx
movabs rdx, 0x4192215120e1523
mov qword [rsp + 0x58], rdx
movabs rdx, 0xd0f18090007220f
mov qword [rsp + 0x60], rdx
movabs rdx, 0x200b1c1b1516191f
mov qword [rsp + 0x68], rdx
movabs rdx, 0xf13000419050022
mov qword [rsp + 0x70], rdx
movabs rdx, 0x14141c140918200c
mov qword [rsp + 0x78], rdx
movabs rdx, 0x241a080f1712010e
mov qword [rsp + 0x80], rdx
xor eax, eax
jmp 0x1400a02ae
add edi, 0x4c
movzx r8d, byte [rsp + rsi + 0x2d]
mov byte [rsp + rsi + 0x2d], dil
sub r8d, edx
lea edx, [r8 + 0x4c]
mov byte [rsp + rbx + 0x2d], dl
add rax, 2
cmp rax, 0x36
jge 0x1400a02ea
movzx edx, byte [rsp + rax + 0x52]
lea rbx, [rax + 1]
nop dword [rax]
cmp rbx, 0x36
jae 0x1400a0351
movzx ebx, byte [rsp + rax + 0x53]
mov esi, edx
xor edx, ebx
add edx, eax
cmp rbx, 0x25
jae 0x1400a0345
movzx edi, byte [rsp + rbx + 0x2d]
sub edi, edx
cmp rsi, 0x25
jb 0x1400a0291
jmp 0x1400a0334
mov qword [rsp], 0
lea rax, [rsp + 0x2d]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0x25
call fcn.140043fe0
mov rax, qword [rsp + 0x18]
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x98], rax
mov qword [rsp + 0xa0], rcx
mov rbp, qword [rsp + 0x88]
add rsp, 0x90
ret
mov eax, esi
mov ecx, 0x25
nop dword [rax + rax]
call fcn.140059c20
mov eax, ebx
mov ecx, 0x25
call fcn.140059c20
mov rax, rbx
mov ecx, 0x36
call fcn.140059c20
nop
nop
call fcn.140057a20
jmp fcn.1400a01a0
Function at 0x1400a0600
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Populate syswhispers2 syscall list
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov esi, dword [0x1403e2080]
test esi, esi
jne 0x1400a080d
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rdx, qword [rax + 0x10]
mov rax, qword [rdx + 0x30]
test rax, rax
je 0x1400a0823
xor r9d, r9d
nop
mov rbx, rax
movsxd rax, dword [rax + 0x3c]
mov eax, dword [rbx + rax + 0x88]
test eax, eax
je 0x1400a067c
lea r9, [rbx + rax]
mov eax, dword [r9 + 0xc]
add rax, rbx
mov ecx, dword [rax]
or ecx, 0x20202020
cmp ecx, 0x6c64746e
jne 0x1400a067c
mov eax, dword [rax + 4]
or eax, 0x20202020
cmp eax, 0x6c642e6c
je 0x1400a0691
mov rdx, qword [rdx]
mov rax, qword [rdx + 0x30]
test rax, rax
jne 0x1400a0640
test r9, r9
je 0x1400a0823
mov ebp, dword [r9 + 0x1c]
mov r8d, dword [r9 + 0x24]
xor edi, edi
lea r12, [0x1403e2088]
lea rax, [rbp + rbx]
lea rbp, [r8 + rbx]
mov qword [rsp + 0x28], rax
mov eax, dword [r9 + 0x18]
lea edx, [rax - 1]
mov eax, dword [r9 + 0x20]
lea r13, [rbp + rdx*2]
add rax, rbx
lea r14, [rax + rdx*4]
jmp 0x1400a06e4
sub r14, 4
lea rax, [r13 - 2]
cmp rbp, r13
je 0x1400a0780
mov r13, rax
mov eax, dword [r14]
add rax, rbx
cmp word [rax], 0x775a
jne 0x1400a06d0
mov r15d, edi
shl r15, 4
add r15, r12
cmp byte [rax], 0
je 0x1400a0827
cmp byte [rax + 1], 0
mov ecx, 0x93723eb9
mov edx, 1
mov r9d, 1
je 0x1400a073d
nop word [rax + rax]
mov r10d, ecx
movzx edx, word [rax + rdx]
add r9d, 1
ror r10d, 8
add edx, r10d
xor ecx, edx
mov edx, r9d
cmp byte [rax + rdx], 0
jne 0x1400a0720
mov dword [r15], ecx
movzx eax, word [r13]
add edi, 1
mov rcx, qword [rsp + 0x28]
mov eax, dword [rcx + rax*4]
mov dword [r15 + 4], eax
lea rcx, [rax + rbx]
call fcn.1400a0510
mov qword [r15 + 8], rax
cmp edi, 0x1f4
jne 0x1400a06d0
mov dword [0x1403e2080], 0x1f4
mov r9d, 0x1f3
jmp 0x1400a078f
mov dword [0x1403e2080], edi
lea r9d, [rdi - 1]
cmp edi, 1
je 0x1400a080d
lea r11d, [rdi - 2]
lea r10, [0x1403e2098]
nop word [rax + rax]
mov eax, edi
sub eax, esi
cmp eax, 1
je 0x1400a0805
mov r8d, r11d
lea rax, [0x1403e2088]
sub r8d, esi
shl r8, 4
add r8, r10
nop dword [rax]
mov edx, dword [rax + 4]
mov ecx, dword [rax + 0x14]
cmp ecx, edx
jae 0x1400a07fc
movd xmm2, edx
movd xmm3, ecx
mov rdx, qword [rax + 8]
mov rcx, qword [rax + 0x18]
movd xmm0, dword [rax]
movd xmm1, dword [rax + 0x10]
mov qword [rax + 8], rcx
mov qword [rax + 0x18], rdx
punpckldq xmm0, xmm2
punpckldq xmm1, xmm3
movq qword [rax], xmm1
movq qword [rax + 0x10], xmm0
add rax, 0x10
cmp r8, rax
jne 0x1400a07c0
add esi, 1
cmp esi, r9d
jb 0x1400a07a0
mov eax, 1
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor eax, eax
jmp 0x1400a0812
mov ecx, 0x8dfc4d1e
jmp 0x1400a073d
Function at 0x1400aa750
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r14
push rdi
push rsi
push rbx
movzx eax, word [r8 + 0x100]
mov edi, eax
movzx ebx, ah
mov r10d, eax
mov esi, edx
test edx, edx
jle 0x1400aa7bd
movsxd r11, edx
sub r10d, ecx
add r11, rcx
add r10d, 1
nop dword [rax + rax]
lea edx, [r10 + rcx]
movzx edx, dl
add rdx, r8
movzx eax, byte [rdx]
add ebx, eax
movzx r9d, bl
add r9, r8
movzx r14d, byte [r9]
mov byte [rdx], r14b
mov byte [r9], al
add al, byte [rdx]
movzx edx, al
add al, byte [r8 + rdx]
xor byte [rcx], al
add rcx, 1
cmp rcx, r11
jne 0x1400aa780
movzx eax, sil
add al, dil
mov ah, bl
mov word [r8 + 0x100], ax
pop rbx
pop rsi
pop rdi
pop r14
ret
Function at 0x1400aabd0
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x290
xor r8d, r8d
movabs rax, 0x63ef6bbe42ad28de
mov qword [rsp + 0x50], rax
mov r12, rcx
mov ecx, 0x20
mov rbp, rdx
movabs rax, 0x985cfe73d514f215
mov byte [rsp + 0x60], 0
lea rsi, [rsp + 0x30]
lea rbx, [rsp + 0x180]
mov qword [rsp + 0x24], rax
mov rdi, rbx
xor eax, eax
movabs rdx, 0x7882c5fb07a585af
rep stosq qword [rdi], rax
mov qword [rsp + 0x58], rdx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x2c], 0xddb1fe
mov dword [rdi], 0
lea rdi, [rsp + 0x70]
mov rdx, rdi
call fcn.1400aa400
movzx eax, byte [rsp + 0x170]
lea rcx, [rsp + 0x24]
movzx r9d, byte [rsp + 0x171]
lea r10d, [rax + 1]
sub r10d, ecx
nop
lea edx, [r10 + rcx]
movzx edx, dl
add rdx, rdi
movzx eax, byte [rdx]
add r9d, eax
movzx r8d, r9b
add r8, rdi
movzx r11d, byte [r8]
mov byte [rdx], r11b
mov byte [r8], al
add al, byte [rdx]
movzx edx, al
add al, byte [rsp + rdx + 0x70]
xor byte [rcx], al
add rcx, 1
cmp rsi, rcx
jne 0x1400aac70
mov rax, qword [rsp + 0x24]
mov qword [rsp + 0x180], rax
mov eax, dword [rsp + 0x2c]
mov dword [rsp + 0x188], eax
mov rax, qword [rbp + 0x10]
test rax, rax
je 0x1400aad30
test r12, r12
je 0x1400aad20
mov rcx, r12
call sub.msvcrt.dll_wcslen
mov edx, 0xfffc
add rax, rax
cmp rax, rdx
cmova rax, rdx
mov word [rsp + 0x70], ax
add eax, 2
mov word [rsp + 0x72], ax
mov rax, qword [rbp + 0x10]
mov qword [rsp + 0x78], r12
lea r9, [rbp + 0x30]
mov r8, rdi
xor edx, edx
xor ecx, ecx
call rax
mov rax, qword [rbp + 0x30]
add rsp, 0x290
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov dword [rsp + 0x70], 0
jmp 0x1400aacf3
test r12, r12
je 0x1400aadf0
mov rcx, r12
call sub.msvcrt.dll_wcslen
mov edx, 0xfffc
add rax, rax
cmp rax, rdx
cmova rax, rdx
mov edx, eax
add eax, 2
movdqu xmm0, xmmword [rbp]
movdqu xmm1, xmmword [rbp + 0x10]
mov word [rsp + 0x32], ax
mov rcx, rbx
movdqu xmm2, xmmword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
mov word [rsp + 0x30], dx
mov rdi, qword [rbp + 0x28]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x80], xmm1
movaps xmmword [rsp + 0x90], xmm2
mov qword [rsp + 0x38], r12
mov qword [rsp + 0xa0], rax
call sub.msvcrt.dll_strlen
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov rcx, rdi
mov word [rsp + 0x40], ax
add eax, 1
lea r9, [rsp + 0x88]
mov word [rsp + 0x42], ax
mov qword [rsp + 0x48], rbx
call qword [rsp + 0x78]
mov rax, qword [rsp + 0x88]
xor edx, edx
xor ecx, ecx
lea r9, [rbp + 0x30]
mov r8, rsi
mov qword [rbp + 0x10], rax
call rax
jmp 0x1400aad05
xor edx, edx
xor eax, eax
jmp 0x1400aad55
Function at 0x1400abe10
Capabilities:
Get hostname
Get session user name

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x5d0
xor eax, eax
mov ecx, 0x41
movdqa xmm0, xmmword [0x140392970]
movaps xmmword [rsp + 0x30], xmm0
lea rdi, [rsp + 0x1b0]
movdqa xmm0, xmmword [0x140392990]
lea rbp, [rsp + 0x1b0]
rep stosq qword [rdi], rax
lea rdi, [rsp + 0xa0]
mov ecx, 0x20
lea rbx, [rsp + 0x3c0]
rep stosq qword [rdi], rax
movaps xmmword [rsp + 0x50], xmm0
movdqa xmm0, xmmword [0x1403929a0]
mov ecx, 0x41
lea rdx, [rsp + 0x24]
mov dword [rsp + 0x24], 0x104
lea r12, [rsp + 0x30]
movaps xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x1403929b0]
mov dword [rsp + 0x28], 0
movaps xmmword [rsp + 0x70], xmm0
movdqa xmm0, xmmword [0x1403929c0]
mov dword [rsp + 0x2c], 0x104
mov dword [rdi], 0
lea rdi, [rsp + 0x3c0]
rep stosq qword [rdi], rax
mov rcx, rbp
lea rdi, [rsp + 0x4c]
mov rax, qword [0x140392980]
movaps xmmword [rsp + 0x80], xmm0
mov qword [rsp + 0x40], rax
mov rax, qword [0x1403929d0]
mov dword [rsp + 0x48], 0x14ce66d1
mov qword [rsp + 0x90], rax
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
mov rsi, qword [sym.imp.KERNEL32.dll_lstrlenW]
nop dword [rax]
mov rcx, rbp
call rsi
test eax, eax
jle 0x1400ac01a
cdqe
xor edx, edx
mov rcx, rbp
lea r9, [rbp + rax*2]
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
lea r8d, [rax - 0x20]
cmp ax, 0x60
cmova eax, r8d
imul edx, edx, 0x83
movzx eax, ax
add edx, eax
cmp r9, rcx
jne 0x1400abf48
and edx, 0x7fffffff
cmp dword [r12], edx
je 0x1400ac007
add r12, 4
cmp rdi, r12
jne 0x1400abf28
lea rbp, [rsp + 0x50]
lea rdi, [rsp + 0x98]
nop dword [rax]
mov rcx, rbx
call rsi
test eax, eax
jle 0x1400ac000
cdqe
xor edx, edx
mov rcx, rbx
lea r9, [rbx + rax*2]
nop dword [rax]
movzx eax, word [rcx]
add rcx, 2
lea r8d, [rax - 0x20]
cmp ax, 0x60
cmova eax, r8d
imul edx, edx, 0x83
movzx eax, ax
add edx, eax
cmp rcx, r9
jne 0x1400abfb0
and edx, 0x7fffffff
cmp dword [rbp], edx
je 0x1400ac007
add rbp, 4
cmp rdi, rbp
jne 0x1400abf98
xor eax, eax
add rsp, 0x5d0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor edx, edx
cmp dword [rbp], edx
jne 0x1400abfde
mov eax, 1
add rsp, 0x5d0
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
xor edx, edx
jmp 0x1400abf71
Function at 0x1400ac030
Capabilities:
Get hostname

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x650
xor eax, eax
mov ecx, 0x41
lea rsi, str.WINDOWS_
lea rdi, [rsp + 0x30]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x2c], 0
rep stosq qword [rdi], rax
lea rdx, [rsp + 0x2c]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp dword [rsp + 0x2c], 0xf
mov ecx, 0x82
lea rdx, [rsp + 0x240]
mov rdi, rdx
rep movsq qword [rdi], qword [rsi]
je 0x1400ac098
xor eax, eax
add rsp, 0x650
pop rbx
pop rsi
pop rdi
ret
mov rcx, rbx
call sub.SHELL32.dll_StrStrW
test eax, eax
jne 0x1400ac0ce
cmp dword [rsp + 0x2c], 0xf
jne 0x1400ac085
lea rdx, [rsp + 0x448]
mov rcx, rbx
call sub.SHELL32.dll_StrStrW
test eax, eax
setne al
movzx eax, al
add rsp, 0x650
pop rbx
pop rsi
pop rdi
ret
mov eax, 1
jmp 0x1400ac087

Function at 0x1400ac260
Capabilities:
Parse pe header

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
test rcx, rcx
je 0x1400ac2b0
test rdx, rdx
je 0x1400ac2c0
add rdx, rcx
lea rax, [rcx + 0x40]
cmp rdx, rax
jb 0x1400ac2b0
cmp word [rcx], 0x5a4d
jne 0x1400ac2b0
movsxd rsi, dword [rcx + 0x3c]
cmp esi, 0x400
jg 0x1400ac2b0
add rsi, rcx
lea rax, [rsi + 0xf8]
cmp rdx, rax
jb 0x1400ac2b0
cmp rsi, rcx
jb 0x1400ac2b0
cmp dword [rsi], 0x4550
je 0x1400ac2b2
nop
xor esi, esi
mov rax, rsi
add rsp, 0x28
pop rbx
pop rsi
ret
mov edx, 0x40
call fcn.1400ac160
test eax, eax
jne 0x1400ac2b0
cmp word [rbx], 0x5a4d
jne 0x1400ac2b0
movsxd rsi, dword [rbx + 0x3c]
cmp esi, 0x400
jg 0x1400ac2b0
add rsi, rbx
mov edx, 0xf8
mov rcx, rsi
call fcn.1400ac160
test eax, eax
je 0x1400ac2a6
jmp 0x1400ac2b0

Function at 0x1400ac300
Capabilities:
Parse pe header

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x1400ac368
mov edx, 0x40
call fcn.1400ac160
test eax, eax
jne 0x1400ac368
cmp word [rbx], 0x5a4d
jne 0x1400ac368
movsxd rax, dword [rbx + 0x3c]
cmp eax, 0x400
jg 0x1400ac368
add rbx, rax
mov edx, 0xf8
mov rcx, rbx
call fcn.1400ac160
test eax, eax
jne 0x1400ac368
cmp dword [rbx], 0x4550
jne 0x1400ac368
mov edx, 0xf8
mov rcx, rbx
call fcn.1400ac160
test eax, eax
jne 0x1400ac368
movzx eax, word [rbx + 0x18]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret

Function at 0x1400adae0
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
test rcx, rcx
je 0x1400adb07
cmp word [rcx], 0x5a4d
jne 0x1400adb07
movsxd rax, dword [rcx + 0x3c]
cmp eax, 0x400
jg 0x1400adb07
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400adb07
mov edx, dword [rcx + 0x28]
mov eax, edx
ret