joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7ffd21b94b60
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov r8d, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x7ffd21e7e7f8], r8d
jle 0x7ffd21b94c3c
lea rcx, [0x7ffd21e7e7f8]
call fcn.7ffd21c3fc90
cmp dword [0x7ffd21e7e7f8], 0xffffffff
jne 0x7ffd21b94c3c
mov dword [rsp + 0x28], 0x61684353
mov dword [rsp + 0x2c], 0x74636172
mov word [rsp + 0x30], 0x7265
mov byte [rsp + 0x32], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x29]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x7ffd21b94bf4
lea rdx, [rsp + 0x29]
lea rcx, [rsp + 0x38]
call fcn.7ffd21b902c0
nop
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.7ffd21b93700
mov qword [0x7ffd21e7e7d8], rax
lea rcx, [rsp + 0x38]
call fcn.7ffd21b8c150
nop
lea rcx, [0x7ffd21e7e7f8]
call fcn.7ffd21c3fc24
mov rcx, qword [0x7ffd21e7e7d8]
test rcx, rcx
je 0x7ffd21b94ca5
mov rdx, rdi
mov rcx, qword [rcx + 8]
call fcn.7ffd21b99e80
mov r8, rax
test rax, rax
je 0x7ffd21b94ca5
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov rdx, qword [rax + 0x10]
test rdx, rdx
je 0x7ffd21b94cbf
mov eax, dword [rdx + 8]
test eax, eax
je 0x7ffd21b94cbf
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x7ffd21b94c83
test eax, eax
je 0x7ffd21b94cbf
jmp 0x7ffd21b94c73
mov rax, qword [r8 + 8]
mov qword [rbx], rax
mov rax, qword [r8 + 0x10]
mov qword [rbx + 8], rax
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
call fcn.7ffd21b932c0
int3
Function at 0x7ffd21b950c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov qword [rdx], rsi
mov dword [rdx + 8], esi
mov r8d, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x7ffd21e7e750], r8d
jle 0x7ffd21b9519d
lea rcx, [0x7ffd21e7e750]
call fcn.7ffd21c3fc90
cmp dword [0x7ffd21e7e750], 0xffffffff
jne 0x7ffd21b9519d
mov dword [rsp + 0x20], 0x6c65562c
mov dword [rsp + 0x24], 0x7469636f
mov word [rsp + 0x28], 0x79
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x21]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x7ffd21b95155
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x30]
call fcn.7ffd21b902c0
nop
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.7ffd21b93700
mov qword [0x7ffd21e7e748], rax
lea rcx, [rsp + 0x30]
call fcn.7ffd21b8c150
nop
lea rcx, [0x7ffd21e7e750]
call fcn.7ffd21c3fc24
mov rcx, qword [0x7ffd21e7e748]
test rcx, rcx
je 0x7ffd21b951b8
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rcx + 8]
call fcn.7ffd21b99b70
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x7ffd21b953d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
mov edx, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x7ffd21e7e864], edx
jle 0x7ffd21b954a8
lea rcx, [0x7ffd21e7e864]
call fcn.7ffd21c3fc90
cmp dword [0x7ffd21e7e864], 0xffffffff
jne 0x7ffd21b954a8
mov dword [rsp + 0x20], 0x756f4d32
mov dword [rsp + 0x24], 0x65426573
mov dword [rsp + 0x28], 0x69766168
mov word [rsp + 0x2c], 0x726f
mov byte [rsp + 0x2e], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x21]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ffd21b95460
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x30]
call fcn.7ffd21b902c0
nop
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.7ffd21b93700
mov qword [0x7ffd21e7e738], rax
lea rcx, [rsp + 0x30]
call fcn.7ffd21b8c150
nop
lea rcx, [0x7ffd21e7e864]
call fcn.7ffd21c3fc24
mov rcx, qword [0x7ffd21e7e738]
test rcx, rcx
je 0x7ffd21b954c5
mov rdx, rbx
mov rcx, qword [rcx + 8]
add rsp, 0x50
pop rbx
jmp fcn.7ffd21b99e80
xor eax, eax
add rsp, 0x50
pop rbx
ret
Function at 0x7ffd21b9ba30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
sub rsp, 0x40
mov rbx, rcx
mov edx, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rax, qword [rax + rdx*8]
mov edx, dword [rcx + rax]
cmp dword [0x7ffd21e7e95c], edx
jle 0x7ffd21b9baed
lea rcx, [0x7ffd21e7e95c]
call fcn.7ffd21c3fc90
cmp dword [0x7ffd21e7e95c], 0xffffffff
jne 0x7ffd21b9baed
mov dword [rsp + 0x58], 0x7261541d
mov dword [rsp + 0x5c], 0x746567
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor eax, eax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x59]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x7ffd21b9baa5
lea rdx, [rsp + 0x59]
lea rcx, [rsp + 0x20]
call fcn.7ffd21b902c0
nop
xor r8d, r8d
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.7ffd21b93700
mov qword [0x7ffd21e7e900], rax
lea rcx, [rsp + 0x20]
call fcn.7ffd21b8c150
nop
lea rcx, [0x7ffd21e7e95c]
call fcn.7ffd21c3fc24
mov rcx, qword [0x7ffd21e7e900]
test rcx, rcx
je 0x7ffd21b9bb0a
mov rdx, rbx
mov rcx, qword [rcx + 8]
add rsp, 0x40
pop rbx
jmp fcn.7ffd21b99e80
xor eax, eax
add rsp, 0x40
pop rbx
ret
Function at 0x7ffd21b9c030
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x50
mov rdi, rdx
mov rbx, rcx
mov ecx, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov edx, 8
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x7ffd21e7e958], ecx
jle 0x7ffd21b9c108
lea rcx, [0x7ffd21e7e958]
call fcn.7ffd21c3fc90
cmp dword [0x7ffd21e7e958], 0xffffffff
jne 0x7ffd21b9c108
mov dword [rsp + 0x20], 0x6c655645
mov dword [rsp + 0x24], 0x7469636f
mov word [rsp + 0x28], 0x79
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
xor eax, eax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x21]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ffd21b9c0c0
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x30]
call fcn.7ffd21b902c0
nop
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.7ffd21b93700
mov qword [0x7ffd21e7e980], rax
lea rcx, [rsp + 0x30]
call fcn.7ffd21b8c150
nop
lea rcx, [0x7ffd21e7e958]
call fcn.7ffd21c3fc24
mov rcx, qword [0x7ffd21e7e980]
test rcx, rcx
je 0x7ffd21b9c123
mov r8, rdi
mov rdx, rbx
mov rcx, qword [rcx + 8]
call fcn.7ffd21b9ff30
mov rbx, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x7ffd21b9c130
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x50
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov qword [rdx], rsi
mov dword [rdx + 8], esi
mov r8d, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x7ffd21e7e974], r8d
jle 0x7ffd21b9c21a
lea rcx, [0x7ffd21e7e974]
call fcn.7ffd21c3fc90
cmp dword [0x7ffd21e7e974], 0xffffffff
jne 0x7ffd21b9c21a
mov dword [rsp + 0x20], 0x766f4d26
mov dword [rsp + 0x24], 0x72694465
mov dword [rsp + 0x28], 0x69746365
mov word [rsp + 0x2c], 0x6e6f
mov byte [rsp + 0x2e], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x21]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x7ffd21b9c1d2
lea rdx, [rsp + 0x21]
lea rcx, [rsp + 0x30]
call fcn.7ffd21b902c0
nop
xor r8d, r8d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.7ffd21b93700
mov qword [0x7ffd21e7e8b8], rax
lea rcx, [rsp + 0x30]
call fcn.7ffd21b8c150
nop
lea rcx, [0x7ffd21e7e974]
call fcn.7ffd21c3fc24
mov rcx, qword [0x7ffd21e7e8b8]
test rcx, rcx
je 0x7ffd21b9c235
mov r8, rbx
mov rdx, rdi
mov rcx, qword [rcx + 8]
call fcn.7ffd21b99b70
mov rax, rbx
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x7ffd21b9c250
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [0x7ffd21c77690]
xor rax, rsp
mov qword [rbp - 8], rax
mov rbx, rcx
mov byte [rbp - 0x10], dl
mov ecx, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov edx, 8
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x7ffd21e7e970], ecx
jle 0x7ffd21b9c328
lea rcx, [0x7ffd21e7e970]
call fcn.7ffd21c3fc90
cmp dword [0x7ffd21e7e970], 0xffffffff
jne 0x7ffd21b9c328
mov dword [rbp - 0x40], 0x65735530
mov dword [rbp - 0x3c], 0x706d754a
mov dword [rbp - 0x38], 0x65776f50
mov word [rbp - 0x34], 0x72
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
xor eax, eax
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
lea rax, [rbp - 0x3f]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x7ffd21b9c2e4
lea rdx, [rbp - 0x3f]
lea rcx, [rbp - 0x30]
call fcn.7ffd21b902c0
nop
xor r8d, r8d
lea rdx, [rbp - 0x30]
mov rcx, rbx
call fcn.7ffd21b93700
mov qword [0x7ffd21e7e990], rax
lea rcx, [rbp - 0x30]
call fcn.7ffd21b8c150
nop
lea rcx, [0x7ffd21e7e970]
call fcn.7ffd21c3fc24
mov rcx, qword [0x7ffd21e7e990]
test rcx, rcx
je 0x7ffd21b9c344
lea r8, [rbp - 0x10]
mov rdx, rbx
mov rcx, qword [rcx + 8]
call fcn.7ffd21ba0530
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.7ffd21c3f7f0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rbp
ret
Function at 0x7ffd21b9c5d0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rsi, rcx
mov edx, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rax, qword [rax + rdx*8]
mov rdi, 0xffffffffffffffff
mov eax, dword [rcx + rax]
cmp dword [0x7ffd21e7e98c], eax
jle 0x7ffd21b9c6a7
lea rcx, [0x7ffd21e7e98c]
call fcn.7ffd21c3fc90
cmp dword [0x7ffd21e7e98c], edi
jne 0x7ffd21b9c6a7
mov dword [rbp - 0x30], 0x6e655378
mov dword [rbp - 0x2c], 0x79654b64
mov dword [rbp - 0x28], 0x6e657645
mov word [rbp - 0x24], 0x74
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
lea rax, [rbp - 0x2f]
mov r8, rdi
nop
inc r8
cmp byte [rax + r8], 0
jne 0x7ffd21b9c660
lea rdx, [rbp - 0x2f]
lea rcx, [rbp - 0x20]
call fcn.7ffd21b902c0
nop
mov r8d, 2
lea rdx, [rbp - 0x20]
mov rcx, rsi
call fcn.7ffd21b93700
mov qword [0x7ffd21e7e960], rax
lea rcx, [rbp - 0x20]
call fcn.7ffd21b8c150
nop
lea rcx, [0x7ffd21e7e98c]
call fcn.7ffd21c3fc24
mov rbx, qword [rbp + 0x30]
mov rax, qword [0x7ffd21e7e960]
test rax, rax
je 0x7ffd21b9c6f1
mov rcx, qword [rax + 8]
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x40], xmm0
mov rax, qword [rbx + 8]
test rax, rax
je 0x7ffd21b9c6d0
lock inc dword [rax + 8]
mov rax, qword [rbx]
mov qword [rbp - 0x40], rax
mov rax, qword [rbx + 8]
mov qword [rbp - 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
mov rdx, rsi
call fcn.7ffd21b9fbb0
nop
mov rbx, qword [rbx + 8]
test rbx, rbx
je 0x7ffd21b9c721
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x7ffd21b9c721
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x7ffd21b9c721
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x7ffd21bb3030
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 0x10]
mov r10d, ecx
and r10d, 7
je 0x7ffd21bb3064
cmp ecx, r10d
jge 0x7ffd21bb3052
mov rcx, rbx
call fcn.7ffd21bb2810
mov eax, dword [rbx + 0x14]
mov ecx, r10d
shr eax, cl
sub dword [rbx + 0x10], r10d
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x14], eax
xor r8d, r8d
mov eax, ecx
test ecx, ecx
jle 0x7ffd21bb309e
mov ecx, dword [rbx + 0x14]
lea rdx, [rsp + 0x30]
movzx r9d, cl
nop dword [rax]
shr ecx, 8
inc r8d
mov byte [rdx], r9b
lea rdx, [rdx + 1]
sub eax, 8
mov dword [rbx + 0x14], ecx
movzx r9d, cl
test eax, eax
jg 0x7ffd21bb3080
mov dword [rbx + 0x10], eax
test eax, eax
jns 0x7ffd21bb30cd
mov edx, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.zlib_corrupt
mov qword [rcx + rax], rdx
xor eax, eax
add rsp, 0x20
pop rbx
ret
movsxd rcx, r8d
cmp rcx, 4
jge 0x7ffd21bb30ff
mov r8, qword [rbx + 8]
mov rax, qword [rbx]
nop dword [rax]
cmp rax, r8
jb 0x7ffd21bb30e9
xor dl, dl
jmp 0x7ffd21bb30f2
movzx edx, byte [rax]
inc rax
mov qword [rbx], rax
mov byte [rsp + rcx + 0x30], dl
inc rcx
cmp rcx, 4
jl 0x7ffd21bb30e0
movzx eax, byte [rsp + 0x30]
movzx r8d, byte [rsp + 0x31]
movzx ecx, byte [rsp + 0x33]
shl r8d, 8
add r8d, eax
shl ecx, 8
movzx eax, byte [rsp + 0x32]
add ecx, eax
mov eax, r8d
xor eax, 0xffff
cmp ecx, eax
jne 0x7ffd21bb30a2
mov rcx, qword [rbx]
mov qword [rsp + 0x38], rdi
mov edi, r8d
add rcx, rdi
cmp rcx, qword [rbx + 8]
jbe 0x7ffd21bb3174
mov edx, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov ecx, 0x28
mov rax, qword [rax + rdx*8]
lea rdx, str.read_past_buffer
mov qword [rcx + rax], rdx
mov rdi, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rbx
ret
mov rdx, qword [rbx + 0x18]
lea rax, [r8 + rdx]
cmp rax, qword [rbx + 0x28]
jbe 0x7ffd21bb318e
mov rcx, rbx
call fcn.7ffd21bb2960
test eax, eax
je 0x7ffd21bb3167
mov rdx, qword [rbx]
mov r8, rdi
mov rcx, qword [rbx + 0x18]
call sub.vcruntime140.dll_memcpy_1
add qword [rbx], rdi
mov eax, 1
add qword [rbx + 0x18], rdi
mov rdi, qword [rsp + 0x38]
add rsp, 0x20
pop rbx
ret
Function at 0x7ffd21bbe070
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 0x7ffd21bbe098
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 0x7ffd21bbe0be
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x7ffd21bbe0c0
xor ecx, ecx
movsxd rbp, ecx
test rbx, rbx
jle 0x7ffd21bbe119
test ecx, ecx
jle 0x7ffd21bbe0f9
cmp rbx, rbp
mov rcx, r9
cmovl rbp, rbx
mov r8, rbp
call sub.vcruntime140.dll_memcpy_1
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 0x7ffd21bbe119
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x7ffd21bbe119
mov r8, rbx
mov edx, 1
mov rcx, r15
call qword [sym.imp.ucrtbase.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 0x7ffd21bbe140
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 0x7ffd21bbe162
xor eax, eax
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
cmp qword [rcx + 0x68], 0
je 0x7ffd21bbe178
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 0x7ffd21bbe194
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x7ffd21bbe196
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x7ffd21bbe1d2
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_1
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 0x7ffd21bbe26e
mov r8, qword [rsi + 0x18]
lea rax, [rsi + 0x70]
cmp qword [r8], rax
jne 0x7ffd21bbe20d
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 0x7ffd21bbe24e
nop word [rax + rax]
mov r9, qword [rsi + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call qword [sym.imp.ucrtbase.dll_fread]
add r14, rax
sub rbx, rax
cmp rax, 0xfff
jne 0x7ffd21bbe26e
cmp rbx, rax
ja 0x7ffd21bbe220
test rbx, rbx
je 0x7ffd21bbe26e
mov r9, qword [rsi + 0x80]
mov r8, rbx
mov edx, 1
mov rcx, r14
call qword [sym.imp.ucrtbase.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
Function at 0x7ffd21bbe670
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x7ffd21c77690]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x7ffd21bbe69d
xor eax, eax
jmp 0x7ffd21bbe809
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x7ffd21bbe6d7
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x7ffd21bbe6d7
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x7ffd21bbe809
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x7ffd21bbe7fc
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x7ffd21bbe71a
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
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x7ffd21bbe745
mov rdx, qword [rbx + 0x80]
movsx ecx, dil
call qword [sym.imp.ucrtbase.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x7ffd21bbe801
lea rax, [rsp + 0x40]
mov byte [rsp + 0x50], dil
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x51]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x50]
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::out_struct__Mbstatet____ptr64__char_const____ptr64__char_const____ptr64__char_const____ptr64____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x7ffd21bbe7b4
sub eax, 1
je 0x7ffd21bbe7b4
cmp eax, 2
jne 0x7ffd21bbe7fc
movsx ecx, byte [rsp + 0x50]
mov rdx, qword [rbx + 0x80]
call qword [sym.imp.ucrtbase.dll_fputc]
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x7ffd21bbe801
mov rsi, qword [rsp + 0x40]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x7ffd21bbe7e2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rsi, rax
jne 0x7ffd21bbe7fc
lea rax, [rsp + 0x50]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x48], rax
mov ecx, 0xffffffff
cmovne ecx, edi
mov eax, ecx
jmp 0x7ffd21bbe801
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.7ffd21c3f7f0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
Function at 0x7ffd21bbec60
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x7ffd21c77690]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x7ffd21bbed33
cmp byte [rcx + 0x71], 0
je 0x7ffd21bbed33
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x7ffd21bbed2f
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 0x7ffd21bbecf4
sub eax, 1
je 0x7ffd21bbecf8
cmp eax, 2
jne 0x7ffd21bbed2f
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ffd21c3f7f0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x7ffd21bbed26
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.ucrtbase.dll_fwrite]
cmp rdi, rax
jne 0x7ffd21bbed2f
cmp byte [rbx + 0x71], 0
sete al
jmp 0x7ffd21bbecdc
xor al, al
jmp 0x7ffd21bbecdc
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.7ffd21c3f7f0
add rsp, 0x60
pop rbx
ret

Function at 0x7ffd21bbf950
Capabilities:
Log keystrokes via polling

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov ecx, dword [rcx + 4]
test ecx, ecx
je 0x7ffd21bbf98a
sub ecx, 1
je 0x7ffd21bbf973
cmp ecx, 1
jne 0x7ffd21bbf9a0
mov byte [rbx + 0x10], cl
add rsp, 0x20
pop rbx
ret
mov ecx, dword [rbx]
call qword [sym.imp.user32.dll_GetAsyncKeyState]
test ax, ax
setne al
mov byte [rbx + 0x10], al
add rsp, 0x20
pop rbx
ret
mov ecx, dword [rbx]
call qword [sym.imp.user32.dll_GetAsyncKeyState]
test al, 1
je 0x7ffd21bbf9a0
cmp byte [rbx + 0x10], 0
sete al
mov byte [rbx + 0x10], al
add rsp, 0x20
pop rbx
ret
Function at 0x7ffd21bc8a80
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x60
mov rbx, rdx
mov rdi, rcx
xor esi, esi
mov r8d, dword [0x7ffd21e4883c]
mov rax, qword gs:[0x58]
mov ecx, 8
mov rax, qword [rax + r8*8]
mov r8d, dword [rcx + rax]
cmp dword [0x7ffd21e7ea00], r8d
jle 0x7ffd21bc8b68
lea rcx, [0x7ffd21e7ea00]
call fcn.7ffd21c3fc90
cmp dword [0x7ffd21e7ea00], 0xffffffff
jne 0x7ffd21bc8b68
mov dword [rsp + 0x28], 0x72754357
mov dword [rsp + 0x2c], 0x746e6572
mov dword [rsp + 0x30], 0x656d6143
mov word [rsp + 0x34], 0x6172
mov byte [rsp + 0x36], sil
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
lea rax, [rsp + 0x29]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ffd21bc8b20
lea rdx, [rsp + 0x29]
lea rcx, [rsp + 0x38]
call fcn.7ffd21b902c0
nop
xor r8d, r8d
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.7ffd21b93700
mov qword [0x7ffd21e7e9f8], rax
lea rcx, [rsp + 0x38]
call fcn.7ffd21b8c150
nop
lea rcx, [0x7ffd21e7ea00]
call fcn.7ffd21c3fc24
mov rcx, qword [0x7ffd21e7e9f8]
test rcx, rcx
je 0x7ffd21bc8be2
mov rdx, rdi
mov rcx, qword [rcx + 8]
call fcn.7ffd21bca040
mov rdi, rax
test rax, rax
je 0x7ffd21bc8be2
call fcn.7ffd21b94020
mov rdx, rax
mov rcx, rdi
call fcn.7ffd21b935c0
test al, al
je 0x7ffd21bc8be2
mov rdx, qword [rdi + 0x10]
test rdx, rdx
je 0x7ffd21bc8bfc
mov eax, dword [rdx + 8]
test eax, eax
je 0x7ffd21bc8bfc
nop dword [rax]
lea ecx, [rax + 1]
lock cmpxchg dword [rdx + 8], ecx
je 0x7ffd21bc8bc0
test eax, eax
je 0x7ffd21bc8bfc
jmp 0x7ffd21bc8bb0
mov rax, qword [rdi + 8]
mov rcx, qword [rdi + 0x10]
mov qword [rbx], rax
mov qword [rbx + 8], rcx
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
mov qword [rbx], rsi
mov qword [rbx + 8], rsi
mov rax, rbx
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
call fcn.7ffd21b932c0
int3