joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c55f0
Capabilities:
Allocate thread local storage

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [rbx + 4], eax
cmp eax, 0xffffffff
jne 0x1400c5620
lea rdx, str.Win32:_Failed_to_allocate_TLS_index
mov ecx, 0x10008
call fcn.1400be790
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov dword [rbx], 1
mov eax, 1
add rsp, 0x20
pop rbx
ret

Function at 0x1400c6770
Capabilities:
Log keystrokes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xb0]
sub rsp, 0x1b0
mov rax, qword [0x1401d12b0]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor edx, edx
lea rcx, [rbp - 0x60]
mov r8d, 0x100
call sub.VCRUNTIME140.dll_memset
xor edx, edx
lea rcx, [0x1401e116a]
mov r8d, 0x6d1
call sub.VCRUNTIME140.dll_memset
lea r14, [rsp + 0x40]
mov qword [rsp + 0x1e0], rdi
sub r14, 0x480
lea r15, [0x1401e0ef0]
xor r13d, r13d
lea r12, [0x1401e120a]
mov ebx, reloc.WLDAP32.dll_Ordinal_32
movsx esi, word [r15]
cmp esi, 0xffffffff
je 0x1400c6915
cmp ebx, 0x140
jb 0x1400c6890
cmp ebx, 0x14e
ja 0x1400c6890
mov dword [rsp + 0x40], 0x60
mov dword [rsp + 0x44], 0x61
mov dword [rsp + 0x48], 0x62
mov dword [rsp + 0x4c], 0x63
mov dword [rsp + 0x50], 0x64
mov dword [rsp + 0x54], 0x65
mov dword [rsp + 0x58], 0x66
mov dword [rsp + 0x5c], 0x67
mov dword [rsp + 0x60], WSAGetLastError
mov dword [rsp + 0x64], WSASetLastError
mov dword [rsp + 0x68], WSASetLastError
mov dword [rsp + 0x6c], reloc.WS2_32.dll_WSAGetLastError
mov dword [rsp + 0x70], WSASetLastError
mov dword [rsp + 0x74], WSASetLastError
mov dword [rsp + 0x78], WSASetLastError
mov edi, dword [r14]
jmp 0x1400c689f
mov edx, 1
mov ecx, esi
call qword [sym.imp.USER32.dll_MapVirtualKeyW]
mov edi, eax
mov dword [rsp + 0x28], r13d
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 0xffffffff
jne 0x1400c68e2
mov dword [rsp + 0x28], r13d
lea r9, [rbp - 0x80]
lea r8, [rbp - 0x60]
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
mov edx, esi
mov ecx, edi
call qword [sym.imp.USER32.dll_ToUnicode]
cmp eax, 1
jl 0x1400c6915
mov qword [rsp + 0x38], r13
lea r8, [rbp - 0x80]
mov qword [rsp + 0x30], r13
mov r9d, 1
mov dword [rsp + 0x28], 5
xor edx, edx
mov ecx, 0xfde9
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
inc ebx
add r12, 5
add r14, 4
add r15, 2
cmp ebx, 0x15c
jle 0x1400c67f2
mov rdi, qword [rsp + 0x1e0]
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14012e570
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400caac0
Capabilities:
Link many functions at runtime

Disassembly:
sub rsp, 0x48
mov rax, qword [0x1401d12b0]
xor rax, rsp
mov qword [rsp + 0x38], rax
cmp qword [0x1401e09e8], 0
lea rax, str.libOSMesa.dll
lea rcx, str.OSMesa.dll
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], 0
je 0x1400cab15
mov eax, 1
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012e570
add rsp, 0x48
ret
mov qword [rsp + 0x40], rbx
xor ebx, ebx
nop dword [rax]
mov rcx, rax
call sub.KERNEL32.dll_LoadLibraryA
mov qword [0x1401e09e8], rax
test rax, rax
jne 0x1400cab57
mov rax, qword [rsp + rbx*8 + 0x28]
inc rbx
test rax, rax
jne 0x1400cab20
lea rdx, str.OSMesa:_Library_not_found
mov ecx, 0x10006
call fcn.1400be790
jmp 0x1400cac74
lea rdx, str.OSMesaCreateContextExt
mov rcx, rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401e09e8]
lea rdx, str.OSMesaCreateContextAttribs
mov qword [0x1401e09f0], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401e09e8]
lea rdx, str.OSMesaDestroyContext
mov qword [0x1401e09f8], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401e09e8]
lea rdx, str.OSMesaMakeCurrent
mov qword [0x1401e0a00], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401e09e8]
lea rdx, str.OSMesaGetColorBuffer
mov qword [0x1401e0a08], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401e09e8]
lea rdx, str.OSMesaGetDepthBuffer
mov qword [0x1401e0a10], rax
call sub.KERNEL32.dll_GetProcAddress
mov rcx, qword [0x1401e09e8]
lea rdx, str.OSMesaGetProcAddress
mov qword [0x1401e0a18], rax
call sub.KERNEL32.dll_GetProcAddress
cmp qword [0x1401e09f0], 0
mov qword [0x1401e0a20], rax
je 0x1400cac47
cmp qword [0x1401e0a00], 0
je 0x1400cac47
cmp qword [0x1401e0a08], 0
je 0x1400cac47
cmp qword [0x1401e0a10], 0
je 0x1400cac47
cmp qword [0x1401e0a18], 0
je 0x1400cac47
test rax, rax
je 0x1400cac47
mov eax, 1
jmp 0x1400cac76
lea rdx, str.OSMesa:_Failed_to_load_required_entry_points
mov ecx, 0x10008
call fcn.1400be790
mov rcx, qword [0x1401e09e8]
test rcx, rcx
je 0x1400cac74
call fcn.1400cb510
mov qword [0x1401e09e8], 0
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14012e570
add rsp, 0x48
ret
Function at 0x1400cdad0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x1400cdb04
mov eax, esi
lea ecx, [rax - 0x67]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x1400cdaf0
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r10, rax
je 0x1400cdb39
mov r8d, 6
mov rdx, r10
lea rcx, [rsp + 0x20]
call fcn.140008610
nop
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400cdb46
mov r8, qword [rdi]
mov r9, qword [rdi + 0x10]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000d5b0
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400cdbbe
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cdbb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cdbb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov rax, rbx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400cdbd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x1400cdc04
mov ecx, esi
lea eax, [rcx - 0x67]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x1400cdbf0
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1400cdc39
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140008610
nop
cmp byte [rbx + 9], 0
je 0x1400cdc63
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x67]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 8
jb 0x1400cdc50
mov byte [rbx + 9], 0
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x1400cdc98
mov r8d, 8
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008610
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140013b50
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400cdcf1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cdceb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cdceb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400cdd31
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cdd2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cdd2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400cdd40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x1400cdd74
mov eax, esi
lea ecx, [rax - 0x67]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x1400cdd60
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r10, rax
je 0x1400cdda9
mov r8d, 8
mov rdx, r10
lea rcx, [rsp + 0x20]
call fcn.140008610
nop
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400cddb6
mov r8, qword [rdi]
mov r9, qword [rdi + 0x10]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000d5b0
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400cde2e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cde29
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cde29
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov rax, rbx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400cde40
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x1400cde74
mov ecx, esi
lea eax, [rcx - 0x67]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1400cde60
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1400cdea9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140008610
nop
cmp byte [rbx + 0xa], 0
je 0x1400cded3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x67]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x1400cdec0
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x1400cdf08
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008610
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140013b50
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400cdf61
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cdf5b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cdf5b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400cdfa1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cdf9c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400cdf9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400cdfb0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x1400cdfe4
mov eax, esi
lea ecx, [rax - 0x67]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x1400cdfd0
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r10, rax
je 0x1400ce019
mov r8d, 9
mov rdx, r10
lea rcx, [rsp + 0x20]
call fcn.140008610
nop
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400ce026
mov r8, qword [rdi]
mov r9, qword [rdi + 0x10]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000d5b0
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400ce09e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce099
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ce099
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov rax, rbx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400ce0b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x1400ce0e4
mov eax, esi
lea ecx, [rax - 0x67]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x1400ce0d0
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r10, rax
je 0x1400ce119
mov r8d, recv
mov rdx, r10
lea rcx, [rsp + 0x20]
call fcn.140008610
nop
mov r8, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x1400ce126
mov r8, qword [rdi]
mov r9, qword [rdi + 0x10]
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.14000d5b0
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x1400ce19e
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce199
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ce199
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov rax, rbx
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ce1b0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x1400ce1e4
mov ecx, esi
lea eax, [rcx - 0x67]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1400ce1d0
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], sil
cmp r9, rax
je 0x1400ce219
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140008610
nop
cmp byte [rbx + 0xd], 0
je 0x1400ce243
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x67]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xc
jb 0x1400ce230
mov byte [rbx + 0xd], 0
lea rax, [rbx + 0xc]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x1400ce278
mov r8d, recv
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008610
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140013b50
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400ce2d1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce2cb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ce2cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400ce311
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ce30c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400ce30c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400d42e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 9], r8b
je 0x1400d4313
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x67]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 8
jb 0x1400d4300
mov byte [rdx + 9], r8b
lea rcx, [rdx + 8]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400d433c
mov r8d, 8
mov rcx, rbx
call fcn.140008610
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400d4350
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0x10], r8b
je 0x1400d4383
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x67]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xf
jb 0x1400d4370
mov byte [rdx + 0x10], r8b
lea rcx, [rdx + 0xf]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400d43ac
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.140008610
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400d43c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
mov rbx, rdx
xor r8d, r8d
mov rdx, rcx
mov qword [rsp + 0x20], rbx
cmp byte [rcx + 0xb], r8b
je 0x1400d43f3
mov ecx, r8d
nop dword [rax]
lea eax, [rcx - 0x67]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xa
jb 0x1400d43e0
mov byte [rdx + 0xb], r8b
lea rcx, [rdx + 0xa]
mov qword [rbx], r8
mov qword [rbx + 0x10], r8
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], r8b
cmp rdx, rcx
je 0x1400d441c
mov r8d, 0xa
mov rcx, rbx
call fcn.140008610
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x1400d5d90
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x1400d5db8
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x67]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x1400d5da0
mov byte [rcx + 0x136], 0
mov rax, rcx
ret

Function at 0x1400d5dc0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x44], 0
je 0x1400d5de3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x67]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x43
jb 0x1400d5dd0
mov byte [rcx + 0x44], 0
mov rax, rcx
ret

Function at 0x1400d5df0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x1400d5e13
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x67]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x1400d5e00
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x1400d6ee0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1401d12b0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rsi, rcx
mov qword [rsp + 0x70], rcx
mov r8, rcx
lea rdx, str.start_cmd__C__color_b__title_Error__echo
lea rcx, [rsp + 0x50]
call fcn.14008da80
mov rdi, rax
mov rcx, qword [rax + 0x10]
mov rdx, qword [rax + 0x18]
mov rax, rdx
sub rax, rcx
cmp rax, 0x11
jb 0x1400d6f67
lea rax, [rcx + 0x11]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rdx, 0x10
jb 0x1400d6f48
mov rax, qword [rdi]
lea rbx, [rax + rcx]
mov r8d, reloc.WS2_32.dll_recvfrom
lea rdx, str.__timeout__t_5_
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x11], 0
jmp 0x1400d6f89
mov qword [rsp + 0x20], reloc.WS2_32.dll_recvfrom
lea r9, str.__timeout__t_5_
xor r8d, r8d
lea edx, [r8 + 0x11]
mov rcx, rdi
call fcn.14000d420
mov rdi, rax
movups xmm0, xmmword [rdi]
movups xmmword [rsp + 0x30], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsp + 0x40], xmm1
xor ebx, ebx
mov qword [rdi + 0x10], rbx
mov qword [rdi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rdi], bl
lea rcx, [rsp + 0x30]
cmp qword [rsp + 0x48], 0x10
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400d7001
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d6ffc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d6ffc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x48], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x30], bl
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400d7053
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400d704e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400d704e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14012eab4
xor ecx, ecx
int 0x29
mov rdx, qword [rsi + 0x18]
cmp rdx, 0x10
jb 0x1400d708d
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400d7088
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400d70be
mov rcx, r8
call fcn.14012eab4
mov qword [rsi + 0x10], rbx
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], 0
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14012e570
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x1400e3ab0
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll__read]
cdqe
add rsp, 0x28
ret