joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18009b280
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
xor eax, eax
lea r8, [0x18017b711]
mov dword [rsp + 0x2c], eax
lea r11, [0x18017c120]
mov qword [rsp + 0x48], rax
mov r10d, 0xffffffff
lea rax, [0x18017b694]
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov edx, r10d
mov r9b, 0x57
nop
cmp r9b, 0x23
jne 0x18009b2d3
cmp byte [r8], r9b
jne 0x18009b2d3
cmp byte [r8 + 1], r9b
cmove edx, r10d
movzx ecx, dl
movzx eax, r9b
movzx r9d, byte [r8]
xor rcx, rax
shr edx, 8
inc r8
xor edx, dword [r11 + rcx*4]
test r9b, r9b
jne 0x18009b2c0
mov ecx, dword [rbx + 0x2f84]
lea rax, [0x1800a6c30]
mov edi, dword [rbx + 0x2f80]
not edx
mov qword [rsp + 0x30], rax
lea rax, [0x1800a6ce0]
mov qword [rsp + 0x38], rax
lea rax, [0x1800a6db0]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x28], edx
cmp edi, ecx
jne 0x18009b3d3
inc edi
test ecx, ecx
je 0x18009b33f
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
jmp 0x18009b344
mov eax, 8
cmp eax, edi
cmovg edi, eax
cmp edi, ecx
jle 0x18009b3d3
mov rax, qword [0x1803a3560]
mov qword [rsp + 0x60], rsi
test rax, rax
je 0x18009b368
inc dword [rax + 0x3bc]
movsxd rax, edi
lea rcx, [rax + rax*2]
shl rcx, 4
call fcn.1800e59cc
mov rdx, qword [rbx + 0x2f88]
mov rsi, rax
test rdx, rdx
je 0x18009b3c1
movsxd rcx, dword [rbx + 0x2f80]
lea r8, [rcx + rcx*2]
mov rcx, rax
shl r8, 4
call fcn.18010b0a0
mov rcx, qword [rbx + 0x2f88]
test rcx, rcx
je 0x18009b3bc
mov rax, qword [0x1803a3560]
test rax, rax
je 0x18009b3bc
dec dword [rax + 0x3bc]
call fcn.1800e59b8
mov qword [rbx + 0x2f88], rsi
mov rsi, qword [rsp + 0x60]
mov dword [rbx + 0x2f84], edi
movsxd rax, dword [rbx + 0x2f80]
movups xmm0, xmmword [rsp + 0x20]
movups xmm1, xmmword [rsp + 0x30]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x2f88]
add rcx, rcx
movups xmmword [rax + rcx*8], xmm0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rax + rcx*8 + 0x10], xmm1
movups xmmword [rax + rcx*8 + 0x20], xmm0
inc dword [rbx + 0x2f80]
mov byte [rbx], 1
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x18009cbb0
Capabilities:
Hash data with crc32

Disassembly:
movzx r9d, byte [rcx]
lea r8, [rcx + 1]
mov r10d, 0xffffffff
mov eax, r10d
test r9b, r9b
je 0x18009cc00
lea r11, [0x18017c120]
nop dword [rax]
cmp r9b, 0x23
jne 0x18009cbe3
cmp byte [r8], r9b
jne 0x18009cbe3
cmp byte [r8 + 1], r9b
cmove eax, r10d
movzx edx, al
movzx ecx, r9b
movzx r9d, byte [r8]
xor rdx, rcx
shr eax, 8
inc r8
xor eax, dword [r11 + rdx*4]
test r9b, r9b
jne 0x18009cbd0
mov rcx, qword [0x1803a3560]
not eax
movsxd rdx, dword [rcx + 0x1a58]
mov r9, qword [rcx + 0x1a60]
mov r10, rdx
shl r10, 4
add r10, r9
test rdx, rdx
je 0x18009cc61
nop word [rax + rax]
mov r8, rdx
shr r8, 1
mov rcx, r8
add rcx, rcx
cmp dword [r9 + rcx*8], eax
jae 0x18009cc59
lea r9, [r9 + rcx*8]
mov rcx, 0xffffffffffffffff
sub rcx, r8
add r9, 0x10
add rdx, rcx
jmp 0x18009cc5c
mov rdx, r8
test rdx, rdx
jne 0x18009cc30
cmp r9, r10
je 0x18009cc70
cmp dword [r9], eax
jne 0x18009cc70
mov rax, qword [r9 + 8]
ret
xor eax, eax
ret
Function at 0x1800a6890
Capabilities:
Hash data with crc32

Disassembly:
push rsi
push r13
sub rsp, 0x38
mov r13, qword [0x1803a3560]
mov qword [rsp + 0x50], rbx
mov rbx, rdx
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov rdi, rcx
mov qword [rsp + 0x30], r12
test rdx, rdx
jne 0x1800a68ce
mov rbx, 0xffffffffffffffff
inc rbx
cmp byte [rcx + rbx], 0
jne 0x1800a68c5
test r13, r13
je 0x1800a68da
inc dword [r13 + 0x3bc]
lea rcx, [rbx + 1]
call fcn.1800e59cc
mov r8, rbx
mov qword [rsp + 0x58], rax
mov rdx, rdi
mov rcx, rax
mov rsi, rax
lea r12, [rax + rbx]
call fcn.18010b0a0
xor ebp, ebp
mov byte [r12], 0
xor edi, edi
mov rcx, rsi
cmp rsi, r12
jae 0x1800a6aa3
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], r15
nop dword [rax]
movzx eax, byte [rcx]
cmp al, 0xa
je 0x1800a6ae6
cmp al, 0xd
je 0x1800a6ae6
mov rbx, rcx
cmp rcx, r12
jae 0x1800a6953
nop dword [rax + rax]
movzx eax, byte [rbx]
cmp al, 0xa
je 0x1800a6953
cmp al, 0xd
je 0x1800a6953
inc rbx
cmp rbx, r12
jb 0x1800a6940
mov byte [rbx], 0
movzx eax, byte [rcx]
cmp al, 0x3b
je 0x1800a6a87
cmp al, 0x5b
jne 0x1800a6a6e
cmp rbx, rcx
jbe 0x1800a6a6e
cmp byte [rbx - 1], 0x5d
lea rsi, [rbx - 1]
jne 0x1800a6a6e
lea r14, [rcx + 1]
mov byte [rsi], 0
mov r8, rsi
mov rcx, r14
sub r8, r14
mov edx, 0x5d
call fcn.18010bae0
mov r15, rax
test rax, rax
je 0x1800a6a87
lea rcx, [rax + 1]
mov edx, 0x5b
sub rsi, rcx
mov r8, rsi
call fcn.18010bae0
mov r11, rax
test rax, rax
je 0x1800a6a87
mov r10, qword [0x1803a3560]
lea r8, [r14 + 1]
mov byte [r15], 0
mov esi, 0xffffffff
movzx r9d, byte [r14]
mov ecx, esi
test r9b, r9b
je 0x1800a6a1a
cmp r9b, 0x23
jne 0x1800a69f7
cmp byte [r8], r9b
jne 0x1800a69f7
cmp byte [r8 + 1], r9b
cmove ecx, esi
movzx edx, cl
movzx eax, r9b
movzx r9d, byte [r8]
xor rdx, rax
shr ecx, 8
lea rax, [0x18017c120]
inc r8
xor ecx, dword [rax + rdx*4]
test r9b, r9b
jne 0x1800a69e5
mov r8d, dword [r10 + 0x2f80]
xor eax, eax
not ecx
test r8d, r8d
jle 0x1800a6a44
mov r9, qword [r10 + 0x2f88]
lea rdx, [r9 + 8]
cmp dword [rdx], ecx
je 0x1800a6a4a
inc eax
add rdx, 0x30
cmp eax, r8d
jl 0x1800a6a35
xor edi, edi
xor ebp, ebp
jmp 0x1800a6a87
cdqe
lea rdi, [rax + rax*2]
shl rdi, 4
add rdi, r9
je 0x1800a6a46
mov rax, qword [rdi + 0x10]
lea r8, [r11 + 1]
mov rdx, rdi
mov rcx, r13
call rax
mov rbp, rax
jmp 0x1800a6a87
test rdi, rdi
je 0x1800a6a87
test rbp, rbp
je 0x1800a6a87
mov r9, rcx
mov r8, rbp
mov rcx, r13
mov rdx, rdi
call qword [rdi + 0x18]
lea rcx, [rbx + 1]
cmp rcx, r12
jb 0x1800a6920
mov rsi, qword [rsp + 0x58]
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov r12, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
test rsi, rsi
je 0x1800a6ace
mov rax, qword [0x1803a3560]
test rax, rax
je 0x1800a6ace
dec dword [rax + 0x3bc]
mov rcx, rsi
call fcn.1800e59b8
mov byte [r13 + 0x2f68], 1
add rsp, 0x38
pop r13
pop rsi
ret
inc rcx
jmp 0x1800a6920
Function at 0x1800bbcb0
Capabilities:
Access peb ldr_data
Encode data using xor
Get kernel32 base address
Get process filename
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
push rbp
push r12
push r15
sub rsp, 0x60
mov rbp, r8
mov r12, rdx
mov r15, rcx
test rdx, rdx
jne 0x1800bbcd5
lea eax, [rdx + 1]
add rsp, 0x60
pop r15
pop r12
pop rbp
ret
xorps xmm0, xmm0
mov qword [rsp + 0x80], rbx
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x88], rsi
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x90], rdi
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x98], r14
movups xmmword [rsp + 0x20], xmm0
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x1800bbdaa
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1800bbdaa
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0x4aa80607
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x1800bbda5
movsx ecx, r9b
lea r8, [r8 + 1]
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
movzx r9d, byte [r8 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r9b, r9b
jne 0x1800bbd70
cmp r10d, 0xd32cf14d
je 0x1800bbdb2
test r11d, r11d
jne 0x1800bbd50
mov rax, qword [rax]
jmp 0x1800bbd20
mov ecx, dword [rsi + 0x24]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
mov rdx, r15
add rax, rbx
lea rcx, [rsp + 0x20]
call rax
mov dword [rsp + 0x30], 0x30
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x48], 0x40
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x1800bbe99
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x1800bbe99
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xc9019099
lea rcx, [r14 + r11*4]
mov r9d, dword [rcx + rbx]
add r9, rbx
movzx ecx, byte [r9]
inc r9
test cl, cl
je 0x1800bbe94
nop
movsx edx, cl
lea r9, [r9 + 1]
sub cl, 0x41
mov r8d, edx
or r8d, 0x20
cmp cl, 0x19
movzx ecx, byte [r9 - 1]
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test cl, cl
jne 0x1800bbe60
cmp r10d, 0xba0e5526
je 0x1800bbea1
test r11d, r11d
jne 0x1800bbe40
mov rax, qword [rax]
jmp 0x1800bbe10
mov ecx, dword [rsi + 0x24]
lea r8, [rsp + 0x30]
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
mov edx, 0x2000000
add rax, rbx
mov rcx, r12
call rax
mov r14, qword [rsp + 0x98]
mov rdi, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x88]
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop r15
pop r12
pop rbp
ret
Function at 0x1800be060
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r15
sub rsp, 0x30
xor r15d, r15d
mov qword [rsp + 0x60], r14
cmp qword [rdx + 0x18], 7
lea rdi, [rdx + 0x18]
mov r14, r8
mov dword [rsp + 0x78], 4
mov rbx, rdx
mov dword [rsp + 0x68], r15d
jbe 0x1800be09a
mov rdx, qword [rdx]
lea rsi, [rbx + 0x18]
jmp 0x1800be09d
mov rsi, rdi
lea rax, [rsp + 0x78]
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebp, eax
test eax, eax
jne 0x1800be0ca
mov ecx, dword [rsp + 0x68]
mov dword [r14], ecx
mov rdx, qword [rdi]
mov r14, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x1800be110
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
mov rdi, rsi
cmp rdx, 0x1000
jb 0x1800be10b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800be12c
mov rcx, r8
lea rdi, [rbx + 0x18]
call fcn.1800d95dc
mov qword [rbx + 0x10], r15
mov eax, ebp
mov qword [rdi], 7
mov word [rbx], r15w
add rsp, 0x30
pop r15
pop rdi
pop rsi
pop rbp
pop rbx
ret
call fcn.1800e5940
int3

Function at 0x1800be140
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
sub rsp, 0x30
cmp qword [rdx + 0x18], 7
lea rdi, [rdx + 0x18]
mov rbx, rdx
jbe 0x1800be165
mov rdx, qword [rdx]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rdx, qword [rdi]
mov esi, eax
cmp rdx, 7
jbe 0x1800be1c6
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1800be1c1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1800be1e8
mov rcx, r8
lea rdi, [rbx + 0x18]
call fcn.1800d95dc
xor eax, eax
mov qword [rdi], 7
mov qword [rbx + 0x10], rax
mov word [rbx], ax
mov eax, esi
mov rsi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
call fcn.1800e5940
int3
Function at 0x1800bfc60
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rcx
push rbp
mov rbp, rsp
sub rsp, 0x30
mov ecx, 2
call 0x1800c3620
cmp byte [0x180185b37], 0
mov rax, qword [str._AVURKJ:E]
mov qword [rbp + 0x10], rax
je 0x1800bfdcf
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800bfd98
movdqa xmm2, xmmword [0x180186340]
movdqa xmm3, xmmword [0x180186380]
movdqa xmm1, xmm2
movdqa xmm4, xmmword [0x180186670]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180186410]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x10]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 0x10], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x180186410]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x14]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.3333333333333333]
xorps xmm2, xmm0
movd dword [rbp + 0x14], xmm2
jmp 0x1800bfdcf
lea r8, [rbp + 0x10]
nop dword [rax]
mov eax, 0x8fb823ef
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 8
jl 0x1800bfda0
movzx eax, word [0x180185c78]
lea r8, [rbp + 0x10]
movsd xmm0, qword [0x180185c70]
lea rdx, [rbp - 0x10]
movsd qword [rbp - 0x10], xmm0
xor r9d, r9d
xor byte [rbp - 0xf], 0x34
xor ecx, ecx
xor byte [rbp - 0xe], 0x35
xor byte [rbp - 0xd], 0x36
xor byte [rbp - 0xc], 0x37
xor byte [rbp - 0xb], 0x38
xor byte [rbp - 0xa], 0x39
xor byte [rbp - 9], 0x3a
mov word [rbp - 8], ax
movzx eax, byte [0x180185c7a]
xor byte [rbp - 8], 0x3b
xor al, 0x3d
xor byte [rbp - 7], 0x3c
mov byte [rbp - 6], al
mov byte [rbp - 0x10], 0x52
call qword [sym.imp.USER32.dll_MessageBoxA]
mov ecx, 3
add rsp, 0x30
pop rbp
jmp 0x1800c3620
ror byte [rax - 0x73], 1
and al, 0x58
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
xor edx, edx
sal byte [rbx], 0xd2
mov dword [rsp + 0x20], 6
mov ecx, 0xc0000374
call qword [0x1803a3570]
mov r14, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x60]
add rsp, 0x48
ret
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xd8
call fcn.1803b4200
push rax
jb 0x1800c35db
mov ebp, 0x1000b1e4
jns 0x1800c35eb
mov ah, 0x40
mov dl, 0x54
invalid
Function at 0x1800bfe40
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xfc8]
mov eax, 0x10c8
call fcn.1800da1b0
sub rsp, rax
mov rbx, rcx
xor edx, edx
lea rcx, [rbp - 0x40]
mov r8d, 0x1000
call fcn.18010b740
xor esi, esi
lea rdi, [rbp + 0xff8]
mov qword [rsp + 0x60], rsi
call fcn.1800273e0
mov qword [rsp + 0x30], rdi
lea r9, [rsi - 1]
mov qword [rsp + 0x28], rsi
lea rdx, [rbp - 0x40]
mov r8d, 0x1000
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax]
call fcn.1800e9078
lea edx, [rsi + 0x4a]
mov dword [rsp + 0x68], 0x4a0000
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x70], rax
test rax, rax
jne 0x1800bfee4
add rsp, 0x10c8
pop rdi
pop rsi
pop rbx
pop rbp
ret
movzx r8d, word [rsp + 0x6a]
xor edx, edx
mov rcx, rax
call fcn.18010b740
lea rdx, [0x180180e90]
lea rcx, [rsp + 0x68]
call qword [sym.imp.ntdll.dll_RtlAppendUnicodeToString]
mov dword [rsp + 0x50], esi
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rsi
lea r9, [rsp + 0x78]
mov dword [rsp + 0x40], 0x20
lea r8, [rbp - 0x78]
mov dword [rsp + 0x38], 3
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x30], 2
xorps xmm0, xmm0
mov dword [rsp + 0x28], 0x80
mov edx, 0x100004
mov qword [rsp + 0x20], rsi
mov dword [rbp - 0x78], 0x30
mov qword [rbp - 0x70], rsi
mov dword [rbp - 0x60], 0x40
mov qword [rbp - 0x68], rax
movdqu xmmword [rbp - 0x58], xmm0
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
js 0x1800bffbd
mov rcx, qword [rsp + 0x60]
mov eax, 0xffffffff
mov qword [rsp + 0x40], rsi
test ebx, ebx
mov qword [rsp + 0x38], rsi
cmovs ebx, eax
lea rax, [rbp - 0x40]
mov dword [rsp + 0x30], ebx
xor r9d, r9d
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x78]
xor edx, edx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ntdll.dll_NtWriteFile]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtClose]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1800bffcd
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov al, 1
add rsp, 0x10c8
pop rdi
pop rsi
pop rbx
pop rbp
ret

Function at 0x1800bffe0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rsi, r8
mov r8, rdx
mov rdi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov qword [rcx], rbx
mov qword [rcx + 8], rbx
mov qword [rcx + 0x10], rbx
mov dword [rsp + 0x20], 1
xor edx, edx
mov r9, rsi
call fcn.18001c8d0
test rsi, rsi
je 0x1800c0042
mov ecx, ebx
nop word [rax + rax]
add rcx, qword [rdi]
lea eax, [rbx + 0x64]
xor byte [rcx], al
inc ebx
movsxd rcx, ebx
cmp rcx, rsi
jb 0x1800c0030
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1800c00b0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov ecx, dword [0x180185fe0]
mov edx, 0x44
movups xmm0, xmmword [0x180185fd0]
movzx eax, word [0x180185fe4]
mov dword [rbp - 0x30], ecx
xor ax, 0x3d
xor word [rbp - 0x2e], 0x3c
xor cx, 0x3b
movups xmmword [rbp - 0x40], xmm0
xor word [rbp - 0x3e], 0x34
xor word [rbp - 0x3c], 0x35
xor word [rbp - 0x3a], 0x36
xor word [rbp - 0x38], 0x37
xor word [rbp - 0x36], 0x38
xor word [rbp - 0x34], 0x39
xor word [rbp - 0x32], 0x3a
mov word [rbp - 0x30], cx
lea rcx, [rbp - 0x40]
mov word [rbp - 0x40], dx
mov word [rbp - 0x2c], ax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov r9, rax
test rax, rax
je 0x1800c030d
cmp byte [0x1801860a7], 0
movups xmm0, xmmword [0x180186090]
movups xmmword [rbp - 0x2a], xmm0
movsd xmm0, qword [0x1801860a0]
movsd qword [rbp - 0x1a], xmm0
je 0x1800c02dd
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800c02a6
movdqa xmm0, xmmword [str.3333333333333333]
lea rcx, [rbp - 0x26]
movdqa xmm5, xmmword [0x180186340]
xor edx, edx
movdqa xmm4, xmmword [0x1801865f0]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x1801863a0]
nop dword [rax]
nop word [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add edx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1801864b0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
xorps xmm2, xmm0
movd dword [rcx - 8], xmm2
cmp edx, 0x18
jl 0x1800c01a0
movaps xmm6, xmmword [rsp + 0x60]
jmp 0x1800c02dd
lea r8, [rbp - 0x2a]
xor ecx, ecx
nop dword [rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x32
movzx eax, cl
inc ecx
sub al, dl
add al, 0x33
xor byte [r8 - 1], al
cmp ecx, 0x18
jl 0x1800c02b0
lea rdx, [rbp - 0x2a]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1800c030d
lea rcx, [rbp + 0x10]
mov dword [rbp + 0x10], 0
call rax
test eax, eax
js 0x1800c030d
cmp dword [rbp + 0x10], 0
setne al
add rsp, 0x70
pop rbp
ret
mov al, 1
add rsp, 0x70
pop rbp
ret
Function at 0x1800c0890
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov r15, rdx
mov r8, rcx
test rcx, rcx
je 0x1800c09a7
movsxd rax, dword [rcx + 0x3c]
test eax, eax
je 0x1800c09a7
mov rcx, rax
add rcx, r8
je 0x1800c09a7
movzx eax, word [r8]
add eax, dword [rcx]
cmp eax, 0x9f9d
jne 0x1800c09a7
mov eax, dword [rcx + 0x50]
mov ecx, dword [rcx + 0x88]
add rcx, r8
je 0x1800c09a7
mov esi, eax
cmp rcx, r8
jbe 0x1800c09a7
add rax, r8
cmp rcx, rax
jae 0x1800c09a7
mov r14d, dword [rcx + 0x1c]
lea rax, [rsi + r8]
mov r11d, dword [rcx + 0x20]
add r14, r8
mov ebx, dword [rcx + 0x24]
add r11, r8
add rbx, r8
cmp r14, r8
jbe 0x1800c09a7
cmp r14, rax
jae 0x1800c09a7
cmp r11, r8
jbe 0x1800c09a7
cmp r11, rax
jae 0x1800c09a7
cmp rbx, r8
jbe 0x1800c09a7
cmp rbx, rax
jae 0x1800c09a7
mov ebp, dword [rcx + 0x14]
xor edi, edi
test ebp, ebp
je 0x1800c09a7
nop dword [rax]
movzx eax, word [rbx]
mov r10d, dword [r14 + rax*4]
mov eax, dword [r11]
add r10, r8
add rax, r8
cmp rax, r8
jbe 0x1800c0999
lea rcx, [rsi + r8]
cmp rax, rcx
jae 0x1800c0999
cmp r10, r8
jbe 0x1800c0999
lea rcx, [rsi + r8]
cmp r10, rcx
jae 0x1800c0999
mov r9, r15
sub r9, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r9]
sub edx, ecx
jne 0x1800c0995
inc rax
test ecx, ecx
jne 0x1800c0982
test edx, edx
je 0x1800c09c2
inc edi
add rbx, 2
add r11, 4
cmp edi, ebp
jb 0x1800c0950
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
mov rax, r10
jmp 0x1800c09a9
Function at 0x1800c12c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x260
mov rbx, rcx
mov dword [rsp + 0x20], 0x238
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800c1355
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
je 0x1800c134b
lea rax, [rsp + 0x20]
mov qword [rsp + 0x278], rax
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1800c1383
mov rax, qword [rcx]
lea rdx, [rsp + 0x278]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rdi
test al, al
je 0x1800c134e
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800c1311
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1800c1372
cmp rcx, rbx
mov rax, qword [rcx]
setne dl
call qword [rax + 0x20]
mov qword [rbx + 0x38], 0
mov rbx, qword [rsp + 0x280]
add rsp, 0x260
pop rdi
ret
call fcn.1800d3bd0
nop
int3