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

Disassembly:
jmp 0x1401a5b38
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.1400021f3
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400021f3
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401a5c85
cmp rax, 0xffffffffffffffff
je 0x1401a5c85
xor edi, edi
test rbp, rbp
jle 0x1401a5c33
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14000722f
mov rbx, rax
test rax, rax
jne 0x1401a5bc0
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401a5c29
mov edx, 0x8000
mov ecx, r14d
call fcn.140005ddf
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.140006b9f
cmp eax, 0xffffffff
je 0x1401a5c09
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401a5bd0
mov edx, r15d
mov ecx, r14d
call fcn.140005ddf
jmp 0x1401a5c29
cmp byte [rsi + 0x38], dil
je 0x1401a5c20
cmp dword [rsi + 0x34], 5
jne 0x1401a5c20
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1401a5c29
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140001311
jmp 0x1401a5c97
jns 0x1401a5c97
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400021f3
cmp rax, 0xffffffffffffffff
jne 0x1401a5c51
cmp byte [rsi + 0x30], dil
je 0x1401a5c97
jmp 0x1401a5c8d
mov ecx, r14d
call fcn.14000815c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401a5c97
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 0x1401a5c97
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401a5c92
mov edi, dword [rsi + 0x2c]
jmp 0x1401a5c97
mov edi, socket
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400021f3
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 0x140005a9c
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x1400e9ee4
jmp 0x140106d58
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400e9f16
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400e9ef9
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400011f4
Function at 0x140005d8f
Capabilities:
Get common file path

Disassembly:
jmp 0x1401a634c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14021cbc0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.140006159
lea rdx, [rsp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x1401a63c0
xor edi, edi
cmp word [rsp + 0x20], di
je 0x1401a641b
cmp word [rsp + 0x22], 0x3a
jne 0x1401a641b
movzx ecx, word [rsp + 0x20]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
jmp 0x1401a641b
lea esi, [rax + 1]
mov edx, 2
mov ecx, esi
call fcn.14000722f
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1401a63e8
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1401a63f5
call fcn.14000377e
mov dword [rax], listen
jmp 0x1401a6413
cmp word [rbx], di
je 0x1401a6413
cmp word [rbx + 2], 0x3a
jne 0x1401a6413
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.140001311
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.14000447b
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400060d2
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401bac20
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 0x1401bac61
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1401bac55
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1401bac63
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1401bac43
xor eax, eax
ret

Function at 0x140006299
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400c7600
mov r10, rcx
test rdx, rdx
je 0x1400c7665
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 0x1400c7610
ret

Function at 0x14000656e
Capabilities:
Terminate process

Disassembly:
jmp 0x14012c210
sub rsp, 0x28
mov ecx, reloc.WS2_32.dll_socket
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x14012c22a
mov ecx, 5
int 0x29
mov r8d, 1
mov edx, 0xc0000417
lea ecx, [r8 + 1]
call fcn.140007545
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 0x140006cc6
Capabilities:
Create directory

Disassembly:
jmp 0x1400deec8
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 0x1400deeed
and dword [rsp + 0x5c], 0
mov byte [rsp + 0x58], 1
jmp 0x1400def30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, 0xb7
mov ecx, eax
cmp eax, edi
jne 0x1400def27
or r9d, 0xffffffff
lea rdx, [rsp + 0x20]
mov r8d, 3
mov rcx, rbx
call fcn.140002f3b
mov ecx, eax
test eax, eax
jne 0x1400def27
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 0x140007130
Capabilities:
Get common file path

Disassembly:
jmp 0x14005fa90
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 0x14005faba
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, [0x1401d1a34]
mov rcx, rbx
mov r14, rax
call fcn.140003b61
test rax, rax
je 0x14005fb1b
mov rcx, rbx
test r14, r14
je 0x14005fb08
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 0x14005fb52
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14005fb52
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 0x14005fc1c
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], bp
jne 0x14005fb80
lea ecx, [rax + 1]
add rcx, rdx
add rcx, rcx
call qword [fcn.1400050a6]
mov rsi, rax
test rax, rax
je 0x14005fc0e
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14005fc0e
mov rax, rdi
cmp word [rsi + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x14005fbb3
mov dword [rsi + rax*2], 0x5c
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x14005fbc5
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 0x14005fbe0
mov rcx, rsi
test r14, r14
je 0x14005fc05
xor edx, edx
mov r8d, 8
call r14
jmp 0x14005fc0b
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
mov rcx, rsi
call qword [fcn.1400036ca]
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 0x1400074a5
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14016ae80
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 + 0x1eb31c]
je 0x14016aee3
cmp ax, word [rdi + r12 + 0x1eb324]
jne 0x14016af8a
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14016aeff
cmp rax, qword [rbx + 8]
jbe 0x14016aeff
movzx ecx, bp
jmp 0x14016af1f
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012e9
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x14016af1d
add qword [rsi + 8], r15
jmp 0x14016af1f
mov ecx, ebp
add rdi, 2
mov word [r14], cx
cmp rdi, 6
jne 0x14016aec5
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffd
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14016af4a
cmp rax, qword [rbx + 8]
ja 0x14016af66
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x14016af66
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006901
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x80], rax
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14016af9e
cmp rax, qword [rbx + 8]
jbe 0x14016af9e
movzx eax, bp
jmp 0x14016afbb
lea rcx, [rsp + 0x20]
call fcn.1400049a3
mov eax, 7
jmp 0x14016b061
mov rdi, qword [rbx]
mov rcx, qword [rdi]
call fcn.1400012e9
mov ecx, 0xffff
cmp ax, cx
je 0x14016afb9
add qword [rdi + 8], r15
jmp 0x14016afbb
mov eax, ebp
mov word [r14], ax
mov rdi, rbp
cmp ax, word [rdi + r12 + 0x1eb330]
je 0x14016afdc
cmp ax, word [rdi + r12 + 0x1eb340]
jne 0x14016b07f
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14016aff8
cmp rax, qword [rbx + 8]
jbe 0x14016aff8
movzx ecx, bp
jmp 0x14016b018
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012e9
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x14016b016
add qword [rsi + 8], r15
jmp 0x14016b018
mov ecx, ebp
add rdi, 2
mov word [r14], cx
movzx eax, cx
cmp rdi, 0xa
jne 0x14016afc2
mov rax, qword [rbx + 0x10]
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x14016b040
cmp rax, qword [rbx + 8]
ja 0x14016b05c
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x14016b05c
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006901
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.1400049a3
movzx eax, al
xor eax, r15d
lea eax, [rax*4 + 3]
jmp 0x14016b061
Function at 0x1400077b1
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x14012b5f0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401e9210]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1401e9208]
call fcn.14012b068
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x14012b630
call qword [0x14023c020]
jmp 0x14012b636
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x14000790a
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401b8138
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.1400038dc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401b81c2
cmp byte [rbp - 0x21], r15b
je 0x1401b81bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401b81f8
call fcn.14000821f
test eax, eax
jne 0x1401b81e4
cmp byte [rbp - 0x21], r15b
je 0x1401b81dc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401b81f8
cmp byte [rbp - 0x21], r15b
je 0x1401b81f5
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.140008701
test eax, eax
jne 0x1401b8298
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400038dc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401b8237
cmp byte [rbp - 0x21], r15b
je 0x1401b826c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401b826c
call fcn.14000821f
test eax, eax
jne 0x1401b8258
cmp byte [rbp - 0x21], r15b
je 0x1401b8251
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401b826c
cmp byte [rbp - 0x21], r15b
je 0x1401b8269
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.140008701
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401b8298
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401b829b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401b82a9
mov rcx, rdi
call fcn.140001311
cmp byte [rbp + 0x3f], r15b
je 0x1401b82b8
mov rcx, qword [rbp + 0x27]
call fcn.140001311
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 0x140007b26
Capabilities:
Parse pe header

Disassembly:
jmp 0x14018f41c
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 0x14018f1e7
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14018f1e7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14018f1e7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14018f1e7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14018f1e7
cmp dword [rcx + 0x84], 0xe
jbe 0x14018f1e7
cmp dword [rcx + 0xf8], 0
je 0x14018f1e7
mov ecx, ebx
call fcn.14018f36c
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.14018eee8
nop
cmp dword [rbp + 0x20], 0
jne 0x14018f248
call fcn.140001ff5
cmp eax, 1
jne 0x14018f238
xor dl, dl
jmp 0x14018f242
call fcn.140003f26
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x14018f253
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14018f294
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x14018f178

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

Disassembly:
jmp 0x1400e9ea0
jmp 0x140106d40
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400e9ed2
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400e9eb5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400054ed
Function at 0x140007e05
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x14016b120
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 + 0x1eb2c0]
je 0x14016b17b
cmp ax, word [r8 + rdi + 0x1eb2c8]
jne 0x14016b224
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14016b198
cmp rax, qword [rdx + 8]
jbe 0x14016b198
movzx ecx, r11w
jmp 0x14016b1b8
mov r9, qword [rdx]
mov rax, qword [r9 + 0x10]
cmp rax, qword [r9 + 8]
je 0x14016b1b5
movzx ecx, word [rax]
add rax, 2
mov qword [r9 + 0x10], rax
cmp cx, bp
jne 0x14016b1b8
mov ecx, r11d
add r8, 2
mov word [r10], cx
cmp r8, 6
jne 0x14016b15d
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 0x14016b1e6
cmp rax, qword [rdx + 8]
ja 0x14016b202
sub cx, bx
cmp cx, si
ja 0x14016b202
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x14016b202
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 0x14016b238
cmp rax, qword [rdx + 8]
jbe 0x14016b238
movzx r8d, r11w
jmp 0x14016b25a
lea rcx, [rsp + 0x20]
call fcn.140007fcc
mov eax, 7
jmp 0x14016b302
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x14016b257
movzx r8d, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
cmp r8w, bp
jne 0x14016b25a
mov r8d, r11d
mov word [r10], r8w
mov r9, r11
cmp r8w, word [r9 + rdi + 0x1eb2d0]
je 0x14016b27b
cmp r8w, word [r9 + rdi + 0x1eb2e0]
jne 0x14016b317
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14016b298
cmp rax, qword [rdx + 8]
jbe 0x14016b298
movzx ecx, r11w
jmp 0x14016b2b8
mov r8, qword [rdx]
mov rax, qword [r8 + 0x10]
cmp rax, qword [r8 + 8]
je 0x14016b2b5
movzx ecx, word [rax]
add rax, 2
mov qword [r8 + 0x10], rax
cmp cx, bp
jne 0x14016b2b8
mov ecx, r11d
add r9, 2
mov word [r10], cx
movzx r8d, cx
cmp r9, 0xa
jne 0x14016b261
mov rax, qword [rdx + 0x10]
dec rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x14016b2e1
cmp rax, qword [rdx + 8]
ja 0x14016b2fd
sub cx, bx
cmp cx, si
ja 0x14016b2fd
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x14016b2fd
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.140007fcc
movzx eax, al
xor eax, ebx
lea eax, [rax*4 + 3]
jmp 0x14016b302
Function at 0x140015e90
Capabilities:
Create process on windows

Disassembly:
jmp 0x140015e90
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x1d0
mov rax, qword [0x14021cbc0]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov dword [rsp + 0x110], WSASetLastError
lea rax, [rsp + 0x118]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
lea r8, [0x1401cb424]
mov rdx, qword [rsp + 0x1e0]
lea rcx, [rsp + 0x1a0]
call fcn.140006532
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x68], rax
mov r8, qword [rsp + 0x1e8]
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x180]
call fcn.140003625
nop
lea rcx, [rsp + 0x1a0]
call fcn.14000240a
nop
lea rcx, [rsp + 0x180]
call fcn.140005e16
inc rax
mov rcx, rax
call fcn.140003fb2
mov qword [rsp + 0x70], rax
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140006122
nop
lea rcx, [rsp + 0x50]
call fcn.140002d7e
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x180]
call fcn.140001d0c
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x90], rax
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x180]
call fcn.140007fa4
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x98], rax
mov r8, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x98]
call fcn.14000844a
nop
lea rcx, [rsp + 0x180]
call fcn.140005e16
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140004089
mov byte [rax], 0
lea rcx, [rsp + 0x50]
call fcn.140002d7e
lea rcx, [rsp + 0xf0]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x110]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400160ab
lea rdx, str.CreateProcess_failed:
lea rcx, [0x14021fcd0]
call fcn.140001b6d
mov qword [rsp + 0xa0], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
mov edx, dword [rsp + 0x58]
mov rcx, qword [rsp + 0xa0]
call fcn.140003823
mov qword [rsp + 0xa8], rax
lea rdx, [0x1400013e8]
mov rcx, qword [rsp + 0xa8]
call fcn.14000477d
nop
jmp 0x140016120
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0xb0], rax
lea r8, [rsp + 0xb0]
mov rdx, qword [rsp + 0xf0]
lea rcx, [rsp + 0xe0]
call fcn.140001fc3
nop
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0xb8], rax
lea r8, [rsp + 0xb8]
mov rdx, qword [rsp + 0xf8]
lea rcx, [rsp + 0xd0]
call fcn.140001fc3
nop
lea rcx, [rsp + 0xd0]
call fcn.14000778e
lea rcx, [rsp + 0xe0]
call fcn.14000778e
nop
lea rcx, [rsp + 0x50]
call fcn.1400064b0
nop
lea rcx, [rsp + 0x180]
call fcn.14000240a
nop
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14000447b
add rsp, 0x1d0
pop rdi
ret
Function at 0x14003f2c0
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x14003f3a2
call fcn.140006a37
test al, al
jne 0x14003f3a2
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x14003f2f2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.140005d17
test rax, rax
je 0x14003f337
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.140005d17
mov rsi, rax
test rax, rax
je 0x14003f337
inc rsi
mov rcx, rbx
sub rcx, rsi
add rdi, rcx
test rsi, rsi
cmovne rbx, rsi
lea rsi, [rbx + rdi]
mov edi, 0x1505
cmp rbx, rsi
jae 0x14003f36b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.14000838c
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x14003f350
mov rsi, qword [rsp + 0x30]
mov rcx, rdi
movabs rax, 0x410410410410411
mul rdi
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 5
imul rcx, rcx, 0x3f
sub rdi, rcx
mov rax, rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
xor eax, eax
add rsp, 0x20
pop rbx
ret