joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400010c0
Capabilities:
Connect socket
Convert ip address from string
Send data
Send data on socket

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov edi, 2
xor r8d, r8d
mov ecx, edi
mov edx, 1
call qword [sym.imp.WS2_32.dll_socket]
mov ecx, 0x1167
mov word [rsp + 0x20], di
mov rbx, rax
call qword [sym.imp.WS2_32.dll_htons]
lea r8, [rsp + 0x24]
mov ecx, edi
lea rdx, str.192.168.1.115
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_inet_pton]
mov r8d, send
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x140001175
xor r9d, r9d
lea rdx, str.Hello__World_
mov r8d, 0xd
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
js 0x140001175
lea rdx, str.Hello__World_
lea rcx, str.Message_sent:__s_n
call fcn.140001060
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
jmp 0x140001191
mov ecx, edi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, str.Failed_to_send_message._n
call fcn.140001010
mov eax, 1
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400011c0
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x140001a80
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001aca
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001aca
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001aca
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001aca
cmp dword [rcx + 0x84], 0xe
jbe 0x140001aca
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001acc
xor al, al
add rsp, 0x28
ret
Function at 0x1400022d0
Capabilities:
Check for debugger via api

Disassembly:
sub rsp, 0x68
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x28], rdx
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x58], rcx
mov qword [rsp + 0x60], r8
call fcn.140003850
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x50], rdx
lea rcx, [rsp + 0x48]
call fcn.1400036d0
mov rdx, qword [rsp + 0x30]
mov rcx, rax
call qword [sym.imp.kernel32.dll_CheckRemoteDebuggerPresent]
mov rcx, qword [rsp + 0x38]
mov edx, eax
call fcn.140002790
mov rax, qword [rsp + 0x40]
add rsp, 0x68
ret
Function at 0x14000cbf0
Capabilities:
Get common file path

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x498
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x410], 0xfffffffffffffffe
mov qword [rbp + 0x3f0], rcx
mov qword [rbp + 0x3f8], 0
mov qword [rbp + 0x400], 2
mov qword [rbp + 0x408], 0
mov r8d, 0x200
mov eax, 2
mov qword [rbp + 0x3e8], rax
xor esi, esi
xor edi, edi
xor ebx, ebx
cmp r8, 0x201
jae 0x14000cc90
jmp 0x14000cc7f
jae 0x14000cd4f
cmp r8, 0x201
jae 0x14000cc90
mov r14d, 0x200
lea r15, [rbp - 0x60]
mov r12, r8
jmp 0x14000cce7
sub r8, rbx
sub rdi, rbx
cmp rdi, r8
jae 0x14000ccbf
lea rcx, [rbp + 0x3f8]
mov rdx, rbx
call fcn.1400229f0
mov rsi, qword [rbp + 0x3f8]
mov rax, qword [rbp + 0x400]
mov qword [rbp + 0x3e8], rax
mov eax, 0xffffffff
cmp rsi, rax
mov ebx, 0xffffffff
cmovb rbx, rsi
mov qword [rbp + 0x408], rbx
mov rdi, rsi
mov r14, rbx
mov r15, qword [rbp + 0x3e8]
mov r12, rbx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_SetLastError]
mov ecx, r12d
mov rdx, r15
call qword [sym.imp.kernel32.dll_GetCurrentDirectoryW]
mov r13d, eax
test eax, eax
jne 0x14000cd10
call qword [sym.imp.kernel32.dll_GetLastError]
test eax, eax
jne 0x14000cdc9
mov r8d, r13d
cmp r12, r8
jne 0x14000cc70
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0x7a
jne 0x14000cdfd
add r12, r12
mov eax, 0xffffffff
cmp r12, rax
cmovae r12, rax
mov r8, r12
cmp r8, 0x201
jb 0x14000cc7f
jmp 0x14000cc90
cmp r14, r8
jb 0x14000ce17
lea rcx, [rbp + 0x3c8]
mov rdx, r15
call fcn.14000ed20
movups xmm0, xmmword [rbp + 0x3c8]
movups xmm1, xmmword [rbp + 0x3d8]
movaps xmmword [rbp + 0x3b0], xmm1
movaps xmmword [rbp + 0x3a0], xmm0
mov rsi, qword [rbp + 0x3f0]
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi], xmm0
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
je 0x14000cdb2
mov rcx, qword [rbp + 0x400]
add rdx, rdx
mov r8d, 2
call fcn.140004090
mov rax, rsi
add rsp, 0x498
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
call qword [sym.imp.kernel32.dll_GetLastError]
shl rax, 0x20
or rax, 2
mov rsi, qword [rbp + 0x3f0]
mov qword [rsi + 8], rax
movabs rax, 0x8000000000000000
mov qword [rsi], rax
mov rdx, qword [rbp + 0x3f8]
test rdx, rdx
jne 0x14000cd9d
jmp 0x14000cdb2
lea rcx, str.internal_error:_entered_unreachable_code_rustc_9b00956e56009bab2aa15d7bff10916599e3d6d6library_alloc_src_vecmod.rs
lea r8, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov edx, 0x28
call fcn.1400237c0
jmp 0x14000ce2c
lea rax, str.library_std_src_syspalwindowsmod.rsstrings_passed_to_WinAPI_cannot_contain_NULs
mov rcx, r8
mov rdx, r14
mov r8, rax
call fcn.140023ba0
ud2
Function at 0x140013310
Capabilities:
Write file on windows

Disassembly:
push rsi
sub rsp, 0xb0
mov rsi, rcx
movups xmm0, xmmword [0x140027860]
movaps xmmword [rsp + 0x60], xmm0
mov eax, 0xffffffff
cmp r8, rax
cmovb rax, r8
test r9, r9
je 0x140013348
mov rcx, qword [rsp + 0xe0]
mov qword [rsp + 0x88], rcx
test r9, r9
mov qword [rsp + 0x80], r9
lea rcx, [rsp + 0x88]
cmove rcx, r9
mov qword [rsp + 0x38], rcx
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rdx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x40], 0
mov rcx, rsi
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ntdll.dll_NtWriteFile]
cmp eax, 0x103
jne 0x1400133b1
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [rsp + 0x60]
cmp eax, 0x103
je 0x1400133e5
test eax, eax
js 0x1400133c5
mov rdx, qword [rsp + 0x68]
xor eax, eax
add rsp, 0xb0
pop rsi
ret
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlNtStatusToDosError]
mov edx, eax
shl rdx, 0x20
or rdx, 2
mov eax, 1
add rsp, 0xb0
pop rsi
ret
mov dword [rsp + 0x58], 0
mov byte [rsp + 0x5c], 0
lea rax, str.fatal_runtime_error:_I_O_error:_operation_failed_to_complete_synchronously_n
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], 1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x90], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x98], xmm0
lea rcx, [rsp + 0x58]
lea rdx, [rsp + 0x80]
call fcn.14000e950
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0x78]
call fcn.14000b2c0
mov ecx, 7
int 0x29
ud2
Function at 0x140020c70
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test r8, r8
je 0x140020cea
mov rax, rdx
mov rdx, qword [rsp + 0x70]
mov esi, ecx
shr esi, 8
lea r8, [rax + r8*2]
xor r11d, r11d
mov rbx, rax
movzx edi, byte [rax + 1]
add rax, 2
lea r10, [r11 + rdi]
cmp byte [rbx], sil
jne 0x140020ce0
cmp r11, r10
ja 0x140020d75
cmp r10, rdx
ja 0x140020d87
add r11, r9
xor ebx, ebx
nop dword [rax]
cmp rdi, rbx
je 0x140020ce2
lea r14, [rbx + 1]
cmp byte [r11 + rbx], cl
mov rbx, r14
jne 0x140020cc0
jmp 0x140020d57
ja 0x140020cea
mov r11, r10
cmp rax, r8
jne 0x140020c92
mov rdx, qword [rsp + 0x80]
test rdx, rdx
je 0x140020d5b
mov r8, qword [rsp + 0x78]
add rdx, r8
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea r10, [r8 + 1]
movzx r9d, byte [r8]
test r9b, r9b
js 0x140020d30
mov r8, r10
sub ecx, r9d
jns 0x140020d4e
jmp 0x140020d5d
cmp r10, rdx
je 0x140020d69
movzx r10d, byte [r8 + 1]
add r8, 2
and r9d, 0x7f
shl r9d, 8
or r9d, r10d
sub ecx, r9d
js 0x140020d5d
xor al, 1
cmp r8, rdx
jne 0x140020d10
jmp 0x140020d5d
xor eax, eax
jmp 0x140020d5d
mov al, 1
and al, 1
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
lea rcx, str.librarycore_srcunicodeprintable.rs
call fcn.1400236b0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r11
mov rdx, r10
call fcn.140023bb0
lea r8, str.librarycore_srcunicodeprintable.rs
mov rcx, r10
call fcn.140023ba0
int3

Function at 0x1400222d8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleHandleW]
test rax, rax
je 0x140022322
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140022322
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140022322
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140022322
cmp dword [rcx + 0x84], 0xe
jbe 0x140022322
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140022324
xor al, al
add rsp, 0x28
ret
Function at 0x7ff6f9c16c70
Capabilities:
Hash data using fnv

Disassembly:
push rsi
sub rsp, 0x30
mov rsi, rcx
movzx eax, byte [rdx]
mov edx, 0x811c9dc5
xor rdx, rax
movabs rax, 0x100000001b3
imul rdx, rax
xor rdx, 0xff
imul rdx, rax
call fcn.7ff6f9c4ef30
cmp rax, 1
jne 0x7ff6f9c16d27
mov rax, qword [rsi + 0x30]
cmp rdx, rax
jae 0x7ff6f9c16dc0
mov rax, qword [rsi + 0x20]
lea rcx, [rdx + rdx*4]
shl rcx, 4
mov rdx, qword [rax + rcx + 0x30]
mov rax, qword [rax + rcx + 0x40]
lea rax, [rax + rax*2]
lea rax, [rdx + rax*8]
mov qword [rsp + 0x28], rdx
xor edx, edx
lea r8, [rsp + 0x28]
test rdx, rdx
je 0x7ff6f9c16cf5
nop word [rax + rax]
cmp rdx, rsi
jne 0x7ff6f9c16d2f
mov rdx, qword [rsp + 0x28]
test rdx, rdx
cmovne rdx, r8
je 0x7ff6f9c16d27
mov rsi, qword [rdx]
cmp rsi, rax
je 0x7ff6f9c16d27
lea rcx, [rsi + 0x18]
mov qword [rdx], rcx
mov rdx, qword [rsi]
mov rsi, qword [rsi + 0x10]
shl rsi, 5
add rsi, rdx
test rdx, rdx
jne 0x7ff6f9c16cf0
jmp 0x7ff6f9c16cf5
xor eax, eax
add rsp, 0x30
pop rsi
ret
mov rax, qword [rdx]
mov rdx, qword [rdx + 0x10]
test rdx, rdx
je 0x7ff6f9c16db8
lea r8, [rax + rdx]
mov rsi, rax
jmp 0x7ff6f9c16d58
add rsi, 2
cmp rcx, r8
cmovne rcx, rsi
nop
mov rsi, rcx
cmp rcx, r8
je 0x7ff6f9c16d29
lea rcx, [rsi + 1]
movzx r9d, byte [rsi]
test r9b, r9b
jns 0x7ff6f9c16d50
cmp r9b, 0xe0
jb 0x7ff6f9c16d44
cmp r9b, 0xed
jne 0x7ff6f9c16d8e
cmp rcx, r8
je 0x7ff6f9c16d29
lea rcx, [rsi + 2]
cmp rcx, r8
je 0x7ff6f9c16d29
cmp byte [rsi + 1], 0x9f
ja 0x7ff6f9c16dd4
add rsi, 3
mov rcx, rsi
jmp 0x7ff6f9c16d50
add rsi, 2
cmp rcx, r8
cmove rsi, rcx
xor ecx, ecx
cmp rsi, r8
setne cl
add rcx, rsi
cmp r9b, 0xf0
jb 0x7ff6f9c16d50
xor esi, esi
cmp rcx, r8
setne sil
add rcx, rsi
jmp 0x7ff6f9c16d50
xor edx, edx
add rsp, 0x30
pop rsi
ret
lea r8, [0x7ff6f9d04bb0]
mov rcx, rdx
mov rdx, rax
call fcn.7ff6f9cedfa0
ud2
lea rcx, [0x7ff6f9d07150]
lea r8, [0x7ff6f9cfbc18]
mov edx, 0x23
call fcn.7ff6f9cee0a0
ud2
Function at 0x7ff6f9c4ed20
Capabilities:
Encode data using xor

Disassembly:
push r14
push rsi
push rdi
push rbx
mov r8, rcx
add qword [rcx + 0x10], 8
mov r10, qword [rcx + 0x40]
test r10, r10
je 0x7ff6f9c4ed69
mov eax, 8
mov r14d, 8
sub r14, r10
cmp r14, 8
cmovb rax, r14
cmp rax, 3
jbe 0x7ff6f9c4ed71
mov r11d, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rax
jb 0x7ff6f9c4ed83
jmp 0x7ff6f9c4ed9a
xor r14d, r14d
jmp 0x7ff6f9c4ee29
xor r9d, r9d
xor r11d, r11d
mov rcx, r9
or rcx, 1
cmp rcx, rax
jae 0x7ff6f9c4ed9a
movzx esi, word [rdx + r9]
lea ecx, [r9*8]
shl rsi, cl
or r11, rsi
or r9, 2
cmp r9, rax
jae 0x7ff6f9c4edb1
movzx eax, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rax, cl
or r11, rax
lea ecx, [r10*8]
shl r11, cl
or r11, qword [r8 + 0x38]
mov qword [r8 + 0x38], r11
cmp r10, 8
jbe 0x7ff6f9c4edd3
add r10, 8
jmp 0x7ff6f9c4ef1b
mov rdi, qword [r8 + 0x30]
mov rcx, qword [r8 + 0x28]
mov rax, qword [r8 + 0x18]
add rax, rcx
rol rcx, 0xd
xor rdi, r11
xor rcx, rax
rol rax, 0x20
mov rsi, qword [r8 + 0x20]
add rsi, rdi
rol rdi, 0x10
xor rdi, rsi
add rax, rdi
rol rdi, 0x15
xor rdi, rax
add rsi, rcx
rol rcx, 0x11
mov qword [r8 + 0x30], rdi
xor rcx, rsi
rol rsi, 0x20
mov qword [r8 + 0x28], rcx
mov qword [r8 + 0x20], rsi
xor rax, r11
mov qword [r8 + 0x18], rax
mov r9d, 8
sub r9, r14
mov r10d, r9d
and r10d, 7
and r9, 0xfffffffffffffff8
cmp r14, r9
jae 0x7ff6f9c4eeb3
mov rsi, qword [r8 + 0x30]
mov rax, qword [r8 + 0x18]
mov rcx, qword [r8 + 0x20]
mov rdi, qword [r8 + 0x28]
nop word cs:[rax + rax]
add rax, rdi
rol rdi, 0xd
mov rbx, qword [rdx + r14]
xor rdi, rax
rol rax, 0x20
xor rsi, rbx
add rcx, rsi
rol rsi, 0x10
xor rsi, rcx
add rax, rsi
rol rsi, 0x15
add rcx, rdi
rol rdi, 0x11
xor rdi, rcx
rol rcx, 0x20
xor rsi, rax
xor rax, rbx
add r14, 8
cmp r14, r9
jb 0x7ff6f9c4ee60
mov qword [r8 + 0x30], rsi
mov qword [r8 + 0x18], rax
mov qword [r8 + 0x28], rdi
mov qword [r8 + 0x20], rcx
cmp r10d, 3
jbe 0x7ff6f9c4eed1
mov r11d, dword [rdx + r14]
mov r9d, 4
mov rax, r9
or rax, 1
cmp rax, r10
jb 0x7ff6f9c4eee3
jmp 0x7ff6f9c4eefd
xor r9d, r9d
xor r11d, r11d
mov rax, r9
or rax, 1
cmp rax, r10
jae 0x7ff6f9c4eefd
lea rax, [r9 + r14]
movzx eax, word [rdx + rax]
lea ecx, [r9*8]
shl rax, cl
or r11, rax
or r9, 2
cmp r9, r10
jae 0x7ff6f9c4ef17
add r14, r9
movzx eax, byte [rdx + r14]
shl r9d, 3
mov ecx, r9d
shl rax, cl
or r11, rax
mov qword [r8 + 0x38], r11
mov qword [r8 + 0x40], r10
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x7ff6f9c6e530
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
mov r9, rcx
add qword [rcx + 0x10], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x7ff6f9c6e577
mov r15d, 8
sub r15, r11
cmp r8, r15
mov rax, r15
cmovb rax, r8
cmp rax, 3
jbe 0x7ff6f9c6e57f
mov r14d, dword [rdx]
mov r10d, 4
mov rcx, r10
or rcx, 1
cmp rcx, rax
jb 0x7ff6f9c6e591
jmp 0x7ff6f9c6e5a8
xor r15d, r15d
jmp 0x7ff6f9c6e635
xor r10d, r10d
xor r14d, r14d
mov rcx, r10
or rcx, 1
cmp rcx, rax
jae 0x7ff6f9c6e5a8
movzx edi, word [rdx + r10]
lea ecx, [r10*8]
shl rdi, cl
or r14, rdi
or r10, 2
cmp r10, rax
jae 0x7ff6f9c6e5bf
movzx eax, byte [rdx + r10]
shl r10d, 3
mov ecx, r10d
shl rax, cl
or r14, rax
lea ecx, [r11*8]
shl r14, cl
or r14, qword [r9 + 0x38]
mov qword [r9 + 0x38], r14
cmp r15, r8
jbe 0x7ff6f9c6e5df
add r11, r8
jmp 0x7ff6f9c6e71a
mov rdi, qword [r9 + 0x30]
mov rcx, qword [r9 + 0x28]
mov rax, qword [r9 + 0x18]
add rax, rcx
rol rcx, 0xd
xor rdi, r14
xor rcx, rax
rol rax, 0x20
mov rsi, qword [r9 + 0x20]
add rsi, rdi
rol rdi, 0x10
xor rdi, rsi
add rax, rdi
rol rdi, 0x15
xor rdi, rax
add rsi, rcx
rol rcx, 0x11
mov qword [r9 + 0x30], rdi
xor rcx, rsi
rol rsi, 0x20
mov qword [r9 + 0x28], rcx
mov qword [r9 + 0x20], rsi
xor rax, r14
mov qword [r9 + 0x18], rax
sub r8, r15
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r15, r8
jae 0x7ff6f9c6e6b3
mov rax, qword [r9 + 0x30]
mov rsi, qword [r9 + 0x18]
mov rcx, qword [r9 + 0x20]
mov rdi, qword [r9 + 0x28]
nop dword [rax + rax]
add rsi, rdi
rol rdi, 0xd
mov rbx, qword [rdx + r15]
xor rdi, rsi
rol rsi, 0x20
xor rax, rbx
add rcx, rax
rol rax, 0x10
xor rax, rcx
add rsi, rax
rol rax, 0x15
add rcx, rdi
rol rdi, 0x11
xor rdi, rcx
rol rcx, 0x20
xor rax, rsi
xor rsi, rbx
add r15, 8
cmp r15, r8
jb 0x7ff6f9c6e660
mov qword [r9 + 0x30], rax
mov qword [r9 + 0x18], rsi
mov qword [r9 + 0x28], rdi
mov qword [r9 + 0x20], rcx
cmp r11d, 3
jbe 0x7ff6f9c6e6d1
mov esi, dword [rdx + r15]
mov r8d, 4
mov rax, r8
or rax, 1
cmp rax, r11
jb 0x7ff6f9c6e6e2
jmp 0x7ff6f9c6e6fc
xor r8d, r8d
xor esi, esi
mov rax, r8
or rax, 1
cmp rax, r11
jae 0x7ff6f9c6e6fc
lea rax, [r8 + r15]
movzx eax, word [rdx + rax]
lea ecx, [r8*8]
shl rax, cl
or rsi, rax
or r8, 2
cmp r8, r11
jae 0x7ff6f9c6e716
add r15, r8
movzx eax, byte [rdx + r15]
shl r8d, 3
mov ecx, r8d
shl rax, cl
or rsi, rax
mov qword [r9 + 0x38], rsi
mov qword [r9 + 0x40], r11
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x7ff6f9ca0470
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov r11, rdx
mov r14, qword [rsp + 0x90]
mov r15, qword [rsp + 0x88]
mov rdx, qword [rsp + 0x80]
mov ebp, ecx
shr ebp, 8
lea r8, [r11 + r8*2]
xor eax, eax
mov rdi, r11
movzx esi, byte [r11 + 1]
add r11, 2
lea r10, [rax + rsi]
cmp byte [rdi], bpl
jne 0x7ff6f9ca04f0
cmp r10, rax
jb 0x7ff6f9ca0564
cmp r10, rdx
ja 0x7ff6f9ca0578
add rax, r9
xor edi, edi
nop
cmp rsi, rdi
je 0x7ff6f9ca04f2
lea rbx, [rdi + 1]
cmp byte [rax + rdi], cl
mov rdi, rbx
jne 0x7ff6f9ca04d0
jmp 0x7ff6f9ca0553
ja 0x7ff6f9ca04fa
mov rax, r10
cmp r11, r8
jne 0x7ff6f9ca04a2
add r14, r15
movzx ecx, cx
mov al, 1
nop word cs:[rax + rax]
lea rbx, [r15 + 1]
movzx edx, byte [r15]
test dl, dl
js 0x7ff6f9ca0530
mov r15, rbx
sub ecx, edx
jns 0x7ff6f9ca054a
jmp 0x7ff6f9ca0555
cmp rbx, r14
je 0x7ff6f9ca0589
movzx ebp, byte [r15 + 1]
add r15, 2
and edx, 0x7f
shl edx, 8
or edx, ebp
sub ecx, edx
js 0x7ff6f9ca0555
xor al, 1
cmp r15, r14
jne 0x7ff6f9ca0510
jmp 0x7ff6f9ca0555
xor eax, eax
and al, 1
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea r8, [0x7ff6f9d08930]
mov rcx, rax
mov rdx, r10
call fcn.7ff6f9cee090
ud2
lea r8, [0x7ff6f9d08930]
mov rcx, r10
call fcn.7ff6f9cee030
ud2
lea rcx, [0x7ff6f9d167a8]
lea r8, [0x7ff6f9d08948]
mov edx, 0x2b
call fcn.7ff6f9cee040
ud2
Function at 0x7ff6f9ca7470
Capabilities:
Hash data using fnv

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
mov r14, rdx
mov r10d, dword [rcx + 8]
xor eax, eax
cmp r10, 2
sete al
xor rax, qword [rdx]
movabs r8, 0x1efac7090aef4a21
imul rax, r8
movabs r9, 0x100000001b3
cmp r10, 2
jne 0x7ff6f9ca74dd
mov ebx, dword [rcx]
movzx ecx, bh
mov rdx, rbx
movzx ebp, bl
shr ebx, 0x10
movzx ebx, bl
shr rdx, 0x18
xor rax, rbp
imul rax, r9
xor rax, rcx
imul rax, r9
xor rax, rbx
imul rax, r9
xor rax, rdx
imul rax, r9
jmp 0x7ff6f9ca75db
mov edx, dword [rcx]
mov ebx, dword [rcx + 4]
movzx ebp, dh
mov rdi, rdx
movzx esi, dl
shr edx, 0x10
movzx edx, dl
shr rdi, 0x18
xor rax, rsi
imul rax, r9
xor rax, rbp
imul rax, r9
xor rax, rdx
imul rax, r9
xor rax, rdi
imul rax, r9
movzx edx, bh
mov rsi, rbx
movzx r11d, bl
mov edi, ebx
shr edi, 0x10
movzx edi, dil
shr rsi, 0x18
xor r11, rax
imul r11, r9
xor r11, rdx
imul r11, r9
xor r11, rdi
imul r11, r9
xor r11, rsi
imul r11, r9
xor r11, r10
imul r11, r8
cmp r10d, 1
jne 0x7ff6f9ca7583
mov edx, dword [rcx + 0xc]
movzx eax, dh
mov rbp, rdx
movzx ebx, dl
shr edx, 0x10
movzx edx, dl
shr rbp, 0x18
xor r11, rbx
imul r11, r9
xor r11, rax
imul r11, r9
xor r11, rdx
imul r11, r9
xor r11, rbp
imul r11, r9
mov edx, dword [rcx + 0x10]
movzx eax, dh
mov rbp, rdx
movzx ebx, dl
shr edx, 0x10
movzx edx, dl
shr rbp, 0x18
xor rbx, r11
imul rbx, r9
xor rbx, rax
imul rbx, r9
xor rbx, rdx
imul rbx, r9
xor rbx, rbp
imul rbx, r9
movzx ecx, byte [rcx + 0x14]
xor edx, edx
cmp rcx, 6
setne dl
xor rdx, rbx
imul rdx, r8
mov rax, rdx
xor rax, rcx
imul rax, r8
cmp rcx, 6
cmove rax, rdx
mov qword [r14], rax
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x7ff6f9ccc1c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rsi, rcx
mov rdi, qword [rcx]
test rdi, rdi
je 0x7ff6f9ccc212
mov r11, qword [rsi + 8]
mov r9, qword [rsi + 0x10]
cmp r9, r11
jae 0x7ff6f9ccc212
movzx eax, byte [rdi + r9]
cmp eax, 0x49
je 0x7ff6f9ccc22d
cmp eax, 0x42
jne 0x7ff6f9ccc212
lea rcx, [r9 + 1]
mov qword [rsi + 0x10], rcx
cmp rcx, r11
jae 0x7ff6f9ccc26a
cmp byte [rdi + rcx], 0x5f
jne 0x7ff6f9ccc26a
lea rax, [r9 + 2]
mov qword [rsi + 0x10], rax
xor eax, eax
jmp 0x7ff6f9ccc362
mov rcx, rsi
xor edx, edx
call fcn.7ff6f9cc7280
mov edi, eax
add dil, dil
mov eax, edi
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r14
ret
inc r9
mov qword [rsi + 0x10], r9
mov rcx, rsi
xor edx, edx
call fcn.7ff6f9cc7280
test al, al
jne 0x7ff6f9ccc265
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x7ff6f9ccc2dc
lea rdx, [0x7ff6f9d13093]
mov r8d, 1
call fcn.7ff6f9c9d8e0
test al, al
je 0x7ff6f9ccc2dc
mov dil, 2
jmp 0x7ff6f9ccc221
xor eax, eax
mov r10d, 0x3e
nop word cs:[rax + rax]
mov r8b, 1
cmp rcx, r11
jae 0x7ff6f9ccc37e
movzx edx, byte [rdi + rcx]
cmp dl, 0x5f
je 0x7ff6f9ccc356
lea ebx, [rdx - 0x30]
cmp bl, 0xa
jb 0x7ff6f9ccc2bf
lea ebx, [rdx - 0x61]
cmp bl, 0x1a
jae 0x7ff6f9ccc2ae
add dl, 0xa9
jmp 0x7ff6f9ccc2bd
lea ebx, [rdx - 0x41]
cmp bl, 0x1a
jae 0x7ff6f9ccc37e
add dl, 0xe3
mov ebx, edx
inc rcx
mov qword [rsi + 0x10], rcx
mul r10
jo 0x7ff6f9ccc37e
movzx edx, bl
add rax, rdx
jae 0x7ff6f9ccc280
jmp 0x7ff6f9ccc37e
mov rax, qword [rsi]
mov dil, 1
test rax, rax
je 0x7ff6f9ccc221
xor ebx, ebx
lea r14, [0x7ff6f9d1346e]
nop word cs:[rax + rax]
mov rcx, qword [rsi + 0x10]
cmp rcx, qword [rsi + 8]
jae 0x7ff6f9ccc314
cmp byte [rax + rcx], 0x45
je 0x7ff6f9ccc40c
sub rbx, 1
jb 0x7ff6f9ccc339
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x7ff6f9ccc339
mov r8d, 2
mov rdx, r14
call fcn.7ff6f9c9d8e0
test al, al
jne 0x7ff6f9ccc265
mov rcx, rsi
call fcn.7ff6f9ccc420
test al, al
jne 0x7ff6f9ccc265
mov rax, qword [rsi]
test rax, rax
jne 0x7ff6f9ccc300
jmp 0x7ff6f9ccc221
inc rcx
mov qword [rsi + 0x10], rcx
inc rax
je 0x7ff6f9ccc37e
cmp rax, r9
jae 0x7ff6f9ccc37b
mov ecx, dword [rsi + 0x18]
inc ecx
cmp ecx, 0x1f4
jbe 0x7ff6f9ccc3cf
mov bl, 1
xor r8d, r8d
jmp 0x7ff6f9ccc380
mov r8b, 1
xor ebx, ebx
mov rcx, qword [rsi + 0x20]
test rcx, rcx
je 0x7ff6f9ccc3be
lea rax, [0x7ff6f9d13439]
lea rdx, [0x7ff6f9d13420]
test r8b, r8b
cmovne rdx, rax
xor r8b, 1
movzx eax, r8b
lea r8, [rax + rax*8]
or r8, 0x10
call fcn.7ff6f9c9d8e0
mov dil, 2
test al, al
jne 0x7ff6f9ccc221
mov qword [rsi], 0
mov byte [rsi + 8], bl
xor edi, edi
jmp 0x7ff6f9ccc221
cmp qword [rsi + 0x20], 0
je 0x7ff6f9ccc3c8
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x20], xmm0
mov qword [rsi + 0x10], rax
mov dword [rsi + 0x18], ecx
mov rcx, rsi
call fcn.7ff6f9ccc1c0
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rsp + 0x30]
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
jmp 0x7ff6f9ccc223
inc rcx
mov qword [rsi + 0x10], rcx
jmp 0x7ff6f9ccc221
Function at 0x7ff6f9cd3c60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rdi, rdx
movzx ebx, byte [rdx + 0x39]
xor r15d, r15d
cmp bl, 1
setne dl
mov eax, 0
sbb eax, eax
mov r14, rcx
or al, dl
movzx ecx, al
cmp cl, 0xff
je 0x7ff6f9cd3c93
test ecx, ecx
jne 0x7ff6f9cd3ce2
movzx r15d, byte [rdi + 0x38]
cmp al, 0xff
je 0x7ff6f9cd3ca0
test ecx, ecx
jne 0x7ff6f9cd3ce2
mov rcx, rdi
call fcn.7ff6f9cd3b40
movzx r10d, al
test bl, bl
jne 0x7ff6f9cd3ce9
lea rax, [rdi + 0x10]
xor esi, esi
cmp byte [rdi + 0x10], 6
cmove rax, rsi
je case.0x7ff6f9cd3cd6.2
movzx ecx, byte [rax]
mov esi, 6
lea rdx, [0x7ff6f9cd3e5c]
movsxd rcx, dword [rdx + rcx*4]
add rcx, rdx
jmp rcx
mov rsi, qword [rax + 0x10]
add rsi, 4
jmp case.0x7ff6f9cd3cd6.2
xor r10d, r10d
test bl, bl
je 0x7ff6f9cd3cb0
xor esi, esi
movzx eax, r15b
lea rcx, [r10 + rax]
add rcx, rsi
mov rdx, qword [rdi + 8]
cmp rdx, rcx
jb 0x7ff6f9cd3e3e
mov r11, qword [rdi]
lea r9, [r11 + rcx]
movzx r8d, byte [rdi + 0x10]
cmp rdx, rcx
jne 0x7ff6f9cd3d1b
xor edi, edi
jmp 0x7ff6f9cd3d98
add rsi, r10
add rsi, rax
sub rsi, rdx
inc rsi
lea rax, [rdx + r11]
dec rax
xor edi, edi
cmp r8b, 3
jae 0x7ff6f9cd3d60
nop word cs:[rax + rax]
cmp byte [rax], 0x5c
je 0x7ff6f9cd3d7b
inc rsi
dec rax
cmp rsi, 1
jne 0x7ff6f9cd3d40
jmp 0x7ff6f9cd3d98
movzx ebx, byte [rax]
cmp ebx, 0x2f
je 0x7ff6f9cd3d7b
cmp ebx, 0x5c
je 0x7ff6f9cd3d7b
inc rsi
dec rax
cmp rsi, 1
jne 0x7ff6f9cd3d60
jmp 0x7ff6f9cd3d98
neg rsi
add rcx, rsi
inc rcx
cmp rdx, rcx
jb 0x7ff6f9cd3e4c
add r11, rcx
mov edi, 1
mov r9, r11
sub rdx, rcx
je 0x7ff6f9cd3dc2
mov al, 9
cmp rdx, 2
je 0x7ff6f9cd3dc6
cmp rdx, 1
jne 0x7ff6f9cd3dd6
cmp byte [r9], 0x2e
jne 0x7ff6f9cd3dd6
xor eax, eax
cmp r8b, 3
setae al
lea eax, [rax + rax*2]
add eax, 7
jmp 0x7ff6f9cd3dd6
mov al, 0xa
jmp 0x7ff6f9cd3dd6
cmp byte [r9], 0x2e
jne 0x7ff6f9cd3dd6
cmp byte [r9 + 1], 0x2e
sete al
xor al, 9
add rdi, rdx
mov qword [r14], rdi
mov qword [r14 + 8], r9
mov qword [r14 + 0x10], rdx
mov byte [r14 + 0x18], al
add rsp, 0x20
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 8
jmp case.0x7ff6f9cd3cd6.2
mov rcx, qword [rax + 0x10]
mov rax, qword [rax + 0x20]
lea rdx, [rax + 1]
test rax, rax
cmove rdx, rax
lea rsi, [rcx + rdx]
add rsi, 2
jmp case.0x7ff6f9cd3cd6.2
mov esi, 2
jmp case.0x7ff6f9cd3cd6.2
lea r8, [0x7ff6f9d147b0]
call fcn.7ff6f9cee020
ud2
lea r8, [0x7ff6f9d147c8]
call fcn.7ff6f9cee020
ud2