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

Disassembly:
jmp 0x1401aa788
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.140002248
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.140002248
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x1401aa8d5
cmp rax, 0xffffffffffffffff
je 0x1401aa8d5
xor edi, edi
test rbp, rbp
jle 0x1401aa883
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14000745a
mov rbx, rax
test rax, rax
jne 0x1401aa810
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x1401aa879
mov edx, 0x8000
mov ecx, r14d
call fcn.140005f9c
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.140006da2
cmp eax, 0xffffffff
je 0x1401aa859
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1401aa820
mov edx, r15d
mov ecx, r14d
call fcn.140005f9c
jmp 0x1401aa879
cmp byte [rsi + 0x38], dil
je 0x1401aa870
cmp dword [rsi + 0x34], 5
jne 0x1401aa870
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], reloc.WS2_32.dll_listen
cmp byte [rsi + 0x30], dil
je 0x1401aa879
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.140001320
jmp 0x1401aa8e7
jns 0x1401aa8e7
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.140002248
cmp rax, 0xffffffffffffffff
jne 0x1401aa8a1
cmp byte [rsi + 0x30], dil
je 0x1401aa8e7
jmp 0x1401aa8dd
mov ecx, r14d
call fcn.1400083b9
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1401aa8e7
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 0x1401aa8e7
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x1401aa8e2
mov edi, dword [rsi + 0x2c]
jmp 0x1401aa8e7
mov edi, socket
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.140002248
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 0x140005c4f
Capabilities:
Parse pe header

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

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

Disassembly:
jmp 0x1400eeea0
jmp 0x14010bb24
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400eeed2
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400eeeb5
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x1400011fe
Function at 0x140005f47
Capabilities:
Get common file path

Disassembly:
jmp 0x1401aaf9c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140221bc0]
xor rax, rsp
mov qword [rsp + 0x230], rax
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
call fcn.140006325
lea rdx, [rsp + 0x20]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
cmp eax, 0x104
ja 0x1401ab010
xor edi, edi
cmp word [rsp + 0x20], di
je 0x1401ab06b
cmp word [rsp + 0x22], 0x3a
jne 0x1401ab06b
movzx ecx, word [rsp + 0x20]
lea eax, [rcx - 0x61]
cmp eax, 0x19
lea edi, [rcx - 0x20]
cmova edi, ecx
sub edi, 0x40
jmp 0x1401ab06b
lea esi, [rax + 1]
mov edx, 2
mov ecx, esi
call fcn.14000745a
xor edi, edi
mov rbx, rax
test rax, rax
je 0x1401ab038
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x1401ab045
call fcn.14000385f
mov dword [rax], listen
jmp 0x1401ab063
cmp word [rbx], di
je 0x1401ab063
cmp word [rbx + 2], 0x3a
jne 0x1401ab063
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.140001320
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400045b1
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400062a3
Capabilities:
Enumerate pe sections

Disassembly:
jmp 0x1401bf870
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 0x1401bf8b1
mov edx, dword [rax + 0xc]
cmp r10, rdx
jb 0x1401bf8a5
mov ecx, dword [rax + 8]
add ecx, edx
cmp r10, rcx
jb 0x1401bf8b3
inc r9d
add rax, 0x28
cmp r9d, r11d
jb 0x1401bf893
xor eax, eax
ret

Function at 0x14000646a
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1400cc4c0
mov r10, rcx
test rdx, rdx
je 0x1400cc525
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 0x1400cc4d0
ret

Function at 0x140006744
Capabilities:
Terminate process

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

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

Disassembly:
jmp 0x140064950
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 0x14006497a
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, [0x1401d69b4]
mov rcx, rbx
mov r14, rax
call fcn.140003c60
test rax, rax
je 0x1400649db
mov rcx, rbx
test r14, r14
je 0x1400649c8
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 0x140064a12
lea rdx, str.AddDllDirectory
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140064a12
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 0x140064adc
mov rdi, 0xffffffffffffffff
mov qword [rsp + 0x40], rsi
mov rdx, rdi
nop dword [rax + rax]
inc rdx
cmp word [rbx + rdx*2], bp
jne 0x140064a40
lea ecx, [rax + 1]
add rcx, rdx
add rcx, rcx
call qword [fcn.14000522c]
mov rsi, rax
test rax, rax
je 0x140064ace
mov edx, r15d
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x140064ace
mov rax, rdi
cmp word [rsi + rax*2 + 2], bp
lea rax, [rax + 1]
jne 0x140064a73
mov dword [rsi + rax*2], 0x5c
inc rdi
cmp word [rsi + rdi*2], bp
jne 0x140064a85
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 0x140064aa0
mov rcx, rsi
test r14, r14
je 0x140064ac5
xor edx, edx
mov r8d, 8
call r14
jmp 0x140064acb
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rbp, rax
mov rcx, rsi
call qword [fcn.1400037a6]
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 0x1400076da
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140172b60
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 + 0x1f02dc]
je 0x140172bc3
cmp ax, word [rdi + r12 + 0x1f02e4]
jne 0x140172c6a
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140172bdf
cmp rax, qword [rbx + 8]
jbe 0x140172bdf
movzx ecx, bp
jmp 0x140172bff
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012f8
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x140172bfd
add qword [rsi + 8], r15
jmp 0x140172bff
mov ecx, ebp
add rdi, 2
mov word [r14], cx
cmp rdi, 6
jne 0x140172ba5
mov rax, qword [rbx + 0x10]
mov r13d, 0xfffd
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140172c2a
cmp rax, qword [rbx + 8]
ja 0x140172c46
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x140172c46
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006af0
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x80], rax
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140172c7e
cmp rax, qword [rbx + 8]
jbe 0x140172c7e
movzx eax, bp
jmp 0x140172c9b
lea rcx, [rsp + 0x20]
call fcn.140004b06
mov eax, 7
jmp 0x140172d41
mov rdi, qword [rbx]
mov rcx, qword [rdi]
call fcn.1400012f8
mov ecx, 0xffff
cmp ax, cx
je 0x140172c99
add qword [rdi + 8], r15
jmp 0x140172c9b
mov eax, ebp
mov word [r14], ax
mov rdi, rbp
cmp ax, word [rdi + r12 + 0x1f02f0]
je 0x140172cbc
cmp ax, word [rdi + r12 + 0x1f0300]
jne 0x140172d5f
mov rax, qword [rbx + 0x10]
inc rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140172cd8
cmp rax, qword [rbx + 8]
jbe 0x140172cd8
movzx ecx, bp
jmp 0x140172cf8
mov rsi, qword [rbx]
mov rcx, qword [rsi]
call fcn.1400012f8
movzx ecx, ax
mov eax, 0xffff
cmp cx, ax
je 0x140172cf6
add qword [rsi + 8], r15
jmp 0x140172cf8
mov ecx, ebp
add rdi, 2
mov word [r14], cx
movzx eax, cx
cmp rdi, 0xa
jne 0x140172ca2
mov rax, qword [rbx + 0x10]
dec rax
mov qword [rbx + 0x10], rax
cmp qword [rbx + 8], rbp
je 0x140172d20
cmp rax, qword [rbx + 8]
ja 0x140172d3c
movzx eax, cx
sub ax, r15w
cmp ax, r13w
ja 0x140172d3c
mov rdx, qword [rbx]
dec qword [rdx + 8]
mov rdx, qword [rdx]
call fcn.140006af0
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.140004b06
movzx eax, al
xor eax, r15d
lea eax, [rax*4 + 3]
jmp 0x140172d41
Function at 0x1400079dc
Capabilities:
Set thread local storage value

Disassembly:
jmp 0x1401302a0
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
lea r9, [0x1401ee1d0]
mov edi, ecx
lea rdx, str.FlsSetValue
mov ecx, 3
lea r8, [0x1401ee1c8]
call fcn.14012fd18
mov rdx, rbx
mov ecx, edi
test rax, rax
je 0x1401302e0
call qword [case.0x1400eb33a.0]
jmp 0x1401302e6
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x140007b3a
Capabilities:
Set environment variable

Disassembly:
jmp 0x1401bcd88
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.1400039c2
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x1401bce12
cmp byte [rbp - 0x21], r15b
je 0x1401bce0d
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x1401bce48
call fcn.140008486
test eax, eax
jne 0x1401bce34
cmp byte [rbp - 0x21], r15b
je 0x1401bce2c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x1401bce48
cmp byte [rbp - 0x21], r15b
je 0x1401bce45
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.140008977
test eax, eax
jne 0x1401bcee8
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400039c2
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1401bce87
cmp byte [rbp - 0x21], r15b
je 0x1401bcebc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1401bcebc
call fcn.140008486
test eax, eax
jne 0x1401bcea8
cmp byte [rbp - 0x21], r15b
je 0x1401bcea1
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1401bcebc
cmp byte [rbp - 0x21], r15b
je 0x1401bceb9
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.140008977
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x1401bcee8
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x1401bceeb
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x1401bcef9
mov rcx, rdi
call fcn.140001320
cmp byte [rbp + 0x3f], r15b
je 0x1401bcf08
mov rcx, qword [rbp + 0x27]
call fcn.140001320
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 0x140007d65
Capabilities:
Parse pe header

Disassembly:
jmp 0x14019406c
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 0x140193e37
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140193e37
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140193e37
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140193e37
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140193e37
cmp dword [rcx + 0x84], 0xe
jbe 0x140193e37
cmp dword [rcx + 0xf8], 0
je 0x140193e37
mov ecx, ebx
call fcn.140193fbc
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.140193b38
nop
cmp dword [rbp + 0x20], 0
jne 0x140193e98
call fcn.14000204a
cmp eax, 1
jne 0x140193e88
xor dl, dl
jmp 0x140193e92
call fcn.140004043
test al, al
sete dl
cmp dword [rbp + 0x20], 0
je 0x140193ea3
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140193ee4
int3
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 1]
jmp 0x140193dc8

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

Disassembly:
jmp 0x1400eee5c
jmp 0x14010bb0c
lea r9, [rdx + rdx]
movabs r8, 0xcbf29ce484222325
xor edx, edx
test r9, r9
je 0x1400eee8e
movzx eax, byte [rcx + rdx]
movabs r10, 0x100000001b3
xor r8, rax
inc rdx
imul r8, r10
cmp rdx, r9
jb 0x1400eee71
mov rax, r8
ret
sub r8, rdx
mov rcx, rdx
sar r8, 1
mov rdx, r8
jmp 0x140005691
Function at 0x140008053
Capabilities:
Encrypt data using rc4 prga

Disassembly:
jmp 0x140172e00
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 + 0x1f0280]
je 0x140172e5b
cmp ax, word [r8 + rdi + 0x1f0288]
jne 0x140172f04
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140172e78
cmp rax, qword [rdx + 8]
jbe 0x140172e78
movzx ecx, r11w
jmp 0x140172e98
mov r9, qword [rdx]
mov rax, qword [r9 + 0x10]
cmp rax, qword [r9 + 8]
je 0x140172e95
movzx ecx, word [rax]
add rax, 2
mov qword [r9 + 0x10], rax
cmp cx, bp
jne 0x140172e98
mov ecx, r11d
add r8, 2
mov word [r10], cx
cmp r8, 6
jne 0x140172e3d
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 0x140172ec6
cmp rax, qword [rdx + 8]
ja 0x140172ee2
sub cx, bx
cmp cx, si
ja 0x140172ee2
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x140172ee2
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 0x140172f18
cmp rax, qword [rdx + 8]
jbe 0x140172f18
movzx r8d, r11w
jmp 0x140172f3a
lea rcx, [rsp + 0x20]
call fcn.14000821f
mov eax, 7
jmp 0x140172fe2
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx + 8]
je 0x140172f37
movzx r8d, word [rax]
add rax, 2
mov qword [rcx + 0x10], rax
cmp r8w, bp
jne 0x140172f3a
mov r8d, r11d
mov word [r10], r8w
mov r9, r11
cmp r8w, word [r9 + rdi + 0x1f0290]
je 0x140172f5b
cmp r8w, word [r9 + rdi + 0x1f02a0]
jne 0x140172ff7
mov rax, qword [rdx + 0x10]
inc rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140172f78
cmp rax, qword [rdx + 8]
jbe 0x140172f78
movzx ecx, r11w
jmp 0x140172f98
mov r8, qword [rdx]
mov rax, qword [r8 + 0x10]
cmp rax, qword [r8 + 8]
je 0x140172f95
movzx ecx, word [rax]
add rax, 2
mov qword [r8 + 0x10], rax
cmp cx, bp
jne 0x140172f98
mov ecx, r11d
add r9, 2
mov word [r10], cx
movzx r8d, cx
cmp r9, 0xa
jne 0x140172f41
mov rax, qword [rdx + 0x10]
dec rax
mov qword [rdx + 0x10], rax
cmp qword [rdx + 8], r11
je 0x140172fc1
cmp rax, qword [rdx + 8]
ja 0x140172fdd
sub cx, bx
cmp cx, si
ja 0x140172fdd
mov rcx, qword [rdx]
mov rax, qword [rcx + 0x10]
cmp rax, qword [rcx]
je 0x140172fdd
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.14000821f
movzx eax, al
xor eax, ebx
lea eax, [rax*4 + 3]
jmp 0x140172fe2
Function at 0x140016070
Capabilities:
Create process on windows

Disassembly:
jmp 0x140016070
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xf0
mov dword [rsp + 0x80], WSASetLastError
lea rax, [rsp + 0x88]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x100]
call fcn.1400019e7
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x80]
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
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140016140
lea rdx, str.CreateProcess_failed:
lea rcx, [0x140224ec0]
call fcn.140001bb3
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
mov edx, dword [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call fcn.140003909
mov qword [rsp + 0x60], rax
lea rdx, [0x140001406]
mov rcx, qword [rsp + 0x60]
call fcn.1400048d1
nop
jmp 0x140016157
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0xf0
pop rdi
ret
Function at 0x140044180
Capabilities:
Encode data using xor
Hash data using djb2

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x140044262
call fcn.140006c35
test al, al
jne 0x140044262
mov qword [rsp + 0x30], rsi
xor esi, esi
mov qword [rsp + 0x38], rdi
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rbx + rdi], sil
jne 0x1400441b2
mov r8, rdi
mov edx, 0x2e
mov rcx, rbx
call fcn.140005ed9
test rax, rax
je 0x1400441f7
sub rax, rbx
mov edx, 0x2e
mov r8, rax
mov rcx, rbx
call fcn.140005ed9
mov rsi, rax
test rax, rax
je 0x1400441f7
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 0x14004422b
nop dword [rax]
movzx ecx, byte [rbx]
call fcn.1400085f3
imul rdi, rdi, 0x21
movsx rcx, al
inc rbx
xor rdi, rcx
cmp rbx, rsi
jb 0x140044210
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