joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140063d00
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x1400e8180]
xor rax, rsp
mov qword [rsp + 0x150], rax
xor edx, edx
mov rbx, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
test rax, rax
je 0x140063d99
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x140063d99
nop
mov r9, qword [rbx + 0x18]
mov r8, rbx
cmp r9, 0x10
jb 0x140063d60
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140063d83
inc rax
test ecx, ecx
jne 0x140063d70
test edx, edx
je 0x140063e05
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140063d50
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140063dcf
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x140063dca
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140063e46
mov rcx, r8
call fcn.140080f50
xor eax, eax
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], 0
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140080f30
mov rbx, qword [rsp + 0x178]
add rsp, 0x160
pop rdi
ret
mov edi, dword [rsp + 0x28]
cmp r9, 0x10
jb 0x140063e3c
mov rcx, qword [rbx]
lea rdx, [r9 + 1]
cmp rdx, 0x1000
jb 0x140063e37
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140063e40
mov rcx, r8
call fcn.140080f50
mov eax, edi
jmp 0x140063dd1
call fcn.1400996b0
int3
call fcn.1400996b0
int3
Function at 0x14008532c
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0x90
mov rax, qword [0x1400e8180]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov edi, 0xffff
xor r14d, r14d
movzx esi, dx
mov rbx, rcx
cmp di, dx
jne 0x140085370
movzx eax, r14w
jmp 0x1400854a6
mov rax, qword [rcx + 0x40]
mov r8, qword [rax]
test r8, r8
je 0x1400853ac
mov rax, qword [rcx + 0x58]
movsxd r9, dword [rax]
lea rdx, [r8 + r9*2]
cmp r8, rdx
jae 0x1400853ac
lea ecx, [r9 - 1]
mov dword [rax], ecx
movzx eax, si
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 2]
mov qword [rdx], rcx
mov word [r8], si
jmp 0x1400854a6
cmp qword [rcx + 0x80], r14
je 0x1400854a3
mov r8, qword [rcx + 0x18]
lea rax, [rcx + 0x70]
cmp qword [r8], rax
jne 0x1400853ea
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 0x140085413
movzx ecx, si
mov rdx, qword [rbx + 0x80]
call fcn.1400a05fc
cmp ax, di
je 0x1400854a3
movzx edi, si
jmp 0x1400854a3
lea r8, [rbp + 0xf]
mov word [rbp + 7], si
mov rax, qword [rcx]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x38], r8
lea r9, [rbp + 9]
lea r8, [rbp + 0x3f]
mov qword [rsp + 0x30], r8
lea r8, [rbp + 0x1f]
mov rax, qword [rax + 0x38]
mov qword [rsp + 0x28], r8
lea r8, [rbp + 0x17]
mov qword [rsp + 0x20], r8
lea r8, [rbp + 7]
call qword [str.p_v_]
test eax, eax
je 0x140085468
sub eax, 1
je 0x140085468
cmp eax, 2
jne 0x1400854a3
movzx ecx, word [rbp + 7]
jmp 0x1400853f6
mov r14, qword [rbp + 0xf]
lea rax, [rbp + 0x1f]
sub r14, rax
je 0x140085492
mov r9, qword [rbx + 0x80]
lea rcx, [rbp + 0x1f]
mov r8, r14
mov edx, 1
call fcn.1400933b0
cmp r14, rax
jne 0x1400854a3
lea rax, [rbp + 7]
mov byte [rbx + 0x72], 1
cmp qword [rbp + 0x17], rax
movzx eax, si
jne 0x1400854a6
movzx eax, di
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140080f30
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140099ee8
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x140099d7b
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140099d7b
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140099d7b
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140099d7b
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140099d7b
cmp dword [rcx + 0x84], 0xe
jbe 0x140099d7b
cmp dword [rcx + 0xf8], 0
je 0x140099d7b
mov ecx, ebx
call fcn.140099e1c
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.140099c0c
cmp dword [rbp + 0x20], 0
je 0x140099dc8
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140099dd0
int3
xor r8d, r8d
xor edx, edx
jmp 0x140099d14
Function at 0x1400a5c54
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x1400a597a
call fcn.1400986b8
mov dword [rax], 0x16
call fcn.140099690
jmp 0x1400a5ac5
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x1400a5ac5
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x1400a5ac5
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x1400a59a9
lock or dword [rcx + 0x14], 0x10
jmp 0x1400a5ac5
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x1400a59bd
call fcn.1400a5e90
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x1400a59cd
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x1400a59d0
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.140093138
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.14008d16c
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x1400a5ab3
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1400a5a61
mov rcx, rbx
call fcn.140093138
cmp eax, 0xffffffff
je 0x1400a5a4c
mov rcx, rbx
call fcn.140093138
cmp eax, 0xfffffffe
je 0x1400a5a4c
mov rcx, rbx
call fcn.140093138
movsxd rdi, eax
lea r14, [0x1400ed610]
mov rcx, rbx
sar rdi, 6
call fcn.140093138
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1400a5a53
lea rdx, [0x1400e84f0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1400a5a61
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1400a5a85
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1400a5a85
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1400a5a85
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x1400a5aa3
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x1400a5aae
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x1400a5aca
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x1400a5944
Function at 0x140001000
Capabilities:
Encode data using xor

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
xor edx, edx
mov cl, 0x35
call fcn.140019cd0
mov edx, 1
mov byte [rbp - 0x40], al
mov cl, 0x35
call fcn.140019cd0
mov edx, 2
mov byte [rbp - 0x3f], al
mov cl, reloc.WS2_32.dll_gethostname
call fcn.140019cd0
mov edx, 3
mov byte [rbp - 0x3e], al
mov cl, 0x36
call fcn.140019cd0
mov edx, 4
mov byte [rbp - 0x3d], al
mov cl, 0x34
call fcn.140019cd0
mov edx, 5
mov byte [rbp - 0x3c], al
mov cl, 0x34
call fcn.140019cd0
mov edx, 6
mov byte [rbp - 0x3b], al
mov cl, reloc.WLDAP32.dll_Ordinal_50
call fcn.140019cd0
mov edx, 7
mov byte [rbp - 0x3a], al
mov cl, Ordinal_50
call fcn.140019cd0
mov edx, 8
mov byte [rbp - 0x39], al
mov cl, Ordinal_50
call fcn.140019cd0
mov edx, 9
mov byte [rbp - 0x38], al
mov cl, 0x33
call fcn.140019cd0
mov edx, 0xa
mov byte [rbp - 0x37], al
mov cl, gethostname
call fcn.140019cd0
mov edx, listen
mov byte [rbp - 0x36], al
mov cl, 0x35
call fcn.140019cd0
mov edx, recv
mov byte [rbp - 0x35], al
mov cl, 0x37
call fcn.140019cd0
mov edx, reloc.WS2_32.dll_listen
mov byte [rbp - 0x34], al
mov cl, reloc.WS2_32.dll_gethostname
call fcn.140019cd0
mov edx, reloc.WS2_32.dll_ntohl
mov byte [rbp - 0x33], al
mov cl, Ordinal_50
call fcn.140019cd0
mov edx, reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x32], al
mov cl, 0x37
call fcn.140019cd0
mov byte [rbp - 0x31], al
xor eax, eax
mov byte [rbp - 0x30], al
xor r8d, r8d
nop
movsxd rcx, eax
lea rdx, [rbp - 0x40]
add rdx, rcx
lea ecx, [rax + 0x13]
inc eax
xor byte [rdx], cl
cmp eax, 0x10
jb 0x140001100
xorps xmm0, xmm0
mov byte [rbp - 0x30], r8b
mov qword [rbp - 0x18], r8
lea rax, [rbp - 0x40]
mov qword [rbp - 0x10], r8
mov r8, 0xffffffffffffffff
movups xmmword [rbp - 0x28], xmm0
inc r8
cmp byte [rax + r8], 0
jne 0x140001134
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x28]
call fcn.140018460
lea rdx, [rbp - 0x28]
lea rcx, [0x1400d8260]
call fcn.140018800
add rsp, 0x60
pop rbp
ret

Function at 0x140005450
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140005473
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x69]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140005460
mov byte [rcx + 0x47], 0
mov rax, rcx
ret
Function at 0x140005480
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 0x1400054b4
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1400054a0
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 0x1400054e9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14000ad40
nop
cmp byte [rbx + 0xa], 0
je 0x140005513
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x69]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x140005500
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 0x140005548
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000ad40
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000ce20
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000559c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005596
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005596
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400055dc
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400055d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400055f0
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 + 0x48], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x140005624
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140005610
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x140005659
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.14000ad40
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140005667
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.14000ddf0
mov qword [rdi], rsi
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 + 0x40]
cmp rdx, 0x10
jb 0x1400056dc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400056d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400056d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400056f0
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 + 0x48], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x140005724
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x140005710
mov byte [r8 + 0xa], sil
lea rax, [r8 + 9]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x140005759
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.14000ad40
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140005767
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.14000ddf0
mov qword [rdi], rsi
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 + 0x40]
cmp rdx, 0x10
jb 0x1400057dc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400057d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400057d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1400057f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x140005818
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x69]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x140005800
mov byte [rcx + 0x136], 0
mov rax, rcx
ret
Function at 0x1400058a0
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 + 0x48], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x1400058d4
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x1400058c0
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x28], sil
cmp r9, rax
je 0x140005909
mov r8d, recv
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.14000ad40
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140005917
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.14000ddf0
mov qword [rdi], rsi
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 + 0x40]
cmp rdx, 0x10
jb 0x14000598c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005987
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005987
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006310
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 0x140006344
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140006330
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 0x140006379
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14000ad40
nop
cmp byte [rbx + 0xd], 0
je 0x1400063a3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x69]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xc
jb 0x140006390
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 0x1400063d8
mov r8d, recv
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000ad40
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000ce20
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000642c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006426
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006426
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x14000646c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006467
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006467
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400069d0
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 + 0xc], sil
je 0x140006a04
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x1400069f0
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
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 0x140006a39
mov r8d, recv
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14000ad40
nop
cmp byte [rbx + 9], 0
je 0x140006a63
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x69]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 8
jb 0x140006a50
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 0x140006a98
mov r8d, 8
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000ad40
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000ce20
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140006aec
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006ae6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006ae6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140006b2c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006b27
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006b27
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140007250
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 + 7], sil
je 0x140007284
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140007270
mov byte [r8 + 7], sil
lea rax, [r8 + 6]
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 0x1400072b9
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14000ad40
nop
cmp byte [rbx + 0x14], 0
je 0x1400072e3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x69]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0x13
jb 0x1400072d0
mov byte [rbx + 0x14], 0
lea rax, [rbx + 0x13]
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 0x140007318
mov r8d, reloc.WS2_32.dll_send
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000ad40
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000ce20
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000736c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007366
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007366
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400073ac
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400073a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400073a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400078c0
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 + 0xc], sil
je 0x1400078f4
mov ecx, esi
lea eax, [rcx + 0x69]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x1400078e0
mov byte [r8 + 0xc], sil
lea rax, [r8 + 0xb]
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 0x140007929
mov r8d, recv
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.14000ad40
nop
cmp byte [rbx + 0xb], 0
je 0x140007953
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x69]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xa
jb 0x140007940
mov byte [rbx + 0xb], 0
lea rax, [rbx + 0xa]
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 0x140007988
mov r8d, 0xa
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.14000ad40
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000ce20
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x1400079dc
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400079d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400079d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140007a1c
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140007a17
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140007a17
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140073230
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret