joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002d638
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.140016688
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14002d6c2
cmp byte [rbp - 0x21], r15b
je 0x14002d6bd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14002d6f8
call fcn.14001f94c
test eax, eax
jne 0x14002d6e4
cmp byte [rbp - 0x21], r15b
je 0x14002d6dc
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14002d6f8
cmp byte [rbp - 0x21], r15b
je 0x14002d6f5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.14001a444
test eax, eax
jne 0x14002d798
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.140016688
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x14002d737
cmp byte [rbp - 0x21], r15b
je 0x14002d76c
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14002d76c
call fcn.14001f94c
test eax, eax
jne 0x14002d758
cmp byte [rbp - 0x21], r15b
je 0x14002d751
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x14002d76c
cmp byte [rbp - 0x21], r15b
je 0x14002d769
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14001a444
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14002d798
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.DLL_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14002d79b
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14002d7a9
mov rcx, rdi
call fcn.14001dd14
cmp byte [rbp + 0x3f], r15b
je 0x14002d7b8
mov rcx, qword [rbp + 0x27]
call fcn.14001dd14
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14002f500
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x14002f528
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x14002f528
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140001000
Capabilities:
Check for unmoving mouse cursor
Log keystrokes via polling

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Press_a_key_to_set_as_the_hotkey:
xor r14b, r14b
call fcn.140001250
mov edi, 8
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x140001061
inc edi
cmp edi, 0xbe
jle 0x140001048
jmp 0x140001043
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
lea rdx, str.Key
call fcn.140001250
mov rcx, rax
mov edx, edi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str._set_as_the_hotkey._n
call fcn.140001250
mov r15d, dword [rsp + 0x30]
xor r12d, r12d
mov rbx, qword [rsp + 0x30]
nop dword [rax + rax]
mov ecx, edi
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x1400011ca
test r14b, r14b
jne 0x1400010fb
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [rsp + 0x34]
mov rcx, rax
mov edx, dword [rsp + 0x30]
add r8d, 2
add edx, 2
mov rbx, rax
call qword [sym.imp.GDI32.dll_GetPixel]
mov rdx, rbx
xor ecx, ecx
mov r15d, eax
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rbx, qword [rsp + 0x30]
mov r14b, 1
mov rdx, rbx
mov ecx, ebx
shr rdx, 0x20
call qword [sym.imp.USER32.dll_SetCursorPos]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_GetCursorPos]
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetDC]
mov r8d, dword [rsp + 0x34]
mov rcx, rax
mov edx, dword [rsp + 0x30]
add r8d, 2
add edx, 2
mov rsi, rax
call qword [sym.imp.GDI32.dll_GetPixel]
mov rdx, rsi
xor ecx, ecx
mov ebp, eax
call qword [sym.imp.USER32.dll_ReleaseDC]
movzx ecx, bpl
movzx edx, r15b
sub edx, ecx
mov ecx, edx
neg ecx
cmovs ecx, edx
cmp ecx, 0x14
jg 0x140001199
movzx ecx, r15w
shr ecx, 8
movzx eax, bp
shr eax, 8
sub ecx, eax
mov eax, ecx
neg eax
cmovs eax, ecx
cmp eax, 0x14
jg 0x140001199
shr ebp, 0x10
mov eax, r15d
shr eax, 0x10
movzx edx, al
movzx ecx, bpl
sub edx, ecx
mov eax, edx
neg eax
cmovs eax, edx
cmp eax, 0x14
jle 0x1400010a0
xor edx, edx
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 2]
call qword [sym.imp.USER32.dll_mouse_event]
xor edx, edx
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea ecx, [rdx + 4]
call qword [sym.imp.USER32.dll_mouse_event]
jmp 0x1400010a0
xor r14b, r14b
jmp 0x1400010a0
Function at 0x140001cf8
Capabilities:
Parse pe header

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

Function at 0x141256520
Capabilities:
Encode data using xor

Disassembly:
jmp 0x14125652a
push rax
push rcx
push rdx
push rbx
push rbp
push rsi
push rdi
push r8
push r9
push r10
push r11
push r12
push r13
push r14
push r15
pushfq
sub rsp, 8
stmxcsr dword [rsp]
call 0x141256553
pop rbp
sub rbp, 0x33
sub rbp, 0x1256520
sub rsp, 0x20
jmp 0x141256572
mov rax, 0x1256520
add rax, rbp
add rax, 0x84
mov rcx, 0x60b
mov rdx, 0x5aceb494
xor byte [rax], dl
inc rax
dec rcx
jne 0x141256591
jmp 0x1412565a8
fcomp qword [0xe942852b]
xchg esp, eax
xchg esp, eax
xchg esp, eax
fcom qword [0xd5bb020c]
xchg esp, eax
fcom qword [rbp + 0x5453dc7d]
xchg ebx, eax
xchg esp, eax
xchg esp, eax
xchg esp, eax
fcom qword [rbx + 0x56]
mov esp, 0xdc949494
invalid
Function at 0x140041be0
Capabilities:
Terminate process

Disassembly:
sub rsp, 0x28
cmp dword [0x14022c990], 0
je 0x140041c08
cmp dword [0x14022c9b0], 0
je 0x140041c08
cmp dword [0x14022c970], 0
je 0x140041c08
cmp dword [0x14022c980], 0
jne 0x140041c11
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add rsp, 0x28
ret

Function at 0x140041c20
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140225d40]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x140041cf3
cmp byte [rcx + 0x71], 0
je 0x140041cf3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x140041cef
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 0x140041cb4
sub eax, 1
je 0x140041cb8
cmp eax, 2
jne 0x140041cef
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400def70
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x140041ce6
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 0x140041cef
cmp byte [rbx + 0x71], 0
sete al
jmp 0x140041c9c
xor al, al
jmp 0x140041c9c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400def70
add rsp, 0x60
pop rbx
ret
Function at 0x1400420f0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x50
mov rax, qword [0x140225d40]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp qword [rcx + 0x18], 7
mov rbx, rcx
jbe 0x14004211f
mov rcx, qword [rcx]
mov rax, qword [rbx + 0x10]
mov rbx, rcx
jmp 0x140042123
mov rax, qword [rcx + 0x10]
lea rsi, [rcx + rax*2]
mov qword [rsp + 0x60], rdi
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x38], rdi
movups xmmword [rsp + 0x20], xmm0
cmp rbx, rsi
jne 0x140042153
mov byte [rsp + 0x20], al
jmp 0x140042242
sub rsi, rbx
movabs rcx, 0x7fffffffffffffff
sar rsi, 1
cmp rsi, rcx
ja 0x1400422bc
cmp rsi, rdi
jbe 0x1400421fc
mov rdi, rsi
or rdi, 0xf
cmp rdi, rcx
jbe 0x1400421be
movabs rax, 0x8000000000000000
mov rdi, rcx
add rax, 0x27
mov rcx, rax
call fcn.1400debd4
mov rcx, rax
test rax, rax
je 0x140042290
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x140042201
mov ecx, reloc.WLDAP32.dll_Ordinal_22
cmp rdi, rcx
cmovb rdi, rcx
lea rcx, [rdi + 1]
test rcx, rcx
je 0x1400421f0
cmp rcx, 0x1000
jb 0x1400421eb
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400422c2
jmp 0x140042192
call fcn.1400debd4
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x38], rdi
jmp 0x140042201
mov rax, qword [rsp + 0x20]
cmp rdi, 0xf
lea r8, [rsp + 0x20]
mov rdx, rsi
cmova r8, rax
mov rcx, r8
test rsi, rsi
je 0x140042233
nop dword [rax]
movzx eax, byte [rbx]
lea rbx, [rbx + 2]
mov byte [rcx], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x140042220
mov qword [rsp + 0x30], rsi
mov byte [r8 + rsi], 0
mov rdi, qword [rsp + 0x38]
cmp rdi, 0xf
lea rcx, [rsp + 0x20]
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rdx, qword [rsp + 0x38]
test eax, eax
sete bl
cmp rdx, 0xf
jbe 0x14004229c
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140042297
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140042297
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dec10
mov rdi, qword [rsp + 0x60]
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400def70
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
call fcn.140042000
int3
call fcn.140041d70
int3
Function at 0x1400427a0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x140225d40]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov esi, edx
mov rdi, rcx
cmp edx, 0xffffffff
jne 0x1400427cd
xor eax, eax
jmp 0x140042936
mov qword [rsp + 0xa0], rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
test rax, rax
je 0x14004280d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::epptr_void_const___ptr64]
mov rcx, rdi
mov rbx, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
cmp rax, rbx
jae 0x14004280d
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pninc_void____ptr64]
mov byte [rax], sil
mov eax, esi
jmp 0x14004292e
cmp qword [rdi + 0x80], 0
je 0x140042929
mov rcx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::eback_void_const___ptr64]
lea rcx, [rdi + 0x70]
cmp rax, rcx
jne 0x140042847
mov rdx, qword [rdi + 0x88]
mov rcx, rdi
mov r9, qword [rdi + 0x90]
mov r8, rdx
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::setg_char____ptr64__char____ptr64__char____ptr64____ptr64]
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140042872
mov rdx, qword [rdi + 0x80]
movsx ecx, sil
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x14004292e
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], sil
mov qword [rsp + 0x38], rax
lea rdx, [rdi + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
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 0x1400428e1
sub eax, 1
je 0x1400428e1
cmp eax, 2
jne 0x140042929
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rdi + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, esi
mov eax, ecx
jmp 0x14004292e
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rbx, rax
je 0x14004290f
mov r9, qword [rdi + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rbx
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rbx, rax
jne 0x140042929
lea rax, [rsp + 0x50]
mov byte [rdi + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, esi
mov eax, ecx
jmp 0x14004292e
mov eax, 0xffffffff
mov rbx, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400def70
mov rsi, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x1400438d0
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rsi, r8
mov rbp, rdx
mov r14, rcx
test r8, r8
jg 0x1400438f2
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je case.default.0x140043901
add rsp, 0x30
pop r14
pop rsi
pop rbp
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 qword [rsp + 0x28], rbx
mov rbx, rsi
mov qword [rsp + 0x20], rdi
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Gnavail_void_const___ptr64]
test rax, rax
je 0x140043952
cmp rax, rsi
mov rdi, rsi
mov rcx, r14
cmovb rdi, rax
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gptr_void_const___ptr64]
mov r8, rdi
mov rcx, rbp
mov rdx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, edi
mov rcx, r14
add rbp, rdi
sub rbx, rdi
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::gbump_int____ptr64]
cmp qword [r14 + 0x80], 0
mov rdi, rbx
je 0x1400439c1
mov rcx, r14
call fcn.140041d30
cmp rbx, 0xfff
jbe 0x1400439a1
mov r9, qword [r14 + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
add rbp, rax
mov rdi, rbx
cmp rax, 0xfff
jne 0x1400439da
cmp rbx, rax
ja 0x140043970
test rdi, rdi
je 0x1400439c1
mov r9, qword [r14 + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rdi, rax
sub rsi, rdi
mov rbx, qword [rsp + 0x28]
mov rax, rsi
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
sub rsi, rbx
jmp 0x1400439c4
Function at 0x1400439e0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r14, rdx
mov rdi, rcx
je case.default.0x140043a01
add rsp, 0x20
pop r14
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 qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
call qword [sym.imp.MSVCP140.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov rbp, rax
test rbx, rbx
jle 0x140043a7c
test rax, rax
jle 0x140043a5c
cmp rbx, rax
mov rcx, rdi
cmovl rbp, rbx
call qword [sym.imp.MSVCP140.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, rbp
mov rdx, r14
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
mov edx, ebp
mov rcx, rdi
add r14, rbp
sub rbx, rbp
call qword [sym.imp.MSVCP140.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
test rbx, rbx
jle 0x140043a7c
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x140043a7c
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov rbp, qword [rsp + 0x40]
sub rsi, rbx
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rbx
ret
Function at 0x140050170
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x140050198
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x135
jb 0x140050180
mov byte [rcx + 0x136], 0
mov rax, rcx
ret

Function at 0x1400501a0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x1400501c3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x2a]
xor byte [rcx + rax], dl
inc rax
cmp rax, 0x43
jb 0x1400501b0
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x1400501d0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
mov r8, rcx
je 0x14005025b
mov r9, 0xfffffffffffffffe
lea rax, [rcx + 2]
sub r9, rcx
nop dword [rax + rax]
lea edx, [r9 + rax]
lea ecx, [rdx + 0x2a]
xor byte [rax - 2], cl
lea rax, [rax + 0xe]
lea ecx, [rdx + 0x2b]
xor byte [rax - 0xf], cl
lea ecx, [rdx + 0x2c]
xor byte [rax - 0xe], cl
lea ecx, [rdx + 0x2d]
xor byte [rax - 0xd], cl
lea ecx, [rdx + 0x2e]
xor byte [rax - 0xc], cl
lea ecx, [rdx + 0x2f]
xor byte [rax - 0xb], cl
lea ecx, [rdx + 0x30]
xor byte [rax - 0xa], cl
lea ecx, [rdx + 0x31]
xor byte [rax - 9], cl
lea ecx, [rdx + 0x32]
xor byte [rax - 8], cl
lea ecx, [rdx + 0x33]
xor byte [rax - 7], cl
lea ecx, [rdx + 0x34]
xor byte [rax - 6], cl
lea ecx, [rdx + 0x35]
xor byte [rax - 5], cl
lea ecx, [rdx + 0x36]
xor byte [rax - 4], cl
add dl, 0x37
xor byte [rax - 3], dl
lea rcx, [rax + r9]
cmp rcx, 0x46
jb 0x1400501f0
mov byte [r8 + 0x47], 0
mov rax, r8
ret

Function at 0x140050270
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0xa8
xor eax, eax
cmp byte [0x14022c9e0], al
jne 0x140050329
movdqa xmm0, xmmword [str.sDY_r_JUU]
movdqa xmm1, xmmword [0x1400e5730]
movdqa xmmword [rsp + 0x40], xmm0
movdqa xmm0, xmmword [0x1400e5890]
movdqa xmmword [rsp + 0x60], xmm0
movdqa xmm0, xmmword [0x1400e56c0]
movdqa xmmword [rsp + 0x50], xmm1
movdqa xmm1, xmmword [str.8_:2_:_]
movdqa xmmword [rsp + 0x80], xmm0
movdqa xmmword [rsp + 0x70], xmm1
mov dword [rsp + 0x90], 0x1000814
nop dword [rax]
lea ecx, [rax + 0x2a]
xor byte [rsp + rax + 0x40], cl
lea ecx, [rax + 0x2b]
xor byte [rsp + rax + 0x41], cl
add rax, 2
cmp rax, 0x52
jb 0x1400502e0
lea r9, [rsp + 0xb0]
mov byte [rsp + 0x93], 0
lea r8, [rsp + 0x92]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140046840
lea rcx, [rsp + 0x20]
call fcn.140052590
add rsp, 0xa8
ret
Function at 0x140052590
Capabilities:
Contain obfuscated stackstrings
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xc0
mov rax, qword [0x140225d40]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov rbx, rcx
mov qword [rbp + 0x27], rcx
mov word [rbp - 9], 0
movdqa xmm0, xmmword [0x1400e5790]
movdqu xmmword [rbp - 0x19], xmm0
mov word [rbp - 0x1e], reloc.WLDAP32.dll_Ordinal_32
movdqa xmm0, xmmword [0x1400e5860]
movdqu xmmword [rbp - 0x49], xmm0
movdqa xmm1, xmmword [0x1400e5880]
movdqu xmmword [rbp - 0x39], xmm1
mov dword [rbp - 0x29], 0x20726f72
mov dword [rbp - 0x25], 0x65202626
mov word [rbp - 0x21], 0x6863
mov byte [rbp - 0x1f], reloc.WS2_32.dll_WSAGetLastError
mov byte [rbp - 0x1c], 0
mov r8, rcx
lea rdx, [rbp - 0x49]
lea rcx, [rbp + 7]
call fcn.140046b00
nop
lea rcx, [rbp - 0x19]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rcx + r8], 0
jne 0x140052622
lea rdx, [rbp - 0x19]
mov rcx, rax
call fcn.14004fe40
xorps xmm0, xmm0
movups xmmword [rbp + 0x2f], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x3f], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x2f], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x3f], xmm1
mov qword [rax + 0x10], 0
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400526a7
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400526a2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400526a2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dec10
lea rcx, [rbp + 0x2f]
cmp qword [rbp + 0x47], 0xf
cmova rcx, qword [rbp + 0x2f]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor ecx, ecx
int 0x29
mov rdx, qword [rbp + 0x47]
cmp rdx, 0xf
jbe 0x1400526fd
inc rdx
mov rcx, qword [rbp + 0x2f]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400526f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400526f8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dec10
movdqa xmm0, xmmword [0x1400e5600]
movdqu xmmword [rbp + 0x3f], xmm0
mov byte [rbp + 0x2f], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x140052744
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14005273f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140052774
mov rcx, r8
call fcn.1400dec10
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400def70
mov rbx, qword [rsp + 0xd8]
add rsp, 0xc0
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3