joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4ff020
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4ff25b
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x58], rax
nop
call sym.crypto_internal_boring_sig.StandardCrypto.abi0
xorps xmm15, xmm15
mov r14, qword [0x00767220]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
add qword [rcx + 0x68], rax
mov rdx, qword [rcx + 0x60]
test rdx, rdx
jle 0x4ff16a
nop dword [rax]
cmp rdx, 0x40
ja 0x4ff24d
lea rsi, [rdx - 0x40]
mov rdi, rsi
neg rsi
sar rdi, 0x3f
and rdi, rdx
lea rdx, [rcx + rdi]
lea rdx, [rdx + 0x20]
cmp rax, rsi
cmovl rsi, rax
mov qword [rsp + 0x28], rsi
mov rbx, qword [rsp + 0x60]
cmp rbx, rdx
je 0x4ff0d9
mov rax, rdx
mov rcx, rsi
nop
call sym.runtime.memmove
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
mov rdx, qword [rcx + 0x60]
add rdx, rsi
mov qword [rcx + 0x60], rdx
cmp rdx, 0x40
jne 0x4ff141
mov qword [rsp], rcx
lea rax, [rcx + 0x20]
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], 0x40
mov qword [rsp + 0x18], 0x40
call sym.crypto_sha256.block.abi0
xorps xmm15, xmm15
mov r14, qword [0x00767220]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov qword [rax + 0x60], 0
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x28]
cmp rax, rsi
jb 0x4ff242
mov rdi, qword [rsp + 0x70]
sub rdi, rsi
mov rdx, rdi
neg rdx
sar rdx, 0x3f
and rdx, rsi
mov r8, rax
sub r8, rsi
add rbx, rdx
jmp 0x4ff177
mov r8, rax
mov rbx, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x70]
cmp r8, 0x40
jl 0x4ff1f5
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x40], rbx
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
and r8, 0xffffffffffffffc0
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x10], r8
mov qword [rsp + 0x18], rdi
call sym.crypto_sha256.block.abi0
xorps xmm15, xmm15
mov r14, qword [0x00767220]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x38]
mov rdx, rax
sub rax, rcx
sar rax, 0x3f
mov r8, qword [rsp + 0x30]
and rax, r8
and rax, 0xffffffffffffffc0
mov rcx, qword [rsp + 0x40]
lea rbx, [rcx + rax]
sub r8, rdx
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
test r8, r8
je 0x4ff238
lea rdx, [rcx + 0x20]
cmp r8, 0x40
mov esi, 0x40
cmovl rsi, r8
cmp rbx, rdx
je 0x4ff234
mov qword [rsp + 0x38], rsi
mov rax, rdx
mov rcx, rsi
nop dword [rax + rax]
call sym.runtime.memmove
mov rax, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x38]
mov qword [rcx + 0x60], rsi
xor ebx, ebx
xor ecx, ecx
add rsp, 0x48
pop rbp
ret
mov rcx, rax
mov rax, rsi
call sym.runtime.panicSliceB
mov rax, rdx
mov ecx, 0x40
call sym.runtime.panicSliceB
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call sym.runtime.morestack_noctxt.abi0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp sym.crypto_sha256._digest_.Write
Function at 0x505f80
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0xb0], rax
movups xmmword [rsp + 0x68], xmm15
movups xmmword [rsp + 0x6c], xmm15
movups xmmword [rsp + 0x7c], xmm15
movups xmmword [rsp + 0x8c], xmm15
movups xmmword [rsp + 0x9c], xmm15
jmp 0x505fcc
dec rcx
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and edx, 1
add rax, rdx
dec rbx
test rbx, rbx
je 0x505fd6
cmp byte [rax], 0
je 0x505fb6
movups xmmword [rsp + 0x14], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rdx, [rbx - 1]
xor ecx, ecx
jmp 0x506014
mov byte [rsp + rdx + 0x15], dil
and r10d, esi
mov byte [rsp + rdx + 0x38], r10b
dec rdx
shr r8w, 8
mov ecx, r8d
test rdx, rdx
jl 0x50605a
movzx esi, byte [rax + rdx]
movzx edi, cl
add esi, edi
test rdx, rdx
jle 0x50602e
movzx edi, byte [rdx + rax - 1]
jmp 0x506030
xor edi, edi
mov r8d, esi
shr si, 1
shl edi, 7
movzx edi, dil
or esi, edi
lea edi, [rsi + r8]
mov r8d, edi
xor edi, esi
lea r9, [rdx + 1]
mov r10d, edi
and edi, r8d
cmp r9, 0x21
jb 0x505ffc
jmp 0x5060ad
mov byte [rsp + 0x14], cl
lea eax, [rcx - 1]
neg eax
mov byte [rsp + 0x35], al
lea rax, [rbx + 1]
mov byte [rsp + 0x36], al
mov rax, qword [rsp + 0x14]
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rsp + 0x18]
movups xmmword [rsp + 0x6c], xmm0
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rsp + 0x7c], xmm0
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rsp + 0x8c], xmm0
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x9c], xmm0
add rsp, 0x58
pop rbp
ret
mov rax, r9
mov ecx, 0x21
call sym.runtime.panicIndex
nop
int3
Function at 0x1400012c4
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, r8
call fcn.140001000
xor r10d, r10d
test eax, eax
js 0x1400014ed
mov eax, dword [rbx + 0xf0]
shl eax, 2
movsxd r9, eax
test eax, eax
jle 0x140001346
lea rdx, [rbx + 8]
lea r8, [rbx + 8]
lea rdx, [rdx + r9*4]
mov eax, dword [rdx - 8]
mov ecx, dword [r8 - 8]
add r10, 4
mov dword [r8 - 8], eax
mov eax, dword [rdx - 4]
mov dword [rdx - 8], ecx
mov ecx, dword [r8 - 4]
mov dword [r8 - 4], eax
mov eax, dword [rdx]
mov dword [rdx - 4], ecx
mov ecx, dword [r8]
mov dword [r8], eax
mov eax, dword [rdx + 4]
mov dword [rdx], ecx
mov ecx, dword [r8 + 4]
mov dword [r8 + 4], eax
sub r9, 4
mov dword [rdx + 4], ecx
lea rdx, [rdx - 0x10]
lea r8, [r8 + 0x10]
cmp r10, r9
jl 0x1400012fd
mov r11d, 1
cmp dword [rbx + 0xf0], r11d
jle 0x1400014eb
lea r10, [rbx + 2]
lea rdi, [0x140000000]
lea r10, [r10 + 0x10]
inc r11d
mov r9d, dword [r10 - 2]
mov eax, r9d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x884b0]
movzx eax, byte [r10 - 1]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
mov r8d, dword [rdi + rdx*4 + 0x880b0]
movzx eax, byte [r10]
xor r8d, dword [rdi + rcx*4 + 0x878b0]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x87cb0]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
mov r9d, dword [r10 + 2]
xor r8d, dword [rdi + rcx*4 + 0x874b0]
mov eax, r9d
mov dword [r10 - 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x884b0]
movzx eax, byte [r10 + 3]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
mov r8d, dword [rdi + rdx*4 + 0x880b0]
movzx eax, byte [r10 + 4]
xor r8d, dword [rdi + rcx*4 + 0x878b0]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x87cb0]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
mov r9d, dword [r10 + 6]
xor r8d, dword [rdi + rcx*4 + 0x874b0]
mov eax, r9d
mov dword [r10 + 2], r8d
shr rax, 0x18
movzx edx, byte [rdi + rax*4 + 0x884b0]
movzx eax, byte [r10 + 7]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
mov r8d, dword [rdi + rdx*4 + 0x880b0]
movzx eax, byte [r10 + 8]
xor r8d, dword [rdi + rcx*4 + 0x878b0]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x87cb0]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
movzx eax, byte [r10 + 0xb]
xor r8d, dword [rdi + rcx*4 + 0x874b0]
mov r9d, dword [r10 + 0xa]
mov dword [r10 + 6], r8d
movzx edx, byte [rdi + rax*4 + 0x884b0]
movzx eax, byte [r10 + 0xc]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
mov r8d, dword [rdi + rdx*4 + 0x878b0]
mov eax, r9d
xor r8d, dword [rdi + rcx*4 + 0x87cb0]
shr rax, 0x18
movzx ecx, byte [rdi + rax*4 + 0x884b0]
movzx eax, r9b
xor r8d, dword [rdi + rcx*4 + 0x880b0]
movzx ecx, byte [rdi + rax*4 + 0x884b0]
xor r8d, dword [rdi + rcx*4 + 0x874b0]
mov dword [r10 + 0xa], r8d
cmp r11d, dword [rbx + 0xf0]
jl 0x140001364
xor eax, eax
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140001d84
Capabilities:
Hash data with md5

Disassembly:
push rbx
sub rsp, 0x20
xor edx, edx
mov rbx, rcx
lea r8d, [rdx + 0x5c]
call fcn.14005a570
mov dword [rbx], 0x67452301
mov dword [rbx + 4], 0xefcdab89
mov dword [rbx + 8], 0x98badcfe
mov dword [rbx + 0xc], 0x10325476
mov eax, 1
add rsp, 0x20
pop rbx
ret
Function at 0x140006268
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x48
mov qword [rax - 0x38], 0xfffffffffffffffe
mov rbx, r9
mov rdi, r8
mov rsi, rdx
mov ecx, 1
mov dword [rax + 0x20], ecx
mov edx, 0x800
mov dword [rax + 8], edx
mov rax, qword [r9]
sub ecx, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edx
or eax, ecx
jge 0x1400062b7
mov rcx, rbx
call fcn.14000d038
mov rax, qword [rbx]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x88]
mov r8, qword [rdi]
mov rdx, qword [rsi]
mov rcx, 0xffffffff80000002
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov ebp, eax
mov rcx, qword [rbx]
test rcx, rcx
jne 0x1400062f2
xor eax, eax
jmp 0x1400062ff
movsxd rdx, dword [rcx - 0xc]
call fcn.140059344
test eax, eax
js 0x14000635c
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x14000635c
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
test ebp, ebp
sete bl
mov rdx, qword [rsi]
sub rdx, 0x18
or esi, 0xffffffff
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, esi
test eax, eax
jg 0x14000633a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rdi]
sub rdx, 0x18
mov ecx, esi
lock xadd dword [rdx + 0x10], ecx
add ecx, esi
test ecx, ecx
jg 0x140006358
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, bl
jmp 0x140006367
mov ecx, 0x80070057
call fcn.14000d144
nop
add rsp, 0x48
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140006370
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov qword [r11 + 8], rcx
push r14
sub rsp, 0x30
and qword [r11 + 8], 0
mov r14, rdx
mov rdx, qword [rdx]
lea rax, [r11 + 8]
mov rsi, r9
mov rdi, r8
mov rcx, 0xffffffff80000002
mov r9d, 0x20206
xor r8d, r8d
mov ebx, 1
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1400063f5
mov rcx, qword [rsi]
mov r8, qword [rdi]
lea rdx, [0x140087087]
mov eax, dword [rcx - 0x10]
mov r9d, ebx
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov rcx, qword [rsp + 0x40]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [r14]
test ebx, ebx
sete bl
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140006411
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rdi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140006428
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140006440
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov al, bl
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop r14
ret
Function at 0x140006458
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x50
mov qword [r11 - 0x28], 0xfffffffffffffffe
mov qword [r11 + 0x20], rbx
mov rbx, r9
mov rsi, r8
mov r14, rdx
mov edi, 1
and qword [r11 - 0x30], 0
lea rax, [r11 - 0x30]
mov qword [r11 - 0x48], rax
mov r9d, 0x20219
xor r8d, r8d
mov rdx, qword [rdx]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14000654f
mov dword [rsp + 0x30], edi
mov edx, 0x800
mov dword [rsp + 0x70], edx
mov rax, qword [rbx]
sub edi, dword [rax - 8]
mov eax, dword [rax - 0xc]
sub eax, edx
or eax, edi
jge 0x1400064db
mov rcx, rbx
call fcn.14000d038
mov rax, qword [rbx]
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8, qword [rsi]
lea rdx, [0x1400898b6]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.SHLWAPI.dll_SHGetValueA]
mov edi, eax
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140006515
xor eax, eax
jmp 0x140006522
movsxd rdx, dword [rcx - 0xc]
call fcn.140059344
test eax, eax
js 0x140006544
mov rcx, qword [rbx]
cmp eax, dword [rcx - 0xc]
jg 0x140006544
mov dword [rcx - 0x10], eax
movsxd rcx, eax
mov rax, qword [rbx]
mov byte [rcx + rax], 0
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x14000654f
mov ecx, 0x80070057
call fcn.14000d144
int3
test edi, edi
sete bl
mov rdx, qword [r14]
sub rdx, 0x18
or edi, 0xffffffff
mov eax, edi
lock xadd dword [rdx + 0x10], eax
add eax, edi
test eax, eax
jg 0x140006575
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov ecx, edi
lock xadd dword [rdx + 0x10], ecx
add ecx, edi
test ecx, ecx
jg 0x140006593
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, bl
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret

Function at 0x1400065a8
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rax - 0x10], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rbx, rdx
mov rdi, rcx
and dword [rax - 0x18], 0
lea rcx, [0x1400a8a48]
mov rax, qword [0x1400a8a48]
call qword [rax + Ordinal_26]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x20], 1
and qword [rsp + 0x50], 0
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x140006624
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140006624
mov rcx, rdi
call fcn.14000b8b8
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140006634
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x1400a91a0]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edi, edi
mov rsi, rcx
mov qword [rsp + 0x30], rdi
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea rcx, [rsp + 0x40]
xor edx, edx
mov r8d, 0x104
mov ebx, eax
call fcn.14005a570
lea rdx, [rsp + 0x30]
mov ecx, ebx
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x1400066d1
mov r8, qword [rsp + 0x30]
test r8, r8
je 0x1400066d1
lea rax, [rsp + 0x40]
lea edx, [rdi + 0x1c]
xor r9d, r9d
xor ecx, ecx
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
lea r8, [rsp + 0x40]
lea rdx, [0x1400899fc]
mov rcx, rsi
call fcn.14000c874
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dil, 1
mov al, dil
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140056190
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140006bf0
Capabilities:
Check if file exists
Contain obfuscated stackstrings

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x41], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400a91a0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rdx
mov rsi, rcx
mov word [rbp - 6], 0x6957
mov word [rbp + 0x14], 0x736e
mov dword [rbp + 0x19], 0x6f475c6c
mov dword [rbp + 0xd], 0x5c6e6f69
mov dword [rbp + 0x22], 0x6f726843
mov word [rbp], 0x5c73
mov dword [rbp + 7], 0x6556746e
mov dword [rbp - 0xd], 0x6f736f72
mov dword [rbp - 0x15], 0x45524157
mov dword [rbp + 3], 0x65727275
mov dword [rbp + 0x1e], 0x20656c67
mov dword [rbp - 0x11], 0x63694d5c
mov word [rbp + 0x11], 0x6e55
mov byte [rbp + 0x13], 0x69
mov word [rbp - 9], 0x7466
mov byte [rbp + 2], 0x43
mov word [rbp + 0x17], 0x6c61
mov word [rbp + 0x26], 0x656d
mov dword [rbp - 0x19], 0x54464f53
mov word [rbp + 0xb], 0x7372
mov word [rbp - 3], 0x6f64
mov byte [rbp + 0x28], 0
mov byte [rbp + 0x1d], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 7], 0x5c
mov byte [rbp - 1], 0x77
mov byte [rbp - 4], WSASetLastError
mov byte [rbp + 0x16], reloc.WS2_32.dll_WSACleanup
mov word [rbp - 0x1b], WSASetLastError
mov dword [rbp - 0x29], 0x74736e49
mov word [rbp - 0x22], 0x6f4c
mov word [rbp - 0x25], 0x6c61
mov dword [rbp - 0x20], 0x69746163
mov byte [rbp - 0x1c], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 0x23], WSAGetLastError
mov word [rbp - 0x33], 0x652e
mov word [rbp - 0x36], 0x6d6f
mov word [rbp - 0x39], 0x6863
mov byte [rbp - 0x34], 0x65
mov byte [rbp - 0x37], WSACleanup
mov word [rbp - 0x31], 0x6578
mov byte [rbp - 0x2f], 0
lea rax, [rbp - 0x59]
mov qword [rbp - 0x49], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.14000ce1c
mov rbx, rax
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x51]
call fcn.14000ce1c
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
call fcn.140006268
test al, al
jne 0x140006d82
lea rax, [rbp - 0x59]
mov qword [rbp - 0x51], rax
lea rdx, [rbp - 0x29]
lea rcx, [rbp - 0x59]
call fcn.14000ce1c
mov rbx, rax
lea rdx, [rbp - 0x19]
lea rcx, [rbp - 0x49]
call fcn.14000ce1c
nop
mov r9, rdi
mov r8, rbx
mov rdx, rax
call fcn.140006458
test al, al
je 0x140006daa
lea rdx, [0x140089b4c]
jmp 0x140006d89
lea rdx, [0x140089b54]
lea r9, [rbp - 0x39]
mov r8, qword [rdi]
mov rcx, rdi
call fcn.14000c874
mov rcx, qword [rdi]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
setne al
test al, al
jne 0x140006db6
mov rcx, rdi
call fcn.1400066fc
test al, al
je 0x140006dbb
mov byte [rsi], 1
mov al, 1
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140056190
mov rbx, qword [rsp + 0xf0]
add rsp, 0xc0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008374
Capabilities:
Delete file
Move file

Disassembly:
push rbp
lea rbp, [rsp - 0x170]
sub rsp, 0x270
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x1400a91a0]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov byte [0x1400ac8f5], 1
mov byte [rsp + 0x40], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x41]
call fcn.14005a570
mov r8d, 0x104
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor edx, edx
lea r8d, [rdx + 4]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov byte [rbp + 0x50], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rbp + 0x51]
call fcn.14005a570
lea rcx, [rsp + 0x40]
call qword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov r8, rax
mov edx, 0x104
lea rcx, [rbp + 0x50]
call fcn.1400581e0
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathRemoveExtensionA]
lea rdx, str.sc_delete
lea rcx, [rsp + 0x28]
call fcn.14000ce1c
nop
lea r8, [rbp + 0x50]
mov rdx, rax
lea rcx, [rsp + 0x20]
call fcn.14000c2d8
nop
mov rdx, qword [rsp + 0x28]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008459
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsp + 0x20]
call fcn.140058884
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000847c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.140056190
add rsp, 0x270
pop rbp
ret
Function at 0x140008a68
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x180
mov rax, qword [0x1400a91a0]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor ebx, ebx
mov ebp, ecx
mov r14, rdx
lea ecx, [rbx + 2]
xor edx, edx
mov dword [rsp + 0x34], 4
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x40], 0x130
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140008b8a
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x140008b81
lea rdx, [rsp + 0x6c]
lea rcx, str.explorer.exe
call fcn.14005fbc0
test eax, eax
jne 0x140008b63
mov r8d, dword [rsp + 0x48]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140008b63
mov r8, r14
mov edx, 0xa
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140008b49
mov r9d, dword [rsp + 0x34]
mov rcx, qword [r14]
lea rax, [rsp + 0x34]
lea r8, [rsp + 0x30]
mov edx, ntohl
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140008b49
cmp ebp, dword [rsp + 0x30]
je 0x140008b76
cmp qword [r14], rbx
je 0x140008b5a
mov rcx, qword [r14]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rsp + 0x40]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
jmp 0x140008ad0
mov rcx, rdi
mov bl, 1
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.140056190
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret

Function at 0x140008c20
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [0x1400a91a0]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
xor r14d, r14d
mov rsi, rdx
lea ecx, [r14 + 3]
call fcn.140012a80
call fcn.140012cc0
mov r8, qword [rsi]
mov rcx, rax
mov edx, 0x2712
mov rdi, rax
call fcn.140012d10
lea r8, [0x140008bb4]
mov edx, 0x4e2b
mov rcx, rdi
call fcn.140012d10
mov r8, rbx
mov edx, 0x2711
mov rcx, rdi
call fcn.140012d10
lea r8, [rbp - 0x20]
mov edx, 0x2722
mov rcx, rdi
mov dword [rbp - 0x12], 0x302e31
mov dword [rbp - 0x1c], 0x2d6c7275
mov dword [rbp - 0x20], 0x6362696c
mov dword [rbp - 0x18], 0x6e656761
mov word [rbp - 0x14], 0x2f74
call fcn.140012d10
mov rcx, rdi
call fcn.140012d50
lea ecx, [r14 + 1]
movzx ebx, r14b
test eax, eax
cmove ebx, ecx
mov rcx, rdi
call fcn.140012d60
mov rdx, qword [rsi]
sub rdx, 0x18
lock add dword [rdx + 0x10], 0xffffffff
jg 0x140008cf9
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.WS2_32.dll_htonl + 8]
mov al, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140056190
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rbp
ret
Function at 0x14000b0a8
Capabilities:
Acquire debug privileges

Disassembly:
sub rsp, 0x68
mov rax, qword [0x1400a91a0]
xor rax, rsp
mov qword [rsp + 0x50], rax
and qword [rsp + 0x30], 0
call qword [0x1400ac928]
lea r8, [rsp + 0x30]
mov rcx, rax
mov edx, reloc.WLDAP32.dll_Ordinal_32
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000b13f
lea r8, [rsp + 0x38]
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
test eax, eax
je 0x14000b134
mov rax, qword [rsp + 0x38]
and qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x30]
and qword [rsp + 0x20], 0
lea r8, [rsp + 0x40]
mov r9d, reloc.WS2_32.dll_recv
xor edx, edx
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140056190
add rsp, 0x68
ret