joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140035b18
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x140035ca9
cmp ecx, 0x7c
je 0x140035ca9
cmp ecx, 0x29
jne 0x140035b63
cmp dword [rbx + 0x1c], 0
jne 0x140035ca9
lea rdi, [rbx + 0x80]
test dword [rdi], 0x10000000
je 0x140035cc2
jmp 0x140035c5e
lea rdi, [rbx + 0x80]
cmp ecx, 0x2e
jne 0x140035b8a
lea rcx, [rbx + 0x40]
mov edx, 5
call fcn.140038198
mov rcx, rbx
call fcn.1400381fc
jmp 0x140035c97
cmp ecx, 0x5c
jne 0x140035bea
mov rcx, rbx
call fcn.1400381fc
test byte [rdi], 0x80
je 0x140035bdd
cmp word [rbx + 0x78], 0x62
jne 0x140035bbe
mov edx, 4
lea rcx, [rbx + 0x40]
call fcn.140038198
mov rcx, rbx
call fcn.1400381fc
jmp 0x140035c9f
cmp word [rbx + 0x78], 0x42
jne 0x140035bdd
lea rcx, [rbx + 0x40]
mov edx, 4
call fcn.140038198
mov rax, qword [rbx + 0x48]
xor dword [rax + 0xc], 1
jmp 0x140035bb1
mov rcx, rbx
call fcn.140035cec
jmp 0x140035c97
cmp ecx, 0x5b
jne 0x140035c0e
mov rcx, rbx
call fcn.1400381fc
mov rcx, rbx
call fcn.14003638c
cmp dword [rbx + 0x7c], 0x5d
jne 0x140035cd0
jmp 0x140035b7d
cmp ecx, 0x28
jne 0x140035c32
mov rcx, rbx
call fcn.1400381fc
mov rcx, rbx
call fcn.14003893c
cmp dword [rbx + 0x7c], 0x29
mov dil, al
jne 0x140035cc2
jmp 0x140035c8a
cmp ecx, 0x5e
jne 0x140035c3f
lea edx, [rcx - 0x5c]
jmp 0x140035ba8
cmp ecx, 0x24
jne 0x140035c4c
lea edx, [rcx - 0x21]
jmp 0x140035ba8
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x140035cb4
cmp ecx, 0x3f
je 0x140035cb4
cmp ecx, 0x7b
je 0x140035cb4
cmp ecx, 0x7d
jne 0x140035c6d
test dword [rdi], 0x10000000
je 0x140035cde
jmp 0x140035c7a
cmp ecx, 0x5d
jne 0x140035c7a
test dword [rdi], 0x10000000
je 0x140035cd0
movzx edx, word [rbx + 0x78]
lea rcx, [rbx + 0x40]
call fcn.1400350b8
mov dil, 1
mov rcx, rbx
call fcn.1400381fc
test dil, dil
je 0x140035c9f
mov rcx, rbx
call fcn.14003824c
mov ecx, dword [rbx + 0x7c]
mov al, 1
jmp 0x140035b2a
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 0xa
mov rcx, rbx
call fcn.1400375c4
int3
mov edx, 5
mov rcx, rbx
call fcn.1400375c4
int3
mov edx, 4
mov rcx, rbx
call fcn.1400375c4
int3
mov edx, 6
mov rcx, rbx
call fcn.1400375c4
int3
Function at 0x1400430d8
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x58
mov rax, qword [0x1400d7280]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov eax, dword [rsp + 0xa0]
xor ebp, ebp
add eax, eax
mov dword [rsp + 0x38], ebp
mov dword [rsp + 0x3c], eax
mov rsi, r9
mov qword [rsp + 0x30], rbp
mov rdi, r8
test rdx, rdx
je 0x140043191
cmp word [rdx], bp
je 0x140043191
test r8, r8
je 0x140043191
cmp word [r8], bp
je 0x140043191
test r9, r9
je 0x140043191
lea rax, [rsp + 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, eax
test eax, eax
jne 0x14004317d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
test eax, eax
jne 0x14004317d
cmp dword [rsp + 0x38], 1
lea eax, [rbp + 0xd]
cmovne ebx, eax
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14004318d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x140043196
mov eax, 0x57
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140074810
add rsp, 0x58
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x1400431ac
Capabilities:
Set registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x1400d7280]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rdi, qword [rsp + 0xb0]
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov rsi, r9
mov r10, rdx
mov r11, rcx
test rdx, rdx
je 0x1400432bf
cmp word [rdx], r14w
je 0x1400432bf
test r9, r9
je 0x1400432bf
cmp word [r9], r14w
je 0x1400432bf
test rdi, rdi
je 0x1400432bf
cmp word [rdi], r14w
je 0x1400432bf
mov edx, 0x7fffffff
mov rax, rdi
mov ecx, edx
cmp word [rax], r14w
je 0x140043232
add rax, 2
sub rcx, 1
jne 0x140043222
sub rdx, rcx
mov rax, rcx
neg rax
sbb rbp, rbp
and rbp, rdx
test rcx, rcx
jne 0x14004324b
lea ebx, [rcx + 0x57]
jmp 0x1400432bb
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], r8
mov rdx, r10
mov dword [rsp + 0x28], 0x20106
xor r8d, r8d
mov rcx, r11
mov dword [rsp + 0x20], r14d
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
mov ebx, eax
test eax, eax
jne 0x1400432ab
mov rcx, qword [rsp + 0x50]
lea eax, [rbp*2 + 2]
mov dword [rsp + 0x28], eax
lea r9d, [rbx + 1]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400432bb
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
jmp 0x1400432c4
mov eax, 0x57
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.140074810
add rsp, 0x60
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140044470
Capabilities:
Modify service

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov rax, qword [rdx + 0x48]
mov rcx, qword [rdx]
mov r9d, dword [rdx + 0x10]
mov r8d, dword [rdx + 0xc]
mov qword [r11 - 0x18], rax
mov rax, qword [rdx + 0x40]
mov qword [r11 - 0x20], rax
mov rax, qword [rdx + 0x38]
mov qword [r11 - 0x28], rax
mov rax, qword [rdx + 0x30]
mov qword [r11 - 0x30], rax
mov rax, qword [rdx + 0x28]
mov qword [r11 - 0x38], rax
mov rax, qword [rdx + 0x20]
mov qword [r11 - 0x40], rax
mov rax, qword [rdx + 0x18]
mov edx, dword [rdx + 8]
mov qword [r11 - 0x48], rax
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfigW]
add rsp, 0x68
ret

Function at 0x140044650
Capabilities:
Create directory

Disassembly:
push rbx
sub rsp, 0x40
lea rcx, [rsp + 0x20]
mov rbx, r8
call fcn.14000b61c
cmp qword [rax + 0x18], 8
jb 0x14004466d
mov rax, qword [rax]
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.140005f80
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x140044790
Capabilities:
Create service

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov rax, qword [rdx + 0x50]
mov rcx, qword [rdx]
mov r9d, dword [rdx + 0x18]
mov r8, qword [rdx + 0x10]
mov qword [r11 - 0x18], rax
mov rax, qword [rdx + 0x48]
mov qword [r11 - 0x20], rax
mov rax, qword [rdx + 0x40]
mov qword [r11 - 0x28], rax
mov rax, qword [rdx + 0x38]
mov qword [r11 - 0x30], rax
mov rax, qword [rdx + 0x30]
mov qword [r11 - 0x38], rax
mov rax, qword [rdx + 0x28]
mov qword [r11 - 0x40], rax
mov eax, dword [rdx + 0x24]
mov dword [rsp + 0x30], eax
mov eax, dword [rdx + 0x20]
mov dword [rsp + 0x28], eax
mov eax, dword [rdx + 0x1c]
mov rdx, qword [rdx + 8]
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_CreateServiceW]
add rsp, 0x78
ret

Function at 0x1400448c0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x40
lea rcx, [rsp + 0x20]
call fcn.14000b61c
cmp qword [rax + 0x18], 8
jb 0x1400448da
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.140005f80
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x140044bd0
Capabilities:
Get file attributes

Disassembly:
push rbx
sub rsp, 0x40
lea rcx, [rsp + 0x20]
call fcn.14000b61c
cmp qword [rax + 0x18], 8
jb 0x140044bea
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.140005f80
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x140045420
Capabilities:
Query or enumerate registry key

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov edx, r11d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
add rsp, 0x40
pop rbx
ret
Function at 0x1400454a0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x40
mov rax, qword [rsp + 0x90]
mov r10, r9
mov r9, qword [rsp + 0x70]
mov r11d, r8d
mov qword [rsp + 0x38], rax
mov rcx, rdx
mov rax, qword [rsp + 0x88]
mov r8, r10
mov qword [rsp + 0x30], rax
mov edx, r11d
mov rax, qword [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegEnumValueW]
add rsp, 0x40
pop rbx
ret

Function at 0x140045500
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 0x140045600
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [rsp + 0x70]
mov r10, r9
mov r9, qword [rsp + 0x60]
mov r11, r8
mov qword [rsp + 0x28], rax
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_RegQueryValueExW]
add rsp, 0x30
pop rbx
ret

Function at 0x140045640
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 0x140045680
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 0x140045720
Capabilities:
Delete directory

Disassembly:
push rbx
sub rsp, 0x40
lea rcx, [rsp + 0x20]
call fcn.14000b61c
cmp qword [rax + 0x18], 8
jb 0x14004573a
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.140005f80
mov eax, ebx
add rsp, 0x40
pop rbx
ret

Function at 0x140045a80
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 0x140045c80
Capabilities:
Set file attributes

Disassembly:
push rbx
sub rsp, 0x40
lea rcx, [rsp + 0x20]
mov ebx, r8d
call fcn.14000b61c
cmp qword [rax + 0x18], 8
jb 0x140045c9d
mov rax, qword [rax]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rsp + 0x20]
mov ebx, eax
call fcn.140005f80
mov eax, ebx
add rsp, 0x40
pop rbx
ret
Function at 0x1400460a0
Capabilities:
Create thread
Resume thread

Disassembly:
mov eax, r8d
mov rcx, rdx
mov edx, eax
mov r8, r9
jmp 0x14008c728
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
mov edi, edx
test rcx, rcx
jne 0x14008c752
call fcn.140086098
mov dword [rax], 0x16
call fcn.14007b7ec
or rax, 0xffffffffffffffff
jmp 0x14008c7e7
mov rdx, r8
call fcn.14008c6c4
mov rbx, rax
test rax, rax
je 0x14008c7b5
and dword [rsp + 0x40], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r8, [0x14008c5f0]
mov rdx, rdi
mov dword [rsp + 0x20], 4
mov r9, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x14008c7a8
mov rcx, rax
mov qword [rbx + 0x10], rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x14008c7e4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14008600c
or rdi, 0xffffffffffffffff
test rbx, rbx
je 0x14008c7e4
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14008c7cd
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x18]
test rcx, rcx
je 0x14008c7dc
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rcx, rbx
call fcn.14008f3dc
mov rax, rdi
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14004a930
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x280
mov rax, qword [0x1400d7280]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400171f2
mov rcx, qword [rcx]
lea rdx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140017237
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp qword [rbx + 0x18], 8
jb 0x140017216
mov rbx, qword [rbx]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140017237
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
mov eax, edi
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140074810
mov rbx, qword [rsp + 0x298]
add rsp, 0x280
pop rdi
ret
mov rcx, rdx
jmp 0x1400171c4

Function at 0x14004a9a0
Capabilities:
Delete registry value

Disassembly:
mov rax, r9
mov r10, r8
mov r9b, byte [rsp + 0x28]
mov rcx, rdx
mov r8, rax
mov rdx, r10
jmp fcn.14001767c

Function at 0x14004a9c0
Capabilities:
Delete registry value

Disassembly:
mov rax, r9
mov r10, r8
mov r9d, dword [rsp + 0x28]
mov rcx, rdx
mov r8, rax
mov rdx, r10
jmp 0x140017688

Function at 0x14004aa20
Capabilities:
Query or enumerate registry key

Disassembly:
movzx r8d, r8b
add r8d, r8d
jmp fcn.140017b58
mov al, r9b
mov r10, r8
mov r9, qword [rsp + 0x28]
mov rcx, rdx
mov r8b, al
mov rdx, r10
jmp 0x140017b4c

Function at 0x14004aa40
Capabilities:
Query or enumerate registry value

Disassembly:
mov al, r9b
mov r10, r8
mov r9, qword [rsp + 0x28]
mov rcx, rdx
mov r8b, al
mov rdx, r10
jmp fcn.140017d3c
Function at 0x14004ab60
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400d7280]
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 fcn.140077300
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USERENV.dll_GetDefaultUserProfileDirectoryW]
test eax, eax
je 0x1400197b5
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.1400051a8
jmp 0x1400197c9
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.140074810
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
mov rcx, rdx
jmp 0x140019754

Function at 0x14004ac00
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x870
mov rax, qword [0x1400d7280]
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 0x14001a999
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 0x14001aa3d
cmp qword [rdi + 0x18], 8
jb 0x14001a9d5
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 0x14001aa32
mov eax, dword [rsp + 0x38]
dec eax
cmp eax, 1
jbe 0x14001aa23
mov ebx, 0x8007065d
jmp 0x14001aa32
xor ebx, ebx
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400051a8
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.140074810
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 0x14001a958
Function at 0x14004ac40
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 [0x1400d7280]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
mov rax, qword [rcx]
cmp rax, qword [rcx + 8]
je 0x14001ab86
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 [0x1400c2530]
movdqu xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r14w
lea rcx, [rbp - 0x30]
call fcn.14001aa5c
mov edi, eax
test eax, eax
js 0x14001acd5
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 0x14001ac05
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 0x14001acae
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 0x14001acae
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 0x14001aca7
mov eax, dword [rbp - 0x4c]
mov dword [rbp - 0x48], eax
mov edx, eax
lea r8, [rbp - 0x50]
mov rcx, rbx
call fcn.14001457c
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 0x14001acd5
jmp 0x14001acc8
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 0x14001acd5
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.140005f80
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140074810
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 0x14001ab50
Function at 0x14004ac80
Capabilities:
Get session user name

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400d7280]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
mov rax, rcx
cmp qword [rcx + 0x18], 8
jb 0x14001b11f
mov rax, qword [rcx]
lea rsi, [rcx + 0x10]
xor r14d, r14d
mov qword [rsi], r14
mov word [rax], r14w
mov dword [rbp - 0x2c], r14d
lea r8, [rbp - 0x2c]
xor edx, edx
lea ecx, [rdx + 8]
call sub.Secur32.dll_GetUserNameExW
mov eax, dword [rbp - 0x2c]
test eax, eax
je 0x14001b1f4
xorps xmm0, xmm0
mov edx, eax
movdqu xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], r14
lea rcx, [rbp - 0x28]
call fcn.140013694
nop
lea r8, [rbp - 0x2c]
mov rdx, qword [rbp - 0x28]
lea ecx, [r14 + 8]
call sub.Secur32.dll_GetUserNameExW
test al, al
je 0x14001b1b8
mov edx, dword [rbp - 0x2c]
cmp rdx, qword [rdi + 0x18]
ja 0x14001b1a7
cmp qword [rdi + 0x18], 8
jb 0x14001b18a
mov rdi, qword [rdi]
mov qword [rsi], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
mov rdx, qword [rbp - 0x28]
mov rcx, rdi
call fcn.140076c50
mov word [rbx + rdi], r14w
jmp 0x14001b1b8
mov r9, qword [rbp - 0x28]
mov r8b, byte [rbp - 0x30]
mov rcx, rdi
call fcn.1400055c8
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14001b1f4
mov rdx, qword [rbp - 0x18]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001b1ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001b21b
call fcn.140074aac
cmp qword [rsi], r14
setne al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140074810
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.14007b80c
int3
mov rcx, rdx
jmp 0x14001b0ec

Function at 0x14004acc0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call fcn.14001f1ac
mov cl, al
mov rdx, rbx
add rsp, 0x20
pop rbx
jmp fcn.14001b474
mov rcx, rdx
jmp 0x14001b454

Function at 0x14004acd0
Capabilities:
Get common file path

Disassembly:
mov cl, dl
mov rdx, r8
jmp fcn.14001b474

Function at 0x14004ad20
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x260
mov rax, qword [0x1400d7280]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x208
call fcn.140077300
mov dword [rsp + 0x34], 1
xor ebx, ebx
mov dword [rsp + 0x30], 0x104
call fcn.14001b420
mov rcx, rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r8, str.Version
lea rax, [rsp + 0x40]
lea rdx, str.SoftwareMicrosoftOneDrive
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x14001bc76
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.1400051a8
jmp 0x14001bc7b
mov ebx, 0x80004005
mov eax, ebx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140074810
mov rbx, qword [rsp + 0x278]
add rsp, 0x260
pop rdi
ret
mov rcx, rdx
jmp 0x14001bbe8
Function at 0x14004ad80
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.14001c01c

Function at 0x14004adb0
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.14001c028

Function at 0x14004ade0
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.14001c12c