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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x48
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x68], 0
je 0x14005bb7b
mov r8, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x14005bcc2
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x40]
cmp qword [rax], 0
je 0x14005bba5
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x58]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
jmp 0x14005bbad
mov dword [rsp + 0x20], 0
movsxd rax, dword [rsp + 0x20]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x70], 0
jle 0x14005bc6a
cmp qword [rsp + 0x28], 0
jle 0x14005bc6a
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x70], rax
jge 0x14005bbe5
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x40]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
mov rdi, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x28]
rep movsb byte [rdi], byte [rsi]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x68]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax + 0x58]
mov ecx, dword [rsp + 0x28]
mov eax, dword [rax]
sub eax, ecx
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x58]
mov dword [rcx], eax
movsxd rax, dword [rsp + 0x28]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
add rax, qword [rcx]
mov rcx, qword [rsp + 0x60]
mov rcx, qword [rcx + 0x40]
mov qword [rcx], rax
cmp qword [rsp + 0x70], 0
jle 0x14005bcb2
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x80], 0
je 0x14005bcb2
mov rax, qword [rsp + 0x60]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x70]
mov edx, 1
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, qword [rsp + 0x70]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x38]
sub rcx, rax
mov rax, rcx
add rsp, 0x48
pop rdi
pop rsi
ret
Function at 0x140060560
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0xb8
mov rax, qword [0x14087b200]
xor rax, rsp
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xc0]
cmp qword [rax + 0x68], 0
je 0x14006059d
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x1400605a4
mov al, 1
jmp 0x14006072d
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x38], 0xffffffff
mov edx, dword [rsp + 0x38]
mov rcx, qword [rsp + 0xc0]
call qword [rsp + 0x60]
mov dword [rsp + 0x48], eax
mov eax, dword [rsp + 0x5c]
mov dword [rsp + 0x3c], eax
mov dword [rsp + 0x3c], 0xffffffff
mov eax, dword [rsp + 0x48]
cmp dword [rsp + 0x3c], eax
jne 0x140060600
mov dword [rsp + 0x40], 1
jmp 0x140060608
mov dword [rsp + 0x40], 0
movzx eax, byte [rsp + 0x40]
mov byte [rsp + 0x30], al
movzx eax, byte [rsp + 0x30]
test eax, eax
je 0x140060621
xor al, al
jmp 0x14006072d
mov qword [rsp + 0x70], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [rsp + 0xc0]
mov rax, qword [rax + 0x68]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0xa0]
mov rcx, qword [rsp + 0xc0]
add rcx, 0x74
lea rdx, [rsp + 0x78]
mov qword [rsp + 0x20], rdx
mov r9, rax
lea r8, [rsp + 0x80]
mov rdx, rcx
mov rcx, qword [rsp + 0x68]
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]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
je 0x140060694
cmp dword [rsp + 0x34], 1
je 0x1400606a0
cmp dword [rsp + 0x34], 3
je 0x14006071b
jmp 0x14006072b
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
lea rax, [rsp + 0x80]
mov rcx, qword [rsp + 0x78]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
jbe 0x1400606f2
mov rax, qword [rsp + 0xc0]
mov r9, qword [rax + 0x80]
mov r8, qword [rsp + 0x50]
mov edx, 1
lea rcx, [rsp + 0x80]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp qword [rsp + 0x50], rax
je 0x1400606f2
xor al, al
jmp 0x14006072d
mov rax, qword [rsp + 0xc0]
movzx eax, byte [rax + 0x71]
test eax, eax
jne 0x14006070c
mov dword [rsp + 0x44], 1
jmp 0x140060714
mov dword [rsp + 0x44], 0
movzx eax, byte [rsp + 0x44]
jmp 0x14006072d
mov rax, qword [rsp + 0xc0]
mov byte [rax + 0x71], 0
mov al, 1
jmp 0x14006072d
xor al, al
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1403a8760
add rsp, 0xb8
ret
Function at 0x1401567f0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x14087b200]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x68]
call fcn.14015c760
nop
lea rax, [0x14015c830]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
je 0x1401568d2
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
jmp 0x1401568ed
mov rax, qword [rsp + 0x90]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x68]
call fcn.140159f90
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1403a8760
add rsp, 0x80
pop rdi
ret

Function at 0x140157ee0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x80
mov rax, qword [0x14087b200]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x38], 0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, 8
rep stosb byte [rdi], al
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x68]
call fcn.14015c8d0
nop
lea rax, [0x14015c9b0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x90]
add rax, 8
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x40]
mov r8, qword [rsp + 0x48]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x90]
mov qword [rcx], rax
mov rax, qword [rsp + 0x90]
cmp qword [rax], 0
je 0x140157fcf
mov qword [rsp + 0x50], 0
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x60], rax
jmp 0x140157fea
mov rax, qword [rsp + 0x90]
mov dword [rax + 8], 0
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
lea rcx, [rsp + 0x68]
call fcn.140159f00
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1403a8760
add rsp, 0x80
pop rdi
ret
Function at 0x140174380
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbx, rcx
mov ebp, r9d
xor ecx, ecx
mov rdi, r8
mov rsi, rdx
cmp r8, 0xffffffffffffffff
jne 0x1401743d3
movzx eax, byte [rdx]
mov edi, ecx
test al, al
je 0x1401743c7
imul ecx, ecx, 0x1003f
inc rdi
movzx eax, al
add ecx, eax
movzx eax, byte [rdi + rdx]
test al, al
jne 0x1401743b1
test rdi, rdi
jne 0x1401743ff
xor eax, eax
jmp 0x140174482
mov rdx, rcx
test r8, r8
je 0x1401743c7
nop dword [rax + rax]
movzx eax, byte [rdx + rsi]
test al, al
je 0x1401743fa
imul ecx, ecx, 0x1003f
inc rdx
add ecx, eax
cmp rdx, r8
jb 0x1401743e0
jmp 0x1401743c7
mov ecx, reloc.WS2_32.dll_recvfrom
mov eax, dword [rbx + 0x128]
mov edx, ecx
xor edx, ebp
mov qword [rsp + 0x30], r14
mov r14d, 0xffffffff
cmp ebp, r14d
cmove edx, ecx
movzx ecx, byte [rbx + 0x12c]
imul rax, rdx
shr rax, cl
imul eax, dword [rbx + 0x120]
mov rbx, qword [rbx + 0x110]
sub edx, eax
mov rbx, qword [rbx + rdx*8]
test rbx, rbx
je 0x14017447a
mov eax, dword [rbx + 0x30]
cmp eax, edi
jne 0x140174469
cmp dword [rbx + 0x14], ebp
jne 0x140174469
lea rcx, [rbx + 0x34]
cmp eax, 0xb
jbe 0x14017445a
mov rcx, qword [rbx + 0x38]
mov r8d, edi
mov rdx, rsi
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x140174471
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140174441
test rbx, rbx
je 0x14017447a
mov r14d, dword [rbx + 0xc]
mov eax, r14d
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140178ad0
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0x100
mov rax, qword [0x14087b200]
xor rax, rsp
mov qword [rbp + 0x47], rax
cmp dword [0x14087fc74], 0
jne 0x140178bc6
xorps xmm0, xmm0
mov word [rsp + 0x20], 2
xor eax, eax
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x22], xmm0
mov dword [rbp + 9], eax
movups xmmword [rbp - 0x77], xmm0
mov word [rbp + 0xd], ax
movups xmmword [rbp - 0x67], xmm0
movups xmmword [rbp - 0x57], xmm0
movups xmmword [rbp - 0x47], xmm0
movups xmmword [rbp - 0x37], xmm0
movups xmmword [rbp - 0x27], xmm0
movups xmmword [rbp - 0x17], xmm0
movups xmmword [rbp - 7], xmm0
call fcn.140177e80
lea rcx, [rbp + 0x17]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movaps xmm0, xmmword [rsp + 0x20]
movaps xmm1, xmmword [rbp - 0x79]
mov eax, dword [rbp + 0x37]
movaps xmmword [0x14087fcd0], xmm0
movaps xmmword [0x14087fce0], xmm1
movaps xmm1, xmmword [rbp - 0x59]
movaps xmmword [0x14087fd00], xmm1
movaps xmm1, xmmword [rbp - 0x39]
movaps xmmword [0x14087fd20], xmm1
movaps xmm1, xmmword [rbp - 0x19]
mov dword [rbp - 0x69], eax
movaps xmm0, xmmword [rbp - 0x69]
movaps xmmword [0x14087fcf0], xmm0
movaps xmm0, xmmword [rbp - 0x49]
movaps xmmword [0x14087fd10], xmm0
movaps xmm0, xmmword [rbp - 0x29]
movaps xmmword [0x14087fd30], xmm0
movaps xmm0, xmmword [rbp - 9]
movaps xmmword [0x14087fd40], xmm1
movsd xmm1, qword [rbp + 7]
movaps xmmword [0x14087fd50], xmm0
movsd qword [0x14087fd60], xmm1
mov dword [0x14087fc74], 1
lea rax, [0x14087fcd0]
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1403a8760
add rsp, 0x100
pop rbp
ret
Function at 0x14017cc00
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
movzx eax, word [r8 + 0x1c]
lea r12, [r9 - 1]
mov r15, rcx
mov qword [rsp + 0x38], r8
movzx ecx, byte [r8 + 0x1e]
add r12, rax
shr r12, cl
mov r14, r9
mov ecx, 0x68
mov qword [rsp + 0x40], rdx
lea r13d, [r12 + 0x3f]
shr r13d, 6
mov dword [rsp + 0x20], r13d
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
xor esi, esi
xorps xmm0, xmm0
mov ebp, 1
mov rbx, rax
mov edi, ebp
movups xmmword [rsp + 0x28], xmm0
test rax, rax
je 0x14017cc94
mov ecx, r13d
mov eax, 8
add rcx, rcx
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
movups xmm0, xmmword [rsp + 0x28]
mov rsi, rax
xor r13d, r13d
test rsi, rsi
je 0x14017cd05
test byte [r15], dil
je 0x14017ccc1
lea r8d, [r13 + 7]
mov rdx, r14
lea rcx, [rsp + 0x28]
call sym.EXE_x64.exe_unsigned_int___cdecl_asmjit::_abi_1_10::VirtMem::allocDualMapping_struct_asmjit::_abi_1_10::VirtMem::DualMapping____ptr64__unsigned_long_long_unsigned___int64___enum_asmjit::_abi_1_10::VirtMem::MemoryFlags_
mov rdx, qword [rsp + 0x30]
mov edi, eax
mov r13d, 4
jmp 0x14017cd0f
test r14, r14
jne 0x14017ccd6
mov rdx, qword [rsp + 0x28]
lea edi, [r14 + 2]
mov qword [rsp + 0x30], rdx
jmp 0x14017cd0f
mov r9d, 0x40
mov r8d, 0x3000
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
test rax, rax
je 0x14017ccf9
mov qword [rsp + 0x28], rax
xor edi, edi
mov rdx, qword [rsp + 0x28]
mov qword [rsp + 0x30], rdx
jmp 0x14017cd0f
psrldq xmm0, 8
movq rdx, xmm0
test rbx, rbx
je 0x14017cdb3
test rsi, rsi
je 0x14017cdc6
test edi, edi
jne 0x14017cdb8
mov eax, dword [r15]
shr eax, 2
test bpl, al
je 0x14017cd49
mov rcx, r14
shr rcx, 2
test rcx, rcx
je 0x14017cd49
mov eax, dword [r15 + 0xc]
mov rdi, rdx
rep stosd dword [rdi], eax
mov edi, dword [rsp + 0x20]
xor edx, edx
mov r8d, edi
mov rcx, rsi
shl r8, 4
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x38]
xor ecx, ecx
movups xmm0, xmmword [rsp + 0x28]
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], rcx
mov qword [rbx + 0x20], rax
lea rax, [rsi + rdi*8]
mov qword [rbx + 0x60], rax
mov rax, qword [rsp + 0x40]
mov qword [rbx], rcx
mov qword [rbx + 8], rcx
movups xmmword [rbx + 0x28], xmm0
mov qword [rax], rbx
xor eax, eax
mov qword [rbx + 0x38], r14
mov dword [rbx + 0x40], r13d
mov dword [rbx + 0x44], r12d
mov dword [rbx + 0x48], ecx
mov dword [rbx + 0x4c], r12d
mov dword [rbx + 0x50], ecx
mov dword [rbx + 0x54], r12d
mov qword [rbx + 0x58], rsi
jmp 0x14017cdd6
test rsi, rsi
je 0x14017cdcf
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test rbx, rbx
je 0x14017cdcf
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
cmovne ebp, edi
mov eax, ebp
mov rbx, qword [rsp + 0x90]
add rsp, 0x50
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14017ef70
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x28
mov r9, qword [rcx + 0x18]
mov rax, rdx
test r9, r9
je 0x14017ef9e
cmp r8, 0xffffffffffffffff
jne 0x14017ef90
inc r8
cmp byte [rdx + r8], 0
jne 0x14017ef86
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
xor eax, eax
add rsp, 0x28
ret
Function at 0x1401882e0
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
mov rax, qword [0x14087b200]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov eax, dword [0x14088007c]
test eax, eax
jne 0x140188355
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x2c]
dec eax
mov ecx, eax
shr ecx, 1
or ecx, eax
mov eax, ecx
shr eax, 2
or eax, ecx
mov ecx, eax
shr ecx, 4
or ecx, eax
mov edx, ecx
shr edx, 8
or edx, ecx
mov eax, edx
shr eax, 0x10
or eax, edx
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x24], eax
mov rax, qword [rsp + 0x20]
mov qword [0x1408800c8], rax
mov eax, 1
xchg dword [0x14088007c], eax
mov rax, qword [0x1408800c8]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1403a8760
add rsp, 0x68
ret
Function at 0x14019cea0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 7], sil
je 0x14019ced4
mov eax, esi
lea ecx, [rax + 4]
xor byte [r8 + rax], cl
inc rax
cmp rax, 6
jb 0x14019cec0
mov byte [r8 + 7], sil
add r8, 6
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140147cc0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14019cef9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140147990
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
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 + 0x48]
cmp rdx, 0xf
jbe 0x14019cf73
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019cf6e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14019cf6e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403a87bc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x14019cf80
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 9], sil
je 0x14019cfb4
mov eax, esi
lea ecx, [rax + 4]
xor byte [r8 + rax], cl
inc rax
cmp rax, 8
jb 0x14019cfa0
mov byte [r8 + 9], sil
add r8, 8
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140147cc0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14019cfd9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140147990
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
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 + 0x48]
cmp rdx, 0xf
jbe 0x14019d053
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d04e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14019d04e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403a87bc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14019d060
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x70
mov r10, r8
mov rdi, rdx
mov rsi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
cmp byte [r8 + 6], bl
je 0x14019d094
mov ecx, ebx
lea eax, [rcx + 4]
xor byte [r8 + rcx], al
inc rcx
cmp rcx, 5
jb 0x14019d080
mov byte [r8 + 6], bl
add r8, 5
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x50]
call fcn.140147cc0
nop
cmp byte [rdi + 0xa], 0
je 0x14019d0c4
lea eax, [rbx + 4]
xor byte [rbx + rdi], al
inc rbx
cmp rbx, 9
jb 0x14019d0b1
mov byte [rdi + 0xa], 0
lea r8, [rdi + 9]
lea r9, [rsp + 0x20]
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.140147cc0
nop
lea r9, [rsp + 0x50]
lea r8, [rsp + 0x30]
movzx edx, byte [rsp + 0x20]
mov rcx, rsi
call fcn.1401a4190
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x14019d134
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d12e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14019d12e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403a87bc
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14019d174
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d16f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14019d16f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403a87bc
mov rax, rsi
add rsp, 0x70
pop rdi
pop rsi
pop rbx
ret

Function at 0x14019d180
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xa], sil
je 0x14019d1b4
mov eax, esi
lea ecx, [rax + 4]
xor byte [r8 + rax], cl
inc rax
cmp rax, 9
jb 0x14019d1a0
mov byte [r8 + 0xa], sil
add r8, 9
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140147cc0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14019d1d9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140147990
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
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 + 0x48]
cmp rdx, 0xf
jbe 0x14019d253
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d24e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14019d24e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403a87bc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x14019d260
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov r10, r8
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
cmp byte [r8 + 0xc], sil
je 0x14019d294
mov eax, esi
lea ecx, [rax + 4]
xor byte [r8 + rax], cl
inc rax
cmp rax, 0xb
jb 0x14019d280
mov byte [r8 + 0xc], sil
add r8, 0xb
lea r9, [rsp + 0x20]
mov rdx, r10
lea rcx, [rsp + 0x30]
call fcn.140147cc0
nop
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0xf
jbe 0x14019d2b9
mov rbx, qword [rbx]
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140147990
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
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 + 0x48]
cmp rdx, 0xf
jbe 0x14019d333
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14019d32e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14019d32e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1403a87bc
mov rax, rdi
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret

Function at 0x1401bc520
Capabilities:
Encode data using xor

Disassembly:
cmp byte [rcx + 8], 0
je 0x1401bc543
xor eax, eax
nop dword [rax + rax]
lea edx, [rax + 4]
xor byte [rax + rcx], dl
inc rax
cmp rax, 7
jb 0x1401bc530
mov byte [rcx + 8], 0
mov rax, rcx
ret
Function at 0x1401c84a0
Capabilities:
Encode data using xor

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

Function at 0x1401cb010
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor edi, edi
mov dword [rsp + 0x30], edi
lea rcx, str.ALLUSERSPROFILE
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
test rax, rax
je 0x1401cb070
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], dil
jne 0x1401cb057
mov rdx, rax
mov rcx, rbx
call fcn.140145b50
jmp 0x1401cb124
lea rcx, [rsp + 0x40]
call fcn.1401c0a50
nop
mov rsi, rax
cmp qword [rax + 0x18], 7
jbe 0x1401cb088
mov rsi, qword [rax]
mov rbp, qword [rax + 0x10]
call fcn.1403a8094
mov r14d, eax
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
test rbp, rbp
je 0x1401cb11a
cmp rbp, 0x7fffffff
ja 0x1401cb146
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8d, ebp
mov rdx, rsi
mov ecx, eax
call fcn.1403a8104
mov rdi, rax
shr rax, 0x20
test eax, eax
jne 0x1401cb151
movsxd rdx, edi
xor r8d, r8d
mov rcx, rbx
call fcn.14020f8e0
mov r9, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x1401cb0fd
mov r9, qword [rbx]
mov dword [rsp + 0x20], edi
mov r8d, ebp
mov rdx, rsi
mov ecx, r14d
call fcn.1403a8104
mov rcx, rax
shr rax, 0x20
test eax, eax
jne 0x1401cb13c
lea rcx, [rsp + 0x40]
call fcn.1400615a0
mov rax, rbx
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
shr rcx, 0x20
call fcn.1401bc090
int3
mov ecx, reloc.WLDAP32.dll_Ordinal_22
call fcn.1401bc050
int3
shr rdi, 0x20
mov ecx, edi
call fcn.1401bc090
int3