joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180003440
Capabilities:
Hook routines via microsoft detours

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800039d0
mov qword [rsp + 0x28], 0
cmp qword [0x18000c168], 0
jne 0x180003488
cmp qword [0x18000c160], 0
je 0x180003488
mov rax, qword [0x18000c160]
mov qword [0x18000c168], rax
cmp qword [0x18000c168], 0
je 0x18000352e
mov rax, qword [0x18000c168]
cmp qword [rax + 0x10], 0
je 0x18000352e
mov rax, qword [0x18000c168]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000352e
mov rax, qword [0x18000c168]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000352e
mov rax, qword [0x18000c168]
mov rax, qword [rax + 0x10]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x38]
cmp qword [rsp + 0x28], rax
jb 0x1800034f4
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x28], rax
jbe 0x1800034fb
xor eax, eax
jmp 0x1800036a9
mov rax, qword [0x18000c168]
mov rcx, qword [rsp + 0x28]
mov rcx, qword [rcx + 0x48]
mov qword [rax + 0x10], rcx
mov r8d, 0x60
mov edx, 0xcc
mov rcx, qword [rsp + 0x28]
call sub.VCRUNTIME140.dll_memset
mov rax, qword [rsp + 0x28]
jmp 0x1800036a9
mov rax, qword [0x18000c160]
mov qword [0x18000c168], rax
jmp 0x180003550
mov rax, qword [0x18000c168]
mov rax, qword [rax + 8]
mov qword [0x18000c168], rax
cmp qword [0x18000c168], 0
je 0x18000359d
cmp qword [0x18000c168], 0
je 0x18000359b
mov rax, qword [0x18000c168]
cmp qword [rax + 0x10], 0
je 0x18000359b
mov rax, qword [0x18000c168]
mov rcx, qword [rsp + 0x38]
cmp qword [rax + 0x10], rcx
jb 0x18000359b
mov rax, qword [0x18000c168]
mov rcx, qword [rsp + 0x30]
cmp qword [rax + 0x10], rcx
ja 0x18000359b
jmp 0x1800034cc
jmp 0x18000353e
mov rcx, qword [rsp + 0x60]
call fcn.180005930
and eax, 0xffff
mov eax, eax
mov rcx, qword [rsp + 0x60]
sub rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov r8, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x60]
call fcn.1800036b0
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1800036a7
mov rax, qword [rsp + 0x48]
mov qword [0x18000c168], rax
mov rax, qword [0x18000c168]
mov dword [rax], 0x52727464
mov rax, qword [0x18000c168]
mov qword [rax + 0x10], 0
mov rax, qword [0x18000c168]
mov rcx, qword [0x18000c160]
mov qword [rax + 8], rcx
mov rax, qword [0x18000c168]
mov qword [0x18000c160], rax
mov qword [rsp + 0x40], 0
mov rax, qword [0x18000c168]
add rax, 0x60
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x2a8
jmp 0x180003658
mov eax, dword [rsp + 0x20]
dec eax
mov dword [rsp + 0x20], eax
cmp dword [rsp + 0x20], 1
jle 0x180003692
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
mov rdx, qword [rsp + 0x40]
mov qword [rcx + rax + 0x48], rdx
movsxd rax, dword [rsp + 0x20]
imul rax, rax, 0x60
mov rcx, qword [rsp + 0x28]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
jmp 0x18000364e
mov rax, qword [0x18000c168]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x10], rcx
jmp 0x1800034cc
xor eax, eax
add rsp, 0x58
ret
Function at 0x180005b20
Capabilities:
Parse pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
add rax, 0x10000
mov qword [rsp + 0x30], rax
mov r8d, 0x30
xor edx, edx
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memset
jmp 0x180005b68
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov r8d, 0x30
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
ja 0x180005b88
jmp 0x180005c25
cmp dword [rsp + 0x68], 0x1000
jne 0x180005bad
mov eax, dword [rsp + 0x6c]
and eax, 0xff
cmp eax, 1
je 0x180005bad
mov eax, dword [rsp + 0x6c]
and eax, 0x100
test eax, eax
je 0x180005baf
jmp 0x180005b53
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
jne 0x180005be5
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, qword [rsp + 0x60]
ja 0x180005be5
mov rax, qword [rsp + 0x20]
mov eax, dword [rax + 0x3c]
cmp rax, 0x40
jae 0x180005bea
jmp 0x180005b53
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax], 0x4550
jne 0x180005b53
mov rax, qword [rsp + 0x20]
jmp 0x180005c27
xor eax, eax
add rsp, 0x88
ret
Function at 0x1400087bc
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x18
xor edx, edx
lea rax, [rcx - 1]
cmp rax, 0xfffffffffffffffd
ja 0x140008808
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140008800
cmp dword [rcx + 0x3c], edx
jl 0x140008800
cmp dword [rcx + 0x3c], 0x10000000
jae 0x140008800
movsxd rax, dword [rcx + 0x3c]
add rax, rcx
mov qword [rsp], rax
cmp dword [rax], 0x4550
cmovne rax, rdx
mov rdx, rax
mov qword [rsp], rax
jmp 0x140008808
mov rax, rdx
add rsp, 0x18
ret

Function at 0x140a2b0b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.140a2b237
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x140a2b0e1
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a2b0c7
add dl, dl
jne 0x140a2b0ee
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a2b14e
xor eax, eax
add dl, dl
jne 0x140a2b0fd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x140a2b205
add dl, dl
jne 0x140a2b10e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a2b11b
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a2b128
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a2b135
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x140a2b142
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x140a2b0d6
mov eax, 1
add dl, dl
jne 0x140a2b15e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x140a2b16b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a2b153
sub eax, ebx
mov ebx, 1
jne 0x140a2b1a4
mov ecx, 1
add dl, dl
jne 0x140a2b186
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a2b193
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a2b17b
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a2b0d6
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x140a2b1c0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x140a2b1cd
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x140a2b1b5
cmp eax, 0x7d00
jae 0x140a2b1f3
cmp eax, 0x500
jb 0x140a2b1ee
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a2b0d6
cmp eax, 0x7f
ja 0x140a2b1f6
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x140a2b0d6
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x140a2b22a
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x140a2b0d6
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x375030
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
je 0x375040
jne 0x375040
sub rsp, 0x28
mov rax, qword [rdx]
cmp dword [rax + 0x8c], 0
je 0x3750eb
mov rsi, qword [rdx + 8]
mov edi, dword [rax + 0x88]
cmp dword [rdi + rsi + 0x18], 0
je 0x375088
jne 0x375088
je 0x492b51b6
add r12, rsi
add rbx, rsi
je 0x3750eb
cmp dword [rsi + rdi + 0x14], 0
je 0x3750eb
mov r15, r8
mov r13, rcx
mov ebx, dword [rsi + rdi + 0x20]
mov r12d, dword [rsi + rdi + 0x24]
je 0x375069
jne 0x375069
je 0x74faafeb
and eax, 0x44e92375
mov esi, dword [rcx + rax]
Function at 0x382790
Capabilities:
Resolve function by parsing pe exports

Disassembly:
jmp 0x3827c0
mov eax, dword [rax + 0x20]
mov dword [rdi + 0x38], eax
mov rcx, rbx
mov rdx, rsi
call r15
mov rcx, rdi
jmp 0x382870
xor r14d, r14d
xor edx, edx
jmp 0x3828ff
mov rax, qword [rcx]
jmp 0x38280b
push r15
je 0x3828f6
jne 0x3828f6
add byte [rax], al
add byte [rax], al
nop word cs:[rax + rax]
nop dword [rax]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
jmp 0x3828de
mov rcx, rbp
jmp 0x3828b1
mov r15, qword [sym.imp.itmkl_beo_UteNpt2HgazewrUmZvtjloS]
je 0x3827d2
jne 0x3827d2
jmp 0xffffffffff39b34d
mov rax, qword [rcx]
call qword [rax + 0x30]
jmp 0x382796
call qword [rax + 8]
je 0x382914
jne 0x382914
jmp 0x38d508
jmp 0x3828cc
call qword [rax + 0x20]
mov rcx, qword [rdi + 0x10]
mov rax, qword [rcx]
call qword [rax + 8]
test eax, eax
je 0x38287d
jne 0x38287d
por mm3, qword [rdx - 0x17]
je 0x3827ed
jne 0x3827ed
je 0xffffffff8447d62d
jmp 0x382821
sub rsp, 0x28
mov rdi, rcx
je 0x38290b
jmp 0x382932
push rdi
push rbp
push rbx
jmp 0x382845
je 0x382920
mov rax, qword [rcx]
jmp 0x3827ad
call fcn.00383060
jmp 0x38295e
jmp 0xf0ac90
je 0x38293b
je 0x38294f
jne 0x38294f
je 0xffffffff8dbc3819
je 0x382925
add byte [rax], al
add byte [rax - 0x75], cl
outsd dx, dword [rsi]
adc byte [rdi], cl
test ch, cl
add byte [rax], al
add byte [rdi], cl
test edi, eax
add byte [rax], al
add byte [rax - 0x7b], cl
leave
mov rbp, qword [rdi + 0x10]
je 0x38296f
jne 0x38296f
test rcx, rcx
jmp 0x38285e
call qword [rax + 0x18]
lea edx, [rax + 1]
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x20]
mov rcx, qword [rdi + 0x10]
jmp 0x3827bb
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
call qword [rax + 0x30]
test rax, rax
je 0x38293b
mov rcx, qword [rdi + 0x10]
je 0x382801
jne 0x382801
push r14
push rsi
jmp 0x382857
je 0x382842
jne 0x382842
mov rcx, qword [rcx + 0x10]
je 0x3828a8
jne 0x3828a8
jmp 0x123e99d
test eax, eax
jmp 0x382918
jne 0x3827e0
jmp 0x38293b
xor r14d, r14d
jmp 0x38293b
je 0x382935
jne 0x382935
jmp 0x38287c
jne 0x38290b
jmp 0x39e77a
mov r14d, 1
mov eax, r14d
jmp 0x382942
je 0x38281b
jne 0x38281b
jmp 0x3897b69b
lea rbx, [rdi + 0x38]
lea rsi, [rdi + 0x3c]
jmp 0x3827f5
cmp eax, 1
je 0x382892
jne 0x382892
je 0x7db4bb
mov rax, qword [rbp]
jmp 0x382838
invalid
add al, ah
dec dword [rbp + 0x29]
imul r9, rbx, 0xa2c13
Function at 0x398de0
Capabilities:
Encrypt data using salsa20 or chacha

Disassembly:
mov eax, dword [rdx]
mov dword [rcx + 0x10], eax
mov eax, dword [rdx + 4]
mov dword [rcx + 0x14], eax
mov eax, dword [rdx + 8]
mov dword [rcx + 0x18], eax
mov eax, dword [rdx + 0xc]
mov dword [rcx + 0x1c], eax
lea rax, [rdx + 0x10]
cmp r8d, 0x100
cmovne rax, rdx
lea r8, str.expand_32_byte_kexpand_16_byte_k
lea r9, [0x003afbe0]
cmove r9, r8
mov edx, dword [rax]
mov dword [rcx + 0x20], edx
mov edx, dword [rax + 4]
mov dword [rcx + 0x24], edx
mov edx, dword [rax + 8]
mov dword [rcx + 0x28], edx
mov eax, dword [rax + 0xc]
mov dword [rcx + 0x2c], eax
mov dword [rcx], 0x61707865
mov rax, qword [r9 + 4]
mov qword [rcx + 4], rax
mov eax, dword [r9 + 0xc]
mov dword [rcx + 0xc], eax
ret
Function at 0x39ee90
Capabilities:
Hash data using sha512

Disassembly:
test rcx, rcx
je 0x39ef1b
mov qword [rcx + 0x48], 0
mov qword [rcx], 0
movabs rax, 0x6a09e667f3bcc908
mov qword [rcx + 8], rax
movabs rax, 0xbb67ae8584caa73b
mov qword [rcx + 0x10], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rcx + 0x18], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rcx + 0x20], rax
movabs rax, 0x510e527fade682d1
mov qword [rcx + 0x28], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rcx + 0x30], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rcx + 0x38], rax
mov eax, 1
ret
Function at 0x39f940
Capabilities:
Encrypt data using curve25519

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xc0
mov rsi, rdx
mov rdi, rcx
mov edx, 0x20
mov rcx, r8
mov r8, rsi
call fcn.0039f6b0
and byte [rsi], 0xf8
mov al, byte [rsi + 0x1f]
and al, 0x3f
or al, 0x40
mov byte [rsi + 0x1f], al
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov rdx, rsi
call fcn.0039c300
mov rcx, rdi
mov rdx, rbx
call fcn.0039c280
add rsp, 0xc0
pop rbx
pop rdi
pop rsi
ret
Function at 0x39f9a0
Capabilities:
Encrypt data using curve25519

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x198
mov qword [rsp + 0x28], rcx
xor eax, eax
nop word [rax + rax]
movzx ecx, byte [r8 + rax]
mov byte [rsp + rax + 0x30], cl
add rax, 1
cmp rax, 0x20
jne 0x39f9c0
and byte [rsp + 0x30], 0xf8
mov al, byte [rsp + 0x4f]
and al, 0x3f
or al, 0x40
mov byte [rsp + 0x4f], al
lea rbp, [rsp + 0x140]
mov rcx, rbp
call fcn.00399700
lea rbx, [rsp + 0x170]
mov rcx, rbx
call fcn.00399390
lea rsi, [rsp + 0xb0]
mov rcx, rsi
mov rdx, rbp
mov r8, rbx
call fcn.003993b0
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0039b630
mov rcx, rbx
mov rdx, rbx
call fcn.00399990
mov rcx, rbp
mov rdx, rsi
mov r8, rbx
call fcn.0039a130
lea rcx, [rsp + 0x80]
call fcn.00399390
lea rdi, [rsp + 0x110]
mov rcx, rdi
call fcn.00399370
lea rcx, [rsp + 0x50]
mov rdx, rbp
call fcn.003996e0
lea r14, [rsp + 0xe0]
mov rcx, r14
call fcn.00399390
mov r13d, 0xfe
xor r15d, r15d
nop word cs:[rax + rax]
nop
mov ebp, r15d
mov eax, r13d
shr rax, 3
movzx r15d, byte [rsp + rax + 0x30]
mov ecx, r13d
and cl, 7
shr r15d, cl
and r15d, 1
xor ebp, r15d
lea rsi, [rsp + 0x80]
mov rcx, rsi
lea r12, [rsp + 0x50]
mov rdx, r12
mov r8d, ebp
call fcn.00399540
mov rcx, rdi
mov rdx, r14
mov r8d, ebp
call fcn.00399540
lea rbp, [rsp + 0xb0]
mov rcx, rbp
mov rdx, r12
mov r8, r14
call fcn.0039b630
mov rcx, rbx
mov rdx, rsi
mov r8, rdi
call fcn.0039b630
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.003993b0
mov rcx, rdi
mov rdx, r12
mov r8, r14
call fcn.003993b0
mov rcx, r14
mov rdx, rbp
mov r8, rsi
call fcn.0039a130
mov rcx, rdi
mov rdx, rdi
mov r8, rbx
call fcn.0039a130
mov rcx, rbp
mov rdx, rbx
call fcn.00399c20
mov rcx, rbx
mov rdx, rsi
call fcn.00399c20
mov rcx, r12
mov rdx, r14
mov r8, rdi
call fcn.003993b0
mov rcx, rdi
mov rdx, r14
mov r8, rdi
call fcn.0039b630
mov rcx, rsi
mov rdx, rbx
mov r8, rbp
call fcn.0039a130
mov rcx, rbx
mov rdx, rbx
mov r8, rbp
call fcn.0039b630
mov rcx, rdi
mov rdx, rdi
call fcn.00399c20
mov rcx, r14
mov rdx, rbx
call fcn.0039ac70
mov rcx, r12
mov rdx, r12
call fcn.00399c20
mov rcx, rbp
mov rdx, rbp
mov r8, r14
call fcn.003993b0
mov rcx, r14
lea rdx, [rsp + 0x140]
mov r8, rdi
call fcn.0039a130
mov rcx, rdi
mov rdx, rbx
mov r8, rbp
call fcn.0039a130
add r13d, 0xffffffff
cmp r13d, 0xffffffff
jne 0x39fa90
lea rsi, [rsp + 0x80]
lea rdx, [rsp + 0x50]
mov rcx, rsi
mov r8d, r15d
call fcn.00399540
lea rdi, [rsp + 0x110]
lea rdx, [rsp + 0xe0]
mov rcx, rdi
mov r8d, r15d
call fcn.00399540
mov rcx, rdi
mov rdx, rdi
call fcn.00399990
mov rcx, rsi
mov rdx, rsi
mov r8, rdi
call fcn.0039a130
mov rcx, qword [rsp + 0x28]
mov rdx, rsi
call fcn.0039a9a0
add rsp, 0x198
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400154dc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001555a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015551
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015551
mov rax, qword [rbp - 8]
jmp 0x14001556f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015524
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x100411cb0
Capabilities:
Encode data using xor

Disassembly:
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
add byte [rax], al
Function at 0x140002360
Capabilities:
Parse pe header

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

Function at 0x140001010
Capabilities:
Execute command
Set console window title

Disassembly:
sub rsp, 0x28
lea rcx, str.HWID_Spoofer___V_1.0
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleW]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400010c0
mov ecx, 0xdac
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x140003320]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
add rsp, 0x28
ret

Function at 0x140001b68
Capabilities:
Parse pe header

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

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140001f16
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140001f16
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140001f16
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140001f16
cmp dword [rcx + 0x84], 0xe
jbe 0x140001f16
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140001f18
xor al, al
add rsp, 0x28
ret
Function at 0x14001d050
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov edi, r8d
mov rbx, r9
mov rsi, rdx
mov rbp, rcx
test rcx, rcx
je 0x14001d0ad
test rdx, rdx
je 0x14001d0ad
test rbx, rbx
je 0x14001d0ad
mov dword [r9], 0
test r8d, r8d
je 0x14001d0a9
call fcn.1401b3208
mov r8d, edi
mov r9, rbp
mov edx, 1
mov rcx, rsi
call fcn.1401b38a0
cmp eax, edi
jne 0x14001d0ad
mov dword [rbx], eax
xor eax, eax
jmp 0x14001d0b2
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x14001d900
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
movaps xmmword [rsp + 0x20], xmm6
mov esi, edx
movsx eax, sil
mov rdi, r9
mov rdx, rcx
movd xmm6, eax
punpcklbw xmm6, xmm6
punpcklwd xmm6, xmm6
pshufd xmm6, xmm6, 0
test rcx, rcx
je 0x14001dab3
test r9, r9
je 0x14001dab3
movsxd rbx, dword [rsp + 0x70]
test ebx, ebx
jle 0x14001dab3
mov r14, qword [rsp + 0x78]
test r14, r14
je 0x14001dab3
mov r15, qword [rsp + 0x80]
test r15, r15
je 0x14001dab3
cmp qword [r14], 0
jne 0x14001dab3
lea ebp, [rbx + 0x50]
mov ecx, ebp
call qword [rdx + 0x10]
mov r10, rax
test rax, rax
je 0x14001dab3
mov qword [rsp + 0x50], r12
xor r12d, r12d
mov r11d, r12d
cmp ebx, 0x10
jb 0x14001da5f
lea r9, [rax + 0x50]
lea r8d, [rbx - 1]
lea ecx, [r8 + 0x50]
movsxd rcx, ecx
add rcx, rax
movsxd rax, r8d
add rax, rdi
cmp r9, rax
ja 0x14001d9d0
cmp rcx, rdi
jae 0x14001da5f
mov ecx, ebx
and ecx, 0x8000000f
jge 0x14001d9e1
dec ecx
or ecx, 0xfffffff0
inc ecx
movdqa xmm5, xmmword [0x14024e390]
mov eax, ebx
sub eax, ecx
mov r8, rdi
mov rcx, 0xffffffffffffffb0
movsxd rdx, eax
sub r8, r10
xorps xmm4, xmm4
sub rcx, r10
nop dword [rax]
nop word [rax + rax]
movdqu xmm3, xmmword [r8 + r9 - 0x50]
add r11d, 0x10
movdqu xmm0, xmmword [r9]
lea r9, [r9 + 0x10]
movdqa xmm2, xmm3
lea rax, [rcx + r9]
pxor xmm3, xmm6
pcmpeqb xmm2, xmm4
pandn xmm2, xmm5
pand xmm3, xmm2
movdqa xmm1, xmm2
pandn xmm1, xmm0
por xmm3, xmm1
pand xmm3, xmm2
pandn xmm2, xmm4
por xmm3, xmm2
movdqu xmmword [r9 - 0x10], xmm3
cmp rax, rdx
jl 0x14001da10
movsxd rcx, r11d
mov r9, rbx
cmp rcx, rbx
jge 0x14001daa4
lea rax, [r10 + 0x50]
sub rdi, r10
add rax, rcx
sub r9, rcx
nop word [rax + rax]
movzx r8d, byte [rax + rdi - 0x50]
lea rax, [rax + 1]
movzx ecx, sil
xor cl, r8b
test r8b, r8b
movzx edx, cl
cmove edx, r12d
mov byte [rax - 1], dl
sub r9, 1
jne 0x14001da80
mov r12, qword [rsp + 0x50]
xor eax, eax
mov qword [r14], r10
mov dword [r15], ebp
jmp 0x14001dab8
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
movaps xmm6, xmmword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x14003e730
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x1402c4148]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rdi, rdx
mov r8, rcx
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14003e8cb
mov dword [rsp + 0x50], 0x2d2d4352
mov dword [rsp + 0x54], 0xf7babac9
mov dword [rsp + 0x58], 0x61726f43
mov dword [rsp + 0x5c], 0x776f7242
mov dword [rsp + 0x60], 0x2d756e45
mov dword [rsp + 0x64], 0x61746144
mov dword [rsp + 0x68], 0x37313630
mov dword [rsp + 0x6c], 0x30313032
movdqa xmm2, xmmword [0x14024e340]
xor eax, eax
mov ecx, 1
movd xmm3, ecx
lea rcx, [rsp + 0x50]
nop dword [rax]
nop dword [rax + rax]
movd xmm1, eax
pshufd xmm1, xmm1, 0
paddd xmm1, xmm2
movdqu xmm0, xmmword [rcx]
pslld xmm0, xmm3
paddd xmm1, xmm0
movdqu xmmword [rcx], xmm1
add eax, 4
lea rcx, [rcx + 0x10]
cmp eax, 8
jl 0x14003e7d0
mov rax, qword [rdx]
mov qword [rdx + 8], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
mov rdx, qword [r8]
mov rax, qword [r8 + 8]
sub rax, rdx
test rdx, rdx
je 0x14003e883
lea r9, [rsp + 0x38]
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.14004d020
mov rbx, qword [rsp + 0x38]
test al, al
je 0x14003e883
cmp rbx, qword [rsp + 0x40]
je 0x14003e883
mov rdx, rdi
mov ecx, 0xa
call fcn.14004bfb0
mov ecx, dword [rsp + 0x40]
sub ecx, ebx
mov rdx, rdi
call fcn.14004bfb0
mov r9, qword [rsp + 0x40]
mov r8, rbx
mov rdx, qword [rdi + 8]
mov rcx, rdi
call fcn.14003ed50
nop
test rbx, rbx
je 0x14003e8cb
mov rdx, qword [rsp + 0x48]
sub rdx, rbx
mov rax, rbx
cmp rdx, 0x1000
jb 0x14003e8b1
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14003e8e9
mov rcx, rbx
call fcn.140187064
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], 0
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140187610
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
call fcn.140199e4c
int3