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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x14001ad23
cmp byte [rcx + 0x71], 0
je 0x14001ad23
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x14001ad1f
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
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]
test eax, eax
je 0x14001ace4
sub eax, 1
je 0x14001ace8
cmp eax, 2
jne 0x14001ad1f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002eb10
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x14001ad16
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x14001ad1f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14001accc
xor al, al
jmp 0x14001accc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.14002eb10
add rsp, 0x60
pop rbx
ret

Function at 0x14001b5c0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x170
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rsp + 0x160], rax
mov rbx, rcx
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
dec eax
cmp eax, 0x102
ja 0x14001b61e
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14001b603
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003ff0
mov al, 1
jmp 0x14001b65a
xor eax, eax
lea rdx, str.Paths::GetTempPath
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 0x12]
call fcn.1400027e0
lea rdx, str.Failed_to_query_Windows_API_for_TEMP_system_path
lea rcx, [rsp + 0x20]
call fcn.14001dc60
xor al, al
mov rcx, qword [rsp + 0x160]
xor rcx, rsp
call fcn.14002eb10
add rsp, 0x170
pop rbx
ret
Function at 0x14001bde0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
push rsi
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x58]
xor r15d, r15d
mov r11, qword [rsp + 0x70]
mov r13, rdx
mov rax, qword [rsp + 0x60]
mov qword [r14], r8
mov qword [r11], rax
mov rdi, qword [r14]
cmp rdi, r9
je 0x14001bf73
mov r12, qword [rsp + 0x68]
lea r8d, [r15 + 1]
mov rsi, qword [r11]
mov r9d, 0x3ff
mov r10d, 0x2400
mov ebx, 0x2800
cmp rsi, r12
je 0x14001bf73
movzx edx, word [r13]
xor bpl, bpl
movzx ecx, word [rdi]
cmp r8w, dx
jae 0x14001be79
lea eax, [r10 + rcx]
cmp ax, r9w
ja 0x14001bf97
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x14001be8f
mov eax, ecx
add cx, bx
cmp cx, r9w
ja 0x14001be8f
shl eax, 0xa
mov bpl, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x14001bea2
movzx r9d, al
mov r10d, r15d
mov ebx, r15d
jmp 0x14001beed
mov r9d, eax
cmp eax, 0x800
jae 0x14001bebc
shr r9d, 6
mov r10d, r8d
or r9b, 0xc0
mov ebx, r8d
jmp 0x14001beed
cmp eax, 0x10000
jae 0x14001bed6
shr r9d, 0xc
mov r10d, 2
or r9b, 0xe0
mov ebx, r10d
jmp 0x14001beed
shr r9d, 0x12
mov r10d, 3
movzx ebx, bpl
or r9b, 0xf0
xor ebx, 1
add ebx, ebx
lea r8d, [rbx + 1]
mov rdx, r12
sub rdx, rsi
mov ecx, r8d
cmp rdx, rcx
jl 0x14001bf73
lea rcx, [rdi + 2]
mov qword [r14], rcx
test bpl, bpl
jne 0x14001bf11
cmp r10d, 3
jae 0x14001bf1d
mov rcx, qword [r11]
mov r8d, ebx
mov byte [rcx], r9b
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jle 0x14001bf4e
lea ecx, [r10 + r10*2]
add ecx, ecx
nop dword [rax + rax]
sub ecx, 6
mov edx, eax
shr edx, cl
dec r8d
and dl, 0x3f
or dl, 0x80
mov byte [r9], dl
inc qword [r11]
mov r9, qword [r11]
test r8d, r8d
jg 0x14001bf30
shr eax, 0xa
mov r8d, 1
test bpl, bpl
mov ecx, r8d
cmovne ecx, eax
mov word [r13], cx
mov rdi, qword [r14]
cmp rdi, qword [rsp + 0x50]
jne 0x14001be2e
mov rax, qword [rsp + 0x48]
cmp rax, qword [r14]
sete r15b
mov eax, r15d
mov rbx, qword [rsp + 0x38]
mov rbp, qword [rsp + 0x40]
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x14001bf82
Function at 0x140022730
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xf0
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rbp + 0x37], rdx
mov rdx, rcx
lea rcx, [rbp - 0x61]
call fcn.1400024d0
mov rcx, rax
call fcn.1400199d0
xorps xmm0, xmm0
xor edi, edi
test al, al
jne 0x1400227f4
movups xmmword [rsp + 0x20], xmm0
mov qword [rbp - 0x79], rdi
mov qword [rbp - 0x71], rdi
lea r8d, [rdi + 0x19]
lea rdx, str.TsunamiSDK::Process:Start
lea rcx, [rsp + 0x20]
call fcn.1400027e0
lea rdx, str.Refused_to_start_process___Path_does_not_exist
lea rcx, [rsp + 0x20]
call fcn.14001dba0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x1400227ed
inc rdx
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x1400227e8
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002296b
mov rcx, r8
call fcn.14002ec3c
xor al, al
jmp 0x140022874
lea r14, [rsi + 0x20]
cmp qword [r14], 0
je 0x1400228a7
movups xmmword [rsp + 0x20], xmm0
mov qword [rbp - 0x79], rdi
mov qword [rbp - 0x71], rdi
mov r8d, 0x19
lea rdx, str.TsunamiSDK::Process:Start
lea rcx, [rsp + 0x20]
call fcn.1400027e0
lea rdx, str.Refused_to_start_process___Already_running
lea rcx, [rsp + 0x20]
call fcn.14001dba0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140022872
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002286d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002296b
mov rcx, r8
call fcn.14002ec3c
mov al, 1
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14002eb10
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
movups xmmword [rbp - 0x39], xmm0
movups xmmword [rbp - 0x29], xmm0
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
mov dword [rbp - 0x39], 0x70
mov dword [rbp - 0x35], 0x40
mov dword [rbp - 9], edi
lea rax, str.runas
mov qword [rbp - 0x29], rax
cmp qword [rsi + 0x18], 0x10
jb 0x1400228e9
mov rsi, qword [rsi]
mov qword [rbp - 0x21], rsi
mov rax, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x1400228fa
mov rax, qword [rbx]
mov qword [rbp - 0x19], rax
lea rcx, [rbp - 0x39]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
xorps xmm0, xmm0
mov qword [rbp - 0x79], rdi
mov qword [rbp - 0x71], rdi
mov r8d, 0x1a
lea rdx, str.TsunamiSDK::Process::Start
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
test eax, eax
jne 0x140022949
call fcn.1400027e0
lea rdx, str.Failed_to_start_process
lea rcx, [rsp + 0x20]
call fcn.14001dc60
jmp 0x1400227b3
mov rax, qword [rbp + 0x2f]
mov qword [r14], rax
call fcn.1400027e0
lea rdx, str.Started_process
lea rcx, [rsp + 0x20]
call fcn.14001da20
jmp 0x140022838
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x140022980
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
mov eax, 0x11a0
call fcn.14002fa50
sub rsp, rax
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rsp + 0x1190], rax
mov rbx, rcx
mov qword [rsp + 0x70], rcx
lea r8, [rsp + 0x78]
mov edx, 0x1000
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
xor ebp, ebp
test eax, eax
jne 0x140022a8e
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
lea r8d, [rbp + 0x1c]
lea rdx, str.Process::IsExecutableRunning
lea rcx, [rsp + 0x20]
call fcn.1400027e0
lea rdx, str.Failed_to_get_a_snapshot_of_running_processes
lea rcx, [rsp + 0x20]
call fcn.14001dc60
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140022a50
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140022a4b
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140022bb2
mov rcx, r8
call fcn.14002ec3c
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rbp
mov rcx, qword [rsp + 0x1190]
xor rcx, rsp
call fcn.14002eb10
lea r11, [rsp + 0x11a0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
mov r15d, dword [rsp + 0x78]
shr r15d, 2
mov esi, ebp
test r15d, r15d
je 0x140022a16
lea r14, [rsp + 0x80]
nop word [rax + rax]
mov r8d, dword [r14]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140022b5a
mov r9d, 0x104
lea r8, [rsp + 0x1080]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleFileNameExA]
test eax, eax
je 0x140022b5a
lea rax, [rsp + 0x20]
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x1080]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140022b15
lea rdx, [rsp + 0x1080]
lea rcx, [rsp + 0x20]
call fcn.1400027e0
nop
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400024d0
nop
lea rdx, [rsp + 0x20]
mov rcx, rax
call fcn.14001b9a0
test al, al
jne 0x140022b6e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
add r14, 4
cmp esi, r15d
jae 0x140022a16
jmp 0x140022ab0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140022ba4
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140022b9f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140022bab
mov rcx, r8
call fcn.14002ec3c
mov al, 1
jmp 0x140022a52
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002a720
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14002a74b
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14002a879
call qword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
xor edi, edi
lea r8d, [rdi + 0x11]
lea rdx, str.Directory::Create
lea rcx, [rsp + 0x20]
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
cmp eax, 0x563
jne 0x14002a817
call fcn.1400027e0
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002a7a2
mov r8, qword [rbx]
lea rdx, str.Did_not_create__s__Already_exists_
lea rcx, [rsp + 0x20]
call fcn.14001dba0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14002a7ee
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002a7e9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002a8c5
mov rcx, r8
call fcn.14002ec3c
mov al, 1
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002eb10
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
call fcn.1400027e0
nop
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002a82a
mov r8, qword [rbx]
lea rdx, str.Failed_to_create__s
lea rcx, [rsp + 0x20]
call fcn.14001dc60
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14002a872
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002a86d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002a8c5
mov rcx, r8
call fcn.14002ec3c
xor al, al
jmp 0x14002a7f0
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 0x11]
lea rdx, str.Directory::Create
lea rcx, [rsp + 0x20]
call fcn.1400027e0
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002a8af
mov r8, qword [rbx]
lea rdx, str.Deleted__s
lea rcx, [rsp + 0x20]
call fcn.14001da20
jmp 0x14002a7b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002a8d0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
cmp qword [rcx + 0x18], 0x10
jb 0x14002a8fb
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x14002a99b
test al, 0x10
je 0x14002a99b
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 0x1d]
lea rdx, str.TsunamiSDK::Directory::Exists
lea rcx, [rsp + 0x20]
call fcn.1400027e0
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002a948
mov r8, qword [rbx]
lea rdx, str.Directory__s_exists
lea rcx, [rsp + 0x20]
call fcn.14001dae0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14002a994
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002a98f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002aa42
mov rcx, r8
call fcn.14002ec3c
mov al, 1
jmp 0x14002aa1b
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor edi, edi
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea r8d, [rdi + 0x1d]
lea rdx, str.TsunamiSDK::Directory::Exists
lea rcx, [rsp + 0x20]
call fcn.1400027e0
mov r8, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14002a9d1
mov r8, qword [rbx]
lea rdx, str.Directory__s_does_not_exist
lea rcx, [rsp + 0x20]
call fcn.14001dae0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14002aa19
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14002aa14
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14002aa42
mov rcx, r8
call fcn.14002ec3c
xor al, al
mov byte [rbx], 0
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rdi
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002eb10
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x14002aa50
Capabilities:
Get hostname

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov dword [rsp + 0x48], 0x10
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
test eax, eax
jne 0x14002aad3
xor eax, eax
lea rdx, str.Computer::GetPCName
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 0x13]
call fcn.1400027e0
lea rdx, str.Failed_to_get_the_PC_name
lea rcx, [rsp + 0x20]
call fcn.14001dc60
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002eb10
add rsp, 0x70
pop rbx
ret
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], 0
jne 0x14002aae0
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003ff0
xor eax, eax
lea rdx, str.Computer::GetPCName
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 0x13]
call fcn.1400027e0
lea r8, [rsp + 0x50]
lea rdx, str.Got_computer_name:__s
lea rcx, [rsp + 0x20]
call fcn.14001da20
mov al, 1
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14002eb10
add rsp, 0x70
pop rbx
ret

Function at 0x14002ab50
Capabilities:
Get session user name

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov dword [rsp + 0x48], 0x100
lea rcx, [rsp + 0x50]
lea rdx, [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_GetUserNameA]
test eax, eax
jne 0x14002abc8
xor eax, eax
lea rdx, str.Computer::GetUserName
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 0x15]
call fcn.1400027e0
lea rdx, str.Failed_to_get_the_user_name
lea rcx, [rsp + 0x20]
call fcn.14001dc60
xor al, al
jmp 0x14002ac2c
lea rax, [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14002abd4
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.140003ff0
xor eax, eax
lea rdx, str.Computer::GetUserName
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
movups xmmword [rsp + 0x20], xmm0
lea r8d, [rax + 0x15]
call fcn.1400027e0
lea r8, [rsp + 0x50]
lea rdx, str.Got_username:__s
lea rcx, [rsp + 0x20]
call fcn.14001da20
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14002eb10
add rsp, 0x160
pop rbx
ret
Function at 0x14002c250
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rcx
mov dword [rsp + 0x50], 0x40
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
xorps xmm0, xmm0
test eax, eax
jne 0x14002c2c3
xor eax, eax
lea rdx, str.Computer::GetRamSizeGB
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], rax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x38], rax
lea r8d, [rax + 0x16]
call fcn.1400027e0
lea rdx, str.Failed_to_get_RAM_size
lea rcx, [rsp + 0x20]
call fcn.14001dc60
xor al, al
jmp 0x14002c33c
mov rcx, qword [rsp + 0x58]
test rcx, rcx
js 0x14002c2d4
cvtsi2sd xmm0, rcx
jmp 0x14002c2e9
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm0, rax
addsd xmm0, xmm0
mulsd xmm0, qword [0x140039c80]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
cvttsd2si rax, xmm0
lea rdx, str.Computer::GetRamSizeGB
lea rcx, [rsp + 0x20]
xorps xmm0, xmm0
mov dword [rbx], eax
xor eax, eax
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea r8d, [rax + 0x16]
call fcn.1400027e0
mov r8d, dword [rbx]
lea rdx, str.Got_RAM_size_of__d
lea rcx, [rsp + 0x20]
call fcn.14001da20
mov al, 1
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.14002eb10
add rsp, 0xa0
pop rbx
ret
Function at 0x14002d8b0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x14d0
call fcn.14002fa50
sub rsp, rax
mov rax, qword [0x140045028]
xor rax, rsp
mov qword [rsp + 0x14c0], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebx, ebx
call qword [sym.imp.MSVCP140.dll_unsigned_int___cdecl_std::_Random_device_void_]
mov edx, eax
mov dword [rsp + 0x14b4], 0xffffffff
mov dword [rsp + 0x134], eax
lea ecx, [rbx + 1]
mov eax, edx
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, ecx
mov dword [rsp + rcx*4 + 0x134], edx
inc rcx
cmp rcx, 0x270
jb 0x14002d901
mov dword [rsp + 0x130], 0x270
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call fcn.14002da80
nop
lea rsi, str.0123456789abcdef
lea rcx, [rsp + 0x130]
call fcn.14002dbe0
mov edx, eax
shl rdx, 4
shr rdx, 0x20
movzx edx, byte [rdx + rsi]
lea rcx, [rsp + 0x40]
call fcn.14001d480
lea eax, [rbx - 7]
test eax, 0xfffffff3
jne 0x14002d98d
mov dl, 0x2d
lea rcx, [rsp + 0x40]
call fcn.14001d480
inc ebx
cmp ebx, 0x20
jl 0x14002d952
mov rdx, rdi
lea rcx, [rsp + 0x48]
call fcn.140003ec0
nop
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
lea rax, vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov qword [rsp + rdx + 0x30], rax
mov rcx, qword [rsp + 0x30]
movsxd rdx, dword [rcx + 4]
lea r8d, [rdx - 0x98]
mov dword [rsp + rdx + 0x2c], r8d
lea rcx, [rsp + 0x48]
call fcn.140003c70
lea rcx, [rsp + 0x50]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_iostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
mov rax, rdi
mov rcx, qword [rsp + 0x14c0]
xor rcx, rsp
call fcn.14002eb10
lea r11, [rsp + 0x14d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002dbe0
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 0x14002dc41
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 0x14002dc00
mov ecx, dword [r9]
jmp 0x14002dd28
cmp ecx, 0x4e0
jb 0x14002dd28
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 + 0x630]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14002dc60
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop dword [rax + rax]
mov eax, r11d
mov r11d, dword [r10 + 4]
mov edx, r11d
lea r10, [r10 + 4]
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 [r10 - 0xd50]
xor ecx, edx
mov dword [r10 - 0x9c4], ecx
sub rbx, 1
jne 0x14002dcb0
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