joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140034e88
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rsp + 0x28], rax
cmp qword [r8 + 0x18], 8
mov rdi, r8
mov rsi, rdx
mov rax, r8
jb 0x140034eb2
mov rax, qword [r8]
xor ebx, ebx
mov qword [r8 + 0x10], rbx
mov word [rax], bx
mov rax, qword [rcx]
mov rax, qword [rax + 0x3c0]
call qword [case.0x14006f593.0]
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], ebx
mov rcx, rax
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
test rax, rax
je 0x140034efa
mov edx, dword [rsp + 0x20]
mov r9, rdi
mov r8, rsi
mov rcx, rax
call fcn.1400933e8
test al, al
je 0x140034efa
mov bl, 1
mov al, bl
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140092030
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
mov rax, r8
mov rcx, rdx
mov rdx, rax
mov r8, r9
jmp 0x140034e88
Function at 0x140039464
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r15b, r9b
mov r12b, r8b
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea r8, [0x1400b4df0]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400190f0
cmp qword [rax + 0x18], 8
jb 0x1400394d2
mov rax, qword [rax]
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
lea rcx, [rsp + 0x28]
call fcn.140007f4c
mov rbx, qword [rdi]
mov rsi, qword [rdi + 8]
cmp rbx, rsi
je 0x140039511
mov rcx, rbx
call fcn.140007f4c
add rbx, 0x20
cmp rbx, rsi
jne 0x1400394f9
mov rax, qword [rdi]
mov qword [rdi + 8], rax
cmp r14, 0xffffffffffffffff
je 0x14003964e
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x140039534
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x48]
call fcn.140016628
nop
mov eax, dword [rsp + 0x70]
shr eax, 4
mov rbx, qword [rsp + 0x60]
mov r10, qword [rsp + 0x58]
mov r11, qword [rsp + 0x48]
test al, 1
je 0x1400395e4
lea rcx, [rsp + 0x48]
cmp rbx, 8
setae r9b
cmovae rcx, r11
cmp r10, 1
jne 0x1400395a6
mov r8, r10
lea rax, [0x1400b54d0]
mov rdx, rax
sub rcx, rax
movzx eax, word [rcx + rdx]
cmp ax, word [rdx]
jne 0x1400395a6
add rdx, 2
sub r8, 1
jne 0x14003958e
jmp 0x14003962e
lea rdx, [rsp + 0x48]
test r9b, r9b
cmovne rdx, r11
cmp r10, 2
jne 0x1400395dd
mov r8, r10
lea rax, [0x1400b33e0]
mov rcx, rax
sub rdx, rax
movzx eax, word [rdx + rcx]
cmp ax, word [rcx]
jne 0x1400395dd
add rcx, 2
sub r8, 1
jne 0x1400395c8
jmp 0x14003962e
test r15b, r15b
jne 0x1400395e9
jmp 0x14003962e
test r12b, r12b
je 0x14003962e
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14003961d
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
lea rdx, [rsp + 0x48]
cmp rbx, 8
cmovae rdx, r11
mov r8, r10
mov rcx, rax
call fcn.14001481c
add qword [rdi + 8], 0x20
jmp 0x14003962e
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, rdi
call fcn.14003c68c
nop
lea rcx, [rsp + 0x48]
call fcn.140007f4c
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14003951d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140092030
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov al, r9b
mov r10, r8
mov r9b, byte [rsp + 0x28]
mov rcx, rdx
mov r8b, al
mov rdx, r10
jmp 0x140039464
Function at 0x14003ff60
Capabilities:
Read .ini file

Disassembly:
sub rsp, 0x58
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ecx, ecx
mov qword [rsp + 0x28], r9
mov r10, r8
mov qword [rsp + 0x30], rcx
mov rax, rdx
mov word [rsp + 0x38], cx
mov rcx, rax
mov dword [rsp + 0x20], 5
lea r9, [rsp + 0x30]
mov rdx, r10
lea r8, [0x1400af368]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov r8d, 5
lea rdx, str.True
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
test eax, eax
sete al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140092030
add rsp, 0x58
ret
Function at 0x1400402d0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov r15b, r9b
mov r12b, r8b
mov rbx, rdx
mov rdi, rcx
xor edx, edx
mov r8d, 0x250
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea r8, [0x1400b4df0]
mov rdx, rbx
lea rcx, [rsp + 0x28]
call fcn.1400190f0
cmp qword [rax + 0x18], 8
jb 0x1400394d2
mov rax, qword [rax]
lea rdx, [rsp + 0x70]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
lea rcx, [rsp + 0x28]
call fcn.140007f4c
mov rbx, qword [rdi]
mov rsi, qword [rdi + 8]
cmp rbx, rsi
je 0x140039511
mov rcx, rbx
call fcn.140007f4c
add rbx, 0x20
cmp rbx, rsi
jne 0x1400394f9
mov rax, qword [rdi]
mov qword [rdi + 8], rax
cmp r14, 0xffffffffffffffff
je 0x14003964e
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x60], rsi
lea rax, [rbp - 0x64]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], si
jne 0x140039534
lea rdx, [rbp - 0x64]
lea rcx, [rsp + 0x48]
call fcn.140016628
nop
mov eax, dword [rsp + 0x70]
shr eax, 4
mov rbx, qword [rsp + 0x60]
mov r10, qword [rsp + 0x58]
mov r11, qword [rsp + 0x48]
test al, 1
je 0x1400395e4
lea rcx, [rsp + 0x48]
cmp rbx, 8
setae r9b
cmovae rcx, r11
cmp r10, 1
jne 0x1400395a6
mov r8, r10
lea rax, [0x1400b54d0]
mov rdx, rax
sub rcx, rax
movzx eax, word [rcx + rdx]
cmp ax, word [rdx]
jne 0x1400395a6
add rdx, 2
sub r8, 1
jne 0x14003958e
jmp 0x14003962e
lea rdx, [rsp + 0x48]
test r9b, r9b
cmovne rdx, r11
cmp r10, 2
jne 0x1400395dd
mov r8, r10
lea rax, [0x1400b33e0]
mov rcx, rax
sub rdx, rax
movzx eax, word [rdx + rcx]
cmp ax, word [rcx]
jne 0x1400395dd
add rcx, 2
sub r8, 1
jne 0x1400395c8
jmp 0x14003962e
test r15b, r15b
jne 0x1400395e9
jmp 0x14003962e
test r12b, r12b
je 0x14003962e
mov rax, qword [rdi + 8]
cmp rax, qword [rdi + 0x10]
je 0x14003961d
mov qword [rax], rsi
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rsi
lea rdx, [rsp + 0x48]
cmp rbx, 8
cmovae rdx, r11
mov r8, r10
mov rcx, rax
call fcn.14001481c
add qword [rdi + 8], 0x20
jmp 0x14003962e
lea r8, [rsp + 0x48]
mov rdx, rax
mov rcx, rdi
call fcn.14003c68c
nop
lea rcx, [rsp + 0x48]
call fcn.140007f4c
lea rdx, [rsp + 0x70]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14003951d
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140092030
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov al, r9b
mov r10, r8
mov r9b, byte [rsp + 0x28]
mov rcx, rdx
mov r8b, al
mov rdx, r10
jmp 0x140039464
Function at 0x1400404b0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rsp + 0x20]
mov rdi, r8
lea rcx, [0x1400acdb0]
xor r8d, r8d
xor edx, edx
call sub.SHELL32.dll_SHGetKnownFolderPath
mov ebx, eax
test eax, eax
js 0x140040510
mov rdx, qword [rsp + 0x20]
mov rcx, rdi
call fcn.140013f08
mov r8d, 9
lea rdx, str.OneDrive
mov rcx, rdi
call fcn.140024870
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140092030
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret
Function at 0x140041970
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov rbx, rcx
mov esi, 0x7fffffff
mov ebp, 0x9908b0df
mov r9, qword [rbx]
mov r8d, dword [r9]
cmp r8d, 0x270
jne 0x1400419e0
lea r8, [r9 + 8]
mov r10d, 0x270
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
and edx, esi
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x1400419a5
mov r8d, dword [r9]
jmp 0x140041aae
cmp r8d, 0x4e0
jb 0x140041aae
lea r10, [r9 + 0x9c4]
mov r11d, 0xe3
mov eax, dword [r10]
lea r8, [r10 + 4]
mov edx, dword [r8]
xor edx, eax
and edx, esi
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r10 + 0x634]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x1400419fd
lea r10, [r9 + 0xd50]
mov r11d, 0x18c
mov eax, dword [r10]
mov edx, eax
lea r8, [r10 + 4]
xor edx, dword [r8]
and edx, esi
xor edx, eax
mov eax, edx
and al, 1
neg al
mov eax, dword [r8]
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r10 - 0xd4c]
xor ecx, edx
mov dword [r10 - 0x9c0], ecx
lea r10, [r8]
sub r11, 1
jne 0x140041a42
mov edx, dword [r9 + 0x1380]
xor edx, dword [r9 + 4]
and edx, esi
xor edx, dword [r9 + 0x1380]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, ebp
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
and dword [r9], 0
xor r8d, r8d
mov eax, r8d
mov edx, dword [r9 + rax*4 + 4]
mov ecx, edx
shr ecx, 0xb
lea eax, [r8 + 1]
mov dword [r9], eax
mov eax, dword [r9 + 0x1384]
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and edx, 0xffffdf8c
shl edx, 0xf
mov ecx, edx
xor rcx, rax
mov rax, rcx
shr rax, 0x12
xor rax, rcx
cmp rax, qword [rbx + 0x10]
ja 0x14004198c
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
ret
Function at 0x140041b10
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x250
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 8
mov rcx, rbx
jb 0x140041b60
mov rcx, qword [rbx]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140041cfc
xor esi, esi
mov r14d, 0x104
xor edx, edx
lea rcx, [rbp + 0x190]
mov r8d, 0x208
call sub.VCRUNTIME140.dll_memset
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x140041ba1
mov r8, qword [rbx]
lea rax, [rbp + 0x190]
mov rdx, r14
sub r8, rax
lea rcx, [rbp + 0x190]
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x140041bd8
movzx eax, word [r8 + rcx]
test ax, ax
je 0x140041bd8
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x140041bb5
test rdx, rdx
lea rax, [rcx - 2]
cmovne rax, rcx
mov word [rax], si
je 0x140041cdd
lea rcx, [rbp + 0x190]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov r8, r14
lea rax, [rbp + 0x190]
cmp word [rax], si
je 0x140041c12
add rax, 2
sub r8, 1
jne 0x140041c03
mov rax, r8
mov rcx, r14
neg rax
mov rax, r8
sbb edx, edx
sub rcx, r8
not edx
and edx, 0x80070057
neg rax
sbb r9, r9
and r9, rcx
test r8, r8
je 0x140041c7c
test r9, r9
je 0x140041c66
cmp word [rbp + r9*2 + 0x18e], 0x5c
je 0x140041c66
lea r8, [0x1400b27a0]
mov rdx, r14
lea rcx, [rbp + 0x190]
call fcn.14003de48
mov edx, eax
test eax, eax
js 0x140041c7c
lea r8, [rsp + 0x6c]
mov rdx, r14
lea rcx, [rbp + 0x190]
call fcn.14003de48
mov edx, eax
test edx, edx
js 0x140041cdd
mov qword [rsp + 0x20], rsi
lea rax, [rbp + 0x190]
mov qword [rsp + 0x30], rsi
or r8, 0xffffffffffffffff
mov qword [rsp + 0x38], rsi
inc r8
cmp word [rax + r8*2], si
jne 0x140041c9a
lea rdx, [rbp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.140016628
cmp qword [rsp + 0x38], 8
lea rcx, [rsp + 0x20]
cmovae rcx, qword [rsp + 0x20]
xor r8d, r8d
lea edx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WerRegisterFile]
lea rcx, [rsp + 0x20]
call fcn.140007f4c
lea rdx, [rsp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140041b80
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140092030
lea r11, [rsp + 0x4b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140041d24
Capabilities:
Get common file path
Get program files directory

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x2c0]
sub rsp, 0x3c0
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rbp + 0x2b0], rax
xor ebx, ebx
mov qword [rbp - 0x78], rbx
movdqa xmm0, xmmword [0x1400b8430]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], bx
lea rcx, [rbp - 0x78]
call fcn.140041f08
test eax, eax
js 0x140041d77
lea rcx, [rbp - 0x78]
call fcn.140041b10
mov qword [rsp + 0x68], rbx
movdqa xmm0, xmmword [0x1400b8430]
movdqu xmmword [rsp + 0x78], xmm0
mov word [rsp + 0x68], bx
lea rax, str.Expected_non_NULL_setup_log_location
mov qword [rsp + 0x30], rax
lea rax, str._pSetupLogsLocation___NULL_
mov qword [rsp + 0x28], rax
lea rax, str.WatsonReport::GetSetupLogsLocation
mov qword [rsp + 0x20], rax
mov r9d, 0x10d
lea r8, str.D:dbs_shodct1010_170902_4cmd_sclientonedriveProductUXSharedWatsonReport.cpp
lea rdx, [0x1400af368]
mov ecx, 1
call fcn.14003f138
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8d, [r9 + 0x26]
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x140041ed1
xor edx, edx
mov r8d, 0xe8
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov edx, 1
lea rcx, [rbp - 0x50]
call fcn.14003ad54
nop
lea rdx, [rbp + 0xa0]
lea rcx, [rbp - 0x50]
call fcn.14003b48c
mov rcx, rax
lea rdx, [0x1400b5bcc]
call fcn.14003b268
lea rdx, [0x1400e7938]
cmp qword [0x1400e7950], 8
cmovae rdx, qword [0x1400e7938]
mov r8, qword [0x1400e7948]
mov rcx, rax
call fcn.14003c294
lea rdx, [rsp + 0x48]
lea rcx, [rbp - 0x48]
call fcn.14003b01c
lea rcx, [rsp + 0x68]
call fcn.140007f4c
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rsp + 0x68], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rsp + 0x78], xmm1
movdqa xmm0, xmmword [0x1400b8430]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], bx
lea rcx, [rsp + 0x48]
call fcn.140007f4c
nop
lea rcx, [rbp + 0x38]
call fcn.14003acdc
lea rcx, [rbp + 0x38]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
lea rcx, [rsp + 0x68]
call fcn.140041b10
nop
lea rcx, [rsp + 0x68]
call fcn.140007f4c
nop
lea rcx, [rbp - 0x78]
call fcn.140007f4c
mov rcx, qword [rbp + 0x2b0]
xor rcx, rsp
call fcn.140092030
mov rbx, qword [rsp + 0x3d0]
add rsp, 0x3c0
pop rbp
ret
Function at 0x140041f08
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x288]
sub rsp, 0x380
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rbp + 0x270], rax
mov rbx, rcx
xor esi, esi
test rcx, rcx
setne al
lea rcx, str.Expected_non_NULL_sync_engine_log_location
mov qword [rsp + 0x30], rcx
lea rcx, str._pSyncEngineLogPath___NULL_
mov qword [rsp + 0x28], rcx
lea rcx, [0x1400b5bd0]
mov qword [rsp + 0x20], rcx
mov r9d, 0xfa
lea r8, str.D:dbs_shodct1010_170902_4cmd_sclientonedriveProductUXSharedWatsonReport.cpp
lea rdx, [0x1400af368]
movzx ecx, al
call fcn.14003f138
mov edi, 0x80004005
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x60]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8d, [rsi + 0x1c]
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x1400420a2
xor edx, edx
mov r8d, 0xe8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea edx, [rsi + 1]
lea rcx, [rsp + 0x70]
call fcn.14003ad54
nop
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.14003b48c
mov rcx, rax
lea rdx, [0x1400b5bcc]
call fcn.14003b268
lea rdx, [0x1400e78f8]
cmp qword [0x1400e7910], 8
cmovae rdx, qword [0x1400e78f8]
mov rcx, rax
call fcn.14003b48c
mov rcx, rax
lea rdx, [0x1400b5bcc]
call fcn.14003b268
lea rdx, [0x1400e7818]
cmp qword [0x1400e7830], 8
cmovae rdx, qword [0x1400e7818]
mov rcx, rax
call fcn.14003b48c
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x78]
call fcn.14003b01c
lea rax, [rsp + 0x48]
cmp rbx, rax
je 0x140042083
mov rcx, rbx
call fcn.140007f4c
movups xmm0, xmmword [rsp + 0x48]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x58]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x1400b8430]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], si
lea rcx, [rsp + 0x48]
call fcn.140007f4c
mov edi, esi
lea rcx, [rbp - 8]
call fcn.14003acdc
lea rcx, [rbp - 8]
call qword [sym.imp.MSVCP140.dll_public_virtual:_void___cdecl_std::basic_ios_wchar_t__struct_std::char_traits_wchar_t__::destructor_void____ptr64]
mov eax, edi
mov rcx, qword [rbp + 0x270]
xor rcx, rsp
call fcn.140092030
lea r11, [rsp + 0x380]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x1400422a0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9d, dword [rsp + 0x60]
mov r11d, r8d
mov qword [rsp + 0x28], rax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov edx, r11d
mov qword [rsp + 0x20], rax
call sub.SHELL32.dll_SHGetFolderPathAndSubDirW
add rsp, 0x30
pop rbx
ret

Function at 0x140042630
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x88]
mov r10, r9
mov r9d, dword [rsp + 0x70]
mov r11, r8
mov qword [rsp + 0x30], rax
mov rcx, rdx
mov rax, qword [rsp + 0x80]
mov r8, r10
mov qword [rsp + 0x28], rax
mov rdx, r11
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
add rsp, 0x40
pop rbx
ret
Function at 0x140042680
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x30
pop rbx
ret

Function at 0x140042700
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rsp + 0x38], rax
and dword [rsp + 0x2c], 0
lea rcx, [r11 - 0x28]
and qword [r11 - 0x28], 0
mov rsi, r9
and dword [rsp + 0x28], 0
mov r9d, 0x2001f
and qword [r11 - 0x18], 0
xor edi, edi
call fcn.140005e54
test eax, eax
jne 0x140042757
mov rcx, qword [rsp + 0x20]
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
cmp qword [rsp + 0x20], 0
je 0x14004276a
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140092030
mov rsi, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400427a0
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10, r9
mov r9d, dword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
add rsp, 0x30
pop rbx
ret

Function at 0x140042840
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov eax, dword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11, r8
mov dword [rsp + 0x38], eax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov rdx, r11
mov eax, dword [rsp + 0x80]
mov dword [rsp + 0x28], eax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call sub.SHLWAPI.dll_SHRegGetUSValueW
add rsp, 0x40
pop rbx
ret

Function at 0x140042900
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10d, r9d
mov r9, qword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov eax, dword [rsp + 0x68]
mov r8d, r10d
mov rdx, r11
mov dword [rsp + 0x20], eax
call qword [sym.imp.SHLWAPI.dll_SHRegSetUSValueW]
add rsp, 0x30
pop rbx
ret

Function at 0x140042ab0
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x30
mov eax, dword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov dword [rsp + 0x28], eax
mov rcx, rdx
mov rax, qword [rsp + 0x68]
mov r8, r10
mov rdx, r11
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
add rsp, 0x30
pop rbx
ret
Function at 0x140042b00
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov rdi, rdx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x80
call sub.VCRUNTIME140.dll_memset
lea r8, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
lea rdx, [rsp + 0x30]
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
mov ebx, eax
test eax, eax
je 0x140042b70
mov eax, 0x4c00
cmp word [rsp + 0x30], ax
je 0x140042b70
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140013f08
neg ebx
sbb eax, eax
not eax
and eax, 0x80004005
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140092030
mov rbx, qword [rsp + 0xd0]
add rsp, 0xc0
pop rdi
ret

Function at 0x140042ba0
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1400dc3e8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rdx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x200
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x100
lea rcx, [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_GetUserNameW]
mov ebx, eax
test eax, eax
je 0x140042c0b
mov eax, 0x4c00
cmp word [rsp + 0x30], ax
je 0x140042c0b
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140013f08
neg ebx
sbb eax, eax
not eax
and eax, 0x80004005
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140092030
mov rbx, qword [rsp + 0x250]
add rsp, 0x240
pop rdi
ret

Function at 0x140042dc0
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x40
mov eax, dword [rsp + 0x90]
mov r10d, r9d
mov r9, qword [rsp + 0x70]
mov r11, r8
mov dword [rsp + 0x38], eax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8d, r10d
mov qword [rsp + 0x30], rax
mov rdx, r11
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
add rsp, 0x40
pop rbx
ret

Function at 0x140042e50
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [rsp + 0xb0]
mov r10, r9
mov r9, qword [rsp + 0x80]
mov r11, r8
mov qword [rsp + 0x48], rax
mov rcx, rdx
mov rax, qword [rsp + 0xa8]
mov r8, r10
mov qword [rsp + 0x40], rax
mov rdx, r11
mov rax, qword [rsp + 0xa0]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x30], rax
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x88]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
add rsp, 0x50
pop rbx
ret