joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14018a628
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x14018a63e
mov al, 1
jmp 0x14018a69e
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x14018a64f
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x14018a69c
mov ecx, dword [rcx + 0x18]
nop
call fcn.14016831c
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14018a69c
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x14018a69c
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x14018a69c
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x14018a69e
xor al, al
add rsp, 0x20
pop rbx
ret

Function at 0x140191090
Capabilities:
Execute anti-debugging instructions

Disassembly:
push rsi
rdtsc
mov r11, qword [0x14023eec0]
mov rcx, qword [0x14023eed0]
mov r9, qword [0x14023eed8]
mov r8, qword [0x14023eee0]
mov r10, qword [0x14023eee8]
mov rsi, qword [0x14023eec0]
test r11b, 1
jne 0x1401910e7
cmp r11, rsi
jne 0x1401910e7
shl rdx, 0x20
or rdx, rax
sub rdx, r9
cmp rdx, r10
jae 0x1401910e7
imul rdx, r8
shr rdx, 0x1e
add rdx, rcx
mov rax, rdx
pop rsi
ret
pop rsi
jmp fcn.1401910ed

Function at 0x1401939f0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
sub rsp, 0x38
mov rsi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x30], rax
lea rdi, [rsp + 0x28]
mov qword [rdi], rdx
mov rdx, rdi
call fcn.1400ebd10
lea rdx, [rsi + 0xa0]
mov r8d, dword [rdi]
mov rcx, qword [rsi + 0x90]
mov qword [rsp + 0x20], rdx
mov rdx, rax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140193a4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x140193a7b
mov byte [rsi + 0xc0], 1
mov eax, 1
lock xadd dword [rsi + 8], eax
cmp eax, 0x7fffffff
je 0x140193a78
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401513b0
nop
add rsp, 0x38
pop rdi
pop rsi
ret
int3
mov rcx, rsi
xor edx, edx
call fcn.140046ab0
jmp 0x140193a63
Function at 0x14019f7e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x458
mov rbx, r9
mov r14, r8
mov r15, rdx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x450], rax
mov qword [rsp + 0x40], rcx
xor edi, edi
mov qword [rsp + 0x38], rdi
lea rsi, [rsp + 0x50]
mov r8d, 0x400
mov rcx, rsi
mov dl, 0xaa
call fcn.140154340
mov qword [rsi - 8], rdi
mov rcx, r15
xor edx, edx
mov r8d, 0x60
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
jne 0x14019f866
mov rcx, r15
xor edx, edx
mov r8d, 2
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov rdi, rax
test rax, rax
je 0x14019f93b
mov rcx, rdi
mov rdx, r14
mov r8, rbx
call qword [sym.imp.KERNEL32.dll_FindResourceW]
test rax, rax
je 0x14019f92f
mov rbx, rax
mov rcx, rdi
mov rdx, rax
call qword [sym.imp.KERNEL32.dll_LoadResource]
test rax, rax
je 0x14019f92f
mov r14, rax
mov rcx, rdi
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, 0x8007000e
cmp eax, 0xffffffff
jne 0x14019f8f1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rdi, qword [rsp + 0x48]
cmp rdi, rsi
jne 0x14019f8e5
mov rcx, qword [rsp + 0x450]
xor rcx, rsp
call fcn.1401513b0
mov eax, ebx
add rsp, 0x458
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [rsp + 0x48]
call fcn.1401a0060
jmp 0x14019f8c2
mov r15d, eax
lea edx, [r15 + 1]
lea r12, [rsp + 0x48]
mov rcx, r12
call fcn.14019f970
mov rax, qword [r12]
test rax, rax
je 0x14019f8af
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rax
mov ecx, 3
xor edx, edx
mov r8, r14
mov r9d, r15d
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jne 0x14019f949
call fcn.14019f5a0
mov ebx, eax
jmp 0x14019f8af
xor edi, edi
call fcn.14019f5a0
mov ebx, eax
jmp 0x14019f8bd
mov r8d, dword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x48]
mov eax, eax
mov word [rcx + rax*2], 0
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x38]
call fcn.14019f9b0
jmp 0x14019f934
Function at 0x1401bb370
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
mov rax, qword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov qword [rsp + 0x28], r9
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9, rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop
add rsp, 0x38
ret

Function at 0x1401bb3a0
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x38
mov eax, dword [rsp + 0x60]
mov rcx, qword [rcx + 8]
mov dword [rsp + 0x28], r9d
mov qword [rsp + 0x20], r8
xor r8d, r8d
mov r9d, eax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
nop
add rsp, 0x38
ret

Function at 0x1401bc9e0
Capabilities:
Terminate process

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov ebx, r8d
mov edi, edx
mov rsi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp byte [rcx + 8], 0
je 0x1401bca55
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, edi
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x1401bca5a
mov dil, 1
test bl, bl
je 0x1401bca3e
cmp byte [rsi + 8], 0
je 0x1401bcaae
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1401513b0
mov eax, edi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov rcx, qword [rsi]
jmp 0x1401bca0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [rsi + 8], 0
je 0x1401bca82
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xea60
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1401bca87
xor edi, edi
jmp 0x1401bca3e
mov rcx, qword [rsi]
jmp 0x1401bca6f
mov dword [rsp + 0x24], 0xaaaaaaaa
cmp byte [rsi + 8], 0
je 0x1401bcab3
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea rdx, [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov dil, 1
jmp 0x1401bca3e
mov rcx, qword [rsi]
jmp 0x1401bca33
mov rcx, qword [rsi]
jmp 0x1401bca9e

Function at 0x1401bcb90
Capabilities:
Enumerate processes

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rdi, rcx
lea rsi, [rcx + 0x18]
mov r8d, 0x238
mov rcx, rsi
xor edx, edx
call fcn.140154340
mov dword [rdi + 0x18], 0x238
cmp byte [rdi + 0x10], 0
je 0x1401bcbd2
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
setne al
add rsp, 0x28
pop rdi
pop rsi
ret
mov byte [rdi + 0x10], 1
mov rcx, qword [rdi + 8]
mov rdx, rsi
call sub.KERNEL32.dll_Process32FirstW
jmp 0x1401bcbc6
Function at 0x1401bdba0
Capabilities:
Move file

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x98
mov rsi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x40], rax
movaps xmm0, xmmword [0x140215460]
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x20]
mov rcx, r14
mov r9d, 0x1ca
call fcn.14011b550
xor edi, edi
mov rcx, rbx
mov rdx, r14
xor r8d, r8d
call fcn.14010e6d0
mov al, byte [rsi + 0x17]
test al, al
jns 0x1401bdc2c
cmp qword [rsi + 8], 0x103
ja 0x1401bdc4a
test al, al
jns 0x1401bdc33
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne dil
lea rcx, [rsp + 0x40]
call fcn.14010e910
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401513b0
mov eax, edi
add rsp, 0x98
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1401be3e0
Capabilities:
Check if file exists
Copy file
Get file attributes
Set file attributes

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs r12, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x60]
mov qword [r14 + 0x40], r12
movaps xmm6, xmmword [0x140215460]
movaps xmmword [r14 + 0x30], xmm6
movaps xmmword [r14 + 0x20], xmm6
movaps xmmword [r14 + 0x10], xmm6
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x86
call fcn.14011b550
xor ebp, ebp
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14010e6d0
mov rcx, rdi
call fcn.14011dfc0
test al, al
je 0x1401be4b4
lea rcx, [rsp + 0x60]
call fcn.14010e910
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1401513b0
mov eax, ebp
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rcx, rsi
call fcn.14011dfc0
test al, al
je 0x1401be4c4
xor ebp, ebp
jmp 0x1401be47e
cmp byte [rdi + 0x17], 0
jns 0x1401be4d4
cmp qword [rdi + 8], 0x103
ja 0x1401be4c0
cmp byte [rsi + 0x17], 0
jns 0x1401be4e4
cmp qword [rsi + 8], 0x103
ja 0x1401be4c0
lea r14, [rsp + 0x40]
mov qword [r14 + 0x10], r12
movaps xmmword [r14], xmm6
lea rdx, str.DoCopyFile
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, DllRegisterServer
call fcn.14011b550
lea r8, [0x1402569a4]
mov rcx, r14
mov rdx, r15
call fcn.1400bcd20
cmp byte [rsi + 0x17], 0
jns 0x1401be52d
mov rsi, qword [rsi]
movzx r8d, bl
cmp byte [rdi + 0x17], 0
jns 0x1401be53a
mov rdi, qword [rdi]
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1401be576
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bpl
je 0x1401be578
mov ecx, eax
and ecx, 1
je 0x1401be578
and eax, 0xfffffffe
mov rcx, rsi
mov edx, eax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov bpl, 1
jmp 0x1401be578
xor ebp, ebp
lea rcx, [rsp + 0x40]
call fcn.1400bd030
jmp 0x1401be47e
Function at 0x1401be590
Capabilities:
Move file

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x90], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r14, [rsp + 0x40]
mov qword [r14 + 0x40], rax
movaps xmm0, xmmword [0x140215460]
movaps xmmword [r14 + 0x30], xmm0
movaps xmmword [r14 + 0x20], xmm0
movaps xmmword [r14 + 0x10], xmm0
movaps xmmword [r14], xmm0
lea rdx, str.MoveUnsafe
lea r8, str....._base_files_file_util_win.cc
lea r15, [rsp + 0x20]
mov rcx, r15
mov r9d, 0x4ba
call fcn.14011b550
xor ebx, ebx
mov rcx, r14
mov rdx, r15
xor r8d, r8d
call fcn.14010e6d0
mov al, byte [rdi + 0x17]
test al, al
jns 0x1401be652
cmp qword [rdi + 8], 0x103
jbe 0x1401be652
lea rcx, [rsp + 0x40]
call fcn.14010e910
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1401513b0
mov eax, ebx
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
mov cl, byte [rsi + 0x17]
test cl, cl
jns 0x1401be667
cmp qword [rsi + 8], 0x103
jbe 0x1401be667
xor ebx, ebx
jmp 0x1401be626
mov rdx, rsi
test cl, cl
jns 0x1401be671
mov rdx, qword [rsi]
mov rcx, rdi
test al, al
jns 0x1401be67b
mov rcx, qword [rdi]
mov r8d, 3
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov bl, 1
test eax, eax
jne 0x1401be626
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, rdi
call fcn.1400a57b0
test al, al
jne 0x1401be6ab
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1401be663
mov rcx, rdi
mov rdx, rsi
call fcn.1401be6c0
test al, al
jne 0x1401be626
jmp 0x1401be6a1

Function at 0x1401be950
Capabilities:
Move file

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, rdx
mov rdi, rcx
call fcn.14011dfc0
test al, al
jne 0x1401be971
mov rcx, rsi
call fcn.14011dfc0
test al, al
je 0x1401be97a
xor eax, eax
add rsp, 0x28
pop rdi
pop rsi
ret
mov rcx, rdi
mov rdx, rsi
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.1401be590
Function at 0x1401c25c0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x250
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x248], rax
mov sil, 1
cmp qword [0x140256bb0], 0
je 0x1401c2606
mov rcx, qword [rsp + 0x248]
xor rcx, rsp
call fcn.1401513b0
mov eax, esi
add rsp, 0x250
pop rbx
pop rdi
pop rsi
ret
mov rdi, qword [0x140256b88]
test rdi, rdi
je 0x1401c26a7
test byte [reloc.WS2_32.dll_accept], 1
je 0x1401c25e9
cmp byte [rdi + 0x17], 0
jns 0x1401c2628
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140256bb0], rax
inc rax
cmp rax, 1
ja 0x1401c25e9
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.140154340
mov word [rdi], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
add eax, 0xfffffefb
cmp eax, 0xfffffefc
jae 0x1401c276d
xor esi, esi
jmp 0x1401c25e9
mov ecx, SafeArrayCopy
call fcn.1401507f0
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140154340
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140215460]
movups xmmword [rdi], xmm0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov rdx, rbx
call fcn.14018f050
movzx eax, byte [rdi + 0x17]
mov rcx, rdi
test al, al
jns 0x1401c270f
mov rax, qword [rdi + 8]
mov rcx, qword [rdi]
test rax, rax
jne 0x1401c2735
lea rdx, str.debug.log
mov r8d, 9
mov rcx, rdi
call fcn.140099850
mov qword [0x140256b88], rdi
jmp 0x1401c2616
lea r8, [rax + rax]
test r8, r8
je 0x1401c2714
lea rdx, [r8 - 2]
cmp word [rcx + r8 - 2], 0x5c
mov r8, rdx
jne 0x1401c2739
cmp rdx, 0xfffffffffffffffe
je 0x1401c2714
sar rdx, 1
cmp rax, rdx
jbe 0x1401c2834
inc rdx
mov rcx, rdi
call fcn.1401a0ce0
jmp 0x1401c2714
mov rdi, qword [0x140256b88]
lea rbx, [rsp + 0x40]
mov rcx, rbx
call fcn.1401791e4
mov rcx, rdi
mov rdx, rbx
mov r8, rax
call fcn.1400994a0
mov rcx, qword [0x140256b88]
call fcn.1401b5920
cmp word [rax], 0x5c
je 0x1401c27ba
mov rcx, qword [0x140256b88]
lea rdx, [0x14021ca94]
mov r8d, 1
call fcn.140099850
mov rcx, qword [0x140256b88]
lea rdx, str.debug.log
mov r8d, 9
call fcn.140099850
mov rcx, qword [0x140256b88]
cmp byte [rcx + 0x17], 0
jns 0x1401c27e3
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x140256bb0], rax
inc rax
cmp rax, 1
ja 0x1401c25e9
mov qword [0x140256bb0], 0
jmp 0x1401c26a0
mov rcx, rdi
call fcn.14018f1d0
int3
Function at 0x1401c5f10
Capabilities:
Create process on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x50]
mov qword [rdi + 0x40], r14
movaps xmm0, xmmword [0x140215460]
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.PinShortcutToTaskbar
lea r8, str.....operadesktopchrome_importschromeinstallerutil_taskbar_util.cc
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov r9d, 0x7e
call fcn.14011b550
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.14010e6d0
call fcn.14009e750
cmp eax, 0xd
jl 0x1401c601c
lea rdi, [rsp + 0x30]
mov qword [rdi], r14
mov rcx, rdi
call fcn.1400ba6a0
cmp qword [rdi], 0
je 0x1401c607c
cmp byte [rsi + 0x17], 0
jns 0x1401c5fba
mov rsi, qword [rsi]
mov rcx, rsi
call qword [sym.imp.SHELL32.dll_ILCreateFromPathW]
mov rdi, rax
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rax, qword [rax + 0x80]
xor edx, edx
mov r8, rdi
mov r9d, 4
call qword [case.0x1401bb600.0]
test eax, eax
setns sil
test rdi, rdi
je 0x1401c5ffa
mov rcx, rdi
call qword [sym.imp.SHELL32.dll_ILFree]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1401c6053
mov qword [rsp + 0x30], 0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x1401bb600.0]
jmp 0x1401c6053
cmp byte [rsi + 0x17], 0
jns 0x1401c6025
mov rsi, qword [rsi]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, str.taskbarpin
xor ecx, ecx
mov r8, rsi
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp rax, 0x21
setge sil
lea rcx, [rsp + 0x50]
call fcn.14010e910
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1401513b0
mov eax, esi
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
ret
xor esi, esi
jmp 0x1401c6053
Function at 0x1401cd5a0
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov r15, qword [rcx + 0x10]
cmp r15, qword [rcx + 0x18]
je 0x1401cd5df
test r15, r15
je 0x1401cd6cd
mov rax, qword [rdi]
mov qword [r15], rax
add qword [rsi + 0x10], 8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r14, qword [rsi]
mov rbx, qword [rsi + 8]
mov rax, rbx
sub rax, r14
jbe 0x1401cd629
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r14, [rax + rcx]
inc r14
shr r14, 1
shl r14, 3
mov rcx, rbx
sub rcx, r14
mov r8, r15
sub r8, rbx
mov rdx, rbx
call fcn.140153c90
sub r15, r14
mov qword [rsi + 0x10], r15
sub qword [rsi + 8], r14
jmp 0x1401cd5bd
mov rax, r15
sub rax, r14
sar rax, 2
cmp r15, r14
mov r12d, 1
cmovne r12, rax
mov rax, r12
shr rax, 0x3d
jne 0x1401cd6f9
lea rcx, [r12*8]
call fcn.1401507f0
mov rcx, r12
and rcx, 0xfffffffffffffffc
lea rcx, [rax + rcx*2]
mov rdx, rcx
sub r15, rbx
je 0x1401cd69d
mov r8, r15
sar r8, 3
and r15, 0xfffffffffffffff8
mov rdx, r15
add rdx, rcx
shl r8, 3
xor r9d, r9d
mov r10, rcx
add r10, r9
je 0x1401cd6cd
mov r11, qword [rbx + r9]
mov qword [r10], r11
add r9, 8
cmp r8, r9
jne 0x1401cd685
lea r8, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
mov qword [rsi + 0x18], r8
mov r15, rdx
test r14, r14
je 0x1401cd5bd
mov rcx, r14
call fcn.14015082c
mov r15, qword [rsi + 0x10]
jmp 0x1401cd5bd
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140191960
call fcn.14018f1b0
int3
Function at 0x1401cd700
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x28
mov rdi, rdx
mov rsi, rcx
mov rbx, qword [rcx + 8]
cmp rbx, qword [rcx]
je 0x1401cd742
mov r14, rbx
add r14, 0xfffffffffffffff8
je 0x1401cd834
mov rax, qword [rdi]
mov qword [r14], rax
add qword [rsi + 8], 0xfffffffffffffff8
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov r15, qword [rsi + 0x10]
mov rax, qword [rsi + 0x18]
cmp r15, rax
jae 0x1401cd78f
sub rax, r15
sar rax, 3
lea rcx, [rax + 1]
shr rcx, 0x3f
lea r12, [rax + rcx]
inc r12
shl r12, 2
and r12, 0xfffffffffffffff8
lea r14, [r15 + r12]
sub r15, rbx
sub r14, r15
mov rcx, r14
mov rdx, rbx
mov r8, r15
call fcn.140153c90
mov qword [rsi + 8], r14
add qword [rsi + 0x10], r12
jmp 0x1401cd71f
mov rcx, rax
sub rcx, rbx
sar rcx, 2
cmp rax, rbx
mov r12d, 1
cmovne r12, rcx
mov rax, r12
shr rax, 0x3d
jne 0x1401cd860
lea rcx, [r12*8]
call fcn.1401507f0
lea r14, [r12*2 + 6]
and r14, 0xfffffffffffffff8
add r14, rax
mov rcx, r14
sub r15, rbx
je 0x1401cd807
mov rdx, r15
sar rdx, 3
and r15, 0xfffffffffffffff8
mov rcx, r15
add rcx, r14
shl rdx, 3
xor r8d, r8d
mov r9, r14
add r9, r8
je 0x1401cd834
mov r10, qword [rbx + r8]
mov qword [r9], r10
add r8, 8
cmp rdx, r8
jne 0x1401cd7ef
lea rdx, [rax + r12*8]
mov qword [rsi], rax
mov qword [rsi + 8], r14
mov qword [rsi + 0x10], rcx
mov qword [rsi + 0x18], rdx
test rbx, rbx
je 0x1401cd71f
mov rcx, rbx
call fcn.14015082c
mov r14, qword [rsi + 8]
jmp 0x1401cd71f
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140191960
call fcn.14018f1b0
int3
Function at 0x1401d5400
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
mov rax, qword [rcx + 8]
cmp rax, qword [rcx + 0x10]
je 0x1401d543e
test rax, rax
je 0x1401d5507
mov rcx, qword [rbx]
mov qword [rax], rcx
add rax, 8
mov qword [rsi + 8], rax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
sub rax, qword [rsi]
mov r15, rax
sar r15, 3
lea rcx, [r15 + 1]
mov rdx, rcx
shr rdx, 0x3d
jne 0x1401d5533
movabs rdx, 0x1fffffffffffffff
lea rdi, [rsi + 0x18]
mov r14, rax
shr r14, 2
cmp r14, rcx
cmovbe r14, rcx
movabs rcx, 0x7ffffffffffffff8
cmp rax, rcx
cmovae r14, rdx
test r14, r14
jne 0x1401d54fa
xor eax, eax
shl r15, 3
add r15, rax
je 0x1401d5507
lea rax, [rax + r14*8]
mov rcx, qword [rbx]
mov qword [r15], rcx
lea rcx, [r15 + 8]
mov rdx, qword [rsi]
mov r8, qword [rsi + 8]
cmp r8, rdx
je 0x1401d54c8
mov r9, qword [r8 - 8]
add r8, 0xfffffffffffffff8
mov qword [r15 - 8], r9
add r15, 0xfffffffffffffff8
cmp r8, rdx
jne 0x1401d54b0
mov rdx, qword [rsi]
mov qword [rsi], r15
mov qword [rsi + 8], rcx
mov r8, qword [rsi + 0x10]
mov qword [rsi + 0x10], rax
test rdx, rdx
je 0x1401d5432
sub r8, rdx
sar r8, 3
mov rcx, rdi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
pop r14
pop r15
jmp fcn.1401d5a70
mov rcx, rdi
mov rdx, r14
call fcn.1401d5ff0
jmp 0x1401d548d
lea rax, str.null_pointer_given_to_construct_at
mov qword [rsp + 0x20], rax
lea rcx, str._s:_d:_assertion__s_failed:__s
lea rdx, str....._buildtools_third_partylibc_trunkinclude__memoryconstruct_at.h
lea r9, str.__location___nullptr
mov r8d, 0x25
call fcn.140191960
mov rcx, rsi
call fcn.14018f280
int3

Function at 0x1401dac00
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x28
test rdx, rdx
je 0x1401dac3c
mov rsi, rdx
mov rdi, rcx
mov r14d, 0xffffffff
cmp rsi, r14
mov ebx, 0xffffffff
cmovb rbx, rsi
mov rcx, rdi
mov edx, ebx
call sub.ADVAPI32.dll_SystemFunction036
test al, al
je 0x1401dac46
add rdi, rbx
sub rsi, rbx
jne 0x1401dac1a
add rsp, 0x28
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.14016adf0
int3

Function at 0x1401e3f80
Capabilities:
Write file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x14023e038]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rbx, rax
add rsi, rdi
xor r15d, r15d
lea r14, [rsp + 0x2c]
mov r12, qword [sym.imp.KERNEL32.dll_WriteFile]
cmp rdi, rsi
jae 0x1401e4008
mov dword [rsp + 0x2c], 0
mov r8d, esi
sub r8d, edi
mov qword [rsp + 0x20], r15
mov rcx, rbx
mov rdx, rdi
mov r9, r14
call r12
test eax, eax
sete dl
mov ecx, dword [rsp + 0x2c]
test rcx, rcx
sete al
or al, dl
mov edx, 0
jne 0x1401e4001
mov rdx, rcx
add rdi, rdx
cmp al, 1
jne 0x1401e3fc2
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1401513b0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
Function at 0x140001f14
Capabilities:
Parse pe header

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