joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005ede
Capabilities:
Clear file content

Disassembly:
jmp 0x1401b7318
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400022f2
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400022f2
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401b7465
cmp rax, 0xffffffffffffffff
je 0x1401b7465
xor edi, edi
test rbp, rbp
jle 0x1401b7413
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14000788d
mov rbx, rax
test rax, rax
jne 0x1401b73a0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401b7409
mov edx, 0x8000
mov ecx, r14d
call fcn.14000632a
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.1400071ad
cmp eax, 0xffffffff
je 0x1401b73e9
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401b73b0
mov edx, r15d
mov ecx, r14d
call fcn.14000632a
jmp 0x1401b7409
cmp byte [rsi + 0x38], dil
je 0x1401b7400
cmp dword [rsi + 0x34], 5
jne 0x1401b7400
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1401b7409
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140001334
jmp 0x1401b7477
jns 0x1401b7477
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400022f2
cmp rax, 0xffffffffffffffff
jne 0x1401b7431
cmp byte [rsi + 0x30], dil
je 0x1401b7477
jmp 0x1401b746d
mov ecx, r14d
call fcn.140008882
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401b7477
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, reloc.WS2_32.dll_listen
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
jmp 0x1401b7477
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401b7472
mov edi, dword [rsi + 0x2c]
jmp 0x1401b7477
mov edi, socket
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400022f2
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140005fc9
Capabilities:
Parse pe header

Disassembly:
jmp 0x140129b88
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140129bd2
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140129bd2
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140129bd2
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140129bd2
cmp dword [rcx + 0x84], 0xe
jbe 0x140129bd2
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140129bd4
xor al, al
add rsp, 0x28
ret

Function at 0x14000612c
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400ff498
jmp 0x14011a450
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400ff4ca
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400ff4ad
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x14000120d
Function at 0x1400062d5
Capabilities:
Get common file path

Disassembly:
jmp 0x1401b7b2c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140232bc0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.1400066c7
lea rdx, [rsp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x1401b7ba0
xor edi, edi
cmp word [rsp + 0x20], di
je 0x1401b7bfb
cmp word [rsp + 0x22], 0x3a
jne 0x1401b7bfb
movzx ecx, word [rsp + 0x20]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
jmp 0x1401b7bfb
lea esi, [rax + 1]
mov edx, 2
mov ecx, esi
call fcn.14000788d
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1401b7bc8
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1401b7bd5
call fcn.140003a03
mov dword [rax], listen
jmp 0x1401b7bf3
cmp word [rbx], di
je 0x1401b7bf3
cmp word [rbx + 2], 0x3a
jne 0x1401b7bf3
movzx ecx, word [rbx]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
mov rcx, rbx
call fcn.140001334
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400047f0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140006645
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401cc400
movsxd r8, dword [rcx + 0x3c]
xor r9d, r9d
add r8, rcx
mov r10, rdx
movzx eax, word [r8 + 0x14]
movzx r11d, word [r8 + 6]
add rax, 0x18
add rax, r8
test r11d, r11d
je 0x1401cc441
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1401cc435
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1401cc443
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1401cc423
xor eax, eax
ret

Function at 0x14000681b
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400da8d0
mov r10, rcx
test rdx, rdx
je 0x1400da935
nop dword [rax + rax]
movzx r8d, byte [r10]
lea r10, [r10 + 1]
movzx eax, r8b
movzx r9d, r8b
shr r9b, 1
and al, 0xfe
not r9b
movzx eax, al
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
shr r9b, 1
xor r9b, r8b
or r8b, 1
test r9b, 2
movzx ecx, r8b
cmove ecx, eax
mov byte [r10 - 1], cl
sub rdx, 1
jne 0x1400da8e0
ret

Function at 0x140006b18
Capabilities:
Terminate process

Disassembly:
jmp 0x14013da50
sub rsp, 0x28
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14013da6a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140007bc6
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
Function at 0x1400072e3
Capabilities:
Create directory

Disassembly:
jmp 0x1400f28e8
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
xor edx, edx
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400f290d
and dword [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
jmp 0x1400f2950
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xb7
mov ecx, eax
cmp eax, edi
jne 0x1400f2947
or r9d, 0xffffffff
lea rdx, [rsp + 0x20]
mov r8d, 3
mov rcx, rbx
call fcn.140003139
mov ecx, eax
test eax, eax
jne 0x1400f2947
mov eax, dword [rsp + 0x30]
shr eax, 4
test al, 1
cmove ecx, edi
mov byte [rsp + 0x58], 0
mov dword [rsp + 0x5c], ecx
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x14000777f
Capabilities:
Get common file path

Disassembly:
jmp 0x140072d60
push rbx
push rbp
push rdi
sub rsp, 0x20
mov rbx, rcx
xor ebp, ebp
lea rcx, str.kernel32
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rdi, rax
test rax, rax
jne 0x140072d8a
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.LoadLibraryExW
mov qword [rsp + 0x48], r14
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, [0x1401e5ba4]
mov rcx, rbx
mov r14, rax
call fcn.140003e13
test rax, rax
je 0x140072deb
mov rcx, rbx
test r14, r14
je 0x140072dd8
xor edx, edx
mov r8d, 8
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp qword [sym.imp.KERNEL32.dll_LoadLibraryW]
test r14, r14
je 0x140072e22
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140072e22
xor edx, edx
mov r8d, 0x800
mov rcx, rbx
mov rax, r14
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
jmp rax
xor edx, edx
mov qword [rsp + 0x50], r15
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov r15d, eax
test eax, eax
je 0x140072eec
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], bp
jne 0x140072e50
lea ecx, [rax + 1]
add rcx, rdx
add rcx, rcx
call qword [fcn.14000551a]
mov rsi, rax
test rax, rax
je 0x140072ede
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140072ede
mov rax, rdi
cmp word [rsi + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x140072e83
mov dword [rsi + rax*2], 0x5c
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x140072e95
add rdi, rdi
sub rdi, rbx
add rdi, rsi
nop word [rax + rax]
movzx eax, word [rbx]
mov word [rbx + rdi], ax
lea rbx, [rbx + 2]
test ax, ax
jne 0x140072eb0
mov rcx, rsi
test r14, r14
je 0x140072ed5
xor edx, edx
mov r8d, 8
call r14
jmp 0x140072edb
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
mov rcx, rsi
call qword [fcn.14000393b]
mov rsi, qword [rsp + 0x40]
mov r15, qword [rsp + 0x50]
mov rax, rbp
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
pop rbp
pop rbx
ret
Function at 0x140007b2b
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14017f6f0
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
xor ebp, ebp
mov qword [r11 - 0x48], rdx
lea rax, [r11 + 0x18]
mov qword [r11 - 0x40], rcx
mov rbx, rdx
mov qword [r11 - 0x38], rax
mov r14, rcx
lea r12, [0x140000000]
lea r15d, [rbp + 1]
mov edi, ebp
movzx eax, word [r14]
cmp ax, word [rdi + r12 + 0x1ff4bc]
je 0x14017f753
cmp ax, word [rdi + r12 + 0x1ff4c4]
jne 0x14017f7fa
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14017f76f
cmp rax, qword [rbx + 8]
jbe 0x14017f76f
movzx ecx, bp
jmp 0x14017f78f
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.14000130c
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x14017f78d
add qword [rsi + 8], r15
jmp 0x14017f78f
mov ecx, ebp
add rdi, 2
mov word [r14], cx
cmp rdi, 6
jne 0x14017f735
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffd
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14017f7ba
cmp rax, qword [rbx + 8]
ja 0x14017f7d6
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x14017f7d6
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006eec
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x80], rax
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14017f80e
cmp rax, qword [rbx + 8]
jbe 0x14017f80e
movzx eax, bp
jmp 0x14017f82b
lea rcx, [rsp + 0x20]
call fcn.140004d9a
mov eax, 7
jmp 0x14017f8d1
mov rdi, qword [rbx]
mov rcx, qword [rdi]
call fcn.14000130c
mov ecx, 0xffff
cmp ax, cx
je 0x14017f829
add qword [rdi + 8], r15
jmp 0x14017f82b
mov eax, ebp
mov word [r14], ax
mov rdi, rbp
cmp ax, word [rdi + r12 + 0x1ff4d0]
je 0x14017f84c
cmp ax, word [rdi + r12 + 0x1ff4e0]
jne 0x14017f8ef
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14017f868
cmp rax, qword [rbx + 8]
jbe 0x14017f868
movzx ecx, bp
jmp 0x14017f888
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.14000130c
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x14017f886
add qword [rsi + 8], r15
jmp 0x14017f888
mov ecx, ebp
add rdi, 2
mov word [r14], cx
movzx eax, cx
cmp rdi, 0xa
jne 0x14017f832
mov rax, qword [rbx + 0x10]
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14017f8b0
cmp rax, qword [rbx + 8]
ja 0x14017f8cc
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x14017f8cc
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006eec
mov eax, 3
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.140004d9a
movzx eax, al
xor eax, r15d
lea eax, [rax*4 + 3]
jmp 0x14017f8d1
Function at 0x140007e41
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14013ce3c
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401fd3b0]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1401fd3a8]
call fcn.14013c8b4
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14013ce7c
call qword [0x140253020]
jmp 0x14013ce82
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007fae
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401c9918
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140003b6b
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401c99a2
cmp byte [rbp - 0x21], r15b
je 0x1401c999d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401c99d8
call fcn.14000894f
test eax, eax
jne 0x1401c99c4
cmp byte [rbp - 0x21], r15b
je 0x1401c99bc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401c99d8
cmp byte [rbp - 0x21], r15b
je 0x1401c99d5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140008e8b
test eax, eax
jne 0x1401c9a78
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140003b6b
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401c9a17
cmp byte [rbp - 0x21], r15b
je 0x1401c9a4c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401c9a4c
call fcn.14000894f
test eax, eax
jne 0x1401c9a38
cmp byte [rbp - 0x21], r15b
je 0x1401c9a31
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401c9a4c
cmp byte [rbp - 0x21], r15b
je 0x1401c9a49
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140008e8b
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401c9a78
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401c9a7b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401c9a89
mov rcx, rdi
call fcn.140001334
cmp byte [rbp + 0x3f], r15b
je 0x1401c9a98
mov rcx, qword [rbp + 0x27]
call fcn.140001334
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400081f7
Capabilities:
Parse pe header

Disassembly:
jmp 0x1401a182c
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x1401a15f7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1401a15f7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1401a15f7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1401a15f7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1401a15f7
cmp dword [rcx + 0x84], 0xe
jbe 0x1401a15f7
cmp dword [rcx + 0xf8], 0
je 0x1401a15f7
mov ecx, ebx
call fcn.1401a177c
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.1401a12f8
nop
cmp dword [rbp + 0x20], 0
jne 0x1401a1658
call fcn.1400020e5
cmp eax, 1
jne 0x1401a1648
xor dl, dl
jmp 0x1401a1652
call fcn.140004228
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x1401a1663
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.1401a16a4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x1401a1588

Function at 0x1400082f1
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
jmp 0x1400ff454
jmp 0x14011a438
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400ff486
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400ff469
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400059b1
Function at 0x1400084fe
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14017f990
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x20], rsi
mov qword [r11 + 0x18], r8
push rdi
sub rsp, 0x40
lea rax, [r11 + 0x18]
mov qword [r11 - 0x28], rdx
mov qword [r11 - 0x18], rax
lea rdi, [0x140000000]
mov qword [r11 - 0x20], rcx
mov r10, rcx
xor r11d, r11d
mov ebp, 0xffff
mov r8d, r11d
movzx eax, word [r10]
cmp ax, word [r8 + rdi + 0x1ff460]
je 0x14017f9eb
cmp ax, word [r8 + rdi + 0x1ff468]
jne 0x14017fa94
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14017fa08
cmp rax, qword [rdx + 8]
jbe 0x14017fa08
movzx ecx, r11w
jmp 0x14017fa28
mov r9, qword [rdx]
mov rax, qword [r9 + 0x10]
cmp rax, qword [r9 + 8]
je 0x14017fa25
movzx ecx, word [rax]
add rax, 2
mov qword [r9 + 0x10], rax
cmp cx, bp
jne 0x14017fa28
mov ecx, r11d
add r8, 2
mov word [r10], cx
cmp r8, 6
jne 0x14017f9cd
mov rax, qword [rdx + 0x10]
lea ebx, [r8 - 5]
dec rax
mov esi, 0xfffd
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14017fa56
cmp rax, qword [rdx + 8]
ja 0x14017fa72
sub cx, bx
cmp cx, si
ja 0x14017fa72
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x14017fa72
add rax, 0xfffffffffffffffe
mov qword [rcx + 0x10], rax
mov rax, qword [rdx + 0x10]
mov qword [rsp + 0x60], rax
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14017faa8
cmp rax, qword [rdx + 8]
jbe 0x14017faa8
movzx r8d, r11w
jmp 0x14017faca
lea rcx, [rsp + 0x20]
call fcn.1400086de
mov eax, 7
jmp 0x14017fb72
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x14017fac7
movzx r8d, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
cmp r8w, bp
jne 0x14017faca
mov r8d, r11d
mov word [r10], r8w
mov r9, r11
cmp r8w, word [r9 + rdi + 0x1ff470]
je 0x14017faeb
cmp r8w, word [r9 + rdi + 0x1ff480]
jne 0x14017fb87
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14017fb08
cmp rax, qword [rdx + 8]
jbe 0x14017fb08
movzx ecx, r11w
jmp 0x14017fb28
mov r8, qword [rdx]
mov rax, qword [r8 + 0x10]
cmp rax, qword [r8 + 8]
je 0x14017fb25
movzx ecx, word [rax]
add rax, 2
mov qword [r8 + 0x10], rax
cmp cx, bp
jne 0x14017fb28
mov ecx, r11d
add r9, 2
mov word [r10], cx
movzx r8d, cx
cmp r9, 0xa
jne 0x14017fad1
mov rax, qword [rdx + 0x10]
dec rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14017fb51
cmp rax, qword [rdx + 8]
ja 0x14017fb6d
sub cx, bx
cmp cx, si
ja 0x14017fb6d
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x14017fb6d
add rax, 0xfffffffffffffffe
mov qword [rcx + 0x10], rax
mov eax, 3
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
lea rcx, [rsp + 0x20]
call fcn.1400086de
movzx eax, al
xor eax, ebx
lea eax, [rax*4 + 3]
jmp 0x14017fb72
Function at 0x14000911f
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140017150
mov qword [rsp + 8], rcx
sub rsp, 0x288
mov rax, qword [0x140232bc0]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x14001718b
xor al, al
jmp 0x1400171ee
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x1400171e1
lea rdx, [rsp + 0x5c]
mov rcx, qword [rsp + 0x290]
call fcn.140003832
movzx eax, al
test eax, eax
je 0x1400171ce
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x1400171ee
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400171a6
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400047f0
add rsp, 0x288
ret

Function at 0x140009124
Capabilities:
Delete file

Disassembly:
jmp 0x140017660
sub rsp, 0x48
lea rcx, [0x1401de2f0]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400176a1
lea rdx, [0x1401de308]
lea rcx, [0x140235f40]
call fcn.140001c2b
mov qword [rsp + 0x28], rax
lea rdx, [0x14000141f]
mov rcx, qword [rsp + 0x28]
call fcn.140004b47
nop
jmp 0x1400176e8
lea rdx, [0x1401de330]
lea rcx, [0x140236090]
call fcn.140001c2b
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
mov edx, dword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
call fcn.140003aad
mov qword [rsp + 0x38], rax
lea rdx, [0x14000141f]
mov rcx, qword [rsp + 0x38]
call fcn.140004b47
nop
add rsp, 0x48
ret

Function at 0x140009138
Capabilities:
Query environment variable

Disassembly:
jmp 0x140017d90
sub rsp, 0x258
mov rax, qword [0x140232bc0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov r8d, pe_nt_image_headers64
lea rdx, [rsp + 0x40]
lea rcx, [0x1401de660]
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 0
je 0x140017e14
lea rdx, [0x1401de6a8]
lea rcx, [0x1402361e0]
call fcn.140004bb0
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.140004bb0
lea rdx, str.__GetEnvironmentVariable_.
mov rcx, rax
call fcn.140004bb0
mov qword [rsp + 0x28], rax
lea rdx, [0x140004877]
mov rcx, qword [rsp + 0x28]
call fcn.140006b1d
nop
jmp 0x140017e5b
lea rdx, [0x1401de6e0]
lea rcx, [0x140236090]
call fcn.140001c2b
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x24], eax
mov edx, dword [rsp + 0x24]
mov rcx, qword [rsp + 0x30]
call fcn.140003aad
mov qword [rsp + 0x38], rax
lea rdx, [0x14000141f]
mov rcx, qword [rsp + 0x38]
call fcn.140004b47
nop
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400047f0
add rsp, 0x258
ret