joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18007ec80
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rbx
sub rsp, 0x40
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x20], r15
mov r15d, ecx
call fcn.18000e9c0
mov edx, dword [0x1805086d8]
xor ebx, ebx
movzx r12d, al
test edx, edx
je 0x18007edf5
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x30], r13
lea r13, [0x180508c10]
mov qword [rsp + 0x28], r14
nop dword [rax]
call fcn.18000cd00
test al, al
je 0x18007ed03
call fcn.180013f00
mov ecx, eax
movzx r11d, word [r13 + rcx*2]
mov ecx, dword [0x1805086dc]
cmp r11d, ecx
jl 0x18007eda8
mov eax, r11d
cdq
idiv ecx
mov r11d, edx
jmp 0x18007eda8
mov eax, 1
lock xadd dword [0x180508c0c], eax
mov esi, dword [0x180508c08]
inc eax
mov edi, dword [0x1805086dc]
xor edx, edx
mov r14, qword [0x180508c00]
xor r11d, r11d
div esi
xor r10d, r10d
mov ebx, 0x3b9aca00
mov ebp, edx
mov ecx, ebx
test edi, edi
jle 0x18007eda8
nop dword [rax]
rdtsc
shl rdx, 0x20
or rax, rdx
mov r9, rax
rdtsc
mov r8d, r10d
shl rdx, 0x20
imul r8d, esi
or rax, rdx
inc r8d
add r8d, ebp
shl r8d, 7
movzx r8d, byte [r8 + r14]
sub r8d, r9d
add r8d, eax
cmp r8d, ebx
jge 0x18007ed80
mov ecx, ebx
mov r11d, r10d
mov ebx, r8d
jmp 0x18007ed87
cmp r8d, ecx
cmovl ecx, r8d
inc r10d
cmp r10d, edi
jl 0x18007ed40
lea eax, [rbx + rbx]
cmp eax, ecx
jge 0x18007eda8
mov ecx, r11d
imul ecx, esi
inc ecx
add ecx, ebp
shl ecx, 7
and byte [rcx + r14], 1
mov rax, qword [0x180507e10]
xor r8d, r8d
movsxd rcx, r11d
mov edx, r15d
mov rcx, qword [rax + rcx*8]
mov rax, qword [rcx + 0x1588]
mov rcx, qword [rax + 8]
call fcn.1800151e0
mov ecx, dword [0x1805086d8]
mov ebx, eax
test ecx, ecx
jne 0x18007ecd0
mov r14, qword [rsp + 0x28]
mov r13, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
mov r15, qword [rsp + 0x20]
test r12b, r12b
mov r12, qword [rsp + 0x38]
je 0x18007ee09
call fcn.18000e930
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x18008f400
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x90
mov r8d, dword [rdx + 0x50]
lea r14, [rdx + 0x50]
mov rax, qword [rcx + 0x50]
lea rbp, [r14 + 8]
mov r10, qword [rcx + 0x60]
mov rsi, rcx
shl r8d, 3
mov ecx, 0x1505
mov dword [rsp + 0x2c], r8d
add r8, rbp
mov qword [rsp + 0xb8], rax
mov qword [rsp + 0xb0], r10
mov qword [rsp + 0x20], rbp
cmp rbp, r8
jae 0x18008f461
mov rdx, rbp
movzx eax, byte [rdx]
inc rdx
imul ecx, ecx, 0x21
xor ecx, eax
cmp rdx, r8
jb 0x18008f451
mov dword [rsp + 0x28], ecx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
xor r9d, r9d
mov rdx, r10
call fcn.18009b0b0
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x18008f5ae
mov qword [rsp + 0xc0], rbx
lea rdx, [0x180436250]
mov qword [rsp + 0x88], rdi
mov edi, dword [rsi + 0x80]
mov qword [rsp + 0x80], r12
inc edi
mov r12d, dword [rsp + 0x28]
mov qword [rsp + 0x78], r13
mov dword [rsi + 0x80], edi
mov qword [rsp + 0x70], r15
mov r15d, dword [r14]
shl r15d, 3
mov r13d, r15d
lea rcx, [r15 + 0x14]
call fcn.1800b9c84
mov rbx, rax
test rax, rax
jne 0x18008f4e1
jmp 0x18008f4fe
lea rcx, [rax + 0x14]
mov dword [rax + 0x10], edi
mov r8, r13
mov qword [rax], rcx
mov rdx, rbp
mov dword [rax + 8], r12d
mov dword [rax + 0xc], r15d
call fcn.1800ba9d0
mov r15, qword [rsp + 0x70]
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
test rbx, rbx
je 0x18008f53c
mov rdx, qword [rsp + 0xb0]
lea rcx, [rsp + 0x30]
mov r9, rbx
mov r8, rbx
call fcn.18009b410
mov eax, dword [rax + 0x18]
test al, al
jne 0x18008f53c
mov rcx, rbx
call fcn.1800b9bb0
mov rbx, qword [rsp + 0xb8]
mov r8, r14
mov rcx, rbx
mov edx, edi
call fcn.18008e900
test al, al
jne 0x18008f590
mov rcx, qword [rsi + 0x38]
test rcx, rcx
je 0x18008f583
cmp byte [rcx + 0xc], al
jne 0x18008f583
mov rdx, qword [rsi + 0x50]
test rdx, rdx
je 0x18008f583
mov eax, dword [rdx + 0x20]
cmp eax, dword [rdx + 0x18]
je 0x18008f583
call fcn.18008bf20
mov rcx, qword [rsi + 0x50]
mov rdx, qword [rcx]
call qword [rdx + 0x18]
mov r8, r14
mov edx, edi
mov rcx, rbx
call fcn.18008e900
mov rbx, qword [rsp + 0xc0]
mov eax, edi
mov rdi, qword [rsp + 0x88]
add rsp, 0x90
pop r14
pop rsi
pop rbp
ret
mov rax, qword [rax + 8]
mov eax, dword [rax + 0x10]
add rsp, 0x90
pop r14
pop rsi
pop rbp
ret

Function at 0x180090190
Capabilities:
Accept command line arguments

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
add rsp, 0x28
jmp fcn.18008d650

Function at 0x180090330
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
setne al
add rsp, 0x38
ret
Function at 0x18009deb0
Capabilities:
Read file on windows

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x250
mov rax, qword [0x1804f89c0]
xor rax, rsp
mov qword [rsp + 0x240], rax
xor esi, esi
mov rbp, r9
mov r12d, r8d
mov r14, rdx
mov r15, rcx
mov edi, esi
test rdx, rdx
je 0x18009df90
lea rbx, [rcx + 8]
mov rax, qword [rbx - 8]
mov byte [rbx + 8], sil
test rax, rax
je 0x18009df16
mov rax, qword [rax + 0x118]
mov qword [rsp + rdi*8 + 0x40], rax
cmp rax, 0xffffffffffffffff
jne 0x18009df80
mov byte [rbx + 8], 4
jmp 0x18009df80
mov rcx, qword [rbx]
mov dword [rsp + 0x30], 1
cmp byte [rcx + 0x30], sil
jne 0x18009df77
lea rax, [rcx + 8]
xor r8d, r8d
mov rcx, qword [rcx + 0x28]
lea r9, [rsp + 0x30]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, eax
mov rax, qword [rbx]
mov byte [rax + 0x30], 1
test ecx, ecx
jne 0x18009df69
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
je 0x18009dfee
cmp eax, 0x3e5
jne 0x18009dfd5
mov rax, qword [rbx]
mov rcx, qword [rax + 0x20]
mov qword [rsp + rdi*8 + 0x40], rcx
jmp 0x18009df80
mov rax, qword [rcx + 0x20]
mov qword [rsp + rdi*8 + 0x40], rax
inc rdi
add rbx, 0x20
cmp rdi, r14
jb 0x18009def1
mov r9d, r12d
lea rdx, [rsp + 0x40]
xor r8d, r8d
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov ecx, eax
cmp eax, 0x102
je 0x18009e0dd
cmp ecx, 0xffffffff
jne 0x18009dffd
test rbp, rbp
je 0x18009e0d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.WaitForMultipleObjects_failed
call rbp
jmp 0x18009e0d8
test rbp, rbp
je 0x18009e0d8
mov edx, eax
lea rcx, str.0_byte_async_read_on_client_connection_failed
call rbp
jmp 0x18009e0d8
shl rdi, 5
mov byte [rdi + r15 + 0x10], 2
jmp 0x18009e0d8
lea rdx, [r14 - 1]
mov rax, rcx
cmp rcx, rdx
ja 0x18009e0bc
shl rax, 5
cmp qword [rax + r15], rsi
lea rbx, [rax + r15]
jne 0x18009e0ab
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], esi
xor r9d, r9d
lea rdx, [rcx + 8]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, eax
test eax, eax
jne 0x18009e073
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jne 0x18009e073
mov rcx, qword [rbx + 8]
lea r8, [rsp + 0x30]
mov dword [rsp + 0x30], esi
mov r9d, 1
lea rdx, [rcx + 8]
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
mov edi, eax
mov rax, qword [rbx + 8]
mov byte [rax + 0x30], sil
test edi, edi
jne 0x18009e0ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
je 0x18009e0a7
cmp eax, 0x6d
je 0x18009e0a7
test rbp, rbp
je 0x18009e0a1
mov edx, eax
lea rcx, str.Client_connection_error
call rbp
mov byte [rbx + 0x10], 4
jmp 0x18009e0d8
mov cl, 2
jmp 0x18009e0ad
mov cl, 1
mov eax, 0x10
mov byte [rax + rbx], cl
mov eax, 1
jmp 0x18009e0df
lea eax, [rcx - 0x80]
mov ecx, eax
test eax, eax
jne 0x18009e0ce
cmp rcx, rdx
jae 0x18009dfb6
shl rcx, 5
mov byte [rcx + r15 + 0x10], 2
mov esi, 0xffffffff
mov eax, esi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1800b9c50
add rsp, 0x250
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x18014ae70
Capabilities:
Generate random numbers via winapi

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x68
lea rbp, [rsp + 0xa0]
mov r8d, edx
mov dword [rbp - 0x64], r8d
mov rdx, rcx
mov qword [rbp - 0x70], rdx
xor ecx, ecx
mov qword [rbp - 0x78], rcx
mov r9d, 2
mov dword [rbp - 0x68], r9d
lea rcx, [rbp - 0x60]
call fcn.180007330
mov r8d, dword [rbp - 0x64]
mov rdx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
mov r9d, dword [rbp - 0x68]
call sub.bcrypt.dll_BCryptGenRandom
mov ebx, eax
lea rcx, [rbp - 0x60]
call fcn.180007380
test ebx, ebx
jne 0x18014aee4
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
cmp ebx, 0xc0000017
je 0x18014af0c
lea rcx, [0x1802cb488]
call fcn.180005620
mov rbx, rax
mov rcx, rbx
call fcn.180171f00
mov rcx, rbx
call fcn.180005b90
int3
lea rcx, [0x1802cbd00]
call fcn.180005620
mov rbx, rax
mov rcx, rbx
call fcn.1801768e0
mov rcx, rbx
call fcn.180005b90
int3

Function at 0x180150ce0
Capabilities:
Query environment variable

Disassembly:
sub rsp, 0x28
test rcx, rcx
je 0x180150cf2
add rsp, 0x28
jmp fcn.180151ac0
lea rcx, [0x1802bc940]
call fcn.180160400
int3

Function at 0x1801721a0
Capabilities:
Encode data using xor

Disassembly:
cmp edx, 8
jae 0x1801721dd
cmp edx, 4
jae 0x18017223a
mov eax, 0x80
test dl, 1
je 0x1801721c7
mov eax, edx
and rax, 2
movzx eax, byte [rcx + rax]
or eax, 0x8000
test dl, 2
je 0x180172274
shl eax, 0x10
movzx edx, word [rcx]
or eax, edx
jmp 0x180172274
mov eax, edx
shr eax, 3
add r8d, dword [rcx]
mov r10d, dword [rcx + 4]
xor r9d, r8d
rol r8d, 0x14
add r8d, r9d
rol r9d, 9
xor r9d, r8d
rol r8d, 0x1b
add r8d, r9d
rol r9d, 0x13
add r10d, r8d
mov r8d, r9d
xor r8d, r10d
rol r10d, 0x14
add r10d, r8d
rol r8d, 9
xor r8d, r10d
rol r10d, 0x1b
add r10d, r8d
rol r8d, 0x13
mov r9d, r8d
add rcx, 8
dec eax
mov r8d, r10d
jne 0x1801721e2
test dl, 4
je 0x180172259
add r8d, dword [rcx]
xor r9d, r8d
rol r8d, 0x14
add r8d, r9d
rol r9d, 9
xor r9d, r8d
rol r8d, 0x1b
add r8d, r9d
rol r9d, 0x13
mov eax, edx
and rax, 7
mov eax, dword [rcx + rax - 4]
shr eax, 8
or eax, 0x80000000
mov ecx, edx
not ecx
shl ecx, 3
shr eax, cl
add eax, r8d
mov ecx, r9d
xor ecx, eax
rol eax, 0x14
add eax, ecx
rol ecx, 9
xor ecx, eax
rol eax, 0x1b
add eax, ecx
rol ecx, 0x13
xor ecx, eax
rol eax, 0x14
add eax, ecx
rol ecx, 9
xor ecx, eax
rol eax, 0x1b
add eax, ecx
rol ecx, 0x13
xor eax, ecx
ret
Function at 0x180177e00
Capabilities:
Enumerate pe sections

Disassembly:
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbp
push rbx
sub rsp, 0x58
movaps xmmword [rsp + 0x40], xmm6
movaps xmmword [rsp + 0x30], xmm7
mov rsi, rcx
mov rdi, r8
mov r8d, edx
mov ebx, r9d
test ebx, ebx
jne 0x180177e47
xor eax, eax
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
lea ebp, [rbx - 1]
test ebp, ebp
jne 0x180177e85
movsx rdx, word [rdi]
movzx ecx, dx
dec ecx
cmp ecx, 0xfe
jae 0x18017802d
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.180288f80
xor r14d, r14d
movzx r15d, word [rdi]
sub r8d, ebp
mov r13d, r8d
cmp r13d, 8
jge 0x180177f08
add rdi, 2
test r13d, r13d
jle 0x180177f8b
lea rcx, [rsi + r14*2]
movsx rdx, r15w
mov r8d, r13d
call fcn.18027c460
test eax, eax
jl 0x180177f8b
sub r13d, eax
movsxd rcx, eax
add r14, rcx
test r13d, r13d
jle 0x180177f8b
lea rcx, [rsi + r14*2 + 2]
mov r8d, ebp
add r8, r8
mov rdx, rdi
call fcn.1801779e0
test eax, eax
je 0x180178019
mov eax, r14d
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
movsxd rax, ebp
movzx eax, word [rdi + rax*2]
movsxd rbp, ebp
jmp 0x180177f1b
dec rbp
movzx eax, word [rdi + rbp*2]
cmp eax, r15d
jne 0x180177f26
cmp rbp, 1
jg 0x180177f14
movd xmm0, r15d
movaps xmm6, xmm0
punpcklwd xmm6, xmm0
pshufd xmm6, xmm6, 0
movd xmm0, eax
movaps xmm7, xmm0
punpcklwd xmm7, xmm0
pshufd xmm7, xmm7, 0
movsxd r15, r13d
lea r13, [r15 - 8]
jmp 0x180177f53
mov r14, r13
movups xmm0, xmmword [rsi + r14*2]
pcmpeqw xmm0, xmm6
lea rax, [r14 + rbp]
movups xmm1, xmmword [rsi + rax*2]
pcmpeqw xmm1, xmm7
pand xmm0, xmm1
xorps xmm1, xmm1
pcmpeqb xmm1, xmm0
pmovmskb eax, xmm1
cmp eax, 0xffff
jne 0x180177fab
add r14, 8
cmp r14, r15
jne 0x18017800b
mov eax, 0xffffffff
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
ret
pmovmskb r12d, xmm0
test r12d, r12d
jne 0x180177fbc
mov ecx, 0x20
jmp 0x180177fc0
bsf ecx, r12d
shr ecx, 1
mov eax, ecx
mov qword [rsp + 0x28], rax
cmp ebx, 2
je 0x180177fed
lea rcx, [r14 + rax]
lea rcx, [rsi + rcx*2]
mov r8d, ebx
add r8, r8
mov rdx, rdi
call fcn.1801779e0
test eax, eax
mov rax, qword [rsp + 0x28]
je 0x180177ff5
add eax, r14d
jmp 0x180177eed
lea ecx, [r12 - 1]
and ecx, r12d
lea r12d, [rcx - 1]
and r12d, ecx
jne 0x180177fb0
jmp 0x180177f7e
cmp r14, r13
jle 0x180177f53
jmp 0x180177f50
dec r13d
inc r14
test r13d, r13d
jg 0x180177ea5
jmp 0x180177f8b
mov rcx, rsi
movaps xmm6, xmmword [rsp + 0x40]
movaps xmm7, xmmword [rsp + 0x30]
add rsp, 0x58
pop rbx
pop rbp
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
jmp fcn.18027c460
Function at 0x180181490
Capabilities:
Hash data using sha1

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
cmp qword [rbx], 0
jne 0x1801814ba
lea rcx, [0x18030f310]
mov edx, 0x55
call fcn.180005740
mov rdx, rax
mov rcx, rbx
call fcn.1800058a0
xor eax, eax
mov qword [rbx + 8], rax
mov dword [rbx + 0x10], eax
mov rax, qword [rbx]
cmp dword [rax + 8], 0x50
jbe 0x180181528
mov dword [rax + 0x150], 0x67452301
mov rax, qword [rbx]
cmp dword [rax + 8], 0x51
jbe 0x180181528
mov dword [rax + 0x154], 0xefcdab89
mov rax, qword [rbx]
cmp dword [rax + 8], 0x52
jbe 0x180181528
mov dword [rax + 0x158], 0x98badcfe
mov rax, qword [rbx]
cmp dword [rax + 8], 0x53
jbe 0x180181528
mov dword [rax + 0x15c], 0x10325476
mov rax, qword [rbx]
cmp dword [rax + 8], 0x54
jbe 0x180181528
mov dword [rax + 0x160], 0xc3d2e1f0
add rsp, 0x20
pop rbx
ret
call fcn.1801f4300
int3

Function at 0x180181aa0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
sub rsp, 0x28
mov eax, 0x1505
xor edx, edx
mov r8d, dword [rcx + 8]
test r8d, r8d
jle 0x180181ada
nop dword [rax]
nop dword [rax + rax]
mov r10d, eax
shl r10d, 5
add eax, r10d
movzx r10d, word [rcx + rdx*2 + 0xc]
xor eax, r10d
inc edx
cmp r8d, edx
jg 0x180181ac0
add rsp, 0x28
ret
Function at 0x1801f6610
Capabilities:
Write file on windows

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0xb0]
mov rbx, rcx
mov rsi, rdx
mov edi, r8d
xor ecx, ecx
mov dword [r9], ecx
mov qword [rbp - 0x40], r9
mov r14, r9
call sub.KERNEL32.dll_SetLastError
mov r15, qword [rbp + 0x30]
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov qword [rbp - 0x74], rcx
mov rdx, rsi
mov qword [rbp - 0x7c], rdx
mov r8d, edi
mov dword [rbp - 0x6c], r8d
mov r9, r14
mov qword [rbp - 0x84], r9
lea rcx, [rbp - 0x68]
call fcn.180007330
mov rcx, qword [rbp - 0x74]
mov rdx, qword [rbp - 0x7c]
mov r8d, dword [rbp - 0x6c]
mov r9, qword [rbp - 0x84]
call sub.KERNEL32.dll_WriteFile
mov ebx, eax
lea rcx, [rbp - 0x68]
call fcn.180007380
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x18050bef8]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1801f66dc
mov dword [rdi + 0x80], esi
mov eax, ebx
add rsp, 0x78
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1801f0910]
call rax
mov rdi, rax
jmp 0x1801f66c3

Function at 0x1801f7100
Capabilities:
Access the windows event log

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x48], rax
mov rbx, rcx
mov esi, edx
mov edi, r8d
mov r14d, r9d
mov r15, qword [rbp + 0x30]
mov r13, qword [rbp + 0x50]
lea r12, [r13 + 0x10]
xor ecx, ecx
test r13, r13
cmove r12, rcx
mov qword [rbp - 0x40], r12
lea r13, [r15 + 0x10]
test r15, r15
cmove r13, rcx
mov qword [rbp - 0x48], r13
call sub.KERNEL32.dll_SetLastError
mov qword [rsp + 0x20], r13
movsx rdx, word [rbp + 0x38]
mov dword [rsp + 0x28], edx
mov r15d, dword [rbp + 0x40]
mov dword [rsp + 0x30], r15d
mov r15, qword [rbp + 0x48]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
movsx rdx, si
mov dword [rbp - 0x74], edx
movzx r8d, di
mov dword [rbp - 0x78], r8d
mov rcx, rbx
mov qword [rbp - 0x84], rcx
mov r9d, r14d
mov dword [rbp - 0x7c], r9d
lea rcx, [rbp - 0x70]
call fcn.180007330
mov edx, dword [rbp - 0x74]
mov r8d, dword [rbp - 0x78]
mov rcx, qword [rbp - 0x84]
mov r9d, dword [rbp - 0x7c]
call sub.ADVAPI32.dll_ReportEventW
mov ebx, eax
lea rcx, [rbp - 0x70]
call fcn.180007380
call sub.KERNEL32.dll_GetLastError
mov esi, eax
xor eax, eax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x40], rax
mov rax, qword gs:[0x58]
mov ecx, dword [0x18050bef8]
mov edx, 0x10
add rdx, qword [rax + rcx*8]
mov rdi, qword [rdx]
test rdi, rdi
je 0x1801f7220
mov dword [rdi + 0x80], esi
test ebx, ebx
setne al
movzx eax, al
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
mov rcx, rdx
lea rax, [0x1801f0910]
call rax
mov rdi, rax
jmp 0x1801f71fe
Function at 0x1801f73a0
Capabilities:
Query or enumerate registry key

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0xc8
lea rbp, [rsp + 0x100]
xor eax, eax
mov qword [rbp - 0x78], rax
xorps xmm4, xmm4
movaps xmmword [rbp - 0x70], xmm4
movaps xmmword [rbp - 0x60], xmm4
movaps xmmword [rbp - 0x50], xmm4
mov qword [rbp - 0x40], rax
mov edi, edx
mov rbx, r8
mov rsi, r9
mov r14, qword [rbp + 0x30]
mov r15, qword [rbp + 0x38]
mov r13, qword [rbp + 0x40]
mov r12, qword [rbp + 0x48]
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1801b5fa0
nop
lea rcx, [r12 + 0x10]
xor edx, edx
test r12, r12
cmove rcx, rdx
mov qword [rbp - 0x50], rcx
lea rdx, [r13 + 0x10]
xor r8d, r8d
test r13, r13
cmove rdx, r8
mov qword [rbp - 0x58], rdx
lea r8, [r15 + 0x10]
xor r9d, r9d
test r15, r15
cmove r8, r9
mov qword [rbp - 0x60], r8
lea r9, [r14 + 0x10]
xor eax, eax
test r14, r14
cmove r9, rax
mov qword [rbp - 0x68], r9
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x78], rbx
mov rax, qword [rbp - 0x48]
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rcx
mov rcx, qword [rax + 8]
mov qword [rbp - 0xac], rcx
mov edx, edi
mov dword [rbp - 0xa4], edx
mov r8, rbx
mov qword [rbp - 0xb4], r8
mov r9, rsi
mov qword [rbp - 0xbc], r9
lea rcx, [rbp - 0xa0]
call fcn.180007330
mov rcx, qword [rbp - 0xac]
mov edx, dword [rbp - 0xa4]
mov r8, qword [rbp - 0xb4]
mov r9, qword [rbp - 0xbc]
call sub.ADVAPI32.dll_RegEnumKeyExW
mov ebx, eax
lea rcx, [rbp - 0xa0]
call fcn.180007380
nop
xor ecx, ecx
mov qword [rbp - 0x78], rcx
xor ecx, ecx
mov qword [rbp - 0x70], rcx
xor ecx, ecx
mov qword [rbp - 0x68], rcx
xor ecx, ecx
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov qword [rbp - 0x58], rcx
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1801f7503
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1801b5fe0
mov eax, ebx
add rsp, 0xc8
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1801f7830
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x98
lea rbp, [rsp + 0xd0]
xorps xmm4, xmm4
movaps xmmword [rbp - 0x50], xmm4
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rdx
mov rsi, r8
mov rdi, r9
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x48], rcx
lea rdx, [rbp - 0x40]
cmp dword [rcx], ecx
call fcn.1801b5fa0
nop
test rbx, rbx
je 0x1801f7886
add rbx, 0xc
mov rdx, rbx
jmp 0x1801f7888
xor edx, edx
mov qword [rbp - 0x50], rdx
mov rcx, qword [rbp - 0x48]
mov rbx, qword [rbp + 0x30]
mov qword [rsp + 0x20], rbx
mov rbx, qword [rbp + 0x38]
mov qword [rsp + 0x28], rbx
mov rcx, qword [rcx + 8]
mov qword [rbp - 0x80], rcx
mov qword [rbp - 0x88], rdx
mov r8, rsi
mov qword [rbp - 0x90], r8
mov r9, rdi
mov qword [rbp - 0x98], r9
lea rcx, [rbp - 0x78]
call fcn.180007330
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rbp - 0x88]
mov r8, qword [rbp - 0x90]
mov r9, qword [rbp - 0x98]
call sub.ADVAPI32.dll_RegQueryValueExW
mov ebx, eax
lea rcx, [rbp - 0x78]
call fcn.180007380
nop
xor ecx, ecx
mov qword [rbp - 0x50], rcx
cmp byte [rbp - 0x40], 0
je 0x1801f7911
mov rcx, qword [rbp - 0x48]
cmp byte [rcx], cl
xor edx, edx
call fcn.1801b5fe0
mov eax, ebx
add rsp, 0x98
pop rbx
pop rsi
pop rdi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret

Function at 0x1801fa900
Capabilities:
Encode data using xor

Disassembly:
mov rax, qword [rcx + 8]
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov r10, qword [rcx + 0x20]
mov r9, rdx
shl r9, 0x11
xor r8, rax
xor r10, rdx
lea r11, [rdx + rdx*4]
rol r11, 7
lea r11, [r11 + r11*8]
xor rdx, r8
xor rax, r10
xor r8, r9
rol r10, 0x2d
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rdx
mov qword [rcx + 0x18], r8
mov qword [rcx + 0x20], r10
mov rax, r11
shr rax, 0x21
cmp rax, 0x7fffffff
je fcn.1801fa900
ret
Function at 0x180204e60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rcx, [rbx + 0xc]
movsxd rsi, edx
add rsi, rbx
cmp rcx, rsi
ja 0x180204e86
mov eax, 0xd
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
test r8d, r8d
je 0x180204ec3
cmp r8d, 0xa
ja 0x180204ec3
test r9b, r9b
jne 0x180204ec3
movzx eax, byte [rsi]
test eax, eax
je 0x180204fb3
lea r9, [rsi + 1]
mov rdi, r9
movzx r8d, r8b
or eax, r8d
mov byte [rsi], al
mov rsi, rdi
jmp 0x180204f8c
mov eax, 4
cmp r8d, 0xff
ja 0x180204ed8
mov eax, 1
jmp 0x180204ef6
mov edx, 3
cmp r8d, 0xffffff
cmovbe eax, edx
mov edx, 2
cmp r8d, 0xffff
cmovbe eax, edx
test r9b, r9b
je 0x180204f21
lea rdx, [rsi + 2]
cmp rcx, rdx
jbe 0x180204e79
movzx edx, byte [rsi]
test edx, edx
je 0x180204f1e
mov r10, rsi
lea rsi, [r10 + 1]
or edx, 0xb
mov byte [r10], dl
jmp 0x180204f21
mov byte [rsi], 0xb0
lea edx, [rax + 0xb]
movzx r10d, byte [rsi]
test r10d, r10d
je 0x180204f3f
mov r9, rsi
lea rsi, [r9 + 1]
movzx edx, dl
or edx, r10d
mov byte [r9], dl
jmp 0x180204f44
shl edx, 4
mov byte [rsi], dl
cmp rsi, rcx
jae 0x180204f6c
cmp byte [rsi], 0
je 0x180204f6c
cmp r8d, 0x1000
jae 0x180204f69
mov edx, r8d
shr edx, 8
add edx, 0xc0
mov byte [rsi], dl
movzx r8d, r8b
inc rsi
test eax, eax
je 0x180204f8c
cmp rcx, rsi
ja 0x180204f7a
inc rsi
jmp 0x180204f8c
mov rdx, rsi
lea rsi, [rdx + 1]
mov byte [rdx], r8b
shr r8d, 8
dec eax
jne 0x180204f70
mov eax, dword [rbx]
add eax, dword [rbx + 4]
mov ecx, dword [rbx + 8]
lea edi, [rax + rcx + 0x599d99ad]
call fcn.180150e50
xor eax, edi
mov dword [rbx + 0xc], eax
mov rax, rsi
sub rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov eax, r8d
shl eax, 4
mov byte [rsi], al
jmp 0x180204f8c

Function at 0x18022a630
Capabilities:
Hash data using murmur3

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
cmp edx, 0xffffffff
jne 0x18022a644
mov esi, 0xd5313557
jmp 0x18022a66b
mov ecx, edx
call fcn.18022a560
mov rdx, rax
lea rcx, [0x1802af6f0]
lea r8, [0x1802b9400]
call fcn.180155f70
mov rcx, rax
call fcn.18022a4e0
mov esi, eax
mov eax, esi
rol eax, 0xd
add eax, esi
mov esi, eax
xor esi, ebx
mov eax, esi
rol eax, 0xf
add eax, esi
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x180269560
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x18026959c
lea r10, [rdx + rax*8 + 0x10]
mov r10, qword [r10]
test r10, r10
jne 0x180269581
xor r9d, r9d
jmp 0x180269585
mov r9d, dword [r10 + 0x14]
mov r10d, ecx
rol r10d, 0xd
add r10d, ecx
mov ecx, r10d
xor ecx, r9d
inc eax
cmp r8d, eax
jg 0x18026956f
mov eax, ecx
rol eax, 0xf
add eax, ecx
add rsp, 0x28
ret

Function at 0x1802695c0
Capabilities:
Hash data using murmur3

Disassembly:
sub rsp, 0x28
xor eax, eax
mov r8d, dword [rdx + 8]
test r8d, r8d
jle 0x1802695fc
lea r10, [rdx + rax*8 + 0x10]
mov r10, qword [r10]
test r10, r10
jne 0x1802695e1
xor r9d, r9d
jmp 0x1802695e5
mov r9d, dword [r10 + 0x14]
mov r10d, ecx
rol r10d, 0xd
add r10d, ecx
mov ecx, r10d
xor ecx, r9d
inc eax
cmp r8d, eax
jg 0x1802695cf
mov eax, ecx
rol eax, 0xf
add eax, ecx
add rsp, 0x28
ret