joyce8/EMBER2024-capa huggingface dataset:
Function at 0x447e40
Capabilities:
Encode data using base64

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x447fa7
push rbp
mov rbp, rsp
sub rsp, 0x18
mov ecx, dword [rax + 0x190]
mov edx, dword [rax + 0x194]
mov rsi, qword [rax + 0x998]
mov edi, dword [rax + 0x194]
cmp edi, edx
jne 0x447e52
cmp edx, ecx
jne 0x447f95
nop word [rax + rax]
test rsi, rsi
jne 0x447f95
mov qword [rsp + 0x28], rax
test rbx, rbx
jne 0x447eb4
nop
call fcn.0046a7a0
xorps xmm15, xmm15
mov r14, qword [0x00626440]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rbx, qword [rsp]
mov rax, qword [rsp + 0x28]
mov qword [rsp + 0x10], rbx
call fcn.00447d60
mov rcx, qword [rsp + 0x28]
mov edx, dword [rcx]
mov ebx, edx
sar edx, 0x1f
shr edx, 0x1b
add edx, ebx
mov esi, edx
and edx, 0xffffffe0
sub ebx, edx
test ebx, ebx
jl 0x447f90
mov rdx, qword [0x005a1608]
sar esi, 5
mov rax, rcx
mov ecx, ebx
mov edi, 1
shl edi, cl
movsxd rsi, esi
cmp ecx, 0x20
sbb r8d, r8d
and edi, r8d
cmp rdx, rsi
jbe 0x447f85
mov rcx, qword [0x005a1600]
lea rcx, [rcx + rsi*4]
lock or dword [rcx], edi
mov rcx, qword [0x005a2830]
mov qword [rax + 8], rcx
mov rcx, rax
nop
mov qword [0x005a2830], rax
nop
mov edx, 1
lea rsi, [0x005a2838]
lock xadd dword [rsi], edx
mov rdx, qword [rcx + 0x1248]
shr rdx, 0x3d
test dl, dl
jne 0x447f73
mov rax, qword [rsp + 0x10]
movabs rdx, 0x1fffffffffffffff
and rdx, rax
bts rdx, 0x3f
nop
nop
xchg qword [rcx + 0x1248], rdx
add rsp, 0x18
pop rbp
ret
lea rax, [0x004e82d2]
mov ebx, 0x28
nop
call fcn.00437da0
mov rax, rsi
mov rcx, rdx
call fcn.00468e80
call fcn.00436680
lea rax, [0x004e7368]
mov ebx, 0x23
call fcn.00437da0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00447e40
Function at 0x44d2e0
Capabilities:
Access peb ldr_data

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rcx, r14
test rcx, rcx
je 0x44d328
mov rcx, qword [rcx + 0x30]
mov rcx, qword [rcx + 0x90]
nop dword [rax + rax]
test rcx, rcx
je 0x44d328
mov qword [rsp + 0x68], rcx
nop
mov rax, qword [rdi + 0x28]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x50], 0
jmp 0x44d338
mov eax, 1
add rsp, 0x70
pop rbp
ret
mov rax, qword [rsp + 0x60]
mov rcx, qword [sym.imp.kernel32.dll_RtlLookupFunctionEntry]
lea rdx, [rsp + 0x58]
mov rbx, qword [rax + 0xf8]
mov qword [rsp], rcx
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], 0
call fcn.00435400
xorps xmm15, xmm15
mov r14, qword [0x00626440]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x20]
nop
test rax, rax
je 0x44d411
mov rcx, qword [rsp + 0x58]
mov rdx, qword [sym.imp.kernel32.dll_RtlVirtualUnwind]
mov rbx, qword [rsp + 0x60]
mov rsi, rbx
lea rdi, [rsp + 0x50]
mov r8, qword [rsi + 0xf8]
mov qword [rsp], rdx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], 0
call fcn.00435680
xorps xmm15, xmm15
mov r14, qword [0x00626440]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x68]
cmp qword [rcx], rax
ja 0x44d411
cmp qword [rcx + 8], rax
ja 0x44d333
mov eax, 1
add rsp, 0x70
pop rbp
ret
Function at 0x454e60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
test rbx, rbx
jbe 0x454fd7
movzx edx, byte [rax]
test edx, edx
jne 0x454e94
nop dword [rax]
test r8b, r8b
jne 0x454e94
xor eax, eax
xor ebx, ebx
mov rcx, rbx
xor edi, edi
add rsp, 0x10
pop rbp
ret
bt edx, 7
jae 0x454ea7
xor edx, edx
xor r8d, r8d
xor r9d, r9d
jmp 0x454f97
mov r8d, 1
mov r9d, edx
and edx, 1
neg edx
shr r9d, 1
xor edx, r9d
add dword [rsi], edx
nop dword [rax]
cmp rbx, r8
jb 0x454f85
sub rbx, r8
sub rcx, r8
mov rdx, rcx
neg rdx
sar rdx, 0x3f
and r8, rdx
lea rdx, [rax + r8]
test rbx, rbx
jbe 0x454f77
movzx esi, byte [rax + r8]
bt esi, 7
jae 0x454efd
xor eax, eax
xor esi, esi
xor r8d, r8d
jmp 0x454f40
mov eax, 1
cmp rax, rbx
ja 0x454f2b
add qword [rdi], rsi
sub rcx, rax
sub rbx, rax
mov rsi, rcx
neg rsi
sar rsi, 0x3f
and rax, rsi
add rax, rdx
mov edi, 1
add rsp, 0x10
pop rbp
ret
mov rcx, rbx
call fcn.00468f40
lea r8d, [rcx + 7]
mov rcx, r11
mov eax, r12d
nop dword [rax]
cmp rax, rbx
jae 0x454f6f
movzx r9d, byte [rax + rdx]
mov r10d, r9d
and r9d, 0x7f
mov r11, rcx
mov ecx, r8d
shl r9d, cl
lea r12d, [rax + 1]
or esi, r9d
test r10b, 0x80
jne 0x454f33
mov rcx, r11
mov eax, r12d
jmp 0x454f02
mov rcx, rbx
call fcn.00468e80
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00468e80
mov eax, r8d
mov rcx, rbx
call fcn.00468f40
lea r9d, [rcx + 7]
mov rcx, r12
cmp rbx, rdx
jbe 0x454fcd
movzx r10d, byte [rdx + rax]
mov r11d, r10d
and r10d, 0x7f
mov r12, rcx
mov ecx, r9d
shl r10d, cl
inc edx
or r8d, r10d
test r11b, 0x80
jne 0x454f90
mov rcx, r12
mov r9d, edx
mov edx, r8d
mov r8d, r9d
jmp 0x454ead
mov eax, edx
mov rcx, rbx
call fcn.00468e80
xor eax, eax
mov rcx, rax
nop dword [rax]
call fcn.00468e80
nop
int3

Function at 0x45ae80
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45af35
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x70], rdi
test byte [rax], al
lea rdx, [rax + 0x10]
mov rsi, qword [rsp + 0x68]
mov rcx, rdi
mov rax, rdx
mov rbx, rsi
call fcn.00458b00
nop
test bl, bl
je 0x45af2f
mov qword [rsp + 0x18], rax
movups xmmword [rsp + 0x20], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
lea rcx, [0x0045af80]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x20]
mov qword [rsp], rcx
call fcn.00466a80
xorps xmm15, xmm15
mov r14, qword [0x00626440]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 0x18]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00466ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.0045ae80
Function at 0x45dea0
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x45df4f
push rbp
mov rbp, rsp
sub rsp, 0x58
mov qword [rsp + 0x70], rbx
lea rdx, [rsp + 0x68]
mov qword [rsp + 8], 0
movups xmmword [rsp + 0x10], xmm15
movups xmmword [rsp + 0x18], xmm15
movups xmmword [rsp + 0x28], xmm15
movups xmmword [rsp + 0x38], xmm15
movups xmmword [rsp + 0x48], xmm15
lea rsi, [0x0045dfa0]
mov qword [rsp + 0x10], rsi
mov rsi, qword [rsp + 0x60]
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
lea rdx, [rsp + 8]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rbx
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.00466a80
xorps xmm15, xmm15
mov r14, qword [0x00626440]
mov r14, qword gs:[r14]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
add rsp, 0x58
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
call fcn.00466ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
nop dword [rax]
jmp fcn.0045dea0
Function at 0x4689a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4043a3
push rbp
mov rbp, rsp
sub rsp, 0x18
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
call fcn.0040a3a0
add rsp, 0x18
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x404380
cmp byte [0x0062622b], 0
je 0x4689b5
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x465be0
jmp 0x404380

Function at 0x4689c0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00626520]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0062622b], 0
je 0x4689f5
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00626840]
aesenc xmm0, xmmword [0x00626850]
aesenc xmm0, xmmword [0x00626860]
movq rax, xmm0
ret
jmp 0x40a5c0

Function at 0x468a00
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
nop
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x00626520]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
xor rax, rdx
nop
nop
ret
cmp byte [0x0062622b], 0
je 0x468a36
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00626840]
aesenc xmm0, xmmword [0x00626850]
aesenc xmm0, xmmword [0x00626860]
movq rax, xmm0
ret
jmp 0x40a620

Function at 0x46a7e0
Capabilities:
Allocate thread local storage

Disassembly:
push rbp
mov rbp, rsp
mov rax, rsp
and rsp, 0xfffffffffffffff0
sub rsp, 0x30
mov qword [rsp + 0x20], rax
mov rax, qword [sym.imp.kernel32.dll_TlsAlloc]
call rax
mov rsp, qword [rsp + 0x20]
mov rcx, rax
cmp rcx, 0x40
jb 0x46a814
mov rcx, 0x28
jmp 0x46a81f
shl rcx, 3
add rcx, 0x1480
mov qword [0x00626440], rcx
pop rbp
ret
Function at 0x486000
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4860ca
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov byte [rsp + 0x10], 0
call fcn.00403900
xorps xmm15, xmm15
mov r14, qword [0x00626440]
mov r14, qword gs:[r14]
mov r14, qword [r14]
cmp qword [rsp + 0x18], 0xffffffffffffffff
jne 0x4860af
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx + 1]
mov qword [rsp + 0x40], rdx
lea rax, [0x004c35e0]
xor ebx, ebx
mov rcx, rdx
call fcn.0044dea0
mov rbx, qword [rsp + 0x60]
mov rcx, rax
xor edi, edi
mov rsi, qword [rsp + 0x40]
mov rax, qword [rsp + 0x58]
nop dword [rax]
call fcn.00486de0
inc rbx
cmp rcx, rbx
jae 0x48609e
mov edi, 1
lea rsi, [0x004c35e0]
call fcn.0044df80
mov word [rax + rbx*2 - 2], 0
xor edi, edi
xor esi, esi
add rsp, 0x48
pop rbp
ret
xor eax, eax
xor ebx, ebx
mov rcx, rbx
lea rdi, [0x005094b8]
lea rsi, [0x00508c78]
add rsp, 0x48
pop rbp
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.00466ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp fcn.00486000

Function at 0x4a8d00
Capabilities:
Hash data using fnv

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4a943f
push rbp
mov rbp, rsp
sub rsp, 0x10
mov qword [rsp + 0x20], rax
movabs rcx, 0xcbf29ce484222325
jmp 0x4a8d2d
lea rax, [rdx + 0x10]
dec rbx
mov rcx, rsi
test rbx, rbx
jle 0x4a8fb1
mov rdx, rax
mov rsi, qword [rax]
nop dword [rax]
test rsi, rsi
je 0x4a8fdd
mov edi, dword [rsi + 0x10]
shr edi, 1
mov r8, qword [rax + 8]
and edi, 0x3f
lea rax, [0x0050abe0]
jmp qword [rax + rdi*8]
mov rax, rcx
add rsp, 0x10
pop rbp
ret
lea rax, [0x004c34e0]
lea rbx, [0x00509350]
call fcn.004371e0
inc rax
cmp rax, r8
jge 0x4a9002
mov r9, qword [rsi + rax*8]
xor r10d, r10d
nop
jmp 0x4a9037
lea rdi, [0x004c3560]
mov rsi, rcx
movabs rcx, 0x100000001b3
jmp 0x4a8d23
movzx r11d, r9b
xor rcx, r11
inc r10
shr r9, 8
movabs r11, 0x100000001b3
imul rcx, r11
cmp r10, 8
jl 0x4a901b
jmp 0x4a8ff0
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
call fcn.00466ba0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
jmp fcn.004a8d00

Function at 0x4a95e0
Capabilities:
Hash data using fnv

Disassembly:
test byte [rax], al
mov rcx, rbx
and ebx, 0x7f
shl rbx, 5
lea rdx, [rax + rbx]
xor eax, eax
jmp 0x4a95f7
inc rax
cmp rax, 4
jge 0x4a960f
lea rbx, [rdx + rax*8]
mov rbx, qword [rbx]
cmp rbx, rcx
jne 0x4a95f4
mov eax, 1
ret
xor eax, eax
movabs rbx, 0xcbf29ce484222325
jmp 0x4a9620
inc rax
cmp rax, 4
jge 0x4a962e
mov rsi, qword [rdx + rax*8]
xor edi, edi
jmp 0x4a9657
and ebx, 3
lea rdx, [rdx + rbx*8]
xchg qword [rdx], rcx
xor eax, eax
ret
movzx r8d, sil
xor rbx, r8
inc rdi
shr rsi, 8
movabs r8, 0x100000001b3
imul rbx, r8
cmp rdi, 8
jl 0x4a963b
jmp 0x4a961d
Function at 0x140001420
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rsi, rdx
mov rbp, rcx
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
jne 0x140001453
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
mov rcx, rax
mov qword [rsp + 0x30], rbx
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rbx, rax
test rax, rax
je 0x14000149a
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, eax
add rcx, rbx
and edi, 0xf
jbe 0x140001495
nop
cmp rbx, rcx
jae 0x14000149a
movzx eax, word [rbx]
lea rbx, [rbx + rax*2]
add rbx, 2
add edi, 0xffffffff
jne 0x140001480
cmp rbx, rcx
jb 0x14000149e
xor eax, eax
jmp 0x1400014aa
xor eax, eax
cmp word [rbx], ax
cmove rbx, rax
mov rax, rbx
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x140001c70
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x70]
call fcn.140008d10
lea rax, str.open
mov qword [rsp + 0x38], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x20], 0x70
mov dword [rsp + 0x24], 0x40
mov dword [rsp + 0x50], 0
mov qword [rsp + 0x40], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0x88]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.140006200
mov rbx, qword [rsp + 0xc0]
add rsp, 0xa0
pop rdi
ret

Function at 0x140001d10
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push rbx
push rsi
sub rsp, 0x68
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor eax, eax
mov qword [r11 + 8], rbp
mov qword [r11 - 0x30], rax
lea rcx, [r11 - 0x38]
mov qword [r11 - 0x38], rax
mov rbp, r8
mov dword [rsp + 0x48], eax
mov r8, rdx
mov qword [r11 - 0x18], rdi
mov rdi, r9
mov qword [r11 - 0x28], rax
call fcn.140001680
mov rbx, qword [rsp + 0x40]
test eax, eax
jne 0x140001db0
lea esi, [rax + 1]
test rdi, rdi
je 0x140001d9e
or rax, 0xffffffffffffffff
nop dword [rax]
cmp word [rdi + rax*2 + 2], 0
lea rax, [rax + 1]
jne 0x140001d70
lea eax, [rax*2 + 2]
mov r9d, esi
mov dword [rsp + 0x28], eax
xor r8d, r8d
mov rdx, rbp
mov qword [rsp + 0x20], rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x140001db2
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor ebx, ebx
jmp 0x140001db2
xor esi, esi
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x80]
test rbx, rbx
je 0x140001dcd
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006200
add rsp, 0x68
pop rsi
pop rbx
ret
Function at 0x140001df0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor edi, edi
lea rcx, [rsp + 0x40]
xor eax, eax
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
call fcn.140001750
mov rbx, qword [rsp + 0x40]
test eax, eax
jne 0x140001e8c
lea rax, [rsp + 0x34]
mov dword [rsp + 0x34], 4
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x30]
xor r8d, r8d
lea rdx, str.runing
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001e8c
cmp dword [rsp + 0x38], 4
jne 0x140001e8c
test rbx, rbx
je 0x140001e86
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, edi
mov edi, dword [rsp + 0x30]
jmp 0x140001e8f
or edi, 0xffffffff
test rbx, rbx
je 0x140001e9d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140006200
mov rbx, qword [rsp + 0x70]
add rsp, 0x60
pop rdi
ret

Function at 0x140001ec0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
sub rsp, 0x70
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor edi, edi
lea rcx, [rsp + 0x48]
xor eax, eax
mov qword [rsp + 0x48], rdi
mov rsi, r8
mov qword [rsp + 0x50], rax
mov r8, rdx
mov dword [rsp + 0x50], edi
mov ebp, r9d
mov qword [rsp + 0x58], rdi
call fcn.140001680
mov rbx, qword [rsp + 0x48]
test eax, eax
jne 0x140001f50
lea rax, [rsp + 0x40]
mov dword [rsp + 0x28], 4
lea r9d, [rdi + 4]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0x40], ebp
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x140001f50
test rbx, rbx
je 0x140001f4b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, edi
mov edi, 1
test rbx, rbx
je 0x140001f5e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140006200
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
pop rsi
pop rbp
ret
Function at 0x140002da0
Capabilities:
Create process on windows
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor edi, edi
mov dword [0x140021da8], 1
xor eax, eax
mov qword [r11 - 0x30], rdi
mov qword [r11 - 0x28], rax
lea r8, str.SoftwareXfServer
lea rcx, [r11 - 0x30]
mov dword [r11 - 0x28], edi
mov qword [r11 - 0x20], rdi
call fcn.140001680
mov rbx, qword [rsp + 0xb8]
test eax, eax
jne 0x140002e2e
lea rax, [rsp + 0xb0]
mov dword [rsp + 0x28], 4
lea r9d, [rdi + 4]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0xb0], edi
lea rdx, str.runing
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x140002e3c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x70]
call fcn.140008d10
lea rax, [0x14001c068]
mov dword [rsp + 0x40], 0x70
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x40]
lea rax, str.open
mov dword [rsp + 0x44], 0x40
mov qword [rsp + 0x50], rax
lea rax, str.stop_XfServer
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x70], edi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0xa8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
call fcn.140004db0
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140006200
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret

Function at 0x140002ed0
Capabilities:
Create process on windows
Set registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rsp + 0xd0], rax
xor edi, edi
mov dword [0x140021da8], 1
xor eax, eax
mov qword [r11 - 0x30], rdi
mov qword [r11 - 0x28], rax
lea r8, str.SoftwareXfServer
lea rcx, [r11 - 0x30]
mov dword [r11 - 0x28], edi
mov qword [r11 - 0x20], rdi
call fcn.140001680
mov rbx, qword [rsp + 0xb8]
test eax, eax
jne 0x140002f5e
lea rax, [rsp + 0xb0]
mov dword [rsp + 0x28], 4
lea r9d, [rdi + 4]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rsp + 0xb0], edi
lea rdx, str.runing
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x140002f6c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
lea rcx, [rsp + 0x40]
lea r8d, [rdx + 0x70]
call fcn.140008d10
lea rax, [0x14001c068]
mov dword [rsp + 0x40], 0x70
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x40]
lea rax, str.open
mov dword [rsp + 0x44], 0x40
mov qword [rsp + 0x50], rax
lea rax, str.stop_XfServer
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x70], edi
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0xa8]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xd0]
xor rcx, rsp
call fcn.140006200
mov rbx, qword [rsp + 0xf0]
add rsp, 0xe0
pop rdi
ret
Function at 0x140003000
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x38
lea r8, str.xfuri.exe
lea rdx, [0x140021dc8]
lea rcx, [rsp + 0x40]
call fcn.1400052b0
mov dword [rsp + 0x28], 1
lea rdx, str.open
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov r8, qword [rax]
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140003061
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
add rsp, 0x38
ret

Function at 0x140003070
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0xb8
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rsp + 0xa0], rax
call fcn.140004ed0
cmp eax, 0xfffffffd
jne 0x1400031b1
cmp dword [0x140021dac], 0
mov qword [rsp + 0xb0], rdi
je 0x1400030d7
mov dword [rsp + 0x28], 1
lea r8, str.http:__127.0.0.1:9090
xor r9d, r9d
mov qword [rsp + 0x20], 0
lea rdx, str.open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400031a9
xor edx, edx
mov qword [rsp + 0xc0], rsi
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x70]
call fcn.140008d10
lea rax, str.pause_XfServer
mov dword [rsp + 0x30], 0x70
lea rsi, [0x14001c068]
mov qword [rsp + 0x50], rax
lea rdi, str.open
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x60], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0x98]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [rdx + 0x70]
call fcn.140008d10
lea rax, str.continue_XfServer
mov qword [rsp + 0x48], rsi
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x30], 0x70
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x34], 0x40
mov dword [rsp + 0x60], 0
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov rcx, qword [rsp + 0x98]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rsi, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140006200
add rsp, 0xb8
ret
Function at 0x140003340
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x490
mov rax, qword [0x140020008]
xor rax, rsp
mov qword [rsp + 0x480], rax
xor edi, edi
mov qword [rsp + 0x20], rdi
xor r8d, r8d
lea rdx, [0x14001a228]
lea rcx, [0x140021dd0]
call fcn.140005a20
nop
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
mov qword [rsp + 0x20], rax
test rax, rax
je 0x140003423
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
nop
test eax, eax
je 0x140003423
lea rdx, str.xfrun.exe
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140003413
lea rdx, [rsp + 0x270]
mov ecx, dword [rsp + 0x38]
call fcn.1400031d0
test eax, eax
je 0x140003423
mov edi, 1
lea rdx, [rsp + 0x270]
or rax, 0xffffffffffffffff
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400033f0
mov r8d, eax
lea rdx, [rsp + 0x270]
lea rcx, [0x140021dd0]
call fcn.140005a20
jmp 0x140003423
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
jmp 0x1400033b0
test rbx, rbx
je 0x140003431
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.140006200
mov rbx, qword [rsp + 0x4a0]
add rsp, 0x490
pop rdi
ret