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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x1400aa080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400061c3
cmp byte [rcx + 0x71], 0
je 0x1400061c3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + Ordinal_26]
cmp eax, 0xffffffff
je 0x1400061bf
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 0x140006184
sub eax, 1
je 0x140006188
cmp eax, 2
jne 0x1400061bf
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007f7b0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400061b6
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 0x1400061bf
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000616c
xor al, al
jmp 0x14000616c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14007f7b0
add rsp, 0x60
pop rbx
ret
Function at 0x140009f80
Capabilities:
Get system information on windows
Make suspicious ntquerysysteminformation call

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x1400aa080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
lea r9, [rsp + 0x20]
mov rsi, rcx
mov dword [rsp + 0x20], edi
xor r8d, r8d
xor edx, edx
mov ebx, edi
lea ecx, [rdi + 0xb]
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
jne 0x14000a011
test rbx, rbx
je 0x140009fd9
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov edx, dword [rsp + 0x20]
xor ecx, ecx
mov r8d, 0x3000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rax
mov ecx, listen
mov rbx, rax
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
cmp eax, 0xc0000004
je 0x140009fc3
test eax, eax
jns 0x14000a032
test rbx, rbx
je 0x14000a037
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
jmp 0x14000a0fd
test rbx, rbx
jne 0x14000a03e
xor eax, eax
jmp 0x14000a0fd
mov qword [rsp + 0x68], rbp
cmp dword [rbx], edi
jbe 0x14000a0e5
nop dword [rax + rax]
mov eax, edi
imul rcx, rax, 0x128
movzx edx, word [rcx + rbx + 0x2e]
lea rbp, [rcx + rbx]
add rcx, 0x30
add rdx, rcx
lea rcx, [rsp + 0x28]
add rdx, rbx
call fcn.140005f00
cmp qword [rsi + 0x18], 0xf
mov rdx, rsi
jbe 0x14000a083
mov rdx, qword [rsi]
cmp qword [rsp + 0x40], 0xf
lea rcx, [rsp + 0x28]
cmova rcx, qword [rsp + 0x28]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x14000a11a
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000a0db
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a0d6
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a163
call fcn.14007f7d0
inc edi
cmp edi, dword [rbx]
jb 0x14000a050
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor eax, eax
mov rbp, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14007f7b0
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov rdi, qword [rbp + 0x18]
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rdx, qword [rsp + 0x40]
cmp rdx, 0xf
jbe 0x14000a16f
mov rcx, qword [rsp + 0x28]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a16a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a16a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
mov rax, rdi
jmp 0x14000a0f8
Function at 0x14001cbd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 6], sil
je 0x14001cc04
mov eax, esi
lea ecx, [rax + 0x18]
xor byte [r8 + rax], cl
inc rax
cmp rax, 5
jb 0x14001cbf0
mov byte [r8 + 6], sil
lea rax, [r8 + 5]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14001cc34
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140008c60
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001cc42
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400297b0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 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 0x14001ccb6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ccb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ccb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001ccd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x14001cd04
mov eax, esi
lea ecx, [rax + 0x18]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14001ccf0
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14001cd34
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140008c60
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001cd42
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400297b0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 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 0x14001cdb6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cdb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001cdb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001cdd0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 8], sil
je 0x14001ce04
mov eax, esi
lea ecx, [rax + 0x18]
xor byte [r8 + rax], cl
inc rax
cmp rax, 7
jb 0x14001cdf0
mov byte [r8 + 8], sil
lea rax, [r8 + 7]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14001ce34
mov r8d, 7
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140008c60
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001ce42
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400297b0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 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 0x14001ceb6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001ceb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001ceb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14001ced0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x14001cf04
mov eax, esi
lea ecx, [rax + 0x18]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x14001cef0
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14001cf34
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140008c60
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001cf42
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400297b0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 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 0x14001cfb6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001cfb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001cfb1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001cfd0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
cmp byte [r8 + 6], 0
je 0x14001d015
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x18]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14001d000
mov byte [r8 + 6], 0
lea rax, [r8 + 5]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
cmp r9, rax
je 0x14001d049
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140008c60
nop
cmp byte [rbx + 0xa], 0
je 0x14001d064
xor ecx, ecx
lea eax, [rcx + 0x18]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x14001d051
mov byte [rbx + 0xa], 0
lea rax, [rbx + 9]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x14001d098
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008c60
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140023160
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14001d0f1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d0eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d0eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14001d131
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d12c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d12c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret
Function at 0x14001d150
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x14001d184
mov eax, esi
lea ecx, [rax + 0x18]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x14001d170
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14001d1b4
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140008c60
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001d1c2
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400297b0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 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 0x14001d236
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d231
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d231
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001d250
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
cmp byte [r8 + 0xb], 0
je 0x14001d295
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x18]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x14001d280
mov byte [r8 + 0xb], 0
lea rax, [r8 + 0xa]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
cmp r9, rax
je 0x14001d2c9
mov r8d, 0xa
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140008c60
nop
cmp byte [rbx + 0xb], 0
je 0x14001d2e4
xor ecx, ecx
lea eax, [rcx + 0x18]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xa
jb 0x14001d2d1
mov byte [rbx + 0xb], 0
lea rax, [rbx + 0xa]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x14001d318
mov r8d, 0xa
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008c60
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140023160
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14001d371
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d36b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d36b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14001d3b1
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d3ac
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d3ac
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret
Function at 0x14001d3d0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x40], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x14001d404
mov eax, esi
lea ecx, [rax + 0x18]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x14001d3f0
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x20], sil
cmp r9, rax
je 0x14001d434
mov r8d, listen
mov rdx, r9
lea rcx, [rsp + 0x20]
call fcn.140008c60
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14001d442
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400297b0
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 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 0x14001d4b6
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d4b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d4b1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14001d4d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x70
mov r9, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x68], rcx
cmp byte [r8 + 0xb], 0
je 0x14001d515
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x18]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xa
jb 0x14001d500
mov byte [r8 + 0xb], 0
lea rax, [r8 + 0xa]
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x60], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x48], 0
cmp r9, rax
je 0x14001d549
mov r8d, 0xa
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.140008c60
nop
cmp byte [rbx + 0xe], 0
je 0x14001d564
xor ecx, ecx
lea eax, [rcx + 0x18]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xd
jb 0x14001d551
mov byte [rbx + 0xe], 0
lea rax, [rbx + 0xd]
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], 0
cmp rbx, rax
je 0x14001d598
mov r8d, reloc.WS2_32.dll_listen
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.140008c60
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
movzx edx, byte [rsp + 0x20]
mov rcx, rdi
call fcn.140023160
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14001d5f1
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d5eb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d5eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14001d631
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001d62c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d62c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14007f7d0
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x70
pop rdi
ret

Function at 0x140024320
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 5], 0
mov rbx, rdx
mov qword [rsp + 0x20], rbx
mov rdx, rcx
je 0x140024353
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x18]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 4
jb 0x140024340
mov byte [rdx + 5], 0
lea rcx, [rdx + 4]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14002437d
mov r8d, 4
mov rcx, rbx
call fcn.140008c60
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140024390
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 8], 0
mov rbx, rdx
mov qword [rsp + 0x20], rbx
mov rdx, rcx
je 0x1400243c3
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x18]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 7
jb 0x1400243b0
mov byte [rdx + 8], 0
lea rcx, [rdx + 7]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x1400243ed
mov r8d, 7
mov rcx, rbx
call fcn.140008c60
mov rax, rbx
add rsp, 0x30
pop rbx
ret
Function at 0x140024400
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 9], 0
mov rbx, rdx
mov qword [rsp + 0x20], rbx
mov rdx, rcx
je 0x140024433
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x18]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 8
jb 0x140024420
mov byte [rdx + 9], 0
lea rcx, [rdx + 8]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14002445d
mov r8d, 8
mov rcx, rbx
call fcn.140008c60
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x140024470
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0x10], 0
mov rbx, rdx
mov qword [rsp + 0x20], rbx
mov rdx, rcx
je 0x1400244a3
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x18]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xf
jb 0x140024490
mov byte [rdx + 0x10], 0
lea rcx, [rdx + 0xf]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x1400244cd
mov r8d, reloc.WS2_32.dll_ntohs
mov rcx, rbx
call fcn.140008c60
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400244e0
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x30
cmp byte [rcx + 0xb], 0
mov rbx, rdx
mov qword [rsp + 0x20], rbx
mov rdx, rcx
je 0x140024513
xor ecx, ecx
nop dword [rax]
lea eax, [rcx + 0x18]
xor byte [rcx + rdx], al
inc rcx
cmp rcx, 0xa
jb 0x140024500
mov byte [rdx + 0xb], 0
lea rcx, [rdx + 0xa]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
cmp rdx, rcx
je 0x14002453d
mov r8d, 0xa
mov rcx, rbx
call fcn.140008c60
mov rax, rbx
add rsp, 0x30
pop rbx
ret

Function at 0x1400245d0
Capabilities:
Read file via mapping

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x1400aa080]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbx, rdx
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9, [rsp + 0x40]
xor edx, edx
mov rcx, rax
lea r8, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_QueryFullProcessImageNameW]
xor esi, esi
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rsi
xor r9d, r9d
mov dword [rsp + 0x28], 0x80
mov edx, 0x80000000
mov dword [rsp + 0x20], 3
lea r8d, [rsi + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
dec rax
cmp rax, 0xfffffffffffffffd
ja 0x14002467d
mov qword [rsp + 0x28], rsi
lea r8d, [rsi + 2]
xor r9d, r9d
mov dword [rsp + 0x20], esi
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
test rax, rax
jne 0x1400246ac
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 8], rsi
mov qword [rbx], rsi
mov rax, rbx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.14007f7b0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
xor r9d, r9d
mov qword [rsp + 0x20], rsi
xor r8d, r8d
mov rcx, rax
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov qword [rbx + 8], rax
mov qword [rbx], rdi
jmp 0x140024684
Function at 0x140025990
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 5], 0
je 0x1400259b3
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x18]
xor byte [rax + rcx], dl
inc rax
cmp rax, 4
jb 0x1400259a0
mov byte [rcx + 5], 0
mov rax, rcx
ret

Function at 0x1400259c0
Capabilities:
Encode data using xor

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

Function at 0x1400259f0
Capabilities:
Encode data using xor

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

Function at 0x140025a20
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140025a43
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x18]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140025a30
mov byte [rcx + 0x47], 0
mov rax, rcx
ret