joyce8/EMBER2024-capa huggingface dataset:
Function at 0x18000cf24
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x18000cf54
xor eax, eax
jmp 0x18000d017
mov rbp, rbx
cmp word [rax], si
je 0x18000cf79
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x18000cf60
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x18000cf5c
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.18000ce44
movsxd r14, eax
test eax, eax
jne 0x18000cfb7
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x18000cf4d
mov rcx, r14
call fcn.18000b24c
mov rdi, rax
test rax, rax
jne 0x18000cfd0
xor ecx, ecx
call fcn.18000b47c
jmp 0x18000cfac
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.18000ce44
test eax, eax
jne 0x18000d001
mov rcx, rdi
call fcn.18000b47c
jmp 0x18000d00b
xor ecx, ecx
call fcn.18000b47c
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x180012650
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x180012678
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x180012678
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400726d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push r13
push r14
sub rsp, 0x38
mov rsi, qword [rcx + 0xa8]
mov r14, rcx
mov r13, qword [rcx]
mov rbx, qword [rcx + 0x10]
test rsi, rsi
je 0x1400728d8
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x68], rdi
mov qword [rsp + 0x70], r12
xor r12d, r12d
mov qword [rsp + 0x30], r15
nop dword [rax]
movsxd r8, dword [rsi + 0x10]
xor edx, edx
mov rax, qword [r13 + 0x20]
mov r9, r8
mov edi, dword [rsi + 0x14]
mov rcx, r14
shl r9, 5
mov dword [rsp + 0x20], 0x70
mov r9, qword [r9 + rax + 0x18]
mov r9, qword [r9 + 0x68]
call fcn.140071c50
mov rax, qword [rsi + 8]
lea r15d, [rdi - 1]
movsxd rdx, dword [rbx + 0x90]
mov rbp, qword [rax]
cmp dword [rbx + 0x94], edx
jg 0x140072772
xor r8d, r8d
mov dword [rsp + 0x20], r12d
mov r9d, r15d
mov rcx, rbx
lea edx, [r8 + 0x75]
call fcn.14002feb0
mov edx, eax
jmp 0x14007279d
lea rcx, [rdx + rdx*2]
lea eax, [rdx + 1]
mov dword [rbx + 0x90], eax
mov rax, qword [rbx + 0x88]
mov qword [rax + rcx*8], 0x75
mov dword [rax + rcx*8 + 8], r15d
mov dword [rax + rcx*8 + 0xc], r12d
mov qword [rax + rcx*8 + 0x10], r12
xor r9d, r9d
mov r8, rbp
mov rcx, rbx
call fcn.140031370
mov eax, dword [rbx + 0x90]
add eax, 0xc
cmp eax, dword [rbx + 0x94]
jle 0x1400727cc
mov rcx, rbx
call fcn.14002fdb0
test eax, eax
jne 0x1400728c4
movsxd rax, dword [rbx + 0x90]
lea r8, [0x14022b4f2]
mov r10d, SafeArrayDestroy
lea r11, [0x14022f7c0]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov r9, rax
nop dword [rax]
movzx ecx, byte [r8 - 2]
mov byte [rax], cl
movsx ecx, byte [r8 - 1]
mov dword [rax + 4], ecx
movsx edx, byte [r8]
mov dword [rax + 8], edx
movzx ecx, byte [r8 - 2]
test byte [rcx + r11], 1
je 0x140072830
cmp byte [r8], r12b
jle 0x140072830
add edx, dword [rbx + 0x90]
mov dword [rax + 8], edx
movsx ecx, byte [r8 + 1]
add r8, 4
mov dword [rax + 0xc], ecx
mov byte [rax + 1], r12b
mov qword [rax + 0x10], r12
mov word [rax + 2], r12w
add rax, 0x18
sub r10, 1
jne 0x140072800
add dword [rbx + 0x90], 0xc
test r9, r9
je 0x1400728c4
mov eax, reloc.OLEAUT32.dll_SafeArrayGetDim
mov dword [r9 + 8], edi
mov word [r9 + 0x4a], ax
lea ecx, [rdi + 2]
lea eax, [rdi + 1]
mov dword [r9 + 0xc], ecx
mov dword [r9 + 0x68], eax
mov dword [r9 + 0x3c], edi
mov dword [r9 + 0x4c], r15d
mov dword [r9 + 0x54], edi
mov dword [r9 + 0x84], edi
mov dword [r9 + 0x94], edi
mov dword [r9 + 0xb0], ecx
mov dword [r9 + 0xac], edi
mov dword [r9 + 0xf8], edi
cmp dword [r14 + 0x34], r12d
jne 0x1400728b8
mov dword [r14 + 0x34], 1
mov rsi, qword [rsi]
test rsi, rsi
jne 0x140072710
mov r12, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r14
pop r13
pop rsi
pop rbx
ret
Function at 0x140072960
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rdi
push r12
push r14
sub rsp, 0x38
mov r14, qword [rcx + 0xa8]
mov rdi, rcx
mov rbx, qword [rcx + 0x10]
mov r12, qword [rcx]
test r14, r14
je 0x140072b62
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], r13
xor r13d, r13d
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x60], rbp
nop dword [rax]
movsxd rsi, dword [r14 + 0x10]
movzx eax, byte [rdi + 0x1f]
mov r15d, dword [r14 + 0x14]
shl rsi, 5
add rsi, qword [r12 + 0x20]
test al, al
jne 0x1400729c1
inc dword [rdi + 0x38]
mov ebp, dword [rdi + 0x38]
jmp 0x1400729d0
dec al
movzx eax, al
mov byte [rdi + 0x1f], al
mov ebp, dword [rdi + rax*4 + 0xe8]
movsxd rcx, dword [rbx + 0x90]
lea r8d, [r15 + 2]
lea edx, [rcx + 7]
cmp dword [rbx + 0x94], ecx
jg 0x1400729fd
mov r9d, edx
mov dword [rsp + 0x20], r15d
mov edx, 0x37
mov rcx, rbx
call fcn.14002feb0
jmp 0x140072a2b
lea eax, [rcx + 1]
mov dword [rbx + 0x90], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rbx + 0x88]
mov dword [rax + rcx*8], 0x37
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], r15d
mov qword [rax + rcx*8 + 0x10], r13
mov r9, qword [rsi + 0x18]
xor edx, edx
mov r8d, dword [r14 + 0x10]
mov rcx, rdi
mov dword [rsp + 0x20], 0x71
mov r9, qword [r9 + 0x68]
call fcn.140071c50
mov eax, dword [rbx + 0x90]
add eax, 5
cmp eax, dword [rbx + 0x94]
jle 0x140072a6a
mov rcx, rbx
call fcn.14002fdb0
test eax, eax
jne 0x140072b4e
movsxd rax, dword [rbx + 0x90]
lea r8, [0x14022c0da]
mov r10d, 5
lea r11, [0x14022f7c0]
lea rcx, [rax + rax*2]
mov rax, qword [rbx + 0x88]
lea rax, [rax + rcx*8]
mov r9, rax
nop word [rax + rax]
movzx ecx, byte [r8 - 2]
mov byte [rax], cl
movsx ecx, byte [r8 - 1]
mov dword [rax + 4], ecx
movsx edx, byte [r8]
mov dword [rax + 8], edx
movzx ecx, byte [r8 - 2]
test byte [rcx + r11], 1
je 0x140072ad0
cmp byte [r8], r13b
jle 0x140072ad0
add edx, dword [rbx + 0x90]
mov dword [rax + 8], edx
movsx ecx, byte [r8 + 1]
add r8, 4
mov dword [rax + 0xc], ecx
mov byte [rax + 1], r13b
mov qword [rax + 0x10], r13
mov word [rax + 2], r13w
add rax, 0x18
sub r10, 1
jne 0x140072aa0
add dword [rbx + 0x90], 5
test r9, r9
je 0x140072b4e
mov dword [r9 + 0x3c], ebp
lea ecx, [r15 + 1]
mov dword [r9 + 4], ecx
lea eax, [r15 - 1]
mov dword [r9 + 0x34], eax
mov eax, 8
mov word [r9 + 0x4a], ax
mov dword [r9 + 0x20], ecx
mov dword [r9 + 0x50], ebp
mov dword [r9 + 0x54], ecx
test ebp, ebp
je 0x140072b42
movzx eax, byte [rdi + 0x1f]
cmp al, 8
jae 0x140072b42
movzx eax, al
mov dword [rdi + rax*4 + 0xe8], ebp
inc byte [rdi + 0x1f]
mov r14, qword [r14]
test r14, r14
jne 0x1400729a0
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
mov r13, qword [rsp + 0x70]
mov r15, qword [rsp + 0x30]
add rsp, 0x38
pop r14
pop r12
pop rdi
pop rbx
ret
Function at 0x1401050f0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rdi, qword [rcx + 0x50]
mov rbx, rcx
test rdi, rdi
je 0x140105119
mov rcx, rdi
call qword [fcn.140005fb0]
call rdi
mov qword [rbx + 0x50], 0
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140105130
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rbx + 0x48], 0
cmp qword [rbx + 0x38], 0
je 0x14010514b
cmp qword [rbx + 0x40], 8
lea rcx, [rbx + 0x28]
jb 0x140105145
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
cmp byte [rbx], 0
je 0x140105168
cmp dword [0x14029a288], 0
jle 0x140105165
call qword [sym.imp.ole32.dll_CoUninitialize]
dec dword [0x14029a288]
mov byte [rbx], 0
cmp byte [rbx + 1], 0
je 0x1401051b5
mov rdi, qword [0x14029a270]
test rdi, rdi
jne 0x14010519e
lea ecx, [rdi + 0x50]
call fcn.14016e754
mov edx, 0x102
mov qword [rsp + 0x30], rax
mov rcx, rax
mov rdi, rax
call fcn.14016ff7c
mov qword [0x14029a270], rdi
mov rcx, rdi
call fcn.14016ffd0
test eax, eax
je 0x1401051b1
mov ecx, eax
call fcn.14016fae4
mov byte [rbx + 1], 0
xor eax, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140118a30
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, r8
mov r14, rdx
mov r8, qword [r8 + 0x10]
mov r15, rcx
cmp qword [rdi + 0x18], 8
jb 0x140118a5d
mov rdx, qword [rdi]
jmp 0x140118a60
mov rdx, rdi
xor ecx, ecx
movabs rbx, 0xcbf29ce484222325
mov qword [rsp + 0x80], rbx
add r8, r8
je 0x140118aab
movabs r9, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor rbx, rax
imul rbx, r9
cmp rcx, r8
jb 0x140118a90
mov qword [rsp + 0x80], rbx
xor edx, edx
mov dword [rsp + 0x70], 0
mov rax, rbx
mov r13d, 1
div qword [r15 + 0x228]
mov r12, rdx
mov rbp, rdx
or r12, 1
bsr rax, r12
movzx ecx, al
mov rdx, qword [r15 + rcx*8 + 8]
test rdx, rdx
je 0x140118afc
mov r8d, r13d
mov rax, rbp
shl r8, cl
and r8, 0xfffffffffffffffe
sub rax, r8
cmp qword [rdx + rax*8], 0
setne al
test al, al
jne 0x140118b07
mov rdx, rbp
mov rcx, r15
call fcn.140118d90
lea rcx, [0x140213e20]
movzx eax, bl
mov dword [rsp + 0x70], 0
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x81]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x82]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x83]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x84]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x85]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x86]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x87]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x20], al
mov rsi, qword [rsp + 0x20]
or rsi, r13
bsr rax, r12
movzx ecx, al
shl r13, cl
and r13, 0xfffffffffffffffe
sub rbp, r13
mov rbx, qword [r15 + rcx*8 + 8]
mov rbx, qword [rbx + rbp*8]
test rbx, rbx
je 0x140118c04
nop dword [rax + rax]
mov rax, qword [rbx + 0x38]
cmp rax, rsi
ja 0x140118c04
jne 0x140118bfc
cmp qword [rdi + 0x18], 8
lea rcx, [rbx + 8]
jb 0x140118bdb
mov r8, qword [rdi]
jmp 0x140118bde
mov r8, rdi
cmp qword [rcx + 0x18], 8
lea rdx, [rcx + 0x10]
jb 0x140118bec
mov rcx, qword [rcx]
mov r9, qword [rdi + 0x10]
mov rdx, qword [rdx]
call fcn.1400ca4f0
test eax, eax
je 0x140118c23
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140118bc0
mov qword [r14], 0
mov rax, r14
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [r14], rbx
jmp 0x140118c0b
Function at 0x14012b260
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, r8
mov r14, rdx
mov r8, qword [r8 + 0x10]
mov r15, rcx
cmp qword [rdi + 0x18], 8
jb 0x14012b28d
mov rdx, qword [rdi]
jmp 0x14012b290
mov rdx, rdi
xor ecx, ecx
movabs rbx, 0xcbf29ce484222325
mov qword [rsp + 0x80], rbx
add r8, r8
je 0x14012b2db
movabs r9, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor rbx, rax
imul rbx, r9
cmp rcx, r8
jb 0x14012b2c0
mov qword [rsp + 0x80], rbx
xor edx, edx
mov dword [rsp + 0x70], 0
mov rax, rbx
mov r13d, 1
div qword [r15 + 0x228]
mov r12, rdx
mov rbp, rdx
or r12, 1
bsr rax, r12
movzx ecx, al
mov rdx, qword [r15 + rcx*8 + 8]
test rdx, rdx
je 0x14012b32c
mov r8d, r13d
mov rax, rbp
shl r8, cl
and r8, 0xfffffffffffffffe
sub rax, r8
cmp qword [rdx + rax*8], 0
setne al
test al, al
jne 0x14012b337
mov rdx, rbp
mov rcx, r15
call fcn.14012b780
lea rcx, [0x140213e20]
movzx eax, bl
mov dword [rsp + 0x70], 0
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x81]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x82]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x83]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x84]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x85]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x86]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x87]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x20], al
mov rsi, qword [rsp + 0x20]
or rsi, r13
bsr rax, r12
movzx ecx, al
shl r13, cl
and r13, 0xfffffffffffffffe
sub rbp, r13
mov rbx, qword [r15 + rcx*8 + 8]
mov rbx, qword [rbx + rbp*8]
test rbx, rbx
je 0x14012b434
nop dword [rax + rax]
mov rax, qword [rbx + 0x40]
cmp rax, rsi
ja 0x14012b434
jne 0x14012b42c
cmp qword [rdi + 0x18], 8
lea rcx, [rbx + 8]
jb 0x14012b40b
mov r8, qword [rdi]
jmp 0x14012b40e
mov r8, rdi
cmp qword [rcx + 0x18], 8
lea rdx, [rcx + 0x10]
jb 0x14012b41c
mov rcx, qword [rcx]
mov r9, qword [rdi + 0x10]
mov rdx, qword [rdx]
call fcn.1400ca4f0
test eax, eax
je 0x14012b453
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14012b3f0
mov qword [r14], 0
mov rax, r14
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [r14], rbx
jmp 0x14012b43b
Function at 0x14012fa00
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rdi, r8
mov r14, rdx
mov r8, qword [r8 + 0x10]
mov r15, rcx
cmp qword [rdi + 0x18], 8
jb 0x14012fa2d
mov rdx, qword [rdi]
jmp 0x14012fa30
mov rdx, rdi
xor ecx, ecx
movabs rbx, 0xcbf29ce484222325
mov qword [rsp + 0x80], rbx
add r8, r8
je 0x14012fa7b
movabs r9, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
inc rcx
xor rbx, rax
imul rbx, r9
cmp rcx, r8
jb 0x14012fa60
mov qword [rsp + 0x80], rbx
xor edx, edx
mov dword [rsp + 0x70], 0
mov rax, rbx
mov r13d, 1
div qword [r15 + 0x228]
mov r12, rdx
mov rbp, rdx
or r12, 1
bsr rax, r12
movzx ecx, al
mov rdx, qword [r15 + rcx*8 + 8]
test rdx, rdx
je 0x14012facc
mov r8d, r13d
mov rax, rbp
shl r8, cl
and r8, 0xfffffffffffffffe
sub rax, r8
cmp qword [rdx + rax*8], 0
setne al
test al, al
jne 0x14012fad7
mov rdx, rbp
mov rcx, r15
call fcn.14012fd50
lea rcx, [0x140213e20]
movzx eax, bl
mov dword [rsp + 0x70], 0
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x27], al
movzx eax, byte [rsp + 0x81]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x26], al
movzx eax, byte [rsp + 0x82]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x25], al
movzx eax, byte [rsp + 0x83]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x24], al
movzx eax, byte [rsp + 0x84]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x23], al
movzx eax, byte [rsp + 0x85]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x22], al
movzx eax, byte [rsp + 0x86]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x21], al
movzx eax, byte [rsp + 0x87]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x20], al
mov rsi, qword [rsp + 0x20]
or rsi, r13
bsr rax, r12
movzx ecx, al
shl r13, cl
and r13, 0xfffffffffffffffe
sub rbp, r13
mov rbx, qword [r15 + rcx*8 + 8]
mov rbx, qword [rbx + rbp*8]
test rbx, rbx
je 0x14012fbd4
nop dword [rax + rax]
mov rax, qword [rbx + 0x38]
cmp rax, rsi
ja 0x14012fbd4
jne 0x14012fbcc
cmp qword [rdi + 0x18], 8
lea rcx, [rbx + 8]
jb 0x14012fbab
mov r8, qword [rdi]
jmp 0x14012fbae
mov r8, rdi
cmp qword [rcx + 0x18], 8
lea rdx, [rcx + 0x10]
jb 0x14012fbbc
mov rcx, qword [rcx]
mov r9, qword [rdi + 0x10]
mov rdx, qword [rdx]
call fcn.1400ca4f0
test eax, eax
je 0x14012fbf3
mov rbx, qword [rbx]
test rbx, rbx
jne 0x14012fb90
mov qword [r14], 0
mov rax, r14
mov rbx, qword [rsp + 0x78]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov qword [r14], rbx
jmp 0x14012fbdb
Function at 0x14012ff10
Capabilities:
Encode data using xor
Encrypt data using rc4 prga
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], r8
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
cmp qword [r8 + 0x20], 8
lea r9, [r8 + 8]
mov rsi, rdx
mov rdi, rcx
mov rdx, qword [r9 + 0x10]
jb 0x14012ff3d
mov r9, qword [r9]
xor ecx, ecx
movabs rbx, 0xcbf29ce484222325
mov qword [rsp + 0x88], rbx
add rdx, rdx
je 0x14012ff7c
movabs r10, 0x100000001b3
movzx eax, byte [r9 + rcx]
inc rcx
xor rbx, rax
imul rbx, r10
cmp rcx, rdx
jb 0x14012ff60
mov qword [rsp + 0x88], rbx
xor edx, edx
mov dword [rsp + 0x70], 0
mov rax, rbx
mov r15d, 1
div qword [rdi + 0x228]
mov r14, rdx
mov rbp, rdx
or r14, 1
bsr rax, r14
movzx ecx, al
mov dword [rsp + 0x70], eax
mov r9, qword [rdi + rcx*8 + 8]
test r9, r9
je 0x14012ffd1
mov edx, r15d
mov rax, rbp
shl rdx, cl
and rdx, 0xfffffffffffffffe
sub rax, rdx
cmp qword [r9 + rax*8], 0
setne al
test al, al
jne 0x14012ffe4
mov rdx, rbp
mov rcx, rdi
call fcn.14012fd50
mov r8, qword [rsp + 0x80]
lea rcx, [0x140213e20]
movzx eax, bl
mov qword [rsp + 0x20], rbx
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x2f], al
movzx eax, byte [rsp + 0x89]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x2e], al
movzx eax, byte [rsp + 0x8a]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x2d], al
movzx eax, byte [rsp + 0x8b]
mov dword [rsp + 0x88], 0
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x2c], al
movzx eax, byte [rsp + 0x8c]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x2b], al
movzx eax, byte [rsp + 0x8d]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x2a], al
movzx eax, byte [rsp + 0x8e]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x29], al
movzx eax, byte [rsp + 0x8f]
movzx eax, byte [rax + rcx]
mov byte [rsp + 0x28], al
bsr rax, r14
movzx ecx, al
shl r15, cl
and r15, 0xfffffffffffffffe
mov dword [rsp + 0x88], eax
sub rbp, r15
mov rcx, qword [rdi + rcx*8 + 8]
mov rcx, qword [rcx + rbp*8]
mov rax, qword [rcx]
test rax, rax
je 0x1401300b0
nop
cmp rax, r8
je 0x1401300cb
mov rcx, rax
mov rax, qword [rax]
test rax, rax
jne 0x1401300a0
mov qword [rsi], 0
mov rax, rsi
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rbx, qword [r8]
mov rdx, r8
mov qword [rcx], rbx
call fcn.14012fc00
dec dword [rdi + 0x218]
test rbx, rbx
je 0x1401300f6
movzx eax, byte [rbx + 0x38]
not al
test al, 1
je 0x1401300f6
mov rbx, qword [rbx]
test rbx, rbx
jne 0x1401300e4
mov qword [rsi], rbx
jmp 0x1401300b7
Function at 0x1401382b0
Capabilities:
Connect pipe

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x90], rbx
mov rax, qword [0x14028c238]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_ConnectNamedPipe]
test eax, eax
je 0x14013835b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.14010f720
nop
mov r8, rax
lea rdx, str._ConnectToNewPipeClient__ConnectNamedPipe_failed_with
lea rcx, [rsp + 0x28]
call fcn.1400cb580
mov rbx, rax
call fcn.1400e04b0
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call fcn.1400db9a0
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x140138341
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.1400c3a10
mov qword [rsp + 0x40], 7
xor eax, eax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
jmp 0x1401383fe
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x217
je 0x140138373
cmp eax, 0x3e5
jne 0x14013838b
mov bl, 1
jmp 0x140138383
xor ebx, ebx
mov rcx, qword [rdi + 0x18]
call qword [sym.imp.KERNEL32.dll_SetEvent]
test eax, eax
je 0x14013838b
movzx eax, bl
jmp 0x14013841d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.14010f720
nop
mov r8, rax
lea rdx, str._ConnectToNewPipeClient__ConnectNamedPipe_failed_with
lea rcx, [rsp + 0x28]
call fcn.1400cb580
mov rbx, rax
call fcn.1400e04b0
mov rcx, rax
mov r8d, 1
mov rdx, rbx
call fcn.1400db9a0
nop
mov r8, qword [rsp + 0x40]
cmp r8, 8
jb 0x1401383e9
inc r8
mov rdx, qword [rsp + 0x28]
lea rcx, [rsp + 0x28]
call fcn.1400c3a10
mov qword [rsp + 0x40], 7
xor eax, eax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x14013841b
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.1400c3a10
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14016e480
mov rbx, qword [rsp + 0x90]
add rsp, 0x70
pop rdi
ret
Function at 0x140139ed0
Capabilities:
Enumerate processes

Disassembly:
mov rax, rsp
push rsi
push rdi
push r14
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14028c238]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov rsi, rdx
mov rbp, rcx
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14013a01b
xor edx, edx
mov r8d, 0x234
lea rcx, [rsp + 0x54]
call fcn.1401b1bc0
mov dword [rsp + 0x50], 0x238
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x14013a00e
xor r14d, r14d
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r14
mov word [rsp + 0x30], r14w
cmp word [rsp + 0x7c], 0
jne 0x140139f73
mov r8, r14
jmp 0x140139f8b
lea rax, [rsp + 0x7c]
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140139f80
lea rdx, [rsp + 0x7c]
lea rcx, [rsp + 0x30]
call fcn.1400c3720
nop
lea rbx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rbx, qword [rsp + 0x30]
mov rcx, rbp
call fcn.1400c3480
mov rdx, rax
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x140139fdb
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x20], eax
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14013a8d0
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x140139ff8
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.1400c3a10
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140139f52
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x14013a01e
or eax, 0xffffffff
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.14016e480
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret