joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180208e60
Capabilities:
Enumerate pe sections

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, 0x20
mov rax, qword [rdx + 0x10]
xor r11d, r11d
mov r14, qword [rdx]
mov esi, 0xffffffff
mov r15, rdx
mov rbx, rcx
mov r8d, r11d
mov edx, r11d
movsxd rbp, dword [rax + 0x14]
mov r9, qword [rax]
lea r12d, [rsi + 2]
mov dword [rcx + 0x1494], r11d
mov dword [rcx + 0x1498], 0x23d
test ebp, ebp
jle 0x180208f10
nop dword [rax]
cmp word [r14 + rdx*4], r11w
je 0x180208eec
movsxd rcx, dword [rbx + 0x1494]
mov esi, r8d
lea eax, [rcx + 1]
mov dword [rbx + 0x1494], eax
mov dword [rbx + rcx*4 + 0xba4], r8d
mov byte [rdx + rbx + 0x149c], r11b
jmp 0x180208ef2
mov word [r14 + rdx*4 + 2], r11w
inc r8d
inc rdx
cmp rdx, rbp
jl 0x180208ec0
mov edx, dword [rbx + 0x1494]
cmp edx, 2
jge 0x180208f67
nop dword [rax + rax]
cmp esi, 2
lea eax, [rsi + 1]
lea ecx, [rsi + 1]
cmovge eax, esi
cmovge ecx, r11d
mov esi, eax
lea eax, [rdx + 1]
mov dword [rbx + 0x1494], eax
movsxd rax, edx
mov dword [rbx + rax*4 + 0xba4], ecx
movsxd rax, ecx
mov word [r14 + rax*4], r12w
mov byte [rax + rbx + 0x149c], r11b
dec dword [rbx + 0x1704]
test r9, r9
je 0x180208f5c
movzx eax, word [r9 + rax*4 + 2]
sub dword [rbx + 0x1708], eax
mov edx, dword [rbx + 0x1494]
cmp edx, 2
jl 0x180208f10
mov dword [r15 + 8], esi
mov ecx, dword [rbx + 0x1494]
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov edi, eax
cmp eax, r12d
jl 0x180208fa0
nop
mov r8d, edi
mov rdx, r14
mov rcx, rbx
call fcn.18020a8d0
dec edi
cmp edi, r12d
jge 0x180208f80
mov ecx, dword [rbx + 0x1494]
nop dword [rax + rax]
movsxd rdi, dword [rbx + 0xba4]
mov r8d, r12d
movsxd rax, ecx
mov rdx, r14
mov ecx, dword [rbx + rax*4 + 0xba0]
mov dword [rbx + 0xba4], ecx
mov rcx, rbx
dec dword [rbx + 0x1494]
call fcn.18020a8d0
movsxd rdx, dword [rbx + 0xba4]
movsxd rcx, dword [rbx + 0x1498]
mov r8, rdx
movsxd r9, ebp
lea eax, [rcx - 1]
mov dword [rbx + 0x1498], eax
mov dword [rbx + rcx*4 + 0xb9c], edi
movsxd rcx, dword [rbx + 0x1498]
lea eax, [rcx - 1]
mov dword [rbx + 0x1498], eax
mov dword [rbx + rcx*4 + 0xb9c], edx
mov rcx, rbx
movzx eax, word [r14 + rdx*4]
add ax, word [r14 + rdi*4]
mov word [r14 + r9*4], ax
movzx edx, byte [rdi + rbx + 0x149c]
movzx eax, byte [r8 + rbx + 0x149c]
cmp dl, al
cmovb edx, eax
inc dl
mov byte [r9 + rbx + 0x149c], dl
mov rdx, r14
mov word [r14 + r8*4 + 2], bp
mov r8d, r12d
mov word [r14 + rdi*4 + 2], bp
mov dword [rbx + 0xba4], ebp
inc ebp
call fcn.18020a8d0
mov ecx, dword [rbx + 0x1494]
cmp ecx, 2
jge 0x180208fa0
movsxd rcx, dword [rbx + 0x1498]
mov rdx, r15
lea eax, [rcx - 1]
mov dword [rbx + 0x1498], eax
mov eax, dword [rbx + 0xba4]
mov dword [rbx + rcx*4 + 0xb9c], eax
mov rcx, rbx
call fcn.180209f10
lea r9, [rbx + 0xb80]
mov r8d, esi
mov rdx, r14
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
mov rdi, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r12
jmp fcn.18020a120
Function at 0x180209d90
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, dword [rcx + 0x2c]
mov rbx, rcx
mov qword [rsp + 0x30], r14
nop word [rax + rax]
mov esi, dword [rbx + 0x40]
mov edx, dword [rbx + 0x88]
sub esi, edx
mov eax, dword [rbx + 0x90]
sub esi, eax
jne 0x180209dd4
test edx, edx
jne 0x180209de3
test eax, eax
jne 0x180209de3
mov esi, edi
jmp 0x180209e73
cmp esi, 0xffffffff
jne 0x180209de3
mov esi, 0xfffffffe
jmp 0x180209e73
mov ecx, dword [rbx + 0x2c]
add ecx, 0xfffffefa
add ecx, edi
cmp edx, ecx
jb 0x180209e73
mov rcx, qword [rbx + 0x38]
mov r8, rdi
lea rdx, [rdi + rcx]
call fcn.180210e90
mov r8d, dword [rbx + 0x68]
mov rax, qword [rbx + 0x58]
sub dword [rbx + 0x8c], edi
sub dword [rbx + 0x88], edi
sub dword [rbx + 0x78], edi
lea rdx, [rax + r8*2]
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
sub cx, di
movzx eax, cx
not ax
sar ax, 0xf
and ax, cx
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x180209e21
mov rax, qword [rbx + 0x48]
mov r8d, edi
lea rdx, [rax + rdi*2]
nop dword [rax]
movzx ecx, word [rdx - 2]
lea rdx, [rdx - 2]
sub cx, di
movzx eax, cx
not ax
sar ax, 0xf
and ax, cx
mov word [rdx], ax
add r8d, 0xffffffff
jne 0x180209e50
add esi, edi
mov rcx, qword [rbx + 8]
call fcn.18011f5c0
test eax, eax
je 0x180209ef6
mov edx, dword [rbx + 0x90]
mov r8d, esi
mov eax, dword [rbx + 0x88]
mov rcx, qword [rbx + 8]
add rdx, rax
add rdx, qword [rbx + 0x38]
call fcn.1801fc7a0
add dword [rbx + 0x90], eax
mov r9d, dword [rbx + 0x90]
cmp r9d, 3
jb 0x180209edc
mov eax, dword [rbx + 0x88]
mov rdx, qword [rbx + 0x38]
mov ecx, dword [rbx + 0x74]
movzx r8d, byte [rax + rdx]
mov dword [rbx + 0x64], r8d
shl r8d, cl
inc eax
movzx eax, byte [rax + rdx]
xor r8d, eax
and r8d, dword [rbx + 0x70]
mov dword [rbx + 0x64], r8d
cmp r9d, 0x106
jae 0x180209ef6
mov rcx, qword [rbx + 8]
call fcn.18011f5c0
test eax, eax
jne 0x180209db0
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18020a120
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
movzx eax, word [r9]
mov r10, rdx
movzx ecx, word [r9 + 2]
add ax, ax
add cx, ax
mov word [rsp + 2], ax
movzx eax, word [r9 + 4]
add cx, cx
add ax, cx
mov word [rsp + 4], cx
movzx ecx, word [r9 + 6]
add ax, ax
add cx, ax
mov word [rsp + 6], ax
movzx eax, word [r9 + 8]
add cx, cx
add ax, cx
mov word [rsp + 8], cx
movzx ecx, word [r9 + 0xa]
add ax, ax
add cx, ax
mov word [rsp + 0xa], ax
movzx eax, word [r9 + 0xc]
add cx, cx
add ax, cx
mov word [rsp + 0xc], cx
movzx ecx, word [r9 + 0xe]
add ax, ax
add cx, ax
mov word [rsp + 0xe], ax
movzx eax, word [r9 + 0x10]
add cx, cx
add ax, cx
mov word [rsp + 0x10], cx
movzx ecx, word [r9 + 0x12]
add ax, ax
add cx, ax
mov word [rsp + 0x12], ax
movzx eax, word [r9 + 0x14]
add cx, cx
add ax, cx
mov word [rsp + 0x14], cx
movzx ecx, word [r9 + 0x16]
add ax, ax
add cx, ax
mov word [rsp + 0x16], ax
movzx eax, word [r9 + 0x18]
add cx, cx
add ax, cx
mov word [rsp + 0x18], cx
movzx ecx, word [r9 + 0x1a]
add ax, ax
add cx, ax
mov word [rsp + 0x1a], ax
movzx eax, word [r9 + 0x1c]
add cx, cx
add ax, cx
mov word [rsp + 0x1c], cx
add ax, ax
movsxd r11, r8d
mov word [rsp + 0x1e], ax
test r8d, r8d
js 0x18020a262
xor r9d, r9d
nop
movzx edx, word [r10 + r9*4 + 2]
test edx, edx
je 0x18020a25a
lea rcx, [rsp]
movzx r8d, word [rcx + rdx*2]
lea rcx, [rcx + rdx*2]
lea eax, [r8 + 1]
mov word [rcx], ax
xor eax, eax
mov ecx, r8d
dec edx
and ecx, 1
shr r8d, 1
or eax, ecx
add eax, eax
test edx, edx
jg 0x18020a240
shr eax, 1
mov word [r10 + r9*4], ax
inc r9
cmp r9, r11
jle 0x18020a220
add rsp, 0x28
ret
Function at 0x180231bb8
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 0x1802318de
call fcn.18021ed60
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.18021e9a0
jmp 0x180231a29
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x180231a29
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x180231a29
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x18023190d
lock or dword [rcx + 0x14], 0x10
jmp 0x180231a29
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x180231921
call fcn.180232aa0
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x180231931
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x180231934
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.18022ed98
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.1802330e0
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x180231a17
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x1802319c5
mov rcx, rbx
call fcn.18022ed98
cmp eax, 0xffffffff
je 0x1802319b0
mov rcx, rbx
call fcn.18022ed98
cmp eax, 0xfffffffe
je 0x1802319b0
mov rcx, rbx
call fcn.18022ed98
movsxd rdi, eax
lea r14, [0x18038b000]
mov rcx, rbx
sar rdi, 6
call fcn.18022ed98
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x1802319b7
lea rdx, [0x18037bad0]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x1802319c5
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x1802319e9
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x1802319e9
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x1802319e9
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x180231a07
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x180231a12
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x180231a2e
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 0x1802318a8

Function at 0x180238a48
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x180238a68
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.18021ecf0
or eax, 0xffffffff
jmp 0x180238a6a
xor eax, eax
add rsp, 0x28
ret
Function at 0x140002e70
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140004060
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140004060
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]

Function at 0x140002ee0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400090a4]
mov rbx, rcx
test esi, esi
jle 0x140003010
mov rax, qword [0x1400090a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x140002f2b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140002fb5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140002f10
mov rcx, rbx
call fcn.140003930
mov rdi, rax
test rax, rax
je 0x140003032
mov rax, qword [0x1400090a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140003a70
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400090a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140003017
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x140002fae
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140002fc0
add dword [0x1400090a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400090a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x140002fae
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140002e70
nop dword [rax]
xor esi, esi
jmp 0x140002f38
mov rax, qword [0x1400090a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140002e70
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140002e70
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400035a0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140009100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400090e0]
test rbx, rbx
je 0x1400035fc
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x1400035f3
test rsi, rsi
je 0x1400035f3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x1400035d8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140004920
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x47], 0
je 0x140004943
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x34]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x46
jb 0x140004930
mov byte [rcx + 0x47], 0
mov rax, rcx
ret

Function at 0x140004950
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 0x140004984
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x140004970
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 0x1400049b9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.1400085f0
nop
cmp byte [rbx + 0xa], 0
je 0x1400049e3
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 9
jb 0x1400049d0
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 0x140004a18
mov r8d, 9
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400085f0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000a0d0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x140004a6c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004a66
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004a66
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac4fc
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x140004aac
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004aa7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004aa7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac4fc
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004ac0
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 0x140004af4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x140004ae0
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 0x140004b29
mov r8d, 6
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.1400085f0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140004b37
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.14000b0a0
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 0x140004bac
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ba7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ba7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac4fc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140004bc0
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 + 9], sil
je 0x140004bf4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x140004be0
mov byte [r8 + 9], sil
lea rax, [r8 + 8]
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 0x140004c29
mov r8d, 8
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.1400085f0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140004c37
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.14000b0a0
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 0x140004cac
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004ca7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004ca7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac4fc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140004cc0
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 0x140004cf4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x140004ce0
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 0x140004d29
mov r8d, 9
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.1400085f0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140004d37
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.14000b0a0
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 0x140004dac
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004da7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140004da7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac4fc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x140004dc0
Capabilities:
Encode data using xor

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

Function at 0x140005270
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 0x1400052a4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x140005290
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 0x1400052d9
mov r8d, ntohs
mov rdx, r9
lea rcx, [rsp + 0x28]
call fcn.1400085f0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x1400052e7
mov rbx, qword [rbx]
mov r8, rbx
lea rcx, [rsp + 0x28]
call fcn.14000b0a0
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 0x14000535c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140005357
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140005357
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac4fc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006080
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 0x1400060b4
mov ecx, esi
lea eax, [rcx - 0x34]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x1400060a0
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 0x1400060e9
mov r8d, 5
mov rdx, r9
lea rcx, [rsp + 0x48]
call fcn.1400085f0
nop
cmp byte [rbx + 0xd], 0
je 0x140006113
mov rcx, rsi
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx - 0x34]
xor byte [rcx + rbx], al
inc rcx
cmp rcx, 0xc
jb 0x140006100
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 0x140006148
mov r8d, recvfrom
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400085f0
nop
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x28]
mov rcx, rdi
call fcn.14000a0d0
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 0x10
jb 0x14000619c
inc rdx
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006196
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140006196
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac4fc
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 0x10
jb 0x1400061dc
inc rdx
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400061d7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400061d7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400ac4fc
mov rax, rdi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret
Function at 0x140006d30
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xd], 0
je 0x140006d53
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x34]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xc
jb 0x140006d40
mov byte [rcx + 0xd], 0
ret

Function at 0x140006d60
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0xe], 0
je 0x140006d83
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x34]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0xd
jb 0x140006d70
mov byte [rcx + 0xe], 0
ret

Function at 0x140007450
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 9], 0
je 0x140007473
xor eax, eax
nop dword [rax + rax]
lea edx, [rax - 0x34]
xor byte [rax + rcx], dl
inc rax
cmp rax, 8
jb 0x140007460
mov byte [rcx + 9], 0
ret