joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14008b070
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x58], 8
mov ebx, edx
lea rdx, [rcx + 0x40]
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x58], 0
jb 0x14008b097
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
je 0x14008b10f
lea rcx, str.c:_btvsts3480private_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14008b0da
inc rax
jmp 0x14008b0e1
lea rax, str.c:_btvsts3480private_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x1401e26e8]
mov rdx, rax
call fcn.140005f30
movabs rcx, 0x342500000000
shl rax, 0x34
or rax, rdi
or rax, rcx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
cmp ebx, dword [rsp + 0x58]
je 0x14008b163
lea rcx, str.c:_btvsts3480private_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14008b131
inc rax
jmp 0x14008b138
lea rax, str.c:_btvsts3480private_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x1401e26e8]
mov rdx, rax
call fcn.140005f30
movabs rcx, 0x350500040002
shl rax, 0x34
or rax, rcx
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x14008b3b0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
mov dword [rsp + 0x10], edx
push rdi
sub rsp, 0x30
lea rdx, [rcx + 0x40]
mov rdi, r8
xor r8d, r8d
cmp qword [rdx + 0x18], 8
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x48], r8d
jb 0x14008b3dc
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r8
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
cmp eax, 0xea
je 0x14008b458
test eax, eax
je 0x14008b458
lea rcx, str.c:_btvsts3480private_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14008b423
inc rax
jmp 0x14008b42a
lea rax, str.c:_btvsts3480private_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x1401e26e8]
mov rdx, rax
call fcn.140005f30
movabs rcx, 0x312500000000
shl rax, 0x34
or rax, rbx
or rax, rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
cmp dword [rsp + 0x48], 1
je 0x14008b4ad
lea rcx, str.c:_btvsts3480private_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14008b47b
inc rax
jmp 0x14008b482
lea rax, str.c:_btvsts3480private_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x1401e26e8]
mov rdx, rax
call fcn.140005f30
movabs rcx, 0x320500040002
shl rax, 0x34
or rax, rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov eax, dword [rsp + 0x40]
cmp eax, 0x4000
jb 0x14008b506
lea rcx, str.c:_btvsts3480private_softgrid_sharedclientconfigurationRegistryValue.h
mov edx, MsiPreviewDialogW
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14008b4d4
inc rax
jmp 0x14008b4db
lea rax, str.c:_btvsts3480private_softgrid_sharedclientconfigurationRegistryValue.h
lea rcx, [0x1401e26e8]
mov rdx, rax
call fcn.140005f30
movabs rcx, 0x330500040003
shl rax, 0x34
or rax, rcx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
mov rbx, qword [rsp + 0x50]
mov dword [rdi], eax
movabs rax, 0x8000000000
add rsp, 0x30
pop rdi
ret
Function at 0x14008b640
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
sub rsp, 0x40
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rsi, rdx
xorps xmm0, xmm0
movdqu xmmword [rax - 0x30], xmm0
xor ebp, ebp
mov qword [rax - 0x20], rbp
mov dword [rax + 0x18], ebp
lea r8, [rax + 0x18]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x14008b684
lea edi, [rbp + 0xd]
jmp 0x14008b693
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0xea
je 0x14008b69a
mov rbx, qword [rsp + 0x28]
jmp 0x14008b6fc
mov word [rsp + 0x60], bp
mov edx, dword [rsp + 0x70]
lea r8, [rsp + 0x60]
lea rcx, [rsp + 0x28]
call fcn.140016c60
lea r8, [rsp + 0x70]
mov rbx, qword [rsp + 0x28]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x14008b6d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
jmp 0x14008b6fc
cmp word [rbx], 0
jne 0x14008b6e0
mov r8, rbp
jmp 0x14008b6ef
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x14008b6e4
mov rdx, rbx
mov rcx, rsi
call fcn.140007c60
mov edi, ebp
test rbx, rbx
je 0x14008b718
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rbp
mov eax, edi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret

Function at 0x14008be40
Capabilities:
Move file

Disassembly:
push rdi
sub rsp, 0x70
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x88], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
test rcx, rcx
jne 0x14008be7d
mov ecx, 0x57
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x14008bf45
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
cmp word [rcx], di
jne 0x14008bea6
mov r8d, edi
jmp 0x14008beba
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rcx + r8*2], di
jne 0x14008beb0
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140007c60
nop
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.14008ce70
nop
cmp qword [rsp + 0x40], 8
jb 0x14008beeb
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
cmp qword [rsp + 0x60], 8
jb 0x14008bf30
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], rdi
mov word [rsp + 0x48], di
mov eax, ebx
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400f5ff0
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rdi
ret
Function at 0x14008c440
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x90
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0xc0], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rbx, rdx
mov rsi, rcx
xor ebp, ebp
mov qword [rdx + 0x10], rbp
cmp qword [rdx + 0x18], 8
jb 0x14008c486
mov rax, qword [rdx]
jmp 0x14008c489
mov rax, rdx
mov word [rax], bp
mov edx, 0x104
lea rcx, [rsp + 0x20]
call fcn.14000c730
nop
mov rcx, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x20]
sub rcx, rdi
sar rcx, 1
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x14008c50d
lea edx, [rax + 0x5c]
lea rcx, str..._file.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14008c4d3
inc rax
jmp 0x14008c4da
lea rax, str..._file.cpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
mov rbx, rax
shl rbx, 0x34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
or rsi, rbx
movabs rax, 0x792500000000
or rsi, rax
jmp 0x14008c5dd
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbp
mov word [rsp + 0x40], bp
cmp word [rdi], 0
jne 0x14008c535
mov r8, rbp
jmp 0x14008c54b
or r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rdi + r8*2], 0
jne 0x14008c540
mov rdx, rdi
lea rcx, [rsp + 0x40]
call fcn.140007c60
nop
mov r8, rsi
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140011850
nop
mov rdx, rbx
mov rcx, rax
call fcn.14008c620
mov rsi, rax
cmp qword [rsp + 0x78], 8
jb 0x14008c58d
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rbp
mov word [rsp + 0x60], bp
cmp qword [rsp + 0x58], 8
jb 0x14008c5b3
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], rbp
mov word [rsp + 0x40], bp
mov rax, rsi
shr rax, 0x27
not eax
test al, 1
jne 0x14008c5dd
movabs rsi, 0x8000000000
test rdi, rdi
je 0x14008c5f9
mov rcx, rdi
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rbp
mov rax, rsi
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400f5ff0
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop rdi
pop rsi
pop rbp
ret
Function at 0x14008c980
Capabilities:
Copy file

Disassembly:
push rdi
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rcx + 0x10], 0
je 0x14008caa8
cmp qword [rdx + 0x10], 0
je 0x14008caa8
call fcn.140011f80
test eax, eax
je 0x14008caa8
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.14008ce70
nop
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14008ce70
nop
lea rdx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rdx, qword [rsp + 0x38]
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
xor edi, edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x14008ca4d
call fcn.14008b850
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, eax
or rbx, rax
movabs rax, 0x932500000000
or rbx, rax
jmp 0x14008ca57
movabs rbx, 0x8000000000
cmp qword [rsp + 0x50], 8
jb 0x14008ca6a
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
cmp qword [rsp + 0x70], 8
jb 0x14008ca90
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
mov rax, rbx
jmp 0x14008caeb
mov edx, MsiPreviewDialogW
lea rcx, str..._file.cpp
call qword [sym.imp.MSVCR120.dll_strrchr]
test rax, rax
je 0x14008cac4
inc rax
jmp 0x14008cacb
lea rax, str..._file.cpp
mov rdx, rax
lea rcx, [0x1401e26e8]
call fcn.140005f30
shl rax, 0x34
movabs rcx, 0x922500000057
or rax, rcx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400f5ff0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret
Function at 0x14008d270
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rsi
push rdi
push r14
sub rsp, 0x60
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rbp
mov rbp, r8
mov rsi, rcx
xor r14d, r14d
mov dword [r11 - 0x48], r14d
mov dword [r11 + 0x20], r14d
lea rdi, [0x1401e2858]
mov rdx, rdi
cmp qword [0x1401e2870], 8
cmovae rdx, qword [0x1401e2858]
lea rax, [r11 + 0x20]
mov qword [r11 - 0x50], rax
mov qword [r11 - 0x58], r14
lea r9, [r11 - 0x48]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14008d3b1
mov ecx, dword [rsp + 0x98]
test ecx, ecx
je 0x14008d3ac
mov eax, dword [rsp + 0x30]
dec eax
cmp eax, 1
ja 0x14008d3ac
mov byte [rsp + 0x88], r14b
lea rdx, [rcx + 2]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
lea r8, [rsp + 0x88]
lea rcx, [rsp + 0x40]
call fcn.14005dc30
nop
cmp qword [0x1401e2870], 8
cmovae rdi, qword [0x1401e2858]
lea rax, [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov rbx, qword [rsp + 0x40]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x14008d38c
cmp word [rbx], ax
jne 0x14008d371
mov r8d, r14d
jmp 0x14008d380
or r8, 0xffffffffffffffff
inc r8
cmp word [rbx + r8*2], 0
jne 0x14008d375
mov rdx, rbx
mov rcx, rbp
call fcn.140007c60
nop
test rbx, rbx
je 0x14008d3a8
mov rcx, rbx
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], r14
mov eax, edi
jmp 0x14008d3b1
mov eax, 0x65e
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x1400a2bf0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [rcx + 8]
cmp qword [rcx + 0x10], 2
jb 0x1400a2c8d
cmp qword [rcx + 0x18], 8
jb 0x1400a2c25
mov rax, qword [rcx]
jmp 0x1400a2c28
mov rax, rcx
cmp word [rax + 2], 0x3a
jne 0x1400a2c8d
mov r9d, 2
xor r8d, r8d
lea rdx, [rsp + 0x28]
call fcn.14000c420
nop
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 4
sete bl
cmp qword [rsp + 0x40], 8
jb 0x1400a2c73
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x40], 7
xor eax, eax
mov qword [rsp + 0x38], rax
mov word [rsp + 0x28], ax
movzx eax, bl
jmp 0x1400a2c8f
xor al, al
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400f5ff0
add rsp, 0x50
pop rbx
ret

Function at 0x1400a41c0
Capabilities:
Reference sql statements

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x60
mov qword [r11 - 0x40], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov qword [r11 - 0x38], rcx
xor edi, edi
mov dword [rsp + 0x20], edi
mov r8, rdx
lea rdx, str.SELECT_Component.ComponentId_FROM_Shortcut__Component_WHERE_Shortcut.Component___Component.Component_and_Shortcut.Target
lea rcx, [r11 - 0x30]
call fcn.14000d4c0
nop
lea r8, [0x14015b458]
mov rdx, rax
mov rcx, rbx
call fcn.14000d440
mov dword [rsp + 0x20], 1
cmp qword [rsp + 0x50], 8
jb 0x1400a4231
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void____ptr64_]
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f5ff0
mov rbx, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret
Function at 0x1400e9530
Capabilities:
Get system information on windows

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov eax, dword [0x1401e2f98]
test al, 1
jne 0x1400e95a1
or eax, 1
mov dword [0x1401e2f98], eax
xor eax, eax
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x38], rax
mov qword [r11 - 0x30], rax
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
lea rcx, [r11 - 0x40]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx ecx, word [rsp + 0x28]
test ecx, ecx
je 0x1400e958e
mov eax, 2
xor edx, edx
cmp ecx, 9
cmovne eax, edx
jmp 0x1400e9593
mov eax, 1
cmp eax, 2
sete al
mov byte [0x1401e2ef8], al
jmp 0x1400e95a8
movzx eax, byte [0x1401e2ef8]
add rsp, 0x68
ret
Function at 0x1400ee8d0
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rdi
push r13
push r14
sub rsp, 0x28
mov r13, r9
mov rdi, r8
mov r14d, edx
mov rbx, rcx
test r8, r8
je 0x1400eeae4
test r9, r9
je 0x1400eeae4
mov ecx, edx
call fcn.1400ee840
cmp dword [r13], eax
jl 0x1400eeae4
mov qword [rsp + 0x50], rbp
xor r8d, r8d
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x20], r15
mov eax, 0x55555556
mov esi, r8d
lea r10d, [r8 + 0x13]
mov r9d, r8d
imul r14d
mov r15d, edx
mov eax, 0x6bca1af3
lea rbp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..Base64Encoding.cpp
shr r15d, 0x1f
add r15d, edx
lea r12d, [r15*4]
imul r12d
mov r11d, edx
sar r11d, 5
mov eax, r11d
shr eax, 0x1f
add r11d, eax
js 0x1400eea2a
cmp r8d, r11d
jne 0x1400ee984
imul ecx, r11d, 0x4c
mov eax, r12d
sub eax, ecx
cdq
and edx, 3
lea r10d, [rdx + rax]
sar r10d, 2
test r10d, r10d
jle 0x1400eea13
mov ebp, r10d
lea r12, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..Base64Encoding.cpp
nop word [rax + rax]
movzx eax, byte [rbx + 2]
movzx ecx, byte [rbx + 1]
movzx edx, byte [rbx]
shl edx, 8
add rdi, 4
add rbx, 3
or edx, ecx
shl edx, 8
or edx, eax
shl edx, 8
mov eax, edx
shl edx, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r12]
mov byte [rdi - 4], al
mov eax, edx
shl edx, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r12]
mov byte [rdi - 3], al
mov eax, edx
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + r12]
mov byte [rdi - 2], al
mov eax, edx
shr eax, 0x14
and eax, 0x3f
movzx eax, byte [rax + r12]
mov byte [rdi - 1], al
dec rbp
jne 0x1400ee9a0
lea r12d, [r15*4]
inc r9d
lea esi, [rsi + r10*4]
cmp r9d, r11d
jle 0x1400ee96d
lea rbp, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_..Base64Encoding.cpp
mov r12, qword [rsp + 0x60]
lea eax, [r15 + r15*2]
mov r15, qword [rsp + 0x20]
sub r14d, eax
je 0x1400eeac6
lea r9d, [r14 + 1]
test r9d, r9d
je 0x1400eeac6
test r14d, r14d
jle 0x1400eea5a
movzx r8d, byte [rbx]
inc rbx
shl r8d, 8
cmp r14d, 1
jle 0x1400eea6d
movzx eax, byte [rbx]
or r8d, eax
inc rbx
shl r8d, 8
cmp r14d, 2
jle 0x1400eea7d
movzx eax, byte [rbx]
or r8d, eax
shl r8d, 8
test r9d, r9d
jle 0x1400eeaac
mov edx, r9d
nop dword [rax]
mov eax, r8d
inc rdi
shl r8d, 6
shr eax, 0x1a
movzx ecx, al
movzx eax, byte [rcx + rbp]
mov byte [rdi - 1], al
dec rdx
jne 0x1400eea90
mov edx, 4
add esi, r9d
sub edx, r9d
test edx, edx
jle 0x1400eeac4
mov ecx, edx
mov eax, 0x3d
rep stosb byte [rdi], al
add esi, edx
mov rbp, qword [rsp + 0x50]
mov dword [r13], esi
mov rsi, qword [rsp + 0x58]
mov eax, 1
add rsp, 0x28
pop r14
pop r13
pop rdi
pop rbx
ret
xor eax, eax
add rsp, 0x28
pop r14
pop r13
pop rdi
pop rbx
ret
Function at 0x1400ef900
Capabilities:
Create shortcut via ishelllink

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x60], rsi
mov rbx, rdx
lea rdi, [rcx + 8]
mov rcx, qword [rdi]
xor esi, esi
test rcx, rcx
je 0x1400ef933
mov qword [rdi], rsi
mov rax, qword [rcx]
call qword [rax + 0x10]
mov qword [rsp + 0x20], rdi
lea r9, [0x14012b618]
xor edx, edx
lea r8d, [rdx + 1]
lea rcx, [0x14012b638]
call qword [sym.imp.ole32.dll_CoCreateInstance]
mov rcx, qword [rdi]
mov qword [rsp + 0x50], rsi
test rcx, rcx
je 0x1400ef980
mov rax, qword [rcx]
lea r8, [rsp + 0x50]
lea rdx, [0x14012b698]
call qword [rax]
mov rcx, qword [rsp + 0x50]
test eax, eax
cmovs rcx, rsi
mov qword [rsp + 0x50], rcx
mov rcx, qword [rsp + 0x50]
test rcx, rcx
jne 0x1400ef991
mov ebx, 0x80004002
jmp 0x1400ef9a9
cmp qword [rbx + 0x18], 8
jb 0x1400ef99b
mov rbx, qword [rbx]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0x28]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400ef9b9
mov rdx, qword [rcx]
call qword [rdx + 0x10]
mov eax, ebx
mov rbx, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140006f54
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xa0
mov rax, qword [0x140123108]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbx, rdx
lea rax, [rsp + 0x38]
xor edi, edi
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWARENVIDIA_CorporationGlobalNvBackend
mov qword [rsp + 0x38], rdi
mov r9d, 0x20219
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140007014
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rdx, str.Link
lea rax, [rsp + 0x40]
mov dword [rsp + 0x30], 0x4e
xor r9d, r9d
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140007014
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140006ff0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], di
jne 0x140006ff9
lea rdx, [rsp + 0x40]
mov rcx, rbx
call fcn.14000f758
mov al, 1
jmp 0x140007016
xor al, al
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400697f0
mov rbx, qword [rsp + 0xb0]
add rsp, 0xa0
pop rdi
ret
Function at 0x14002858c
Capabilities:
Get memory capacity

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0xa0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x140123108]
xor rax, rsp
mov qword [rsp + 0x90], rax
call fcn.140032174
mov rdi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rax
xor r15d, r15d
test rax, rax
jne 0x1400285dd
jmp 0x140028732
mov rax, qword [rax + 0x17]
cmp qword [rdi + 0xf], rax
jne 0x1400285ef
mov rcx, rdi
jmp 0x14002872d
mov ecx, 0x58
call fcn.140069690
mov rbx, rax
mov qword [rsp + 0x38], rax
lea rsi, [rax + 8]
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
mov qword [rsi + 0x10], r15
mov eax, 7
mov qword [rsi + 0x18], rax
mov word [rsi], r15w
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], r15
mov qword [rbx + 0x40], r15
mov qword [rbx + 0x48], rax
mov word [rbx + 0x30], r15w
mov qword [rsp + 0x40], rbx
mov dword [rbx + 0x28], r15d
mov qword [rbx], r15
mov rax, qword [rdi + 0x17]
sub rax, qword [rdi + 0xf]
sar rax, 3
mov dword [rbx + 0x50], eax
xor r8d, r8d
lea rdx, [0x1400e5f9c]
mov rcx, rsi
call fcn.140001a78
mov r14, r15
mov rcx, qword [rdi + 0xf]
mov rax, qword [rdi + 0x17]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x1400286e8
mov rcx, qword [rcx + r14*8]
cmp word [rcx + 0xc], r15w
je 0x1400286d1
movzx eax, word [rcx + 0xc]
add dword [rbx], eax
movzx eax, word [rcx + 0x15]
cmp dword [rbx + 0x28], eax
jae 0x140028694
mov dword [rbx + 0x28], eax
cmp qword [rbx + 0x18], r15
jne 0x1400286d1
cmp byte [rcx + 0x12], 0x1f
jae 0x1400286bf
movzx eax, byte [rcx + 0x12]
lea rdx, [0x1400f3ab0]
mov rdx, qword [rdx + rax*8]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r15w
jne 0x1400286b3
jmp 0x1400286c9
xor r8d, r8d
lea rdx, [0x1400e5f9c]
mov rcx, rsi
call fcn.140001a78
inc r14
mov rcx, qword [rdi + 0xf]
mov rax, qword [rdi + 0x17]
sub rax, rcx
sar rax, 3
cmp r14, rax
jb 0x140028677
mov esi, 0x40
mov r8d, esi
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.140087fe0
mov dword [rsp + 0x50], esi
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14002871b
mov rax, qword [rsp + 0x58]
shr rax, 0x14
mov dword [rbx + 4], eax
mov rcx, rdi
call fcn.140029168
mov rax, rbx
jmp 0x140028734
call fcn.140029168
xor eax, eax
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400697f0
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret