joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800841e0
Capabilities:
Enumerate threads
Suspend thread

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1800c0280]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor esi, esi
mov r14d, edx
mov rbx, rcx
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
xor edx, edx
mov ebp, r8d
lea ecx, [rsi + 4]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18008430a
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rax
call sub.KERNEL32.dll_Thread32First
test eax, eax
je 0x180084301
nop word [rax + rax]
cmp dword [rsp + 0x20], 0x10
jb 0x1800842e4
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
cmp dword [rsp + 0x2c], eax
jne 0x1800842e4
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [rsp + 0x28], eax
je 0x1800842e4
mov rdx, qword [rbx]
test rdx, rdx
jne 0x1800842a2
mov dword [rbx + 8], 0x80
mov r8d, 0x200
mov rcx, qword [0x1800c1520]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
mov rdx, rax
test rax, rax
je 0x180084301
jmp 0x1800842d7
mov eax, dword [rbx + 8]
cmp dword [rbx + 0xc], eax
jb 0x1800842d7
mov rcx, qword [0x1800c1520]
lea r9d, [rax + rax]
mov r8, rdx
shl r9, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov rdx, rax
test rax, rax
je 0x180084301
mov eax, dword [rbx + 8]
add eax, eax
mov qword [rbx], rdx
mov dword [rbx + 8], eax
mov ecx, dword [rbx + 0xc]
mov eax, dword [rsp + 0x28]
mov dword [rdx + rcx*4], eax
inc dword [rbx + 0xc]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x1c
mov rcx, rdi
call sub.KERNEL32.dll_Thread32Next
test eax, eax
jne 0x180084250
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], rsi
je 0x180084363
cmp dword [rbx + 0xc], esi
jbe 0x180084363
nop dword [rax]
nop dword [rax + rax]
mov rax, qword [rbx]
xor edx, edx
mov ecx, esi
mov r8d, dword [rax + rcx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rdi, rax
test rax, rax
je 0x18008435c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SuspendThread]
mov r8d, ebp
mov edx, r14d
mov rcx, rdi
call fcn.180084880
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
cmp esi, dword [rbx + 0xc]
jb 0x180084320
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180086230
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x180084a30
Capabilities:
Resume thread

Disassembly:
push rdi
sub rsp, 0x20
mov r8, qword [rcx]
mov rdi, rcx
test r8, r8
je 0x180084aa1
mov qword [rsp + 0x30], rbx
xor ebx, ebx
cmp dword [rcx + 0xc], ebx
jbe 0x180084a8d
mov qword [rsp + 0x38], rsi
mov rax, qword [rdi]
xor edx, edx
mov r8d, dword [rax + rbx*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x180084a7e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, dword [rdi + 0xc]
jb 0x180084a52
mov r8, qword [rdi]
mov rsi, qword [rsp + 0x38]
mov rcx, qword [0x1800c1520]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180084b60
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
push r14
push r15
sub rsp, 0x80
mov rdi, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov r14, qword [rsp + 0x28]
cmp rdi, 0x40000000
jbe 0x180084b9b
lea rax, [rdi - 0x40000000]
cmp r14, rax
cmovb r14, rax
mov rsi, qword [0x1800c4a98]
lea r15, [rdi + 0x40000000]
cmp qword [rsp + 0x30], r15
cmovbe r15, qword [rsp + 0x30]
sub r15, 0xfff
test rsi, rsi
je 0x180084bdd
cmp rsi, r14
jb 0x180084bd5
cmp rsi, r15
jae 0x180084bd5
cmp qword [rsi + 8], 0
jne 0x180084d9d
mov rsi, qword [rsi]
test rsi, rsi
jne 0x180084bc0
mov qword [rsp + 0xa0], rbx
mov rbx, rdi
mov qword [rsp + 0xa8], rbp
cmp rdi, r14
jb 0x180084c62
nop word [rax + rax]
mov ebp, dword [rsp + 0x48]
mov rax, rbx
xor edx, edx
div rbp
sub rbx, rdx
sub rbx, rbp
cmp rbx, r14
jb 0x180084c59
nop word [rax + rax]
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180084c59
cmp dword [rsp + 0x70], 0x10000
je 0x180084cdb
mov rbx, qword [rsp + 0x58]
cmp rbx, rbp
jb 0x180084c59
sub rbx, rbp
cmp rbx, r14
jae 0x180084c20
test rsi, rsi
jne 0x180084d46
cmp rdi, r15
ja 0x180084d8d
nop dword [rax + rax]
mov ebp, dword [rsp + 0x48]
xor edx, edx
mov rax, rdi
mov ebx, ebp
div rbp
mov eax, ebp
sub rax, rdx
add rax, rdi
mov rdi, rax
cmp rax, r15
ja 0x180084d8d
mov r8d, 0x30
lea rdx, [rsp + 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x180084d8d
cmp dword [rsp + 0x70], 0x10000
je 0x180084d14
xor edx, edx
lea edi, [rbp - 1]
add rdi, qword [rsp + 0x68]
add rdi, qword [rsp + 0x50]
mov rax, rdi
div rbx
sub rdi, rdx
cmp rdi, r15
jbe 0x180084c92
jmp 0x180084d8d
test rbx, rbx
je 0x180084c59
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180084d46
cmp rbx, r14
jae 0x180084c00
jmp 0x180084c62
test rdi, rdi
je 0x180084d8d
mov edx, 0x1000
mov r9d, 0x40
mov r8d, 0x3000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rsi, rax
test rax, rax
jne 0x180084d46
cmp rdi, r15
jbe 0x180084c70
jmp 0x180084d8d
xor eax, eax
lea rcx, [rsi + 0x40]
mov rdx, rcx
mov qword [rsi + 8], rax
sub rdx, rsi
mov dword [rsi + 0x10], eax
nop dword [rax]
mov rax, qword [rsi + 8]
add rdx, 0x40
mov qword [rcx], rax
mov qword [rsi + 8], rcx
add rcx, 0x40
cmp rdx, 0xfc0
jbe 0x180084d60
mov rax, qword [0x1800c4a98]
mov qword [rsi], rax
mov qword [0x1800c4a98], rsi
mov rbp, qword [rsp + 0xa8]
mov rbx, qword [rsp + 0xa0]
mov rax, rsi
mov rsi, qword [rsp + 0xb0]
add rsp, 0x80
pop r15
pop r14
pop rdi
ret
Function at 0x180085990
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x1800859ca
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1800859cf
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x180085a18
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x180099450]
cmp byte [rcx + rax], 0
je 0x180085a18
dec r8
sub rdx, 1
jne 0x1800859fe
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140012880
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp byte [0x140086a5b], 0
jne 0x140012892
call int.140012838
lea rcx, str.________ML64____options___filelist____link_linkoptions___n_n_Bl_linker__Use_alternate_linker___________Sf_Generate_first_pass_listing_n_c_Assemble_without_linking________________Sl_width__Set_line_width_n_Cp_Preserve_case_of_user_identifiers______Sn_Suppress_symbol_table_listing_n_Cx_Preserve_case_in_publics__externs______Sp_length__Set_page_length_n_D_name__text__Define_text_macro__________Ss_string__Set_subtitle_n_EP_Output_preprocessed_listing_to_stdout__St_string__Set_title_n_F__hex__Set_stack_size__bytes_____________Sx_List_false_conditionals_n_Fe_file__Name_executable__________________Ta_file__Assemble_non_.ASM_file_n_Fl_file__Generate_listing_________________w_Same_as__W0__WX_n_Fm_file__Generate_map_____________________WX_Treat_warnings_as_errors_n_Fo_file__Name_object_file_________________W_number__Set_warning_level_n_Fr_file__Generate_limited_browser_info____X_Ignore_INCLUDE_environment_path_n_FR_file__Generate_full_browser_info_______Zd_Add_line_number_debug_info_n_I_name__Add_include_path__________________Zf_Make_all_symbols_public_n_link__linker_options_and_libraries________Zi_Add_symbolic_debug_info_n_nologo_Suppress_copyright_message_________Zp_n__Set_structure_alignment_n_Sa_Maximize_source_listing________________Zs_Perform_syntax_check_only_n_ZH:SHA_256_Use_SHA256_for_checksum_n____in_debug_info__experimental__n_Gy____separate_functions_for_linker_n_errorReport:_option__Deprecated._Report_internal_assembler_errors_to_Microsoft_n____none___do_not_send_report_n____prompt___prompt_to_immediately_send_report_n____queue___at_next_admin_logon__prompt_to_send_report_n____send___send_report_automatically_n
call fcn.14002ebfc
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3

Function at 0x1400128a8
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp byte [0x140086a5b], 0
jne 0x1400128ba
call int.140012838
lea rcx, str.usage:_ML64___options___filelist____link_linkoptions__nRun__ML64__help__or__ML64_____for_more_info_n
call fcn.14002ebfc
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x1400036a0
Capabilities:
Hash data using fnv

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rbx, qword [rcx]
mov qword [rsp + 0x50], rbx
movsxd rdx, dword [rdx]
mov rcx, qword [rbx + 0x18]
mov rcx, qword [rcx + 0x40]
call fcn.14003dc30
mov rdx, rax
mov rcx, qword [rbx + 0x10]
test byte [rax + 8], 0xf
jne 0x1400036e7
mov byte [rcx + 8], 0
jmp 0x1400036f4
mov rax, qword [rax]
mov qword [rcx], rax
movzx eax, byte [rdx + 8]
mov byte [rcx + 8], al
add qword [rbx + 0x10], 0x10
mov edx, 0xffffffff
mov rcx, rbx
call fcn.140012450
mov r10, rax
mov r13, rax
shr r13, 0x38
mov rcx, rax
shr rcx, 0x30
movzx r12d, cl
mov rcx, rax
shr rcx, 0x28
movzx r14d, cl
mov rdx, rax
shr rdx, 0x20
movzx ebp, dl
mov rdx, rax
shr rdx, 0x18
movzx esi, dl
shr rax, 0x10
movzx edi, al
mov rax, r10
shr rax, 8
movzx ebx, al
movzx r15d, r10b
mov edx, 0xfffffffe
mov rcx, qword [rsp + 0x50]
call fcn.140011e80
nop
movabs rax, 0xcbf29ce484222325
xor r15, rax
movabs rax, 0x100000001b3
imul r15, rax
xor r15, rbx
imul r15, rax
xor r15, rdi
imul r15, rax
xor r15, rsi
imul r15, rax
xor r15, rbp
imul r15, rax
xor r15, r14
imul r15, rax
xor r15, r12
imul r15, rax
xor r15, r13
imul rax, r15
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x140007a90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
push r14
sub rsp, 0x68
movabs rax, 0xfffffffffffffff
mov qword [rsp + 0x20], rcx
mov r14, rcx
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140007acb
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
mov qword [rsp + 0x90], rbp
lea rax, [rdx - 1]
mov rbp, qword [r14 + 8]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x60], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x58], rdi
shl rbx, cl
mov qword [rsp + 0x40], r15
lea r15, [r14 + 0x18]
mov rcx, r15
lea rdx, [rbx + rbx]
call fcn.140005fe0
mov qword [r14 + 0x38], rbx
lea rax, [rbx - 1]
mov qword [r14 + 0x30], rax
mov rdi, qword [r14 + 8]
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x140007c8f
mov qword [rsp + 0x50], r12
movabs rax, 0xcbf29ce484222325
mov qword [rsp + 0x48], r13
movabs r10, 0x100000001b3
nop word [rax + rax]
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movaps xmmword [rsp + 0x30], xmm0
test r8, r8
je 0x140007b84
mov r9, qword [rsp + 0x30]
nop dword [rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r10
cmp rdx, r8
jb 0x140007b70
mov r13, qword [r14 + 0x30]
and r13, rax
shl r13, 4
add r13, qword [r15]
mov r12, qword [r13]
cmp r12, rbp
jne 0x140007ba8
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x140007c6b
mov rbx, qword [r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x140007bf3
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140007bf3
mov r8, qword [rbx]
cmp r8, rdi
je 0x140007bed
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x140007c61
mov r14, rbx
cmp r12, rbx
je 0x140007c37
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x30], xmm0
mov r15, qword [rsp + 0x38]
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x140007c32
mov rdx, qword [rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140007cae
cmp r12, rbx
jne 0x140007c10
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
mov r14, qword [rsp + 0x20]
movabs r10, 0x100000001b3
lea r15, [r14 + 0x18]
mov rdi, rsi
movabs rax, 0xcbf29ce484222325
cmp rsi, rbp
jne 0x140007b50
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x90]
mov r15, qword [rsp + 0x40]
add rsp, 0x68
pop r14
pop rbx
ret
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x140007c5c
Function at 0x140007db0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x30
movups xmm0, xmmword [r8 + 0x10]
mov r11, qword [r8 + 0x18]
mov rdi, rdx
xor edx, edx
mov r10, rcx
movaps xmmword [rsp + 0x20], xmm0
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140007e03
mov rcx, qword [rsp + 0x20]
movabs rbx, 0x100000001b3
nop
movzx eax, byte [rdx + rcx]
inc rdx
xor r9, rax
imul r9, rbx
cmp rdx, r11
jb 0x140007df0
mov rdx, qword [r10 + 0x30]
and rdx, r9
shl rdx, 4
add rdx, qword [r10 + 0x18]
mov rax, qword [rdx]
cmp qword [rdx + 8], r8
jne 0x140007e37
cmp rax, r8
jne 0x140007e2d
mov rax, qword [r10 + 8]
mov qword [rdx], rax
mov qword [rdx + 8], rax
jmp 0x140007e42
mov rax, qword [r8 + 8]
mov qword [rdx + 8], rax
jmp 0x140007e42
cmp rax, r8
jne 0x140007e42
mov rax, qword [r8]
mov qword [rdx], rax
mov rbx, qword [r8]
mov edx, gethostname
dec qword [r10 + 0x10]
mov rcx, qword [r8 + 8]
mov qword [rcx], rbx
mov rcx, qword [r8 + 8]
mov qword [rbx + 8], rcx
mov rcx, r8
call fcn.140127d20
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x1400114d0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x50
movabs rax, 0xfffffffffffffff
mov ebx, 1
bsr rcx, rax
mov eax, ebx
shl rax, cl
cmp rdx, rax
jbe 0x140011501
lea rcx, str.invalid_hash_bucket_count
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
int3
lea rax, [rdx - 1]
mov qword [rsp + 0x60], rbp
mov rbp, qword [0x140171c98]
or rax, rbx
bsr rcx, rax
mov qword [rsp + 0x70], rsi
mov r8, rbp
inc ecx
mov qword [rsp + 0x78], rdi
shl rbx, cl
lea rcx, [0x140171ca8]
lea rdx, [rbx + rbx]
call fcn.140005fe0
mov rdi, qword [0x140171c98]
lea r10, [rbx - 1]
mov qword [0x140171cc0], r10
mov qword [0x140171cc8], rbx
mov rdi, qword [rdi]
mov rsi, rdi
cmp rdi, rbp
je 0x1400116f4
mov qword [rsp + 0x48], r12
movabs r11, 0x100000001b3
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
movups xmm0, xmmword [rdi + 0x10]
mov r8, qword [rdi + 0x18]
xor edx, edx
mov rsi, qword [rsi]
movabs rax, 0xcbf29ce484222325
movaps xmmword [rsp + 0x20], xmm0
test r8, r8
je 0x1400115c4
mov r9, qword [rsp + 0x20]
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc rdx
xor rax, rcx
imul rax, r11
cmp rdx, r8
jb 0x1400115b0
mov r13, qword [0x140171ca8]
and rax, r10
shl rax, 4
add r13, rax
mov r12, qword [r13]
cmp r12, rbp
jne 0x1400115eb
mov qword [r13], rdi
mov qword [r13 + 8], rdi
jmp 0x1400116a6
mov rbx, qword [r13 + 8]
cmp r8, qword [rbx + 0x18]
jne 0x140011636
mov rdx, qword [rbx + 0x10]
movq rcx, xmm0
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140011636
mov r8, qword [rbx]
cmp r8, rdi
je 0x140011630
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13 + 8], rdi
jmp 0x14001169c
mov r14, rbx
cmp r12, rbx
je 0x140011677
movups xmm0, xmmword [rdi + 0x10]
movaps xmmword [rsp + 0x20], xmm0
mov r15, qword [rsp + 0x28]
nop dword [rax]
mov rbx, qword [rbx + 8]
mov r14, rbx
cmp r15, qword [rbx + 0x18]
jne 0x140011672
mov rdx, qword [rbx + 0x10]
mov r8, r15
mov rcx, qword [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x1400116ba
cmp r12, rbx
jne 0x140011650
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r14
mov rax, qword [r14 + 8]
mov qword [rax], rdi
mov qword [r14 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
mov qword [r13], rdi
movabs r11, 0x100000001b3
mov rdi, rsi
cmp rsi, rbp
je 0x1400116e0
mov r10, qword [0x140171cc0]
jmp 0x140011580
mov r8, qword [rbx]
mov rdx, qword [rdi + 8]
mov qword [rdx], rsi
mov rcx, qword [rsi + 8]
mov qword [rcx], r8
mov rax, qword [r8 + 8]
mov qword [rax], rdi
mov qword [r8 + 8], rcx
mov qword [rsi + 8], rdx
mov qword [rdi + 8], rax
jmp 0x14001169c
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
mov r15, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop rbx
ret
Function at 0x140022c10
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rdi
sub rsp, 0x20
mov eax, 1
mov qword [rsp + 0x38], rsi
mov r11, rcx
mov rdi, rdx
movzx ecx, byte [rdx + 0xb]
shl eax, cl
cmp byte [rdx + 0xa], 0
cdqe
lea r8, [rax + rax*2]
mov rax, qword [rdx + 0x18]
lea rsi, [rax + r8*8]
jge 0x140022c70
mov ecx, dword [rdx + 0xc]
lea eax, [rcx - 1]
test ecx, eax
je 0x140022c70
mov eax, ecx
shr eax, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or ecx, eax
mov eax, ecx
shr eax, 4
or ecx, eax
mov eax, ecx
shr eax, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
or eax, ecx
inc eax
jmp 0x140022c73
mov eax, dword [rdx + 0xc]
test eax, eax
je 0x140022cae
mov qword [rsp + 0x30], rbx
xor r10d, r10d
mov ebx, eax
mov rax, qword [rdi + 0x10]
test byte [r10 + rax + 8], 0x40
je 0x140022c9f
mov rdx, qword [r10 + rax]
test byte [rdx + 9], 0x18
je 0x140022c9f
mov rcx, r11
call fcn.140022830
add r10, 0x10
sub rbx, 1
jne 0x140022c81
mov rbx, qword [rsp + 0x30]
mov r10, qword [rdi + 0x18]
cmp r10, rsi
jae 0x140022d10
nop word [rax + rax]
movzx eax, byte [r10 + 9]
and al, 0x40
test byte [r10 + 8], 0xf
jne 0x140022cd9
test al, al
je 0x140022d07
mov byte [r10 + 9], listen
jmp 0x140022d07
test al, al
je 0x140022cef
mov rdx, qword [r10 + 0x10]
test byte [rdx + 9], 0x18
je 0x140022cef
mov rcx, r11
call fcn.140022830
test byte [r10 + 8], 0x40
je 0x140022d07
mov rdx, qword [r10]
test byte [rdx + 9], 0x18
je 0x140022d07
mov rcx, r11
call fcn.140022830
add r10, 0x18
cmp r10, rsi
jb 0x140022cc0
movzx eax, byte [rdi + 9]
mov rsi, qword [rsp + 0x38]
movzx ecx, al
and cl, 7
cmp cl, 5
jne 0x140022d47
mov rcx, rdi
call fcn.1400227a0
mov rcx, qword [r11 + 0x90]
mov qword [rax], rcx
mov qword [r11 + 0x90], rdi
and byte [rdi + 9], 0xc7
add rsp, 0x20
pop rdi
ret
cmp cl, 6
jne 0x140022d51
xor al, 2
mov byte [rdi + 9], al
add rsp, 0x20
pop rdi
ret
Function at 0x14002df20
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push rsi
push rdi
push r13
push r14
push r15
sub rsp, 0x38
mov qword [rsp + 0x80], rbx
mov r13, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rdx
call qword [sym.imp.api_ms_win_crt_locale_l1_1_0.dll_localeconv]
xor esi, esi
lea r11, [0x14013e400]
xorps xmm1, xmm1
mov r10d, esi
mov r14d, esi
mov r9d, esi
mov r8, qword [rax]
mov edi, esi
movsx r15d, byte [r8]
mov qword [r13], rbx
movzx eax, byte [rbx]
test byte [rax + r11 + 1], 8
je 0x14002df8f
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx + 1]
inc rbx
test byte [rax + r11 + 1], 8
jne 0x14002df80
mov qword [rsp + 0x30], r12
lea rdx, [rbx + 1]
mov ebp, 1
cmp al, 0x2d
jne 0x14002dfa6
mov r12d, ebp
jmp 0x14002dfaf
cmp al, 0x2b
mov r12d, esi
cmovne rdx, rbx
cmp byte [rdx], 0x30
mov rbx, qword [rsp + 0x80]
jne 0x14002e109
movzx eax, byte [rdx + 1]
sub al, 0x58
test al, 0xdf
jne 0x14002e109
movsd xmm2, qword [0x140153120]
lea r13, [0x14013e400]
add rdx, 2
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [rdx]
mov r11, rdx
movsx rcx, r8b
cmp ecx, r15d
jne 0x14002e00b
test edi, edi
jne 0x14002e060
mov edi, ebp
inc rdx
jmp 0x14002dff0
test byte [r8 + r13 + 1], 0x10
je 0x14002e060
test r10d, r10d
jne 0x14002e023
cmp r8b, 0x30
jne 0x14002e023
inc r14d
jmp 0x14002e054
inc r10d
cmp r10d, 0x1e
jg 0x14002e051
test byte [rcx + r13 + 1], 2
je 0x14002e039
add ecx, 0xffffffd0
jmp 0x14002e03f
or ecx, 0x20
sub ecx, 0x57
movd xmm0, ecx
cvtdq2pd xmm0, xmm0
mulsd xmm1, xmm2
addsd xmm1, xmm0
jmp 0x14002e054
inc r9d
test edi, edi
je 0x14002e05b
dec r9d
inc rdx
jmp 0x14002dff0
mov r13, qword [rsp + 0x20]
lea eax, [r14 + r10]
test eax, eax
je 0x14002e109
mov qword [r13], rdx
lea r9d, [r9*4]
movzx eax, byte [rdx]
sub al, 0x50
test al, 0xdf
jne 0x14002e0ef
movzx eax, byte [rdx + 1]
inc rdx
cmp al, 0x2d
jne 0x14002e097
lea rdx, [r11 + 2]
jmp 0x14002e0a1
cmp al, 0x2b
jne 0x14002e09f
lea rdx, [r11 + 2]
mov ebp, esi
movzx r8d, byte [rdx]
lea r11, [0x14013e400]
test byte [r8 + r11 + 1], 2
je 0x14002e109
nop dword [rax]
nop dword [rax + rax]
movsx eax, r8b
lea esi, [rsi + rsi*4]
inc rdx
lea esi, [rsi - 0x18]
lea esi, [rax + rsi*2]
movzx eax, byte [rdx]
movzx r8d, al
test byte [rax + r11 + 1], 2
jne 0x14002e0c0
mov eax, esi
mov qword [r13], rdx
neg eax
test ebp, ebp
cmove eax, esi
add r9d, eax
test r12d, r12d
je 0x14002e0fb
xorps xmm1, xmmword [0x140153930]
mov edx, r9d
movaps xmm0, xmm1
call qword [sym.imp.api_ms_win_crt_math_l1_1_0.dll_ldexp]
jmp 0x14002e10c
xorps xmm0, xmm0
mov r12, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret