joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14011cc00
Capabilities:
Resolve dns

Disassembly:
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14011cc2f
nop dword [rax]
cmp dword [rcx], edx
je 0x14011cc23
ja 0x14011cc2f
mov rcx, qword [rcx + 0x268]
test rcx, rcx
jne 0x14011cc10
ret
lea rdx, [rcx + 0x280]
jmp fcn.14011c860
ret

Function at 0x140121410
Capabilities:
Generate random numbers via winapi

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
mov ebx, edx
mov rcx, qword [0x14024c908]
test rcx, rcx
jne 0x140121458
xor r9d, r9d
lea rdx, [0x1401b5220]
xor r8d, r8d
lea rcx, [0x14024c908]
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
jns 0x140121451
lea r8, str.BCryptOpenAlgorithmProvider__:__ld
jmp 0x140121481
mov rcx, qword [0x14024c908]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call sub.bcrypt.dll_BCryptGenRandom
test eax, eax
js 0x14012147a
mov eax, 1
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
lea r8, str.BCryptGenRandom__:__ld
mov r9d, eax
lea rdx, str.mongoc
xor ecx, ecx
call fcn.1400cfb60
mov rbx, qword [rsp + 0x30]
xor eax, eax
add rsp, 0x20
pop rdi
ret

Function at 0x140124a80
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x20
xor ebx, ebx
mov rbp, r9
mov rdi, r8
mov rsi, rdx
test r8, r8
je 0x140124bfe
lea r14, [0x1401bafc0]
cmp rdx, 2
jbe 0x140124b49
lea r10d, [rbx + 4]
nop dword [rax + rax]
movzx edx, byte [rcx + 1]
sub rsi, 3
movzx r11d, byte [rcx]
movzx eax, dl
movzx r9d, byte [rcx + 2]
and dl, 0xf
shr al, 4
movzx r8d, r11b
and r8b, 3
shl dl, 2
shl r8b, 4
add rcx, 3
add r8b, al
movzx eax, r9b
shr al, 6
add dl, al
cmp r10, rbp
ja 0x140124bfe
and r9d, 0x3f
mov eax, r11d
shr rax, 2
add r10, 4
movzx eax, byte [rax + r14]
mov byte [rbx + rdi], al
movzx eax, r8b
movzx eax, byte [rax + r14]
mov byte [rbx + rdi + 1], al
movzx eax, dl
movzx eax, byte [rax + r14]
mov byte [rbx + rdi + 2], al
movzx eax, byte [r9 + r14]
mov byte [rbx + rdi + 3], al
add rbx, 4
cmp rsi, 2
ja 0x140124ac0
test rsi, rsi
je 0x140124bf1
xor r8b, r8b
mov word [rsp + 0x51], 0
xor r9b, r9b
mov byte [rsp + 0x50], r8b
xor dl, dl
test rsi, rsi
je 0x140124b8c
mov rdx, rcx
mov r8, rsi
lea rcx, [rsp + 0x50]
call fcn.140146660
movzx r9d, byte [rsp + 0x52]
movzx edx, byte [rsp + 0x51]
movzx r8d, byte [rsp + 0x50]
movzx eax, dl
shr r9b, 6
movzx ecx, r8b
shr al, 4
and r8b, 3
shr cl, 2
and dl, 0xf
shl r8b, 4
shl dl, 2
add r8b, al
lea rax, [rbx + 4]
add dl, r9b
cmp rax, rbp
ja 0x140124bfe
movzx eax, cl
movzx eax, byte [rax + r14]
mov byte [rbx + rdi], al
movzx eax, r8b
movzx eax, byte [rax + r14]
mov byte [rbx + rdi + 1], al
cmp rsi, 1
jne 0x140124bdc
mov al, 0x3d
jmp 0x140124be4
movzx eax, dl
movzx eax, byte [rax + r14]
mov byte [rbx + rdi + 2], al
mov byte [rbx + rdi + 3], 0x3d
add rbx, 4
cmp rbx, rbp
jae 0x140124bfe
mov byte [rbx + rdi], 0
mov eax, ebx
jmp 0x140124c03
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140128480
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
mov r10, r8
mov r11, rdx
mov r9d, eax
test r8, r8
je 0x1401284b8
sub r11, rcx
nop dword [rax]
nop word [rax + rax]
movzx r8d, byte [r11 + rcx]
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
xor r8d, edx
or r9d, r8d
sub r10, 1
jne 0x1401284a0
test r9d, r9d
setne al
ret

Function at 0x14012bd40
Capabilities:
Decrypt data via sspi

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
sub rsp, 0x80
mov rax, qword [0x14023c9c0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r9, qword [rcx + 0x40]
xor ebp, ebp
mov rbx, rcx
mov esi, ebp
test r9, r9
je 0x14012bed0
mov qword [rsp + 0x98], rdi
nop dword [rax]
test esi, esi
jne 0x14012bec8
mov r8, qword [rbx + 0x50]
lea edx, [rsi + 1]
lea rcx, [rsp + 0x30]
call fcn.14012e910
xor r9d, r9d
lea rcx, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
call fcn.14012e910
xor r9d, r9d
lea rcx, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
call fcn.14012e910
xor r9d, r9d
lea rcx, [rsp + 0x60]
xor r8d, r8d
xor edx, edx
call fcn.14012e910
lea r8d, [rsi + 4]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14012e920
mov rcx, qword [rbx + 0x10]
lea rdx, [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
call sub.Secur32.dll_DecryptMessage
mov esi, eax
test eax, eax
je 0x14012be21
cmp eax, 0x90321
je 0x14012be21
cmp eax, 0x90317
je 0x14012be21
cmp eax, 0x80090318
je 0x14012beb8
mov dword [rbx + 0x68], 1
jmp 0x14012beb8
cmp dword [rsp + 0x44], 1
jne 0x14012be67
mov rax, qword [rbx + 0x38]
lea rcx, [rbx + 0x38]
sub rax, qword [rbx + 0x48]
mov edi, dword [rsp + 0x40]
cmp rax, rdi
jae 0x14012be49
lea rdx, [rbx + 0x58]
mov r8d, edi
call fcn.14012f3a0
test rdi, rdi
je 0x14012be67
mov rcx, qword [rbx + 0x58]
mov r8, rdi
add rcx, qword [rbx + 0x48]
mov rdx, qword [rsp + 0x48]
call fcn.140146660
add qword [rbx + 0x48], rdi
cmp dword [rsp + 0x64], 5
jne 0x14012be9e
mov eax, dword [rsp + 0x60]
test eax, eax
je 0x14012be9e
mov r8d, eax
mov rax, qword [rbx + 0x40]
cmp rax, r8
jbe 0x14012bea2
mov rcx, qword [rbx + 0x50]
mov rdx, rcx
sub rdx, r8
add rdx, rax
call fcn.140146660
mov eax, dword [rsp + 0x60]
mov qword [rbx + 0x40], rax
jmp 0x14012bea2
mov qword [rbx + 0x40], rbp
cmp esi, 0x90317
jne 0x14012beb8
mov byte [rbx + 0x6c], 1
cmp byte [rbx + 0x6d], bpl
jne 0x14012beb8
mov byte [rbx + 0x6d], 1
mov rax, qword [rbx + 0x40]
mov r9d, eax
test rax, rax
jne 0x14012bd80
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400886b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop rsi
ret
Function at 0x14012c600
Capabilities:
Encrypt data via sspi

Disassembly:
push rbx
push rbp
push rdi
push r15
sub rsp, 0x98
mov rax, qword [0x14023c9c0]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, qword [rcx + 0x88]
mov rdi, r8
mov r15, rdx
mov rbp, rcx
test rbx, rbx
je 0x14012c792
cmp dword [rbx + 0x20], 0
mov qword [rsp + 0xd8], rsi
jne 0x14012c668
mov rcx, qword [rbx + 0x10]
lea r8, [rbx + 0x18]
mov edx, 4
call sub.Secur32.dll_QueryContextAttributesA
test eax, eax
je 0x14012c668
mov rax, 0xffffffffffffffff
jmp 0x14012c76d
mov eax, dword [rbx + 0x20]
mov ecx, dword [rbx + 0x1c]
cmp rdi, rax
mov qword [rsp + 0x90], r14
cmova rdi, rax
mov eax, dword [rbx + 0x18]
add rax, rdi
add rcx, rax
call fcn.1400c64a0
mov r9d, dword [rbx + 0x18]
lea rcx, [rsp + 0x40]
mov r8, rax
mov edx, 7
mov r14, rax
call fcn.14012e910
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x50]
add r8, r14
mov r9d, edi
mov edx, 1
call fcn.14012e910
mov r8d, dword [rbx + 0x18]
lea rcx, [rsp + 0x60]
mov r9d, dword [rbx + 0x1c]
add r8, rdi
add r8, r14
mov edx, 6
call fcn.14012e910
xor r9d, r9d
lea rcx, [rsp + 0x70]
xor r8d, r8d
xor edx, edx
call fcn.14012e910
mov r8d, 4
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14012e920
mov rcx, qword [rsp + 0x58]
mov r8, rdi
mov rdx, r15
call fcn.140146660
mov rcx, qword [rbx + 0x10]
lea r8, [rsp + 0x30]
xor r9d, r9d
xor edx, edx
call sub.Secur32.dll_EncryptMessage
test eax, eax
jne 0x14012c74a
mov r8d, dword [rsp + 0x60]
mov rdx, r14
add r8d, dword [rsp + 0x40]
mov rcx, rbp
add r8d, dword [rsp + 0x50]
mov edi, r8d
call fcn.14012fcd0
mov rbx, rax
jmp 0x14012c751
mov rbx, 0xffffffffffffffff
mov rcx, r14
call fcn.1400c6490
mov r14, qword [rsp + 0x90]
cmp rdi, rbx
jne 0x14012c76a
mov ebx, dword [rsp + 0x50]
mov rax, rbx
mov rsi, qword [rsp + 0xd8]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400886b0
add rsp, 0x98
pop r15
pop rdi
pop rbp
pop rbx
ret
mov ecx, 2
call fcn.14008ffd0
mov rcx, rax
lea r8, str.C:Userslxrs_vcpkg_buildtreesmongo_c_driver_src1.26.1_690bc2849a.clean_srclibmongoc_srcmongocmongoc_stream_tls_secure_channel.c
lea rax, str.secure_channel
mov r9d, 0xfc
mov qword [rsp + 0x28], rax
lea rdx, str._s:_d__s__:_precondition_failed:__s_n
lea rax, str._mongoc_stream_tls_secure_channel_write
mov qword [rsp + 0x20], rax
call fcn.140009568
call fcn.140095e6c
int3
Function at 0x1401342b0
Capabilities:
Get outbound credentials handle via credssp

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x80
mov rbx, qword [rsp + 0xd0]
xor r14d, r14d
mov esi, r9d
mov rdi, r8
mov qword [rbx + 0x58], r14
mov qword [rbx + 0x60], r14
mov dword [rbx + 0x70], 0x80000001
mov dword [rbx + 0x68], edx
mov word [rbx + 0x6c], r14w
call fcn.140095ed4
mov qword [rbx + 0x50], rax
test rax, rax
je 0x1401343d9
mov qword [rsp + 0x90], rbp
mov rcx, rax
mov ebp, 0x2f
mov edx, ebp
call fcn.14008ab28
test rax, rax
jne 0x140134332
mov rcx, qword [rbx + 0x50]
lea edx, [rbp + 0x11]
call fcn.14008ab28
test rax, rax
je 0x140134332
mov word [rax], bp
mov rdx, qword [rsp + 0xc0]
mov rbp, qword [rsp + 0x90]
test rdi, rdi
je 0x140134380
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov eax, dword [rsp + 0xb8]
mov dword [rsp + 0x68], eax
mov eax, dword [rsp + 0xc8]
mov dword [rsp + 0x78], eax
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x58], esi
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x7c], 2
test rdx, rdx
lea rax, [rbx + 0x30]
lea rdx, [rsp + 0xd0]
mov qword [rsp + 0x40], rdx
lea rcx, [rsp + 0x50]
cmove rcx, r14
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x28], r14
lea rdx, str.kerberos
mov qword [rsp + 0x20], rcx
xor ecx, ecx
lea r8d, [r9 + 2]
call qword [sym.imp.Secur32.dll_AcquireCredentialsHandleW]
test eax, eax
je 0x1401343e0
lea rdx, str.AcquireCredentialsHandle
mov ecx, eax
call fcn.140134dc0
mov eax, 0xffffffff
jmp 0x1401343e9
mov byte [rbx + 0x6c], 1
mov eax, 1
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x140134720
Capabilities:
Decrypt data via sspi

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
xor ebp, ebp
mov dword [rsp + 0x24], 2
mov rdi, rcx
mov dword [rsp + 0x20], ebp
mov rcx, qword [rcx + 0x58]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov rbx, rdx
test rcx, rcx
je 0x14013476b
call fcn.1400c6490
mov qword [rdi + 0x58], rbp
mov dword [rdi + 0x70], 0x80000001
cmp byte [rdi + 0x6d], bpl
je 0x14013480a
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.140134c50
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14013480a
mov eax, dword [rsp + 0x60]
lea rcx, [rdi + 0x40]
mov ebx, 1
mov dword [rsp + 0x30], eax
lea r9, [rdi + 0x70]
mov dword [rsp + 0x44], ebx
xor r8d, r8d
mov dword [rsp + 0x34], 0xa
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x48], rbp
mov dword [rsp + 0x40], ebp
call sub.Secur32.dll_DecryptMessage
test eax, eax
jne 0x1401347e4
mov edx, dword [rsp + 0x40]
test edx, edx
je 0x1401347f7
mov rcx, qword [rsp + 0x48]
call fcn.140134d10
mov qword [rdi + 0x58], rax
test rax, rax
jne 0x1401347f7
jmp 0x1401347f2
lea rdx, [0x14015bc98]
mov ecx, eax
call fcn.140134dc0
mov ebx, 0xffffffff
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140134806
call fcn.1400c6490
mov eax, ebx
jmp 0x14013480f
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x140134d10
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
lea rax, [rsp + 0x50]
xor r9d, r9d
mov r8d, 0x40000001
mov qword [rsp + 0x20], rax
mov edi, edx
mov rsi, rcx
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x140134d8f
mov ecx, dword [rsp + 0x50]
call fcn.1400c64a0
mov rbx, rax
test rax, rax
je 0x140134d8f
lea rax, [rsp + 0x50]
mov r9, rbx
mov r8d, 0x40000001
mov qword [rsp + 0x20], rax
mov edx, edi
mov rcx, rsi
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
je 0x140134d87
mov rax, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov rcx, rbx
call fcn.1400c6490
lea r9, str.CryptBinaryToString_failed.
xor ecx, ecx
lea r8, [0x14014d924]
lea rdx, str.mongoc
call fcn.1400cfb60
mov rbx, qword [rsp + 0x40]
xor eax, eax
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x1401399f0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140139a18
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140139a18
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x1400051e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rdx, qword [rcx + 0x10]
mov eax, dword [rdx + 0x30]
add eax, 0x100000
mov dword [rdx + 0x40], eax
ret
Function at 0x140005f70
Capabilities:
Query environment variable

Disassembly:
push rbp
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rbp + 0x60], rax
lea rcx, str.WINDIR
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x40], xmm1
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140005fb1
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.14000d2f0
nop
mov r8d, 0x1b
lea rdx, str.System32driversetchosts
lea rcx, [rsp + 0x30]
call fcn.14000bd90
xor edx, edx
mov r8d, 0x108
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14000a770
nop
cmp qword [rbp - 0x28], 0
je 0x14000606b
lea rdx, str.127.0.0.1_xboxlive.com_n
lea rcx, [rsp + 0x50]
call fcn.14000c590
lea rdx, str.127.0.0.1_user.auth.xboxlive.com_n
lea rcx, [rsp + 0x50]
call fcn.14000c590
lea rdx, str.127.0.0.1_presence_heartbeat.xboxlive.com_n
lea rcx, [rsp + 0x50]
call fcn.14000c590
lea rcx, [rsp + 0x58]
call fcn.14000bb40
test rax, rax
jne 0x14000606b
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, [rsp + 0x50]
add rcx, rax
xor r8d, r8d
mov edx, 2
call qword [sym.imp.MSVCP140.dll_public:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool____ptr64]
nop
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x50], rax
mov rax, qword [rsp + 0x50]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rsp + rcx + 0x4c], edx
lea rax, vtable.std::basic_filebuf_char__struct_std::char_traits_char__.0
mov qword [rsp + 0x58], rax
cmp qword [rbp - 0x28], 0
je 0x1400060ce
mov rax, qword [rsp + 0x70]
lea rcx, [rbp - 0x38]
cmp qword [rax], rcx
jne 0x1400060ce
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x20]
mov qword [rax], rcx
mov rax, qword [rbp - 0x70]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbp - 0x58]
mov dword [rax], edx
cmp byte [rbp - 0x2c], 0
je 0x1400060de
lea rcx, [rsp + 0x58]
call fcn.14000bb40
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::destructor_void____ptr64]
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_char__struct_std::char_traits_char__::destructor_void____ptr64]
nop
mov rdx, qword [rsp + 0x48]
cmp rdx, 0xf
jbe 0x140006140
inc rdx
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000613b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000613b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14005c374
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.14005c000
add rsp, 0x170
pop rbp
ret
Function at 0x140009da0
Capabilities:
Execute command
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
sub rsp, 0xd0
lea rbp, [rsp + 0x40]
and rbp, 0xffffffffffffffe0
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rbp + 0x80], rax
lea rcx, [rbp + 8]
call fcn.14000b870
nop
call fcn.140004a80
call fcn.140005430
movabs rax, 0x10fb25e5d0f90e14
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
movabs rax, 0x28f82fea1d5f4c08
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rdi, 0x749e4b8bb19b6041
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rbx, 0x28f82fea1d5f6226
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movdqa xmm0, xmmword [rbp + 0x40]
xorps xmm0, xmmword [rbp + 0x60]
movdqa xmmword [rbp + 0x40], xmm0
lea rcx, [rbp + 0x40]
call fcn.140004b20
call fcn.1400051e0
call fcn.1400070f0
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
call fcn.1400056b0
call fcn.140005820
call fcn.140005f70
call fcn.140006160
call fcn.140004a80
movabs rax, 0x1ed6be5d0f90e14
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x60], rax
movabs rax, 0x448d49996e3a0145
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x68], rax
movabs rax, 0x9250ac351140b875
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x70], rax
movabs rcx, 0x545e21b4ae981428
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x78], rax
mov qword [rbp], rdi
mov rax, qword [rbp]
mov qword [rbp + 0x40], rax
mov qword [rbp], rbx
mov rax, qword [rbp]
mov qword [rbp + 0x48], rax
movabs rax, 0x9250ac351140b85b
mov qword [rbp], rax
mov rax, qword [rbp]
mov qword [rbp + 0x50], rax
mov qword [rbp], rcx
mov rax, qword [rbp]
mov qword [rbp + 0x58], rax
vmovdqu ymm0, ymmword [rbp + 0x40]
vpxor ymm1, ymm0, ymmword [rbp + 0x60]
vmovdqa ymmword [rbp + 0x60], ymm1
lea rcx, [rbp + 0x60]
vzeroupper
call fcn.140004d60
mov edx, 0x1f4
mov ecx, edx
call qword [sym.imp.KERNEL32.dll_Beep]
lea rcx, str.start_https:__discord.gg_pWQz3HYe
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
Function at 0x140009f60
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14007f180]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor eax, eax
mov qword [rsp + 0x48], rcx
mov dword [rsp + 0x38], eax
lea r9, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov qword [rsp + 0x28], rax
lea rcx, [0x1400694a4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x14000a015
mov r8d, dword [rsp + 0x48]
lea r10, [rsp + 0x65]
nop word [rax + rax]
dec r10
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dl
shl al, 2
lea ecx, [rax + rdx]
add cl, cl
sub r8b, cl
add r8b, 0x30
mov byte [r10], r8b
mov r8d, edx
test edx, edx
jne 0x140009fc0
lea r9, [rsp + 0x40]
mov rdx, r10
lea r8, [rsp + 0x65]
mov rcx, rbx
call fcn.14000e9e0
mov rax, rbx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14005c000
add rsp, 0x70
pop rbx
ret
lea rdx, str.failed_to_get_hwid
lea rcx, [rsp + 0x50]
call fcn.140001770
lea rdx, [0x14007ba98]
lea rcx, [rsp + 0x50]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
Function at 0x14000ac30
Capabilities:
Write file on windows

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov rbx, r8
mov r15, rdx
mov rdi, rcx
je 0x14000ac58
add rsp, 0x20
pop r15
pop rdi
pop rbx
jmp 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]
mov rax, qword [rcx + 0x40]
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], rsi
mov rsi, rbx
mov qword [rsp + 0x58], r14
mov r9, qword [rax]
test r9, r9
je 0x14000ac7e
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x14000ac80
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x14000acd9
test ecx, ecx
jle 0x14000acb9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rdi + 0x58]
add r15, rbp
sub rbx, rbp
sub dword [rax], ebp
mov rcx, qword [rdi + 0x40]
movsxd rax, ebp
add qword [rcx], rax
test rbx, rbx
jle 0x14000acd9
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14000acd9
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
sub rbx, rax
mov r14, qword [rsp + 0x58]
sub rsi, rbx
mov rbp, qword [rsp + 0x40]
mov rax, rsi
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r15
pop rdi
pop rbx
ret

Function at 0x14000ad00
Capabilities:
Read file on windows

Disassembly:
push rbp
push rsi
push r14
sub rsp, 0x30
mov rbp, r8
mov r14, rdx
mov rsi, rcx
test r8, r8
jg 0x14000ad22
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x14000ad38
add rsp, 0x30
pop r14
pop rsi
pop rbp
jmp qword [sym.imp.MSVCP140.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsgetn_char____ptr64__long_long___int64_____ptr64]
mov rax, qword [rcx + 0x38]
mov qword [rsp + 0x28], rbx
mov rbx, rbp
mov rdx, qword [rax]
test rdx, rdx
je 0x14000ad54
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x14000ad56
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x14000ad92
mov qword [rsp + 0x20], rdi
cmp rax, rbp
mov rdi, rbp
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call sub.VCRUNTIME140.dll_memcpy
mov rax, qword [rsi + 0x50]
add r14, rdi
sub rbx, rdi
sub dword [rax], edi
mov rcx, qword [rsi + 0x38]
movsxd rax, edi
mov rdi, qword [rsp + 0x20]
add qword [rcx], rax
cmp qword [rsi + 0x80], 0
je 0x14000ae2e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x14000adcd
mov rcx, qword [rsi + 0x88]
mov rdx, qword [rsi + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rsi + 0x38]
mov qword [rax], rcx
mov rax, qword [rsi + 0x50]
mov dword [rax], edx
cmp rbx, 0xfff
jbe 0x14000ae0e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x14000ae2e
cmp rbx, rax
ja 0x14000ade0
test rbx, rbx
je 0x14000ae2e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
sub rbx, rax
sub rbp, rbx
mov rbx, qword [rsp + 0x28]
mov rax, rbp
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret