joyce8/EMBER2024-capa huggingface dataset:
Function at 0x453020
Capabilities:
Access peb ldr_data

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4530ea
sub rsp, 0x60
mov qword [rsp + 0x58], rbp
lea rbp, [rsp + 0x58]
mov qword [rsp + 0x70], rbx
mov qword [rsp + 8], 0
mov qword [rsp + 0x10], 0
lea rdx, [rsp + 0x18]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x28]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x38]
movups xmmword [rdx], xmm15
lea rdx, [rsp + 0x48]
movups xmmword [rdx], xmm15
lea rdx, [0x00453120]
mov qword [rsp + 0x10], rdx
mov rdx, qword [rsp + 0x60]
mov qword [rsp + 0x18], rdx
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x20], rdx
mov rdx, r14
mov qword [rsp + 0x28], rdx
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 8]
mov qword [rsp + 0x50], rax
lea rax, [rsp + 0x10]
mov qword [rsp], rax
call fcn.0045a6c0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 8]
mov rbp, qword [rsp + 0x58]
add rsp, 0x60
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
nop
call fcn.0045a800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
jmp fcn.00453020

Function at 0x459400
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x30
mov qword [rsp + 0x28], rbp
lea rbp, [rsp + 0x28]
mov r13, 0
mov qword [rsp + 0x20], r13
mov byte [rsp + 0x17], 0
mov qword [rsp + 0x60], 0
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
nop
inc dword [rcx + 0x244]
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rdx, qword [rcx + 0x30]
nop
mov rsi, rcx
mov qword [rdx + 0x138], rcx
mov rcx, qword [rsi + 0x30]
mov qword [rsi + 0xe8], rcx
lea rcx, fcn.0043e6c0
mov qword [rsp + 0x20], rcx
mov byte [rsp + 0x17], 1
mov rcx, qword gs:[0x28]
mov rcx, qword [rcx]
mov rcx, qword [rcx + 0x30]
mov qword [rsp + 0x18], rcx
mov rdx, qword [rsp + 0x38]
mov qword [rcx + 0x2e0], rdx
mov rdx, qword [rsp + 0x40]
mov qword [rcx + 0x2e8], rdx
lea rdx, [rsp + 0x48]
mov qword [rcx + 0x2f0], rdx
lea rbx, [rcx + 0x2e0]
mov rax, qword [0x00541b08]
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
call fcn.004031e0
mov rcx, qword [rsp + 0x18]
mov rdx, qword [rcx + 0x2f8]
mov rsi, qword [rcx + 0x300]
mov rcx, qword [rcx + 0x308]
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rsi
mov qword [rsp + 0x70], rcx
mov byte [rsp + 0x17], 0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
call fcn.0043e6c0
mov rbp, qword [rsp + 0x28]
add rsp, 0x30
ret
Function at 0x45c940
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x4023ef
sub rsp, 0x20
mov qword [rsp + 0x18], rbp
lea rbp, [rsp + 0x18]
mov rdx, qword [rax]
mov rcx, qword [rax + 8]
mov rax, rdx
nop
call fcn.00408a60
mov rbp, qword [rsp + 0x18]
add rsp, 0x20
ret
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
call fcn.0045a800
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
jmp 0x4023c0
cmp byte [0x00596213], 0
je 0x45c955
mov rcx, qword [rax + 8]
mov rax, qword [rax]
jmp 0x459920
jmp 0x4023c0

Function at 0x45c960
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov eax, dword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005964a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d124b
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00596213], 0
je 0x45c995
movq xmm0, rbx
pinsrd xmm0, dword [rax], 2
aesenc xmm0, xmmword [0x00596720]
aesenc xmm0, xmmword [0x00596730]
aesenc xmm0, xmmword [0x00596740]
movq rax, xmm0
ret
jmp 0x408c60

Function at 0x45c9a0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov rax, qword [rax]
movabs rcx, 0xe7037ed1a0b428db
xor rcx, rax
xor rax, rbx
xor rax, qword [0x005964a0]
movabs rdx, 0xa0761d6478bd642f
xor rdx, rax
mov rax, rcx
mul rdx
xor rax, rdx
mov rcx, rax
movabs rax, 0x1d8e4e27c47d1247
mul rcx
nop
nop
xor rax, rdx
ret
cmp byte [0x00596213], 0
je 0x45c9d6
movq xmm0, rbx
pinsrq xmm0, qword [rax], 1
aesenc xmm0, xmmword [0x00596720]
aesenc xmm0, xmmword [0x00596730]
aesenc xmm0, xmmword [0x00596740]
movq rax, xmm0
ret
jmp 0x408cc0

Function at 0x45e300
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x30
mov rcx, 0xfffffffffffffff4
mov qword [rsp], rcx
mov rax, qword [sym.imp.kernel32.dll_GetStdHandle]
call rax
mov rcx, rax
mov qword [rsp], rcx
lea rdx, [0x005966a0]
mov qword [rsp + 8], rdx
lea r8d, [0x00596228]
mov qword [rsp + 0x10], r8
lea r9, [rsp + 0x28]
mov qword [r9], 0
mov qword [rsp + 0x18], r9
mov qword [rsp + 0x20], 0
mov rax, qword [sym.imp.kernel32.dll_WriteFile]
call rax
call fcn.0045c8a0
add rsp, 0x30
ret

Function at 0x45f1c0
Capabilities:
Access peb ldr_data

Disassembly:
sub rsp, 0x78
mov qword [rsp + 0x70], rbp
lea rbp, [rsp + 0x70]
mov qword [rsp], rax
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rcx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x28], r8
mov qword [rsp + 0x30], r9
mov qword [rsp + 0x38], r10
mov qword [rsp + 0x40], r11
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x88]
mov qword [rsp + 0x50], rax
call fcn.004596e0
xorps xmm15, xmm15
mov r14, qword gs:[0x28]
mov r14, qword [r14]
mov rax, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x78
ret
Function at 0x1004033b0
Capabilities:
Terminate process

Disassembly:
push r12
push rdi
push rsi
push rbx
sub rsp, 0x48
mov rbx, qword [sym.imp.msys_2.0.dll_opterr]
mov edi, dword [rbx]
mov dword [rbx], 0
mov r12, r8
mov rsi, r9
cmp ecx, 2
je 0x1004033f0
mov rax, qword [sym.imp.msys_2.0.dll_optind]
mov dword [rbx], edi
mov dword [rax], 0
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop r12
ret
mov qword [rsp + 0x20], 0
lea r9, str.help
lea r8, [0x100417c20]
call sub.msys_2.0.dll_getopt_long
cmp eax, 0xffffffff
je 0x1004033d3
cmp eax, 0x68
je 0x100403450
cmp eax, 0x76
jne 0x1004033d3
lea rbx, [rsp + 0xa0]
mov qword [rsp + 0x38], rbx
call sub.msys_2.0.dll___getreent
mov r9, qword [rsp + 0x90]
mov r8, rsi
mov rdx, r12
mov rcx, qword [rax + 0x10]
mov qword [rsp + 0x20], rbx
call fcn.100406380
xor ecx, ecx
call sub.msys_2.0.dll_exit
xor ecx, ecx
call qword [rsp + 0x98]
jmp 0x1004033d3
Function at 0x100403850
Capabilities:
Write file on windows

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x60
mov r12, rcx
call sub.msys_2.0.dll___locale_mb_cur_max
cmp eax, 1
jg 0x100403880
mov rcx, r12
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp sub.msys_2.0.dll_strlen
mov qword [rsp + 0x30], r12
lea rdi, [rsp + 0x42]
xor r12d, r12d
mov rsi, qword [0x100418fd0]
mov byte [rsp + 0x20], 0
lea rbx, [rsp + 0x24]
mov qword [rsp + 0x24], 0
jmp 0x1004038fe
mov rdx, qword [rsp + 0x30]
movzx ecx, byte [rdx]
mov eax, ecx
shr al, 5
and eax, 7
mov eax, dword [rsi + rax*4]
shr eax, cl
test al, 1
je 0x1004039b0
mov qword [rsp + 0x38], 1
movsx ax, byte [rdx]
mov byte [rsp + 0x40], 1
mov word [rsp + 0x42], ax
cmp word [rsp + 0x42], 0
je 0x1004039a0
mov rax, qword [rsp + 0x38]
add qword [rsp + 0x30], rax
add r12, 1
cmp byte [rsp + 0x20], 0
mov byte [rsp + 0x2c], 0
je 0x1004038b0
call sub.msys_2.0.dll___locale_mb_cur_max
mov r13, qword [rsp + 0x30]
movsxd rdx, eax
mov rcx, r13
call fcn.100405c10
mov r9, rbx
mov rdx, r13
mov rcx, rdi
mov r8, rax
call fcn.100406840
mov qword [rsp + 0x38], rax
cmp rax, 0xffffffffffffffff
je 0x1004039d0
cmp rax, 0xfffffffffffffffe
je 0x1004039e8
test rax, rax
jne 0x100403971
mov qword [rsp + 0x38], 1
mov rax, qword [rsp + 0x30]
cmp byte [rax], 0
jne 0x100403a20
cmp word [rsp + 0x42], 0
jne 0x100403a3f
mov rcx, rbx
mov byte [rsp + 0x40], 1
call sub.msys_2.0.dll_mbsinit
test eax, eax
je 0x100403987
mov byte [rsp + 0x20], 0
movzx eax, byte [rsp + 0x40]
test al, al
je 0x1004038f0
cmp word [rsp + 0x42], 0
jne 0x1004038f0
mov rax, r12
add rsp, 0x60
pop rbx
pop rsi
pop rdi
pop r12
pop r13
ret
mov rcx, rbx
call sub.msys_2.0.dll_mbsinit
test eax, eax
je 0x100403a01
mov byte [rsp + 0x20], 1
jmp 0x10040390a
mov qword [rsp + 0x38], 1
mov byte [rsp + 0x40], 0
jmp 0x1004038f0
mov rcx, qword [rsp + 0x30]
call sub.msys_2.0.dll_strlen
mov byte [rsp + 0x40], 0
mov qword [rsp + 0x38], rax
jmp 0x1004038f0
lea r9, str.mbsinit__iter__state_
lea r8, str.mbuiter_multi_next
mov edx, 0x96
lea rcx, str..._coreutils_8.32_lib_mbuiter.h
call sub.msys_2.0.dll___assert_func
lea r9, str.iter__cur.ptr__0
lea r8, str.mbuiter_multi_next
mov edx, 0xb2
lea rcx, str..._coreutils_8.32_lib_mbuiter.h
call sub.msys_2.0.dll___assert_func
lea r9, str.iter__cur.wc__0
lea r8, str.mbuiter_multi_next
mov edx, 0xb3
lea rcx, str..._coreutils_8.32_lib_mbuiter.h
call sub.msys_2.0.dll___assert_func
nop
nop
Function at 0x100403a60
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
je 0x100403aed
mov edx, 0x2f
call sub.msys_2.0.dll_strrchr
mov rsi, rax
test rax, rax
je 0x100403acb
lea rdi, [rax + 1]
mov rax, rdi
sub rax, rbx
cmp rax, 6
jle 0x100403acb
lea rcx, [rsi - 6]
mov r8d, 7
lea rdx, str._.libs_
call sub.msys_2.0.dll_strncmp
test eax, eax
jne 0x100403acb
cmp byte [rsi + 1], 0x6c
jne 0x100403ae8
cmp byte [rdi + 1], 0x74
jne 0x100403ae8
cmp byte [rdi + 2], 0x2d
jne 0x100403ae8
mov rax, qword [sym.imp.msys_2.0.dll_program_invocation_short_name]
lea rbx, [rsi + 4]
mov qword [rax], rbx
mov rax, qword [sym.imp.msys_2.0.dll_program_invocation_name]
mov qword [0x10041d020], rbx
mov qword [rax], rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
mov rbx, rdi
jmp 0x100403acb
call sub.msys_2.0.dll___getreent
mov r8d, 0x37
mov edx, 1
lea rcx, str.A_NULL_argv_0__was_passed_through_an_exec_system_call._n
mov r9, qword [rax + 0x18]
call sub.msys_2.0.dll_fwrite
call sub.msys_2.0.dll_abort
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x100414730
Capabilities:
Query environment variable

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
xor ecx, ecx
call fcn.100414b10
mov r12, rax
test rax, rax
je 0x100414890
lea rdx, str.US_ASCII
mov rcx, rax
call sub.msys_2.0.dll_strcmp
test eax, eax
je 0x1004147f0
lea rdx, [0x100418d2a]
mov rcx, r12
call sub.msys_2.0.dll_strcmp
test eax, eax
je 0x1004147dc
xor edi, edi
mov esi, 0x17
lea rbp, str.CP1361
jmp 0x10041479e
je 0x1004148a0
mov rsi, rbx
cmp rdi, rsi
jae 0x1004147cc
lea rax, [rsi + rdi]
mov rdx, r12
mov rbx, rax
and rax, 0xfffffffffffffffe
shr rbx, 1
add rax, rbx
lea r13, [rbp + rax*8]
mov rcx, r13
call sub.msys_2.0.dll_strcmp
test eax, eax
jns 0x100414790
lea rdi, [rbx + 1]
cmp rdi, rsi
jb 0x10041479e
cmp byte [r12], 0
lea rax, [0x100418d01]
cmove r12, rax
mov rax, r12
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rcx, str.LC_ALL
call sub.msys_2.0.dll_getenv
test rax, rax
je 0x1004148b8
cmp byte [rax], 0
je 0x1004148b8
mov edx, 0x2e
mov rcx, rax
call fcn.100414eb0
test rax, rax
je 0x100414846
lea r12, [rax + 1]
mov edx, 0x40
mov rcx, r12
call fcn.100414eb0
test rax, rax
je 0x1004147dc
sub rax, r12
mov rbx, rax
cmp rax, 0xc
jbe 0x1004148f8
call qword [sym.imp.KERNEL32.dll_GetACP]
lea r12, [rsp + 0x33]
xor edx, edx
lea r9, str.CP_u
mov dword [rsp + 0x20], eax
mov rcx, r12
mov r8d, 0xd
call sub.msys_2.0.dll___sprintf_chk
mov rdx, r12
lea r12, [0x10041d190]
mov r8d, 0xd
mov rcx, r12
call sub.msys_2.0.dll___strcpy_chk
jmp 0x100414766
lea r12, [0x100418d00]
jmp 0x100414779
lea r12, [r13 + 0xc]
mov rax, r12
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
lea rcx, str.LC_CTYPE
call sub.msys_2.0.dll_getenv
test rax, rax
je 0x1004148d2
cmp byte [rax], 0
jne 0x10041480e
lea rcx, str.LANG
call sub.msys_2.0.dll_getenv
test rax, rax
je 0x100414846
cmp byte [rax], 0
je 0x100414846
jmp 0x10041480e
mov rdx, r12
lea r12, [0x10041d190]
mov r9d, 0xd
mov r8, rax
mov rcx, r12
call sub.msys_2.0.dll___memcpy_chk
mov byte [r12 + rbx], 0
jmp 0x1004147dc
Function at 0x14015a4ff
Capabilities:
Encode data using xor

Disassembly:
lea rsp, [rsp + 8]
je 0x14014dffc
lea r8, [0x140132fe0]
push 0x232a5e23
shr byte [rsp + 4], 0x47
mov ecx, 0xd2be2914
movzx ecx, byte [r10]
xor ecx, edx
dec byte [rsp + 2]
and ecx, 0xff
inc dword [rsp]
mov ecx, dword [r8 + rcx*4]
shr edx, 8
xor edx, ecx
inc r10
shl word [rsp + 1], 0x44
xor edx, 0x49cf00c
dec r9
lea rsp, [rsp + 8]
jne 0x14014dfb4
call fcn.140147c7b
mov rax, qword [rdi + 8]
push 0xfffffffff9253c06
call fcn.14016b5b3
adc rbx, 0xc
xor edx, edx
test r9, r9
jmp 0x14014dfa2
Function at 0x140008a80
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x140008aa4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x140008b32
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x140008b00
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x140008b00
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1400b7df0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x140008b1d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140008b25
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x140008ac1
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x140008c10
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x140008b49
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140008b4b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x140008b7d
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1400b7df0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140008c0d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x140008bb8
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x140008bee
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.14009aa5c
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x140008c0d
cmp rsi, rax
ja 0x140008bc1
test rsi, rsi
je 0x140008c0d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.14009aa5c
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x14001e840
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x14001e8a1
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x14001e860
mov ecx, dword [r9]
jmp 0x14001e98b
cmp ecx, 0x4e0
jb 0x14001e98b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14001e8c0
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x14001e910
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1400220b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400ee240]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r9
mov rbp, r8
mov r14d, edx
mov r15, rcx
mov dword [rsp + 0x24], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x1400222b1
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
xor esi, esi
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x20], sil
movzx eax, byte [rcx + 0x5c]
neg al
sbb rdx, rdx
and edx, 4
mov eax, esi
mov ecx, 2
cmp r8, 0x7e
cmovae eax, ecx
add rdx, rax
mov eax, 8
cmp r8, 0x10000
cmovae ecx, eax
add rdx, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140022580
or r14b, 0x80
mov rdi, qword [rsp + 0x28]
mov byte [rdi], r14b
movzx edx, byte [r15 + 0x5c]
cmp rbp, 0x7e
jae 0x140022179
neg dl
sbb al, al
and al, 0x80
or al, bpl
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x140022219
mov dword [rdi + 2], 0x78563412
jmp 0x140022219
mov rcx, rbp
shr rcx, 8
cmp rbp, 0x10000
jae 0x1400221b4
mov eax, 0x7e
mov r8d, 0xfe
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], bpl
cmp byte [r15 + 0x5c], 0
je 0x140022219
mov dword [rdi + 4], 0x78563412
jmp 0x140022219
mov eax, 0x7f
mov r8d, 0xff
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov rax, rbp
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, rbp
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, rbp
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, rbp
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, rbp
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, rbp
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], bpl
cmp byte [r15 + 0x5c], 0
je 0x140022219
mov dword [rdi + 0xa], 0x78563412
mov r9, qword [rsp + 0x30]
sub r9, rdi
mov rdx, qword [r15 + 0x28]
mov r8, rdi
lea rcx, [r15 + 0x20]
call fcn.1400226a0
mov r9, qword [rsp + 0xa0]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
lea rcx, [r15 + 0x20]
call fcn.1400226a0
cmp byte [r15 + 0x5c], 0
je 0x140022280
mov rdx, qword [r15 + 0x28]
sub rdx, qword [r15 + 0x20]
sub rdx, rbp
test rbp, rbp
je 0x140022280
mov rcx, qword [r15 + 0x20]
add rcx, rsi
mov rax, rsi
and eax, 3
movzx eax, byte [rsp + rax + 0x24]
xor byte [rcx + rdx], al
inc rsi
cmp rsi, rbp
jne 0x140022263
mov rdx, qword [rsp + 0x38]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400222a9
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400222d2
mov rcx, rdi
call fcn.140082330
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140082310
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140099ce0
int3
Function at 0x1400222e0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x50
mov rax, qword [0x1400ee240]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, r9
mov rbp, r8
mov r15, rcx
mov dword [rsp + 0x24], 0x78563412
cmp dword [rcx + 0x58], 1
jbe 0x1400224de
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x28], xmm1
xor esi, esi
mov qword [rsp + 0x38], rsi
mov byte [rsp + 0x20], sil
movzx eax, byte [rcx + 0x5c]
neg al
sbb rdx, rdx
and edx, 4
mov eax, esi
mov ecx, 2
cmp r8, 0x7e
cmovae eax, ecx
add rdx, rax
mov eax, 8
cmp r8, 0x10000
cmovae ecx, eax
add rdx, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call fcn.140022580
mov rdi, qword [rsp + 0x28]
mov byte [rdi], 0x82
movzx edx, byte [r15 + 0x5c]
cmp rbp, 0x7e
jae 0x1400223a2
neg dl
sbb al, al
and al, 0x80
or al, bpl
mov byte [rdi + 1], al
cmp byte [r15 + 0x5c], sil
je 0x140022442
mov dword [rdi + 2], 0x78563412
jmp 0x140022442
mov rcx, rbp
shr rcx, 8
cmp rbp, 0x10000
jae 0x1400223dd
mov eax, 0x7e
mov r8d, 0xfe
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov byte [rdi + 2], cl
mov byte [rdi + 3], bpl
cmp byte [r15 + 0x5c], 0
je 0x140022442
mov dword [rdi + 4], 0x78563412
jmp 0x140022442
mov eax, 0x7f
mov r8d, 0xff
test dl, dl
cmovne eax, r8d
mov byte [rdi + 1], al
mov rax, rbp
shr rax, 0x38
mov byte [rdi + 2], al
mov rax, rbp
shr rax, 0x30
mov byte [rdi + 3], al
mov rax, rbp
shr rax, 0x28
mov byte [rdi + 4], al
mov rax, rbp
shr rax, 0x20
mov byte [rdi + 5], al
mov rax, rbp
shr rax, 0x18
mov byte [rdi + 6], al
mov rax, rbp
shr rax, 0x10
mov byte [rdi + 7], al
mov byte [rdi + 8], cl
mov byte [rdi + 9], bpl
cmp byte [r15 + 0x5c], 0
je 0x140022442
mov dword [rdi + 0xa], 0x78563412
mov r9, qword [rsp + 0x30]
sub r9, rdi
mov rdx, qword [r15 + 0x28]
mov r8, rdi
lea rcx, [r15 + 0x20]
call fcn.1400226a0
mov r9, qword [rsp + 0xa0]
sub r9, rbx
mov rdx, qword [r15 + 0x28]
mov r8, rbx
lea rcx, [r15 + 0x20]
call fcn.1400226a0
cmp byte [r15 + 0x5c], 0
je 0x1400224ad
mov rdx, qword [r15 + 0x28]
sub rdx, qword [r15 + 0x20]
sub rdx, rbp
test rbp, rbp
je 0x1400224ad
nop dword [rax]
mov rcx, qword [r15 + 0x20]
add rcx, rsi
mov rax, rsi
and eax, 3
movzx eax, byte [rsp + rax + 0x24]
xor byte [rcx + rdx], al
inc rsi
cmp rsi, rbp
jne 0x140022490
mov rdx, qword [rsp + 0x38]
sub rdx, rdi
mov rax, rdi
cmp rdx, 0x1000
jb 0x1400224d6
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400224ff
mov rcx, rdi
call fcn.140082330
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140082310
mov rbx, qword [rsp + 0x88]
add rsp, 0x50
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140099ce0
int3
Function at 0x140022a30
Capabilities:
Get hostname
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1400ee240]
xor rax, rsp
mov qword [rsp + 0x58], rax
movzx esi, dl
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
xor r8d, r8d
lea rdx, [0x1400d0329]
call fcn.140011490
mov dword [rsp + 0x20], 1
mov dword [rsp + 0x30], reloc.WS2_32.dll_recv
mov dword [rsp + 0x34], reloc.WS2_32.dll_recv
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
je 0x140022b0e
lea rax, [rsp + 0x38]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140022ac0
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.14000ee30
test sil, sil
je 0x140022b0e
lea rdx, [rsp + 0x34]
lea rcx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
je 0x140022b0e
lea rax, [rsp + 0x48]
inc rbx
cmp byte [rax + rbx], 0
jne 0x140022af5
mov r8, rbx
lea rdx, [rsp + 0x48]
mov rcx, rdi
call fcn.14000ee30
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140082310
mov rbx, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret