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

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je case.default.0x1400114a1
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x1400114ce
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400114d0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x140011529
test ecx, ecx
jle 0x140011509
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x140011529
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140011529
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140011550
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x140011581
xor eax, eax
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140011598
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x30], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x1400115bb
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x1400115bd
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400115f9
mov qword [rsp + 0x38], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x38]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14001168e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x140011634
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14001166e
nop dword [rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14001168e
cmp rbx, rax
ja 0x140011640
test rbx, rbx
je 0x14001168e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
mov rsi, qword [rsp + 0x48]
sub rbp, rbx
mov rbx, qword [rsp + 0x30]
mov rax, rbp
mov rbp, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140011ac0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x140011aed
xor eax, eax
jmp 0x140011c59
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x140011b27
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x140011b27
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x140011c59
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x140011c4c
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140011b6a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140011b95
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140011c51
lea rax, [rsp + 0x48]
mov byte [rsp + 0x40], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140011c04
sub eax, 1
je 0x140011c04
cmp eax, 2
jne 0x140011c4c
movsx ecx, byte [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x140011c51
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x140011c32
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rsi, rax
jne 0x140011c4c
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x140011c51
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001f020
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x140012060
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140012133
cmp byte [rcx + 0x71], 0
je 0x140012133
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001212f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x1400120f4
sub eax, 1
je 0x1400120f8
cmp eax, 2
jne 0x14001212f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001f020
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140012126
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14001212f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x1400120dc
xor al, al
jmp 0x1400120dc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001f020
add rsp, 0x60
pop rbx
ret
Function at 0x140014eb0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, 0xffff
movzx edi, dx
mov rbx, rcx
cmp si, dx
jne 0x140014ee1
xor eax, eax
jmp 0x14001502b
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x140014f1e
mov r9, qword [rcx + 0x58]
movsxd r10, dword [r9]
lea rdx, [r8 + r10*2]
cmp r8, rdx
jae 0x140014f1e
lea ecx, [r10 - 1]
movzx eax, di
mov dword [r9], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], di
jmp 0x14001502b
cmp qword [rcx + 0x80], 0
mov qword [rsp + 0xb0], rbp
je 0x140015020
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x140014f65
mov rdx, qword [rcx + 0x90]
mov rcx, qword [rcx + 0x88]
mov qword [r8], rcx
sub rdx, rcx
mov rax, qword [rbx + 0x38]
sar rdx, 1
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x140014f73
movzx ecx, di
jmp 0x140014fc7
lea rax, [rsp + 0x48]
mov word [rsp + 0x40], di
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x42]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64__wchar_t_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140014fe0
sub eax, 1
je 0x140014fe0
cmp eax, 2
jne 0x140015020
movzx ecx, word [rsp + 0x40]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputwc]
cmp ax, si
cmove di, si
movzx eax, di
jmp 0x140015023
mov rbp, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rbp, rax
je 0x14001500e
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbp
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbp, rax
jne 0x140015020
lea rax, [rsp + 0x40]
mov byte [rbx + 0x72], 1
cmp qword [rsp + 0x50], rax
cmovne si, di
movzx eax, si
mov rbp, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14001f020
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x140015390
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140015465
cmp byte [rcx + 0x72], 0
je 0x140015465
mov rax, qword [rcx]
mov qword [rsp + 0x78], rdi
mov edi, 0xffff
mov edx, edi
call qword [rax + 0x18]
cmp di, ax
je 0x140015461
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_wchar_t__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140015426
sub eax, 1
je 0x14001542a
cmp eax, 2
jne 0x140015461
mov byte [rbx + 0x72], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001f020
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x72], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140015458
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x140015461
cmp byte [rbx + 0x72], 0
sete al
jmp 0x14001540e
xor al, al
jmp 0x14001540e
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14001f020
add rsp, 0x60
pop rbx
ret
Function at 0x1400178f0
Capabilities:
Create thread

Disassembly:
push rbx
push rdi
sub rsp, 0x58
xor ebx, ebx
mov rdi, rcx
test rcx, rcx
jne 0x14001790b
lea eax, [rcx + 0xf]
add rsp, 0x58
pop rdi
pop rbx
ret
mov rax, qword [rcx + 8]
lea rdx, [rsp + 0x88]
mov qword [rsp + 0x88], rbx
mov r8d, 8
xor ecx, ecx
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x88], 1
mov byte [rax + 0x28], bl
mov byte [rsp + 0x8c], 1
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
test eax, eax
jne 0x140017966
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.Failed_to_set_DEP_policy___EnableProcessMitigations:__d
mov edx, 1
mov r9d, eax
call fcn.1400129d0
mov r8d, 4
mov dword [rsp + 0x70], send
lea rdx, [rsp + 0x70]
lea ecx, [r8 - 3]
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
test eax, eax
jne 0x1400179a1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.Failed_to_set_ASLR_policy___EnableProcessMitigations:__d
mov edx, 1
mov r9d, eax
call fcn.1400129d0
mov r8d, 4
mov dword [rsp + 0x78], 3
lea rdx, [rsp + 0x78]
lea ecx, [r8 - 1]
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
test eax, eax
jne 0x1400179dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.Failed_to_set_strict_handle_check_policy___EnableProcessMitigations:__d
mov edx, 1
mov r9d, eax
call fcn.1400129d0
mov r8d, 4
mov dword [rsp + 0x80], 1
mov ecx, r8d
lea rdx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_SetProcessMitigationPolicy]
test eax, eax
jne 0x140017a1c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.Failed_to_set_system_call_disable_policy___EnableProcessMitigations:__d
mov edx, 1
mov r9d, eax
call fcn.1400129d0
lea r8, str._Barrier_techniques_were_applied_successfully_
xor edx, edx
call fcn.140012820
mov rcx, qword [rdi]
call fcn.140019490
mov rsi, qword [rdi + 0x10]
mov ecx, 0x18
call fcn.14001f040
mov rcx, rax
lea r8, [0x140010930]
mov r9, rsi
xor edx, edx
mov dword [rax + 0x12], ebx
mov word [rax + 0x16], bx
mov qword [rax], 0xffffffffffffffff
add rax, 8
mov dword [rcx + 0xc], ebx
mov word [rcx + 0x10], bx
mov qword [rsp + 0x28], rax
mov dword [rax], ebx
mov qword [rsi + 0x10], rcx
xor ecx, ecx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
mov rax, qword [rsi + 0x10]
mov qword [rax], rcx
mov rax, qword [rsi + 0x10]
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x140017a9b
test rcx, rcx
jne 0x140017aac
lea r8, str.Couldnt_start_anti_debug_thread___Debugger::AntiDebug::StartAntiDebugThread
mov edx, 2
call fcn.140012820
mov r9, qword [rsi + 0x10]
lea r8, str.Created_Debugger_detection_thread_with_Id:__d
xor edx, edx
mov r9d, dword [r9 + 8]
call fcn.1400129d0
mov rax, qword [rsi + 0x10]
mov byte [rax + 0x11], 1
mov rcx, qword [rdi]
mov rcx, qword [rcx + 8]
call fcn.14001b0c0
mov rax, qword [rdi]
lea rcx, [rsp + 0x30]
mov rdx, qword [rax + 0x30]
add rdx, 0x70
call fcn.140017e40
lea rcx, [rsp + 0x30]
call fcn.14001c5c0
mov rsi, qword [rsp + 0x50]
test eax, eax
jne 0x140017b08
call fcn.140017f80
mov ebx, send
mov eax, ebx
add rsp, 0x58
pop rdi
pop rbx
ret
Function at 0x1400182c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140040010]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rdi, rcx
mov qword [rsp], rcx
xor r8b, r8b
lea r9, [rsp + 0x30]
mov r10d, send
nop word [rax + rax]
movzx ecx, r8b
lea r9, [r9 + 4]
movzx eax, r8b
add r8b, 4
movzx edx, byte [rax + rdi + 1]
movzx eax, byte [rcx + rdi]
shl eax, 8
or edx, eax
movzx eax, byte [rcx + rdi + 2]
shl edx, 8
or edx, eax
movzx eax, byte [rcx + rdi + 3]
shl edx, 8
or edx, eax
mov dword [r9 - 4], edx
sub r10, 1
jne 0x140018310
mov esi, dword [rsp + 0x30]
lea rbx, [rsp + 0x30]
mov r11b, 0x10
nop dword [rax + rax]
mov r10d, dword [rbx + 4]
lea rbx, [rbx + 4]
movzx eax, r11b
mov r8d, r10d
ror r8d, 0x12
inc r11b
mov edx, dword [rsp + rax*4 + 0x28]
mov ecx, edx
ror ecx, 0x13
mov eax, r10d
ror eax, 7
xor r8d, eax
mov eax, r10d
shr eax, 3
xor r8d, eax
mov eax, edx
ror eax, 0x11
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add r8d, ecx
add r8d, dword [rbx + 0x20]
add r8d, esi
mov esi, r10d
mov dword [rbx + 0x3c], r8d
cmp r11b, 0x40
jb 0x140018360
movups xmm0, xmmword [rdi + 0x48]
lea rax, [rdi + 0x48]
xor esi, esi
movups xmm1, xmmword [rax + 0x10]
mov qword [rsp + 8], rax
movups xmmword [rsp + 0x10], xmm0
mov r12d, dword [rsp + 0x18]
lea edi, [rsi + 0x40]
mov r13d, dword [rsp + 0x14]
mov r11d, dword [rsp + 0x10]
movups xmmword [rsp + 0x20], xmm1
mov r14d, dword [rsp + 0x28]
mov r15d, dword [rsp + 0x24]
mov ebx, dword [rsp + 0x20]
mov eax, dword [rsp + 0x2c]
nop word [rax + rax]
mov ecx, ebx
lea rsi, [rsi + 4]
ror ecx, 0xb
mov r10d, ebx
ror r10d, 0x19
mov edx, ebx
xor r10d, ecx
not edx
and edx, r14d
mov ecx, ebx
ror ecx, 6
mov r8d, r12d
xor r10d, ecx
mov r9d, r13d
mov ecx, r15d
and r9d, r8d
and ecx, ebx
xor edx, ecx
lea rcx, [0x1400317b0]
add r10d, edx
mov edx, r11d
add r10d, dword [rsi + rcx - 4]
mov ecx, r11d
add r10d, dword [rsp + rsi + 0x2c]
ror ecx, 0xd
add r10d, eax
ror edx, 0x16
mov eax, r14d
xor edx, ecx
mov r14d, r15d
mov ecx, r11d
mov r15d, ebx
mov ebx, dword [rsp + 0x1c]
ror ecx, 2
add ebx, r10d
xor edx, ecx
mov dword [rsp + 0x1c], r12d
mov r12d, r13d
mov r13d, r11d
mov ecx, r12d
or ecx, r8d
and r11d, ecx
lea ecx, [r10 + rdx]
or r11d, r9d
add r11d, ecx
sub rdi, 1
jne 0x140018400
lea r8, [rsp + 0x10]
mov dword [rsp + 0x2c], eax
sub r8, qword [rsp]
lea edx, [rdi + 8]
mov rax, qword [rsp + 8]
mov dword [rsp + 0x10], r11d
mov dword [rsp + 0x20], ebx
mov dword [rsp + 0x28], r14d
mov dword [rsp + 0x24], r15d
mov dword [rsp + 0x18], r12d
mov dword [rsp + 0x14], r13d
nop dword [rax]
mov ecx, dword [r8 + rax - 0x48]
add dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x1400184d0
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14001f020
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140019490
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx + 0x18], 0
mov rbx, rcx
jne 0x140019543
mov ecx, 0x18
call fcn.14001f040
xor ecx, ecx
lea r8, [0x1400195c0]
mov r9, rbx
xor edx, edx
mov dword [rax + 0x12], ecx
mov word [rax + 0x16], cx
mov qword [rax + 8], rcx
mov word [rax + 0x10], cx
mov qword [rbx + 0x18], rax
mov qword [rax], 0xffffffffffffffff
mov rax, qword [rbx + 0x18]
mov byte [rax + 0x10], cl
mov rax, qword [rbx + 0x18]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, qword [rbx + 0x18]
lea r8, str.Created_monitoring_thread_with_ID__d
xor edx, edx
mov qword [rcx], rax
mov r9, qword [rbx + 0x18]
mov r9d, dword [r9 + 8]
call fcn.1400129d0
mov rax, qword [rbx + 0x18]
mov rcx, qword [rax]
cmp rcx, 0xffffffffffffffff
je 0x14001952d
test rcx, rcx
je 0x14001952d
mov byte [rax + 0x11], 1
add rsp, 0x30
pop rbx
ret
lea r8, str._Failed_to_create_monitor_thread____Detections::StartMonitor
mov edx, 2
add rsp, 0x30
pop rbx
jmp fcn.140012820
add rsp, 0x30
pop rbx
ret
Function at 0x14001bd70
Capabilities:
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rdx, qword [rdx]
test rdx, rdx
je 0x14001be33
cmp qword [rcx + 8], 0xffffffffffffffff
jne 0x14001bda3
mov eax, 0xd
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd r11, dword [rbx + 8]
mov qword [rsp + 0x30], rsi
xor esi, esi
mov r10d, esi
test r11, r11
jle 0x14001bdeb
mov r9, rdx
nop dword [rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
xor cl, 0x90
lea eax, [rcx + 0x70]
sub cl, 0x70
test r10b, 1
movzx ecx, cl
movzx eax, al
cmovne ecx, eax
inc r10d
mov byte [r9 - 1], cl
sub r11, 1
jne 0x14001bdc0
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rbx]
mov edi, 8
cmp eax, dword [rbx + 8]
cmove edi, esi
mov rsi, qword [rsp + 0x30]
test rcx, rcx
je 0x14001be19
call fcn.14001f07c
mov edx, send
mov rcx, rbx
call fcn.14001f07c
mov eax, edi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov eax, send
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebp, edx
mov r14, rcx
mov ecx, send
call fcn.14001f040
mov rdi, rax
mov qword [rsp + 0x50], rax
mov ecx, 0x3e8
call fcn.14001f300
mov qword [rdi], rax
mov dword [rdi + 8], 0
mov dword [rdi + 0xc], 0x3e8
mov word [rax], 5
mov esi, dword [rdi + 8]
add esi, 2
mov dword [rdi + 8], esi
lea ecx, [rsi + 4]
mov eax, dword [rdi + 0xc]
cmp eax, ecx
jge 0x14001beda
nop dword [rax]
add eax, eax
cmp eax, ecx
jl 0x14001beb0
mov dword [rdi + 0xc], eax
movsxd rcx, eax
call fcn.14001f300
mov rbx, rax
movsxd rsi, esi
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rbx
jmp 0x14001bedd
movsxd rsi, esi
mov rax, qword [rdi]
mov dword [rsi + rax], ebp
add dword [rdi + 8], 4
mov rdx, rdi
mov rcx, r14
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
jmp 0x14001bd70
Function at 0x14001be50
Capabilities:
Encode data using xor
Send data
Send data on socket

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
mov rdx, qword [rdx]
test rdx, rdx
je 0x14001be33
cmp qword [rcx + 8], 0xffffffffffffffff
jne 0x14001bda3
mov eax, 0xd
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
movsxd r11, dword [rbx + 8]
mov qword [rsp + 0x30], rsi
xor esi, esi
mov r10d, esi
test r11, r11
jle 0x14001bdeb
mov r9, rdx
nop dword [rax]
movzx ecx, byte [r9]
lea r9, [r9 + 1]
xor cl, 0x90
lea eax, [rcx + 0x70]
sub cl, 0x70
test r10b, 1
movzx ecx, cl
movzx eax, al
cmovne ecx, eax
inc r10d
mov byte [r9 - 1], cl
sub r11, 1
jne 0x14001bdc0
mov r8d, dword [rbx + 8]
xor r9d, r9d
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_send]
mov rcx, qword [rbx]
mov edi, 8
cmp eax, dword [rbx + 8]
cmove edi, esi
mov rsi, qword [rsp + 0x30]
test rcx, rcx
je 0x14001be19
call fcn.14001f07c
mov edx, send
mov rcx, rbx
call fcn.14001f07c
mov eax, edi
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
mov eax, send
add rsp, 0x20
pop rdi
ret
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
mov ebp, edx
mov r14, rcx
mov ecx, send
call fcn.14001f040
mov rdi, rax
mov qword [rsp + 0x50], rax
mov ecx, 0x3e8
call fcn.14001f300
mov qword [rdi], rax
mov dword [rdi + 8], 0
mov dword [rdi + 0xc], 0x3e8
mov word [rax], 5
mov esi, dword [rdi + 8]
add esi, 2
mov dword [rdi + 8], esi
lea ecx, [rsi + 4]
mov eax, dword [rdi + 0xc]
cmp eax, ecx
jge 0x14001beda
nop dword [rax]
add eax, eax
cmp eax, ecx
jl 0x14001beb0
mov dword [rdi + 0xc], eax
movsxd rcx, eax
call fcn.14001f300
mov rbx, rax
movsxd rsi, esi
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov qword [rdi], rbx
jmp 0x14001bedd
movsxd rsi, esi
mov rax, qword [rdi]
mov dword [rsi + rax], ebp
add dword [rdi + 8], 4
mov rdx, rdi
mov rcx, r14
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
jmp 0x14001bd70