joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800075c0
Capabilities:
Hash data using sha1
Hash data using sha1 via wincrypt
Hash data via wincrypt
Initialize hashing via wincrypt
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
mov eax, 0x1070
call fcn.18000d0d0
sub rsp, rax
mov rax, qword [0x18003d1b0]
xor rax, rsp
mov qword [rsp + 0x1060], rax
xor ebp, ebp
mov rbx, rcx
mov rcx, qword [rdx]
or esi, 0xffffffff
mov rdi, rdx
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x38], rbp
test rcx, rcx
je 0x18000760c
call fcn.1800099d8
mov qword [rdi], rbp
mov rdx, rbp
lea rcx, [0x180030ef8]
nop word [rax + rax]
movzx eax, word [rdx + rcx]
lea rdx, [rdx + 2]
mov word [rsp + rdx + 0x46], ax
test ax, ax
jne 0x180007620
lea rcx, [rsp + 0x48]
call fcn.1800069d0
lea rdx, [rsp + 0x48]
mov rcx, rbx
call fcn.180007df0
mov rbx, rax
test rax, rax
je 0x18000775e
lea rcx, [rsp + 0x40]
mov r9d, 1
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 0xf0000000
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
je 0x180007756
mov rcx, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8004
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x180007756
lea rcx, [rsp + 0x60]
mov r9, rbx
mov edx, 1
mov r8d, 0x1000
call fcn.180008974
mov dword [rsp + 0x30], eax
test eax, eax
jle 0x18000770a
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x60]
xor r9d, r9d
mov r8d, eax
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x180007756
lea rcx, [rsp + 0x60]
mov r9, rbx
mov edx, 1
mov r8d, 0x1000
call fcn.180008974
mov dword [rsp + 0x30], eax
test eax, eax
jg 0x1800076d0
mov edx, 1
mov dword [rsp + 0x30], 0x14
lea ecx, [rdx + 0x13]
call fcn.180009994
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x30]
mov r8, rax
mov edx, 2
mov qword [rdi], rax
mov dword [rsp + 0x20], ebp
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x180007754
mov rcx, qword [rdi]
test rcx, rcx
je 0x180007756
call fcn.1800099d8
mov qword [rdi], rbp
jmp 0x180007756
mov esi, ebp
mov rcx, rbx
call fcn.18000c724
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x180007770
xor edx, edx
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180007780
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, esi
mov rcx, qword [rsp + 0x1060]
xor rcx, rsp
call fcn.180009cc0
mov rbx, qword [rsp + 0x10a0]
add rsp, 0x1070
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000ece0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rbp + 0x4f], rax
mov ebx, r8d
mov rdi, rdx
xorps xmm1, xmm1
movdqu xmmword [rbp - 9], xmm1
mov r9, qword [rcx + 0x10]
test r9, r9
je 0x14000ed2d
mov rax, qword [rcx + 8]
mov qword [rbp - 9], rax
mov qword [rbp - 1], r9
lock inc dword [r9 + 0xc]
and dword [rsp + 0x40], 0
mov dword [rsp + 0x38], 2
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 0xa33e3cf3
lea rax, [0x1402d1a98]
mov qword [rsp + 0x20], rax
lea r9, str.VaultMounter::WatchCaller
mov r8d, QISearch
lea rdx, str.D:dbs_shodct1010_170902_4cmdxclientonedriveProductElevatedHelperServerServiceVaultMounter.cpp
lea rcx, [rbp + 0x1f]
call fcn.14001f7e0
xor edx, edx
lea rcx, [rbp + 0x1f]
call fcn.140020a0c
call fcn.140020624
mov ecx, 0x28
call fcn.1400b1690
mov dword [rax], ebx
mov qword [rax + 8], rdi
and qword [rax + 0x10], 0
and qword [rax + 0x18], 0
mov rbx, qword [rbp - 1]
test rbx, rbx
je 0x14000edba
mov rcx, qword [rbp - 9]
mov qword [rax + 0x10], rcx
mov qword [rax + 0x18], rbx
lock inc dword [rbx + 0xc]
mov rbx, qword [rbp - 1]
lea rcx, [0x14000e960]
mov qword [rax + 0x20], rcx
mov qword [rbp + 0x17], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
and dword [rsp + 0x20], 0
mov r9, rax
lea r8, [0x1400192a0]
xor edx, edx
xor ecx, ecx
call fcn.1400c86f4
mov qword [rbp + 7], rax
test rax, rax
je 0x14000ee67
cmp dword [rbp + 0xf], 0
je 0x14000ee76
movaps xmm0, xmmword [rbp + 7]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call fcn.14009257c
test eax, eax
jne 0x14000ee5f
xorps xmm0, xmm0
movaps xmmword [rbp - 0x19], xmm0
movdqa xmmword [rbp + 7], xmm0
test rbx, rbx
je 0x14000ee3e
or eax, 0xffffffff
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14000ee3e
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PS_]
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400b1670
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, eax
call fcn.14008dfb8
nop
and dword [rbp + 0xf], 0
mov ecx, 6
call fcn.14008dff4
nop
mov ecx, 1
call fcn.14008dff4
int3
Function at 0x14001fe74
Capabilities:
Create directory
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, rdx
mov rbx, rcx
xor ebp, ebp
mov qword [rsp + 0x40], rbp
lea r9, [rsp + 0x40]
xor r8d, r8d
mov edx, 0x8000
lea rcx, [0x1402878b8]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edi, eax
test eax, eax
js 0x14001ffa7
lea r8, str.MicrosoftOneDrivelogs
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
call fcn.140024460
mov rdi, rax
cmp rbx, rax
je 0x14001ff02
mov rcx, rbx
call fcn.14000a0c8
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
lea rcx, [rsp + 0x20]
call fcn.14000a0c8
cmp qword [rsi + 0x10], rbp
je 0x14001ff6d
cmp qword [rsi + 0x18], 8
jb 0x14001ff1c
mov rsi, qword [rsi]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001ff29
mov rdx, qword [rbx]
mov r8, rsi
lea rcx, [rsp + 0x20]
call fcn.140024460
mov rdi, rax
cmp rbx, rax
je 0x14001ff63
mov rcx, rbx
call fcn.14000a0c8
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
lea rcx, [rsp + 0x20]
call fcn.14000a0c8
cmp qword [rbx + 0x18], 8
jb 0x14001ff77
mov rbx, qword [rbx]
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x14001ff9a
cmp eax, 0x50
je 0x14001ff9a
cmp eax, 0xb7
mov edi, 0x80004005
jne 0x14001ff9c
mov edi, ebp
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b1670
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret
Function at 0x14006411c
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Initialize hashing via wincrypt

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rax, qword [rcx]
cmp rax, qword [rcx + 8]
je 0x140064152
mov qword [rcx + 8], rax
xor r14d, r14d
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x40], r14
mov dword [rbp - 0x4c], r14d
mov qword [rbp - 0x30], r14
movdqa xmm0, xmmword [0x1402d2f20]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
lea rcx, [rbp - 0x30]
call fcn.140064028
mov edi, eax
test eax, eax
js 0x1400642a1
mov dword [rsp + 0x20], 0xf0000040
lea r9d, [r14 + 0x18]
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
setne cl
test eax, eax
je 0x1400641d1
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x800c
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
setne cl
test cl, cl
je 0x14006427a
mov edx, 4
mov dword [rbp - 0x48], edx
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x4c]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
je 0x14006427a
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 8
cmovae rdx, qword [rbp - 0x30]
mov r8d, dword [rbp - 0x20]
add r8d, r8d
xor r9d, r9d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
setne sil
test eax, eax
je 0x140064273
mov eax, dword [rbp - 0x4c]
mov dword [rbp - 0x48], eax
mov edx, eax
lea r8, [rbp - 0x50]
mov rcx, rbx
call fcn.14002d3d8
mov dword [rsp + 0x20], r14d
lea r9, [rbp - 0x48]
mov r8, qword [rbx]
mov edx, 2
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
setne sil
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test sil, sil
jne 0x1400642a1
jmp 0x140064294
mov dword [rbp - 0x4c], r14d
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov rax, qword [rbx]
cmp rax, qword [rbx + 8]
je 0x1400642a1
mov qword [rbx + 8], rax
mov eax, 0x80004005
mov rcx, qword [rbx + 8]
cmp qword [rbx], rcx
cmove edi, eax
lea rcx, [rbp - 0x30]
call fcn.14000a0c8
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400b1670
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov rcx, rdx
jmp 0x14006411c
Function at 0x140065360
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rsi, qword [rsp + 0x90]
mov rdi, r8
test rsi, rsi
jne 0x140065391
mov eax, 0x80070057
jmp 0x140065442
movzx r9d, r9b
shl r9d, 8
add r9d, 0x20019
cmp qword [rdx + 0x18], 8
jb 0x1400653aa
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ebx, ax
or ebx, 0x80070000
mov dword [rsp + 0x38], 8
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140065440
cmp qword [rdi + 0x18], 8
jb 0x1400653e1
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140065435
cmp dword [rsp + 0x3c], 0xb
jne 0x140065430
mov rax, qword [rsp + 0x40]
xor ebx, ebx
mov qword [rsi], rax
jmp 0x140065435
mov ebx, 0x8007065d
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400b1670
add rsp, 0x50
pop rdi
pop rsi
pop rbx
ret
Function at 0x140066294
Capabilities:
Decode data using base64 via winapi
Encode data using base64 via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x38]
sub rsp, 0x120
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov r14b, cl
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
xor r15d, r15d
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x78], r15
movdqa xmm0, xmmword [0x1402d2f20]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r15w
call fcn.140081658
mov r8, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x2b8]
lea rdx, [rsp + 0x48]
mov rcx, r8
call qword [str.PS_]
lea edi, [r15 + 0x64]
test eax, eax
js 0x14006644d
mov dword [rsp + 0x40], r15d
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
mov r8d, 0x40000001
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
mov ebx, eax
test eax, eax
setne sil
xorps xmm0, xmm0
mov edx, dword [rsp + 0x40]
movdqu xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x60]
call fcn.14005e388
nop
test ebx, ebx
je 0x14006639f
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
sub rax, rcx
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x20], rdx
mov r9, qword [rsp + 0x60]
mov r8d, 0x40000001
mov edx, eax
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
test eax, eax
setne sil
mov r8, rdi
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1400b4a50
test sil, sil
je 0x14006640a
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], r15
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
mov r8d, 1
mov edx, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
test eax, eax
je 0x14006640a
call fcn.140081658
mov r9, rax
mov rcx, qword [rax]
mov rax, qword [rcx + 0x138]
mov r8b, r14b
mov dl, byte [rbp - 0x60]
mov rcx, r9
call qword [str.PS_]
mov edi, eax
mov r8, qword [rsp + 0x60]
test r8, r8
je 0x14006644d
mov rcx, qword [rsp + 0x70]
sub rcx, r8
sar rcx, 1
lea rdx, [rcx + rcx]
mov rax, r8
cmp rdx, 0x1000
jb 0x140066444
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400664c1
mov rcx, r8
call fcn.1400b19ec
nop
lea rcx, [rsp + 0x78]
call fcn.14000a0c8
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140066490
mov rdx, qword [rsp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14006648b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400664bb
call fcn.1400b19ec
mov eax, edi
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1400b1670
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.1400c6548
nop
call fcn.1400c6548
nop
int3
mov cl, dl
jmp 0x140066294
Function at 0x140066a14
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
mov rcx, qword [0x14031fb38]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [str.PS_]
mov rbx, rax
mov qword [rdi], rbp
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov dword [rsp + 0x20], 1
mov r8b, 1
lea rdx, str._url:
mov rcx, rax
call fcn.14006f1f8
test al, al
je 0x140066add
mov dword [rsp + 0x30], ebp
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov r14, rax
mov ebx, ebp
cmp dword [rsp + 0x30], ebp
jle 0x140066add
mov rsi, rax
mov r8b, 1
lea rdx, str._url:
mov rcx, qword [rsi]
call fcn.14007081c
test al, al
jne 0x140066ace
inc ebx
add rsi, 8
cmp ebx, dword [rsp + 0x30]
jl 0x140066aaa
jmp 0x140066add
movsxd rdx, ebx
mov rdx, qword [r14 + rdx*8]
mov rcx, rdi
call fcn.140017810
mov rax, rdi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400b1670
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret

Function at 0x140067fbc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x70], rax
xor edi, edi
cmp qword [rcx + 0x18], 8
mov dword [rsp + 0x60], edi
lea eax, [rdi + 4]
mov dword [rsp + 0x68], eax
mov dword [rsp + 0x64], eax
jb 0x140067ff3
mov rcx, qword [rcx]
mov r8, rcx
lea rdx, str.SoftwareMicrosoftOneDriveAccounts
lea rcx, [rsp + 0x40]
call fcn.14006f958
cmp qword [rax + 0x18], 8
jb 0x140068011
mov rax, qword [rax]
lea rcx, [rsp + 0x64]
mov r9d, send
mov qword [rsp + 0x30], rcx
lea r8, str.IsGoSov
lea rcx, [rsp + 0x60]
mov rdx, rax
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x20], rcx
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea rcx, [rsp + 0x40]
mov ebx, eax
call fcn.14000a0c8
test ebx, ebx
jne 0x140068065
cmp dword [rsp + 0x60], 1
sete dil
mov al, dil
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400b1670
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret
mov rcx, rdx
jmp 0x140067fbc

Function at 0x14006924c
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x60
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x50], rax
lea rax, [r11 - 0x24]
mov dword [rsp + 0x44], 4
mov qword [r11 - 0x38], rax
lea rdx, str.SoftwareMicrosoftOneDriveUpgrade
xor ebx, ebx
lea rax, [r11 - 0x28]
mov qword [r11 - 0x40], rax
mov r8, rcx
lea rax, [r11 - 0x20]
mov dword [rsp + 0x40], ebx
mov rcx, 0xffffffff80000001
mov qword [r11 - 0x48], rax
lea r9d, [rbx + 0x10]
mov dword [rsp + 0x48], ebx
call qword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
jne 0x1400692b4
cmp dword [rsp + 0x40], 1
sete bl
mov al, bl
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400b1670
add rsp, 0x60
pop rbx
ret
Function at 0x1400881e0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x860], rax
mov rsi, qword [rsp + 0x8b0]
mov rdi, r8
movzx r9d, r9b
shl r9d, 8
add r9d, 0x20019
cmp qword [rdx + 0x18], 8
jb 0x140063f35
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
movzx ebx, ax
or ebx, 0x80070000
mov dword [rsp + 0x3c], 0x820
test eax, eax
cmovle ebx, eax
and dword [rsp + 0x38], 0
test ebx, ebx
js 0x140063fd9
cmp qword [rdi + 0x18], 8
jb 0x140063f71
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x140063fce
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
jbe 0x140063fbf
mov ebx, 0x8007065d
jmp 0x140063fce
xor ebx, ebx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140017810
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rsp + 0x860]
xor rcx, rsp
call fcn.1400b1670
add rsp, 0x870
pop rdi
pop rsi
pop rbx
ret
push rbx
mov rax, qword [rsp + 0x38]
mov r10, r9
mov r9b, byte [rsp + 0x30]
mov r11, r8
mov rcx, rdx
mov qword [rsp + 0x30], rax
mov r8, r10
mov rdx, r11
pop rbx
jmp 0x140063ef4

Function at 0x140088310
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
mov rax, qword [rsp + 0x38]
mov r10, r9
mov r9b, byte [rsp + 0x30]
mov r11, r8
mov rcx, rdx
mov qword [rsp + 0x30], rax
mov r8, r10
mov rdx, r11
pop rbx
jmp fcn.140065250

Function at 0x140088340
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
mov rax, qword [rsp + 0x38]
mov r10, r9
mov r9d, dword [rsp + 0x30]
mov r11, r8
mov rcx, rdx
mov qword [rsp + 0x30], rax
mov r8, r10
mov rdx, r11
pop rbx
jmp fcn.14006525c

Function at 0x140088370
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
mov rax, qword [rsp + 0x38]
mov r10, r9
mov r9b, byte [rsp + 0x30]
mov r11, r8
mov rcx, rdx
mov qword [rsp + 0x30], rax
mov r8, r10
mov rdx, r11
pop rbx
jmp fcn.140065360
Function at 0x1400b296c
Capabilities:
Parse pe header

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

Function at 0x1400cb5b8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400cb5d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.1400c881c
or eax, 0xffffffff
jmp 0x1400cb5da
xor eax, eax
add rsp, 0x28
ret

Function at 0x1400d6168
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x240
mov rax, qword [0x14031fcd0]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rdx, [0x14028ce20]
mov rbp, rcx
call fcn.1400e80fc
xor edi, edi
test rax, rax
je 0x1400d624e
mov ebx, edi
call fcn.1400c88a8
mov r14d, dword [rax]
call fcn.1400c88a8
mov r8d, 0x104
lea rcx, [rsp + 0x20]
mov rdx, rbp
mov dword [rax], edi
call fcn.1400e8048
mov rsi, rax
test rax, rax
je 0x1400d61df
call fcn.1400c88a8
mov dword [rax], r14d
jmp 0x1400d6209
call fcn.1400c88a8
cmp dword [rax], 0x22
jne 0x1400d6246
call fcn.1400c88a8
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.1400e8048
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x1400d6246
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x1400d620d
cmp rax, 3
je 0x1400d6228
mov rcx, rsi
call fcn.1400d60c4
test al, al
je 0x1400d6239
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x1400d6239
mov dil, 1
mov rcx, rbx
call fcn.1400c6094
mov al, dil
jmp 0x1400d6250
mov rcx, rbx
call fcn.1400c6094
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400b1670
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140151108
Capabilities:
Create http request

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
lea rax, vtable.Microsoft::Applications::Events::HttpClient_WinInet.0
mov qword [rcx], rax
add rcx, 0x10
mov edx, 0x102
call fcn.14008de4c
nop
lea rbx, [rdi + 0x60]
mov qword [rsp + 0x58], rbx
and qword [rbx], 0
and qword [rbx + 8], 0
mov rcx, rbx
call fcn.1401237fc
mov qword [rbx], rax
mov byte [rdi + 0x70], 0
mov dword [rsp + 0x20], 0x10000000
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.WININET.dll_InternetOpenW]
mov qword [rdi + 8], rax
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x140262930
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140262958
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140262958
xor eax, eax
mov ecx, SHFlushSFCache
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret