joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000c150
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x50
movsxd rbx, dword [0x140033194]
mov r12, rcx
test ebx, ebx
jle 0x14000c280
mov rax, qword [0x140033198]
xor r9d, r9d
add rax, 0x18
nop dword [rax + rax]
mov r8, qword [rax]
cmp r8, r12
ja 0x14000c19b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp r12, r8
jb 0x14000c225
add r9d, 1
add rax, 0x28
cmp r9d, ebx
jne 0x14000c180
mov rcx, r12
call dbg.__mingw_GetSectionForAddress
mov rsi, rax
test rax, rax
je 0x14000c2a2
mov rax, qword [0x140033198]
lea rbx, [rbx + rbx*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rsi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rsi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x140033198]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x14000c287
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x14000c21e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x14000c230
add dword [0x140033194], 1
add rsp, 0x50
pop rbx
pop rsi
pop r12
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 4
mov eax, 0x40
cmovne r8d, eax
add rbx, qword [0x140033198]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000c21e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor ebx, ebx
jmp 0x14000c1a8
mov rax, qword [0x140033198]
mov edx, dword [rsi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, r12
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x14000c820
Capabilities:
Get thread local storage value

Disassembly:
push r13
push r12
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r13, [0x140033200]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400331e0]
test rbx, rbx
je 0x14000c87c
mov rdi, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rsi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rdi
mov r12, rax
call rsi
test eax, eax
jne 0x14000c873
test r12, r12
je 0x14000c873
mov rax, qword [rbx + 8]
mov rcx, r12
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x14000c858
mov rcx, r13
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop r12
pop r13
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x14000cab0
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x14000cac8
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x14000cad0
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x14000cae0
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
lea rax, [rcx + rax + 0x18]
movzx ecx, word [rcx + 6]
test ecx, ecx
je 0x14000cb25
sub ecx, 1
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp r8, rdx
ja 0x14000cb1c
add ecx, dword [rax + 8]
cmp rcx, rdx
ja 0x14000cb27
add rax, 0x28
cmp rax, r9
jne 0x14000cb08
xor eax, eax
ret

Function at 0x14000cb30
Capabilities:
Parse pe header

Disassembly:
push r12
push rsi
push rbx
sub rsp, 0x20
mov rbx, rcx
call sym.strlen
cmp rax, 8
ja 0x14000cbc0
mov rdx, qword [0x14002b930]
xor r12d, r12d
cmp word [rdx], 0x5a4d
jne 0x14000cbae
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x14000cbae
cmp word [rax + 0x18], 0x20b
jne 0x14000cbae
movzx edx, word [rax + 0x14]
lea r12, [rax + rdx + 0x18]
movzx eax, word [rax + 6]
test eax, eax
je 0x14000cbc0
sub eax, 1
lea rax, [rax + rax*4]
lea rsi, [r12 + rax*8 + 0x28]
jmp 0x14000cb99
add r12, 0x28
cmp r12, rsi
je 0x14000cbc0
mov r8d, 8
mov rdx, rbx
mov rcx, r12
call sym.strncmp
test eax, eax
jne 0x14000cb90
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret
xor r12d, r12d
mov rax, r12
add rsp, 0x20
pop rbx
pop rsi
pop r12
ret

Function at 0x14000cbd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14002b930]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000cbf0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000cbf8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000cbf0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
movzx edx, word [r8 + 6]
lea rax, [r8 + rax + 0x18]
test edx, edx
je 0x14000cc45
sub edx, 1
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x14000cc3c
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x14000cbf0
add rax, 0x28
cmp rax, r9
jne 0x14000cc28
xor eax, eax
ret

Function at 0x14000cc50
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14002b930]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14000cc70
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x14000cc78
mov eax, r8d
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000cc70
movzx r8d, word [rax + 6]
mov eax, r8d
ret

Function at 0x14000cc90
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x14002b930]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14000ccb0
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14000ccb8
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14000ccb0
movzx eax, word [rdx + 0x14]
lea rax, [rdx + rax + 0x18]
movzx edx, word [rdx + 6]
test edx, edx
je 0x14000ccf8
sub edx, 1
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000ccef
test rcx, rcx
je 0x14000ccb0
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x14000cce0
xor eax, eax
ret
Function at 0x14000cd00
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x14002b930]
xor r8d, r8d
cmp word [rax], 0x5a4d
jne 0x14000cd20
movsxd rdx, dword [rax + 0x3c]
add rdx, rax
cmp dword [rdx], 0x4550
je 0x14000cd28
mov rax, r8
ret
cmp word [rdx + 0x18], 0x20b
cmove r8, rax
mov rax, r8
ret

Function at 0x14000cd40
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x14002b930]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000cd60
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000cd68
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000cd60
sub rcx, rdx
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x14000cd60
lea eax, [r8 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop dword [rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14000cdac
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000cdc0
add rdx, 0x28
cmp rdx, r9
jne 0x14000cd98
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x14000cdd0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x14002b930]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14000cdf2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14000ce00
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000cdf2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14000cdf2
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
movzx r8d, word [r8 + 6]
test r8d, r8d
je 0x14000cdf2
sub r8d, 1
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop dword [rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14000ce4d
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14000ce60
add rdx, 0x28
cmp r10, rdx
jne 0x14000ce38
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000ce6f
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000ce7f
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000ce56
test ecx, ecx
jg 0x14000ce68
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x140007080
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rsi
mov esi, eax
movabs eax, dword [0xda8b088900409214]
test ebx, ebx
jle 0x1400070a1
mov eax, 0xff
call fcn.140002680
xor byte [rsi], al
jne 0x140007091
pop rsi
pop rbx
ret

Function at 0x14000af78
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x140055200]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
mov dword [rsp + 0x20], 0x104
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
xor ebx, ebx
call sub.VCRUNTIME140.dll_memset
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x14000afec
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], bx
jne 0x14000afd3
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000305c
jmp 0x14000b000
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov eax, ebx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400376e0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
mov rcx, rdx
jmp 0x14000af78

Function at 0x14000ba64
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [0x140055200]
xor rax, rsp
mov qword [rbp + 0x760], rax
mov rsi, qword [rbp + 0x7c0]
mov rdi, r8
movzx r9d, r9b
shl r9d, 8
add r9d, 0x20019
cmp qword [rdx + 0x18], 8
jb 0x14000baae
mov rdx, qword [rdx]
lea rax, [rsp + 0x30]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor r14d, r14d
mov dword [rsp + 0x3c], 0x820
movzx ebx, ax
or ebx, 0x80070000
mov dword [rsp + 0x38], r14d
test eax, eax
cmovle ebx, eax
test ebx, ebx
js 0x14000bb6d
cmp qword [rdi + 0x18], 8
jb 0x14000baf1
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 0x14000bb62
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
jbe 0x14000bb3f
mov ebx, 0x8007065d
jmp 0x14000bb62
mov ebx, r14d
lea rax, [rsp + 0x40]
or r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], r14w
jne 0x14000bb4b
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.14000305c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.1400376e0
add rsp, 0x870
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
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 0x14000ba64
Function at 0x14000bc94
Capabilities:
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 [0x140055200]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rax, qword [rcx]
cmp rax, qword [rcx + 8]
je 0x14000bcca
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 [0x140046750]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
lea rcx, [rbp - 0x30]
call fcn.14000bb8c
mov edi, eax
test eax, eax
js 0x14000be19
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 0x14000bd49
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 0x14000bdf2
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 0x14000bdf2
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 0x14000bdeb
mov eax, dword [rbp - 0x4c]
mov dword [rbp - 0x48], eax
mov edx, eax
lea r8, [rbp - 0x50]
mov rcx, rbx
call fcn.1400065d8
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 0x14000be19
jmp 0x14000be0c
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 0x14000be19
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.140002ff8
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400376e0
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 0x14000bc94
Function at 0x14000c2f8
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x140055200]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x14000c328
mov rax, qword [rcx]
xor edi, edi
mov qword [rcx + 0x10], rdi
mov word [rax], di
mov dword [rbp - 0x30], edi
lea r8, [rbp - 0x30]
xor edx, edx
lea ecx, [rdi + 8]
call sub.Secur32.dll_GetUserNameExW
mov eax, dword [rbp - 0x30]
test eax, eax
je 0x14000c3cd
xorps xmm0, xmm0
mov edx, eax
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rdi
lea rcx, [rbp - 0x28]
call fcn.1400053ac
nop
lea r8, [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
lea ecx, [rdi + 8]
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x14000c38a
mov r8d, dword [rbp - 0x30]
mov rdx, qword [rbp - 0x28]
mov rcx, rbx
call fcn.14000305c
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14000c3cd
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3c8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c3c8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14003797c
cmp qword [rbx + 0x10], rdi
setne al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400376e0
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
mov rcx, rdx
jmp 0x14000c2f8

Function at 0x14000c620
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.140010024
mov cl, al
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14000c640
mov rcx, rdx
jmp 0x14000c620

Function at 0x14000c640
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x140055200]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rsi, rdx
mov bpl, cl
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
xor edi, edi
call sub.VCRUNTIME140.dll_memset
mov al, bpl
lea rdx, [rsp + 0x20]
neg al
sbb r8d, r8d
xor r9d, r9d
and r8d, 0xa
xor ecx, ecx
add r8d, 0x1c
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
xor r8d, r8d
lea rdx, [0x14003e11c]
mov rcx, rsi
mov ebx, eax
call fcn.14000305c
test ebx, ebx
jne 0x14000c6ba
mov edi, 0x80004005
jmp 0x14000c71b
or rbx, 0xffffffffffffffff
lea rax, [rsp + 0x20]
mov r8, rbx
inc r8
cmp word [rax + r8*2], di
jne 0x14000c6c6
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.14000305c
mov r8d, 1
lea rdx, [0x140046748]
mov rcx, rsi
call fcn.140003108
test bpl, bpl
lea rax, str.Microsoft_OneDrive
lea rdx, str.MicrosoftOneDrive
cmovne rdx, rax
inc rbx
cmp word [rdx + rbx*2], di
jne 0x14000c707
mov r8, rbx
mov rcx, rsi
call fcn.140003108
mov eax, edi
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400376e0
mov rbx, qword [rsp + 0x270]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c740
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rax, qword [0x140055200]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rdi, qword [rsp + 0x90]
xor eax, eax
mov rsi, qword [rsp + 0x98]
mov r13b, r9b
mov r15b, byte [rsp + 0xa0]
lea r9, [rsp + 0x20]
mov r12b, r8b
mov qword [rsp + 0x20], rax
mov rbp, rdx
mov word [rdi], ax
mov r14, rcx
xor r8d, r8d
xor edx, edx
lea rcx, [0x140046348]
call sub.SHELL32.dll_SHGetKnownFolderPath
mov ebx, eax
test eax, eax
js 0x14000c871
mov r8, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, qword [rsi]
call fcn.140014510
mov ebx, eax
test eax, eax
js 0x14000c866
mov rdx, qword [rsi]
mov rcx, rdi
test r12b, r12b
je 0x14000c7f0
xor r12d, r12d
lea rax, str.MicrosoftWindowsOneDrive_settings
test r15b, r15b
lea rbp, str.MicrosoftWindowsSkyDrive_settings
cmovne rbp, rax
jmp 0x14000c81c
lea rax, str.MicrosoftOneDrive_settings
xor r12d, r12d
test r15b, r15b
lea r8, str.MicrosoftSkyDrive_settings
cmovne r8, rax
xor r9d, r9d
call fcn.14001163c
mov ebx, eax
test eax, eax
js 0x14000c866
mov rdx, qword [rsi]
mov rcx, rdi
mov r9d, r12d
mov r8, rbp
call fcn.14001163c
mov ebx, eax
test eax, eax
js 0x14000c866
mov rdx, qword [rsi]
lea rax, str.global
test r13b, r13b
mov rcx, rdi
cmovne r14, rax
xor r9d, r9d
mov r8, r14
call fcn.14001163c
mov ebx, eax
test eax, eax
js 0x14000c866
mov rdx, qword [rsi]
lea r8, str..ini
mov rcx, rdi
call fcn.140014054
mov ebx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400376e0
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000c898
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x270
mov rax, qword [0x140055200]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rdi, qword [rsp + 0x2c0]
mov sil, r8b
mov r14, rdx
mov rbp, rcx
xor edx, edx
lea rcx, [rsp + 0x50]
mov r8d, 0x208
mov r15b, r9b
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x40]
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x28], rax
mov r9b, r15b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], 0x104
mov r8b, sil
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rbp
call fcn.14000c740
mov ebx, eax
test eax, eax
js 0x14000c92b
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x14000c973
lea rax, [rsp + 0x40]
mov byte [rsp + 0x30], 1
mov qword [rsp + 0x28], rax
mov r9b, r15b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], 0x104
mov r8b, sil
mov qword [rsp + 0x20], rax
mov rdx, r14
mov rcx, rbp
call fcn.14000c740
mov ebx, eax
test eax, eax
js 0x14000c990
lea rcx, [rsp + 0x50]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000c990
test rdi, rdi
je 0x14000c995
mov edx, dword [rsp + 0x2c8]
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.140014510
mov ebx, eax
jmp 0x14000c995
mov ebx, 0x80070490
mov eax, ebx
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400376e0
mov rbx, qword [rsp + 0x2b0]
add rsp, 0x270
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000c9c0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x38
mov rax, qword [0x140055200]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor r15d, r15d
mov rbp, r9
mov word [rdx], r15w
lea r9, [rsp + 0x20]
mov rsi, r8
mov qword [rsp + 0x20], r15
mov rdi, rdx
mov r14, rcx
xor edx, edx
lea rcx, [0x140046348]
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
mov ebx, eax
test eax, eax
js 0x14000ca76
mov r8, qword [rsp + 0x20]
mov rcx, rdi
mov rdx, qword [rsi]
call fcn.140014510
mov ebx, eax
test eax, eax
js 0x14000ca6b
mov rdx, qword [rsi]
lea r8, str.MicrosoftOneDrive_settings
xor r9d, r9d
mov rcx, rdi
call fcn.14001163c
mov ebx, eax
test eax, eax
js 0x14000ca6b
mov rdx, qword [rsi]
xor r9d, r9d
mov r8, r14
mov rcx, rdi
call fcn.14001163c
mov ebx, eax
test eax, eax
js 0x14000ca6b
mov rdx, qword [rsi]
xor r9d, r9d
mov r8, rbp
mov rcx, rdi
call fcn.14001163c
mov ebx, eax
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, ebx
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400376e0
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
mov rax, r9
mov r10, r8
mov r9, qword [rsp + 0x28]
mov rcx, rdx
mov r8, rax
mov rdx, r10
jmp 0x14000c9c0
Function at 0x14000ca94
Capabilities:
Get common file path
Get startup folder

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x290]
sub rsp, 0x390
mov rax, qword [0x140055200]
xor rax, rsp
mov qword [rbp + 0x280], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x70]
call sub.VCRUNTIME140.dll_memset
xor r9d, r9d
lea r8d, [rsi + 0x1c]
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x14000cc15
xor edx, edx
mov r8d, 0xf8
lea rcx, [rsp + 0x70]
call sub.VCRUNTIME140.dll_memset
lea edx, [rsi + 1]
lea rcx, [rsp + 0x70]
call fcn.140006b5c
nop
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x80]
call fcn.14000505c
mov rcx, rax
lea rdx, str.MicrosoftOneDrive_settings
call fcn.14000505c
mov rcx, rax
lea rdx, [0x140046748]
call fcn.14000505c
mov r8, qword [rdi + 0x10]
cmp qword [rdi + 0x18], 8
jb 0x14000cb6d
mov rdi, qword [rdi]
mov rdx, rdi
mov rcx, rax
call fcn.140006104
nop
mov qword [rsp + 0x28], rsi
movdqa xmm0, xmmword [0x140046750]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov dword [rsp + 0x20], 5
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x78]
call fcn.1400158e0
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x14000cbc1
mov r8, qword [rsp + 0x58]
lea rcx, [rsp + 0x28]
call fcn.14000305c
nop
lea rax, [rsp + 0x28]
cmp rbx, rax
je 0x14000cbf7
mov rcx, rbx
call fcn.140002ff8
movups xmm0, xmmword [rsp + 0x28]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x38]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x140046750]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
lea rcx, [rsp + 0x28]
call fcn.140002ff8
nop
lea rcx, [rbp + 8]
call fcn.1400074f0
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 rax, rbx
mov rcx, qword [rbp + 0x280]
xor rcx, rsp
call fcn.1400376e0
mov rbx, qword [rsp + 0x3c0]
add rsp, 0x390
pop rdi
pop rsi
pop rbp
ret