joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c59c
Capabilities:
Get system information on windows
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 9], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x1400991b0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea r14, [0x14009ebe0]
and qword [rbp + 0xf], 0
lea rdx, [0x140081365]
lea rcx, [rbp + 0xf]
call fcn.14001521c
nop
mov ecx, 0x32
mov dword [rbp - 1], ecx
call fcn.14004b9a8
mov rdi, rax
mov ecx, dword [rbp - 1]
call fcn.14004b9a8
mov rsi, rax
mov dword [rbp + 0x17], 1
lea rcx, [rbp + 0x1f]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [rbp + 0x1f], 9
je 0x14000c62e
cmp word [rbp + 0x1f], 6
mov r9d, 0x20019
jne 0x14000c634
mov r9d, 0x20119
lea rax, [rbp + 7]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ebx, eax
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x17]
xor r8d, r8d
lea rdx, [0x140082f08]
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000c6d6
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x17]
xor r8d, r8d
lea rdx, str.EditionID
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14000c6d6
test ebx, ebx
jne 0x14000c6d6
mov rdx, rdi
lea rcx, [rbp + 0xf]
call fcn.1400156a0
lea rdx, [0x140082f24]
lea rcx, [rbp + 0xf]
call fcn.1400156a0
mov rdx, rsi
lea rcx, [rbp + 0xf]
call fcn.1400156a0
mov rcx, rdi
call fcn.14004b024
mov rcx, rsi
call fcn.14004b024
mov rcx, qword [rbp + 7]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp + 0xf]
mov rcx, r14
call fcn.140015aec
nop
mov rdx, qword [rbp + 0xf]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x14000c71d
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
nop
mov rax, r14
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.14004b000
lea r11, [rsp + 0x90]
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
Function at 0x140012810
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xb0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x1400991b0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor eax, eax
mov qword [rbp - 0x11], rax
mov qword [rbp - 9], rax
lea rcx, [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
mov qword [rbp + 0x1f], rax
mov qword [rbp + 0x27], rax
mov qword [rbp + 0x2f], rax
lea edx, [rax + 0x64]
lea rcx, [rbp + 0x1f]
call fcn.140015088
nop
movdqa xmm6, xmmword [0x140086e50]
mov dword [rbp + 0xf], 0xb285c3e3
mov dword [rbp + 0x13], 0x4745f975
mov dword [rbp + 0x17], 0xf38d97f4
mov edx, 4
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, dword [rdx + rcx]
cmp dword [0x14009e918], eax
jle 0x140012903
lea rcx, [0x14009e918]
call fcn.14004b21c
cmp dword [0x14009e918], 0xffffffff
jne 0x140012903
mov word [0x14009e8c4], 0x145
movups xmmword [0x14009e8a8], xmm6
movsd xmm0, qword [rbp + 0xf]
movsd qword [0x14009e8b8], xmm0
mov eax, dword [rbp + 0x17]
mov dword [0x14009e8c0], eax
lea rcx, [0x14006d2f0]
call fcn.14004b990
lea rcx, [0x14009e918]
call fcn.14004b1bc
lea rbx, [0x14009e8a8]
cmp byte [0x14009e8c5], 0
je 0x14001293d
xor edx, edx
mov cl, dl
and cl, 7
shl cl, 3
movabs rax, 0x7d21cb4597bfa7d1
shr rax, cl
xor byte [rdx + rbx], al
inc rdx
cmp rdx, 0x1d
jb 0x140012915
mov byte [0x14009e8c5], 0
movzx eax, word [rbp - 5]
movzx ecx, word [rbp - 7]
movzx r10d, word [rbp - 9]
movzx r11d, word [rbp - 0xb]
movzx r9d, word [rbp - 0xf]
movzx r8d, word [rbp - 0x11]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
mov rdx, rbx
mov rbx, qword [rbp + 0x1f]
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, rbx
mov rcx, rdi
call fcn.140015aec
nop
test rbx, rbx
je 0x1400129bc
mov rdx, qword [rbp + 0x2f]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400129b4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400129e5
mov rcx, rbx
call fcn.14004b024
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.14004b000
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
call fcn.140055fe8
int3
Function at 0x140013c2c
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400991b0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
movdqa xmm0, xmmword [0x140086d90]
movdqu xmmword [rbp + 0xf], xmm0
xor r14d, r14d
mov word [rbp - 1], r14w
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea rcx, [rbp - 1]
call fcn.1400183ec
nop
lea esi, [r14 + 1]
mov dword [rbp - 0x3d], esi
mov dword [rbp - 0x41], 0x800
xor eax, eax
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rax
mov qword [rbp - 0x29], rax
mov edx, 0x802
lea rcx, [rbp - 0x39]
call fcn.1400153a4
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x2f], xmm0
mov rdx, rbx
lea rcx, [rbp + 0x1f]
call fcn.140018468
nop
cmp qword [rdi + 0x18], 8
jb 0x140013cd2
mov rdi, qword [rdi]
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
mov rbx, qword [rbp - 0x39]
mov qword [rsp + 0x20], rbx
lea r9, [rbp - 0x3d]
mov r8, rdi
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x140013d5e
movdqa xmm0, xmmword [0x140086d90]
movdqu xmmword [rbp - 0x11], xmm0
mov word [rbp - 0x21], r14w
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.1400183ec
lea rdx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rdx, qword [rbp + 0x1f]
lea rcx, [rbp - 0x21]
cmp qword [rbp - 9], 8
cmovae rcx, qword [rbp - 0x21]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
lea rcx, [rbp - 0x21]
test eax, eax
jne 0x140013d59
call fcn.140018388
jmp 0x140013d61
call fcn.140018388
mov sil, r14b
lea rcx, [rbp + 0x1f]
call fcn.140018388
nop
test rbx, rbx
je 0x140013da8
mov rax, qword [rbp - 0x29]
sub rax, rbx
sar rax, 1
lea rdx, [rax + rax]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140013d9f
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140013dd8
mov rcx, rbx
call fcn.14004b024
nop
lea rcx, [rbp - 1]
call fcn.140018388
mov al, sil
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14004b000
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140055fe8
nop
int3
Function at 0x140013de0
Capabilities:
Delete registry value
Persist via run registry key
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400991b0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
movdqa xmm0, xmmword [0x140086d90]
movdqu xmmword [rbp - 0x38], xmm0
xor esi, esi
mov word [rbp - 0x48], si
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionRun
lea rcx, [rbp - 0x48]
call fcn.1400183ec
nop
cmp qword [rdi + 0x10], 2
jbe 0x140013ecc
mov rdx, rdi
mov rcx, rbx
call fcn.140013c2c
test al, al
je 0x140013e56
lea edi, [rsi + 1]
jmp 0x140013efa
mov qword [rbp - 0x18], rsi
mov qword [rbp - 0x10], rsi
mov rdx, rdi
lea rcx, [rbp - 0x28]
call fcn.140018468
mov eax, dword [rbp - 0x18]
lea ecx, [rax*2 + 2]
lea rax, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rax, qword [rbp - 0x28]
cmp qword [rbx + 0x18], 8
jb 0x140013e8c
mov rbx, qword [rbx]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rax
mov edi, 1
mov r9d, edi
mov r8, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
sete dil
lea rcx, [rbp - 0x28]
call fcn.140018388
jmp 0x140013efa
cmp qword [rbx + 0x18], 8
jb 0x140013ed6
mov rbx, qword [rbx]
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov r8, rbx
mov rcx, 0xffffffff80000001
call qword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
test eax, eax
sete dil
lea rcx, [rbp - 0x48]
call fcn.140018388
mov al, dil
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14004b000
mov rbx, qword [rsp + 0xb0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400148a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 4], 0
mov rdx, rcx
je 0x1400148d3
xor r8d, r8d
mov cl, r8b
movabs rax, 0xe1f511d51961f783
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 4
jb 0x1400148ac
mov byte [rdx + 4], 0
mov rax, rdx
ret

Function at 0x1400148d8
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
mov rdx, rcx
je 0x14001490b
xor r8d, r8d
mov cl, r8b
movabs rax, 0x730b5fc175f311ed
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 5
jb 0x1400148e4
mov byte [rdx + 5], 0
mov rax, rdx
ret

Function at 0x140014910
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
mov rdx, rcx
je 0x140014943
xor r8d, r8d
mov cl, r8b
movabs rax, 0x9b3b417967055da1
and cl, 7
shl cl, 3
shr rax, cl
xor byte [r8 + rdx], al
inc r8
cmp r8, 5
jb 0x14001491c
mov byte [rdx + 5], 0
mov rax, rdx
ret

Function at 0x140031254
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x140031267
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.14003ad34
lea rdx, [0x140095eb8]
lea rcx, [rsp + 0x20]
call fcn.14004ce30
int3

Function at 0x14003b6cc
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x14009d0f8]
xor edx, edx
jmp fcn.140031254

Function at 0x14003c064
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x14009d0f8]
jmp fcn.140031254

Function at 0x140047cd8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140047d94]
mov r9, qword [r9 + 8]
jmp fcn.140038e90

Function at 0x140047d6c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140047da4]
mov r9, qword [r9 + 8]
jmp fcn.140038e90

Function at 0x14005a7b4
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14005a518
Function at 0x140002630
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov al, byte [rsp + 0x67]
mov r10b, al
xor r10b, 1
mov byte [rsp + 0x67], r10b
cmp r9d, 0
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x2f], al
jne 0x140002687
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
mov r9d, r8d
mov r8d, eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], rdx
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r8d, 0x100
add ecx, 1
mov qword [rsp + 8], rax
mov eax, ecx
mov dword [rsp + 4], edx
and al, 4
cdq
idiv r8d
movsxd r9, edx
mov r10, qword [rsp + 0x30]
mov r11b, byte [r10 + r9]
movzx ecx, r11b
mov dh, 0xcb
mov esi, dword [rsp + 4]
add esi, ecx
mov eax, esi
mov dword [rsp], edx
cdq
idiv r8d
movsxd rdi, edx
mov bl, byte [r10 + rdi]
mov bp, word [rsp + 0x56]
imul bp, word [rsp + 0x56]
insb byte [rdi], dx
and al, 0x56
mov word [rsp + 0x56], bp
mov byte [r10 + r9], bl
mov byte [r10 + rdi], r11b
movzx r8d, byte [r10 + r9]
add r8d, ecx
mov byte [rsp + 0x67], 0x9b
and r8d, 0xff
inc dword [rax]
add byte [rax], al
mov r11b, 0x44
mov bl, byte [rsp + 0x2f]
mov al, bl
mul r11b
mov byte [rsp + 0x67], al
mov ecx, r8d
mov r9d, ecx
mov al, byte [r10 + r9]
mov r9, qword [rsp + 0x38]
mov rdi, qword [rsp + 8]
xor al, byte [r9 + rdi]
mov r14, qword [rsp + 0x48]
mov byte [r14 + rdi], al
add rdi, 1
mov r15, qword [rsp + 0x18]
cmp rdi, r15
mov ecx, dword [rsp]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x10], rdi
je 0x14000266a
jmp 0x1400026ad
Function at 0x140002690
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov al, byte [rsp + 0x67]
mov r10b, al
xor r10b, 1
mov byte [rsp + 0x67], r10b
cmp r9d, 0
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x2f], al
jne 0x140002687
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
mov r9d, r8d
mov r8d, eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], rdx
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r8d, 0x100
add ecx, 1
mov qword [rsp + 8], rax
mov eax, ecx
mov dword [rsp + 4], edx
and al, 4
cdq
idiv r8d
movsxd r9, edx
mov r10, qword [rsp + 0x30]
mov r11b, byte [r10 + r9]
movzx ecx, r11b
mov dh, 0xcb
mov esi, dword [rsp + 4]
add esi, ecx
mov eax, esi
mov dword [rsp], edx
cdq
idiv r8d
movsxd rdi, edx
mov bl, byte [r10 + rdi]
mov bp, word [rsp + 0x56]
imul bp, word [rsp + 0x56]
insb byte [rdi], dx
and al, 0x56
mov word [rsp + 0x56], bp
mov byte [r10 + r9], bl
mov byte [r10 + rdi], r11b
movzx r8d, byte [r10 + r9]
add r8d, ecx
mov byte [rsp + 0x67], 0x9b
and r8d, 0xff
inc dword [rax]
add byte [rax], al
mov r11b, 0x44
mov bl, byte [rsp + 0x2f]
mov al, bl
mul r11b
mov byte [rsp + 0x67], al
mov ecx, r8d
mov r9d, ecx
mov al, byte [r10 + r9]
mov r9, qword [rsp + 0x38]
mov rdi, qword [rsp + 8]
xor al, byte [r9 + rdi]
mov r14, qword [rsp + 0x48]
mov byte [r14 + rdi], al
add rdi, 1
mov r15, qword [rsp + 0x18]
cmp rdi, r15
mov ecx, dword [rsp]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x10], rdi
je 0x14000266a
jmp 0x1400026ad
Function at 0x1400026e0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov al, byte [rsp + 0x67]
mov r10b, al
xor r10b, 1
mov byte [rsp + 0x67], r10b
cmp r9d, 0
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x2f], al
jne 0x140002687
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
mov r9d, r8d
mov r8d, eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], rdx
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r8d, 0x100
add ecx, 1
mov qword [rsp + 8], rax
mov eax, ecx
mov dword [rsp + 4], edx
and al, 4
cdq
idiv r8d
movsxd r9, edx
mov r10, qword [rsp + 0x30]
mov r11b, byte [r10 + r9]
movzx ecx, r11b
mov dh, 0xcb
mov esi, dword [rsp + 4]
add esi, ecx
mov eax, esi
mov dword [rsp], edx
cdq
idiv r8d
movsxd rdi, edx
mov bl, byte [r10 + rdi]
mov bp, word [rsp + 0x56]
imul bp, word [rsp + 0x56]
insb byte [rdi], dx
and al, 0x56
mov word [rsp + 0x56], bp
mov byte [r10 + r9], bl
mov byte [r10 + rdi], r11b
movzx r8d, byte [r10 + r9]
add r8d, ecx
mov byte [rsp + 0x67], 0x9b
and r8d, 0xff
inc dword [rax]
add byte [rax], al
mov r11b, 0x44
mov bl, byte [rsp + 0x2f]
mov al, bl
mul r11b
mov byte [rsp + 0x67], al
mov ecx, r8d
mov r9d, ecx
mov al, byte [r10 + r9]
mov r9, qword [rsp + 0x38]
mov rdi, qword [rsp + 8]
xor al, byte [r9 + rdi]
mov r14, qword [rsp + 0x48]
mov byte [r14 + rdi], al
add rdi, 1
mov r15, qword [rsp + 0x18]
cmp rdi, r15
mov ecx, dword [rsp]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x10], rdi
je 0x14000266a
jmp 0x1400026ad
Function at 0x140002700
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov al, byte [rsp + 0x67]
mov r10b, al
xor r10b, 1
mov byte [rsp + 0x67], r10b
cmp r9d, 0
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x2f], al
jne 0x140002687
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
mov r9d, r8d
mov r8d, eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], rdx
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r8d, 0x100
add ecx, 1
mov qword [rsp + 8], rax
mov eax, ecx
mov dword [rsp + 4], edx
and al, 4
cdq
idiv r8d
movsxd r9, edx
mov r10, qword [rsp + 0x30]
mov r11b, byte [r10 + r9]
movzx ecx, r11b
mov dh, 0xcb
mov esi, dword [rsp + 4]
add esi, ecx
mov eax, esi
mov dword [rsp], edx
cdq
idiv r8d
movsxd rdi, edx
mov bl, byte [r10 + rdi]
mov bp, word [rsp + 0x56]
imul bp, word [rsp + 0x56]
insb byte [rdi], dx
and al, 0x56
mov word [rsp + 0x56], bp
mov byte [r10 + r9], bl
mov byte [r10 + rdi], r11b
movzx r8d, byte [r10 + r9]
add r8d, ecx
mov byte [rsp + 0x67], 0x9b
and r8d, 0xff
inc dword [rax]
add byte [rax], al
mov r11b, 0x44
mov bl, byte [rsp + 0x2f]
mov al, bl
mul r11b
mov byte [rsp + 0x67], al
mov ecx, r8d
mov r9d, ecx
mov al, byte [r10 + r9]
mov r9, qword [rsp + 0x38]
mov rdi, qword [rsp + 8]
xor al, byte [r9 + rdi]
mov r14, qword [rsp + 0x48]
mov byte [r14 + rdi], al
add rdi, 1
mov r15, qword [rsp + 0x18]
cmp rdi, r15
mov ecx, dword [rsp]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x10], rdi
je 0x14000266a
jmp 0x1400026ad
Function at 0x140002720
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov al, byte [rsp + 0x67]
mov r10b, al
xor r10b, 1
mov byte [rsp + 0x67], r10b
cmp r9d, 0
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x44], r9d
mov qword [rsp + 0x38], r8
mov qword [rsp + 0x30], rcx
mov byte [rsp + 0x2f], al
jne 0x140002687
mov rax, qword [rsp + 0x58]
imul rax, qword [rsp + 0x58]
mov qword [rsp + 0x58], rax
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
xor eax, eax
xor ecx, ecx
mov edx, ecx
mov ecx, dword [rsp + 0x44]
mov r8d, ecx
mov r9d, r8d
mov r8d, eax
mov dword [rsp + 0x28], r8d
mov dword [rsp + 0x24], eax
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x10], rdx
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x24]
mov edx, dword [rsp + 0x28]
mov r8d, 0x100
add ecx, 1
mov qword [rsp + 8], rax
mov eax, ecx
mov dword [rsp + 4], edx
and al, 4
cdq
idiv r8d
movsxd r9, edx
mov r10, qword [rsp + 0x30]
mov r11b, byte [r10 + r9]
movzx ecx, r11b
mov dh, 0xcb
mov esi, dword [rsp + 4]
add esi, ecx
mov eax, esi
mov dword [rsp], edx
cdq
idiv r8d
movsxd rdi, edx
mov bl, byte [r10 + rdi]
mov bp, word [rsp + 0x56]
imul bp, word [rsp + 0x56]
insb byte [rdi], dx
and al, 0x56
mov word [rsp + 0x56], bp
mov byte [r10 + r9], bl
mov byte [r10 + rdi], r11b
movzx r8d, byte [r10 + r9]
add r8d, ecx
mov byte [rsp + 0x67], 0x9b
and r8d, 0xff
inc dword [rax]
add byte [rax], al
mov r11b, 0x44
mov bl, byte [rsp + 0x2f]
mov al, bl
mul r11b
mov byte [rsp + 0x67], al
mov ecx, r8d
mov r9d, ecx
mov al, byte [r10 + r9]
mov r9, qword [rsp + 0x38]
mov rdi, qword [rsp + 8]
xor al, byte [r9 + rdi]
mov r14, qword [rsp + 0x48]
mov byte [r14 + rdi], al
add rdi, 1
mov r15, qword [rsp + 0x18]
cmp rdi, r15
mov ecx, dword [rsp]
mov dword [rsp + 0x24], ecx
mov dword [rsp + 0x28], edx
mov qword [rsp + 0x10], rdi
je 0x14000266a
jmp 0x1400026ad

Function at 0x140002780
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x20
lea rax, [fcn.140002780]
mov qword [rsp + 0x18], 0x330210ae
mov qword [rsp + 8], rax
or bl, ch
invalid
Function at 0x140002b48
Capabilities:
Encode data using xor

Disassembly:
rcr edx, 1
sub byte [rax + 0x48], bh
mov dword [rsp + 0x38], 0x55c2e32
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x2c], r8d
mov qword [rsp + 0x20], rcx
mov dword [rsp + 0x1c], eax
mov qword [rsp + 0x10], r10
mov rax, qword [rsp + 0x10]
mov ecx, dword [rsp + 0x1c]
mov edx, 0x55c2e33
mov r8d, edx
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x38]
mov r11b, cl
sub r8, r9
add r10, 0xfffffffffaa3d2ce
mov r9, qword [rsp + 0x20]
mov byte [r9 + rax], r11b
add ecx, 1
add rax, r8
cmp rax, r10
mov dword [rsp + 0x1c], ecx
mov qword [rsp + 0x10], rax
jne 0x140002b6d
xor eax, eax
mov ecx, eax
xor eax, eax
imul dx, word [rsp + 0x46], 0x5264
mov word [rsp + 0x46], dx
mov qword [rsp + 8], rcx
mov dword [rsp + 4], eax
mov eax, dword [rsp + 4]
mov rcx, qword [rsp + 8]
mov rdx, qword [rsp + 0x48]
sub rdx, qword [rsp + 0x48]
mov qword [rsp + 0x48], rdx
mov r8w, word [rsp + 0x46]
xor r8w, 0xffff
mov rdx, qword [rsp + 0x20]
mov r9b, byte [rdx + rcx]
movzx r10d, r9b
mov word [rsp + 0x46], r8w
mov r11d, ecx
mov dword [rsp], eax
mov eax, r11d
xor edx, edx
mov r11d, dword [rsp + 0x2c]
div r11d
mov edx, edx
mov esi, edx
mov rdi, qword [rsp + 0x30]
movzx edx, byte [rdi + rsi]
mov ebx, dword [rsp + 0x58]
add ebx, 0x87d7262f
mov ebp, dword [rsp]
add ebp, r10d
add ebp, edx
mov eax, ebp
cdq
idiv ebx
movsxd rsi, edx
mov r14, qword [rsp + 0x20]
mov r15b, byte [r14 + rsi]
mov byte [r14 + rcx], r15b
mov byte [r14 + rsi], r9b
mov r8w, word [rsp + 0x46]
add rcx, 1
and r8w, 0xe
mov word [rsp + 0x46], r8w
cmp rcx, 0x100
mov qword [rsp + 8], rcx
mov dword [rsp + 4], edx
jne 0x140002bcd
mov eax, dword [rsp + 0x5c]
add eax, 0x1d76967a
mov dword [rsp + 0x5c], eax
and al, 0x5c

Function at 0x140003000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
add byte [rax + rcx*4 - 0x7c], al
and al, 0xff
add byte [rax], al
add byte [rax + 0x39], cl
retf 0x820f

Function at 0x1400035d4
Capabilities:
Encode data using xor

Disassembly:
lea rdx, [0x1400040d1]
mov r8d, 0xe
lea rax, [rsp + 0x70]
mov qword [rsp + 0xb0], rax
mov byte [rsp + 0xbf], 0xe5
mov rcx, qword [rsp + 0xb0]
call fcn.140002240
mov rcx, qword [rsp + 0xb0]
lea rax, section..data
mov r8d, dword [rsp + 0xc8]
mov r9d, dword [rsp + 0x64]
add edx, r8d
mov dword [rsp + 0xc8], edx
imul r10, rcx, 0x68
mov r11, rax
add r11, r10
add r11, 4
imul r10, rcx, 0x68
add rax, r10
mov edx, dword [rax]
xor edx, dword [r11]
add edx, r9d
mov rax, qword [rsp + 0xd0]
add rax, 0xffffffff8a6cf2f1
mov dword [rsp + 0x60], edx
add rcx, 1
mov qword [rsp + 0x58], rcx
mov edx, dword [rsp + 0x60]
mov dword [rsp + 0x64], edx
cmp rcx, rax
je 0x1400032d9
jmp 0x1400035c1