joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180032270
Capabilities:
Encode data using xor
Enumerate services

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x80
xor ebp, ebp
movaps xmmword [rsp + 0x70], xmm6
mov qword [r11 - 0x60], rbp
lea rax, [r11 + 0x18]
mov qword [r11 - 0x68], rax
xor r9d, r9d
lea rax, [r11 + 0x10]
mov dword [r11 + 0x10], ebp
mov qword [r11 - 0x70], rax
lea edx, [rbp + 0xb]
lea r8d, [rbp + 3]
mov dword [rsp + 0x20], ebp
mov rbx, rcx
mov dword [r11 + 0x18], ebp
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
jne 0x1800322d0
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
jne 0x18003249c
mov eax, dword [rsp + 0xa8]
add eax, 0x30
mov ecx, eax
mov dword [rsp + 0xa8], eax
call fcn.1800da0c0
mov ecx, dword [rsp + 0xa8]
mov rdi, rax
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x30], rax
mov edx, listen
lea rax, [rsp + 0xa8]
mov r9, rdi
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
mov rcx, rbx
lea r8d, [rdx - 8]
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusA]
test eax, eax
je 0x180032494
mov ebx, ebp
cmp dword [rsp + 0xb0], ebp
jbe 0x180032488
mov esi, dword [reloc.WS2_32.dll_accept]
nop word [rax + rax]
mov eax, ebx
lea rcx, [rax + rax*2]
mov eax, dword [0x1801838a0]
add rcx, rcx
mov dword [rsp + 0xb8], eax
cmp byte [0x1801838a3], bpl
movups xmm4, xmmword [rdi + rcx*8]
movups xmm6, xmmword [rdi + rcx*8 + 0x10]
je 0x18003244f
cmp esi, 2
jl 0x18003240a
movdqa xmm3, xmmword [0x1801873c0]
movdqa xmm2, xmm3
movdqa xmm0, xmm3
punpckldq xmm2, xmm3
pmuldq xmm2, xmmword [0x1801876e0]
punpckhdq xmm0, xmm3
pmuldq xmm0, xmmword [0x1801876e0]
shufps xmm2, xmm0, 0xdd
paddd xmm2, xmm3
psrad xmm2, 5
movdqa xmm0, xmm2
psrld xmm0, 0x1f
paddd xmm0, xmm2
pmulld xmm0, xmmword [0x180187470]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.00000000000000009999999999999999]
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rsp + 0xb8], xmm2
jmp 0x18003244f
lea r8, [rsp + 0xb8]
mov ecx, ebp
nop dword [rax]
nop dword [rax + 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, 0x30
xor byte [r8 - 1], al
cmp ecx, 4
jl 0x180032420
lea rdx, [rsp + 0xb8]
movq rcx, xmm4
call fcn.1800dbcd4
test rax, rax
je 0x180032479
psrldq xmm6, 4
movd eax, xmm6
add eax, 0xfffffffe
test eax, 0xfffffffd
je 0x18003249c
inc ebx
cmp ebx, dword [rsp + 0xb0]
jb 0x180032350
mov rcx, rdi
call fcn.1800d9c4c
xor al, al
jmp 0x18003249e
mov rcx, rdi
call fcn.1800d9c4c
mov al, 1
mov rbx, qword [rsp + 0xa0]
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x1800332d0
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1803a4ac8]
test rax, rax
jne 0x180033543
mov ecx, dword [0x180183968]
mov edx, 0x77
movups xmm0, xmmword [0x180183958]
movzx eax, word [0x18018396c]
mov dword [rbp - 0x30], ecx
xor ax, 0x3a
xor word [rbp - 0x2e], 0x39
xor cx, 0x38
movups xmmword [rbp - 0x40], xmm0
xor word [rbp - 0x3e], 0x31
xor word [rbp - 0x3c], 0x32
xor word [rbp - 0x3a], 0x33
xor word [rbp - 0x38], 0x34
xor word [rbp - 0x36], 0x35
xor word [rbp - 0x34], 0x36
xor word [rbp - 0x32], 0x37
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_GetModuleHandleW]
mov r9, rax
test rax, rax
je 0x180033538
cmp byte [0x1801839b9], 0
movups xmm0, xmmword [str.Eg_QGsYMTROMR9]
movzx eax, word [0x1801839b8]
mov word [rbp - 0x12], ax
movups xmmword [rbp - 0x2a], xmm0
movsd xmm0, qword [0x1801839b0]
movsd qword [rbp - 0x1a], xmm0
je 0x18003351f
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x1800334e1
movdqa xmm0, xmmword [str.00000000000000009999999999999999]
lea rdx, [rbp - 0x26]
movdqa xmm5, xmmword [0x1801873c0]
movdqa xmm4, xmmword [0x1801876d0]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x180187480]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180187520]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x1800333d0
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x1a
jge 0x18003351f
movsxd rax, ecx
lea r8, [rbp - 0x2a]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x1a
jl 0x1800334f0
lea rdx, [rbp - 0x2a]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1803a4ac8], rax
test rax, rax
jne 0x180033543
mov eax, 1
add rsp, 0x70
pop rbp
ret
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rax
xor eax, eax
add rsp, 0x70
pop rbp
ret
Function at 0x180033560
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1803a4aa8]
test rax, rax
jne 0x1800337c3
mov ecx, dword [0x180183968]
mov edx, 0x77
movups xmm0, xmmword [0x180183958]
movzx eax, word [0x18018396c]
mov dword [rbp - 0x1c], ecx
xor ax, 0x3a
xor word [rbp - 0x1a], 0x39
xor cx, 0x38
movups xmmword [rbp - 0x2c], xmm0
xor word [rbp - 0x2a], 0x31
xor word [rbp - 0x28], 0x32
xor word [rbp - 0x26], 0x33
xor word [rbp - 0x24], 0x34
xor word [rbp - 0x22], 0x35
xor word [rbp - 0x20], 0x36
xor word [rbp - 0x1e], 0x37
mov word [rbp - 0x1c], cx
lea rcx, [rbp - 0x2c]
mov word [rbp - 0x2c], dx
mov word [rbp - 0x18], ax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9, rax
test rax, rax
je 0x1800337b8
movzx eax, word [0x180183a60]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm0, xmmword [str.Eg_QGeRLjCH]
mov word [rbp - 0x30], ax
movzx eax, byte [0x180183a62]
mov byte [rbp - 0x2e], al
movups xmmword [rbp - 0x40], xmm0
jl 0x180033761
movdqa xmm0, xmmword [str.00000000000000009999999999999999]
lea rdx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x1801873c0]
movdqa xmm4, xmmword [0x1801876d0]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
movaps xmmword [rsp + 0x60], xmm6
movdqa xmm6, xmmword [0x180187480]
nop dword [rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x180187520]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x180187520]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x180033650
movaps xmm6, xmmword [rsp + 0x60]
cmp ecx, 0x13
jge 0x18003379f
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
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, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x30
xor byte [r8 - 1], al
cmp ecx, 0x13
jl 0x180033770
lea rdx, [rbp - 0x40]
mov rcx, r9
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1803a4aa8], rax
test rax, rax
jne 0x1800337c3
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov r9d, 1
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call rax
xor eax, eax
add rsp, 0x70
pop rbp
ret
Function at 0x180034d00
Capabilities:
Encode data using xor

Disassembly:
mov r11, rsp
sub rsp, 0x98
movups xmm0, xmmword [0x180183c08]
mov eax, dword [0x180183c38]
xor ecx, ecx
cmp dword [reloc.WS2_32.dll_accept], 2
movups xmm1, xmmword [0x180183c18]
mov dword [rsp + 0x60], eax
movzx eax, word [0x180183c3c]
movups xmmword [rsp + 0x30], xmm0
mov qword [r11 + 8], rcx
movups xmm0, xmmword [0x180183c28]
mov word [rsp + 0x64], ax
movups xmmword [rsp + 0x40], xmm1
movups xmmword [rsp + 0x50], xmm0
jl 0x180034e8b
movdqa xmm5, xmmword [0x1801873c0]
lea rdx, [r11 - 0x68]
movdqa xmm4, xmmword [0x180187660]
movaps xmmword [r11 - 0x18], xmm6
movdqa xmm6, xmmword [0x180187420]
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x180187500]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 0x10]
paddd xmm2, xmm5
add ecx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
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
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rdx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
mov eax, ecx
pmuldq xmm0, xmm4
punpckldq xmm1, xmm2
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
movq xmm2, xmm7
pshufhw xmm1, xmm0, 0xd8
movq xmm0, qword [rdx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rdx - 8], xmm3
cmp ecx, 0x18
jl 0x180034d90
movaps xmm7, xmmword [rsp + 0x70]
movaps xmm6, xmmword [rsp + 0x80]
cmp eax, 0x1b
jge 0x180034ed1
movsxd rax, ecx
lea r8, [rsp + 0x30]
lea r8, [r8 + rax*2]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 2]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movzx eax, dx
imul edx, eax, 0x32
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x30
xor word [r8 - 2], ax
cmp ecx, 0x1b
jl 0x180034ea0
lea rax, [rsp + 0xa0]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rax, qword [rsp + 0xa0]
test rax, rax
je 0x180034f1a
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, qword [rsp + 0xa0]
test rax, rax
setne al
add rsp, 0x98
ret
Function at 0x180034f30
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0xa0
mov rdi, r9
lea r14, [0x180035130]
xor esi, esi
mov dword [rax + 0x10], esi
mov dword [rax + 0x18], esi
mov qword [rax - 0x70], rsi
xorps xmm0, xmm0
movups xmmword [rax - 0x50], xmm0
movups xmmword [rax - 0x40], xmm0
movups xmmword [rax - 0x30], xmm0
test rcx, rcx
je 0x18003510a
movups xmmword [rax - 0x60], xmm0
mov rdx, rcx
lea rcx, [rax - 0x60]
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
mov dword [rsp + 0x68], 0x30
mov qword [rsp + 0x70], rsi
mov dword [rsp + 0x80], 0x40
lea rax, [rsp + 0x58]
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x88], xmm0
lea r8, [rsp + 0x68]
lea edx, [rsi + 1]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtOpenDirectoryObject]
mov dword [rsp + 0x40], eax
test eax, eax
jne 0x18003511c
nop word [rax + rax]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
mov r9b, 1
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
mov ebx, eax
mov dword [rsp + 0x40], eax
cmp eax, 0xc0000023
jne 0x1800350f8
mov r8d, dword [rsp + 0xd0]
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov edx, 8
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlAllocateHeap]
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
je 0x1800350f4
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
mov r9b, 1
mov r8d, dword [rsp + 0xd0]
mov rdx, rbx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ntdll.dll_NtQueryDirectoryObject]
mov dword [rsp + 0x40], eax
test eax, eax
js 0x1800350d6
mov rdx, rdi
mov rcx, rbx
call r14
mov dword [rsp + 0x44], eax
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
cmp dword [rsp + 0x44], 0
jl 0x180034fe0
mov ebx, esi
mov dword [rsp + 0x40], ebx
jmp 0x1800350f8
mov rax, qword gs:[0x30]
mov rcx, qword [rax + 0x60]
mov r8, qword [rsp + 0x50]
xor edx, edx
mov rcx, qword [rcx + 0x30]
call qword [sym.imp.ntdll.dll_RtlFreeHeap]
mov ebx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x180035108
call qword [sym.imp.ntdll.dll_NtClose]
jmp 0x18003511a
mov eax, 0xc00000f0
jmp 0x18003511c
mov eax, ebx
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop r14
pop rdi
pop rsi
ret
Function at 0x1800357c0
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rdi
sub rsp, 0xc0
mov rdi, rdx
xor ebx, ebx
mov qword [rax + 0x10], rbx
mov dword [rax - 0x34], ebx
mov dword [rax - 0x1c], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rax - 0x58]
call qword [sym.imp.ntdll.dll_RtlDosPathNameToNtPathName_U]
test al, al
jne 0x180035805
xor eax, eax
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
mov dword [rsp + 0x90], 0x30
mov qword [rsp + 0x98], rbx
mov dword [rsp + 0xa8], 0x40
lea rax, [rsp + 0x70]
mov qword [rsp + 0xa0], rax
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xb0], xmm0
mov dword [rsp + 0x50], ebx
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x80]
lea r8, [rsp + 0x90]
mov edx, 0x100002
lea rcx, [rsp + 0xd8]
call qword [sym.imp.ntdll.dll_NtCreateFile]
test eax, eax
js 0x1800358db
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x10ac0
mov qword [rsp + 0x28], rdi
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0xd8]
call qword [sym.imp.ntdll.dll_NtWriteFile]
test eax, eax
js 0x1800358db
mov ebx, dword [rsp + 0x88]
mov dword [rsp + 0x60], ebx
mov rcx, qword [rsp + 0xd8]
test rcx, rcx
je 0x1800358ee
call qword [sym.imp.ntdll.dll_NtClose]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
mov eax, ebx
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret
Function at 0x180039000
Capabilities:
Enumerate processes

Disassembly:
push r12
push r13
push r14
push r15
sub rsp, 0x298
xor r13d, r13d
movzx r12d, r8b
mov r15, rcx
test r8b, r8b
jne 0x180039021
mov dword [rcx], r13d
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x234
call fcn.18010bdb0
xor edx, edx
mov dword [rsp + 0x50], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov r14, rax
cmp rax, 0xffffffffffffffff
jne 0x180039061
xor al, al
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
ret
mov qword [rsp + 0x2c0], rbx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x2c8], rbp
mov rcx, r14
mov qword [rsp + 0x2d0], rsi
mov qword [rsp + 0x290], rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x180039183
nop word [rax + rax]
xorps xmm0, xmm0
mov qword [rsp + 0x40], r13
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x7c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], r13w
jne 0x1800390c0
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.180008fd0
cmp qword [r15 + 0x90], 7
lea r9, [r15 + 0x78]
mov rax, qword [r15 + 0x88]
jbe 0x1800390f2
mov r9, qword [r15 + 0x78]
mov rsi, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
mov rbx, qword [rsp + 0x30]
cmp rsi, 7
mov rdx, qword [rsp + 0x40]
cmova rcx, rbx
mov qword [rsp + 0x20], rax
xor r8d, r8d
call fcn.180015bb0
mov rbp, rax
cmp rsi, 7
jbe 0x180039159
lea rdx, [rsi*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x180039151
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800391d2
mov rcx, rbx
call fcn.1800d9c4c
cmp rbp, 0xffffffffffffffff
je 0x18003916d
test r12b, r12b
je 0x1800391be
mov eax, dword [rsp + 0x58]
cmp dword [r15], eax
je 0x1800391ce
lea rdx, [rsp + 0x50]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1800390a0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rsi, qword [rsp + 0x2d0]
mov rbp, qword [rsp + 0x2c8]
mov rbx, qword [rsp + 0x2c0]
mov rdi, qword [rsp + 0x290]
add rsp, 0x298
pop r15
pop r14
pop r13
pop r12
ret
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x58]
mov dword [r15], eax
mov al, 1
jmp 0x18003918e
call fcn.1800e5fb0
int3
Function at 0x180054a60
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
mov rdi, qword [rdx + 8]
sub rdi, qword [rdx]
lea r8, [rdi + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul r8
shr rdx, 1
shl rdx, 2
xor r8d, r8d
call fcn.180043160
mov rax, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x180054ab5
mov rax, qword [rsi]
mov r8, rbp
lea r9, [rdi - 2]
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_EB2
test r9, r9
je 0x180054b4d
nop dword [rax]
mov rcx, qword [rbx]
movzx ecx, byte [rcx + r8]
shr rcx, 2
movzx ecx, byte [rcx + r10]
mov byte [rax], cl
mov rcx, qword [rbx]
movzx edx, byte [rcx + r8]
and edx, 3
shl rdx, 4
movzx ecx, byte [rcx + r8 + 1]
shr rcx, 4
or rdx, rcx
movzx ecx, byte [rdx + r10]
mov byte [rax + 1], cl
mov rcx, qword [rbx]
movzx edx, byte [rcx + r8 + 1]
and edx, 0xf
shl rdx, 2
movzx ecx, byte [rcx + r8 + 2]
shr rcx, 6
or rdx, rcx
movzx ecx, byte [rdx + r10]
mov byte [rax + 2], cl
mov rcx, qword [rbx]
movzx ecx, byte [rcx + r8 + 2]
and ecx, 0x3f
movzx ecx, byte [rcx + r10]
mov byte [rax + 3], cl
add rax, 4
add r8, 3
cmp r8, r9
jb 0x180054ad0
cmp r8, rdi
jae 0x180054bc1
mov rcx, qword [rbx]
movzx ecx, byte [r8 + rcx]
shr rcx, 2
movzx ecx, byte [rcx + r10]
mov byte [rax], cl
lea rcx, [rdi - 1]
cmp r8, rcx
mov rcx, qword [rbx]
jne 0x180054b88
movzx ecx, byte [r8 + rcx]
and ecx, 3
add rcx, rcx
movzx ecx, byte [r10 + rcx*8]
mov byte [rax + 1], cl
mov cl, 0x3d
jmp 0x180054bba
movzx edx, byte [rcx + r8]
and edx, 3
shl rdx, 4
movzx ecx, byte [rcx + r8 + 1]
shr rcx, 4
or rdx, rcx
movzx ecx, byte [rdx + r10]
mov byte [rax + 1], cl
mov rcx, qword [rbx]
movzx edx, byte [rcx + r8 + 1]
and edx, 0xf
movzx ecx, byte [r10 + rdx*4]
mov byte [rax + 2], cl
mov byte [rax + 3], 0x3d
mov rcx, qword [rbx]
test rcx, rcx
je 0x180054c01
mov rdx, qword [rbx + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x180054bf1
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180054c19
mov rcx, r8
call fcn.1800d9c4c
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov rax, rsi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
call fcn.1800e5fb0
int3
Function at 0x180054e50
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x30
movzx esi, r8b
mov rbx, rdx
mov rdi, rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x20], 1
mov rdx, qword [rdx + 8]
sub rdx, qword [rbx]
je 0x180054e97
call fcn.180020720
mov rdx, qword [rdi + 8]
sub rdx, qword [rdi]
mov qword [rsp + 0x68], rdx
mov rax, qword [rdi + 0x10]
sub rax, qword [rdi]
cmp rdx, rax
jbe 0x180054ecf
movabs rax, 0x7fffffffffffffff
cmp rdx, rax
ja 0x180054f5b
lea rdx, [rsp + 0x68]
mov rcx, rdi
call fcn.180020170
movzx edx, sil
mov r9, rbp
mov r8, qword [rbx]
cmp qword [rbx + 8], r8
je 0x180054f0b
nop
movzx ecx, dl
test dl, dl
cmove ecx, esi
movzx edx, cl
xor cl, byte [r8 + r9]
mov rax, qword [rdi]
mov byte [r9 + rax], cl
add dl, 0xff
inc r9
mov r8, qword [rbx]
mov rax, qword [rbx + 8]
sub rax, r8
cmp r9, rax
jb 0x180054ee0
test r8, r8
je 0x180054f4b
mov rdx, qword [rbx + 0x10]
sub rdx, r8
cmp rdx, 0x1000
jb 0x180054f38
add rdx, 0x27
mov rcx, qword [r8 - 8]
sub r8, rcx
lea rax, [r8 - 8]
cmp rax, 0x1f
ja 0x180054f61
mov r8, rcx
mov rcx, r8
call fcn.1800d9c4c
mov qword [rbx], rbp
mov qword [rbx + 8], rbp
mov qword [rbx + 0x10], rbp
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop rdi
pop rsi
pop rbp
ret
call fcn.180008710
nop
call fcn.1800e5fb0
int3

Function at 0x1800551f0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x20
mov rdi, rdx
mov qword [rsp + 0x48], rbp
mov rdx, qword [rdx + 8]
xor r15d, r15d
mov rsi, r8
mov r14, rcx
mov ebp, r15d
mov r8, qword [rdi]
cmp rdx, r8
je 0x180055261
mov qword [rsp + 0x40], rbx
mov rcx, rsi
call fcn.180043120
mov rbx, qword [rdi]
mov rcx, rax
xor edx, edx
mov rax, rbp
div rcx
mov rcx, rsi
call fcn.180043130
movzx eax, byte [rax]
xor byte [rbx + rbp], al
inc rbp
mov rdx, qword [rdi + 8]
mov r8, qword [rdi]
mov rax, rdx
sub rax, r8
cmp rbp, rax
jb 0x180055223
mov rbx, qword [rsp + 0x40]
mov rax, qword [rdi + 0x10]
mov rbp, qword [rsp + 0x48]
mov qword [rdi + 0x10], r15
mov qword [rdi + 8], r15
mov qword [rdi], r15
mov qword [r14], r8
mov qword [r14 + 8], rdx
mov qword [r14 + 0x10], rax
mov rcx, qword [rdi]
test rcx, rcx
je 0x1800552c0
mov rdx, qword [rdi + 0x10]
sub rdx, rcx
cmp rdx, 0x1000
jb 0x1800552b0
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180055317
mov rcx, r8
call fcn.1800d9c4c
mov qword [rdi], r15
mov qword [rdi + 8], r15
mov qword [rdi + 0x10], r15
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1800552f6
mov rcx, qword [rsi]
inc rdx
cmp rdx, 0x1000
jb 0x1800552f1
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x180055317
mov rcx, r8
call fcn.1800d9c4c
mov qword [rsi + 0x10], r15
mov rax, r14
mov qword [rsi + 0x18], send
mov byte [rsi], r15b
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop rdi
ret
call fcn.1800e5fb0
int3