joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000739c
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.14000ab7c
mov ebx, eax
cmp eax, 1
je 0x1400073d9
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400073c8
mov al, 1
jmp 0x140007428
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140007426
test ebx, ebx
je 0x140007426
lea rcx, [rsp + 0x20]
call fcn.140002a00
nop
cmp ebx, 1
setne r8b
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000a6a0
test al, al
je 0x14000741c
xor edx, edx
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x20]
call fcn.14005af1c
mov al, bl
jmp 0x140007428
mov rcx, qword [rsp + 0x20]
call fcn.14005af1c
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140007434
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
mov r14, r9
mov rsi, r8
mov r15b, dl
mov r13, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov ebx, eax
shl ebx, 2
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
xor edi, ebx
shl edi, 0xc
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r12d, eax
xor r12d, edi
xor edi, edi
mov ebx, edi
lea r10d, [rdi + 1]
mov dword [rsi + 8], edi
mov rcx, qword [rsi]
mov byte [rcx], dil
test r15b, r15b
je 0x1400074f7
mov edx, r12d
lea r8, [rbp - 0x10]
mov r9d, 8
mov ecx, edx
and ecx, 0xf
shr edx, 4
cmp ecx, 0xa
sbb al, al
and al, 0xf9
add al, 0x37
add al, cl
mov byte [r8], al
add r8, r10
sub r9, r10
jne 0x1400074a6
mov byte [rbp - 8], dil
test r14, r14
je 0x1400074d5
mov rcx, rsi
call fcn.140002fb4
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.140002e34
call qword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 2
mov r10d, 1
cmove eax, r10d
add r12d, eax
mov r15b, r10b
test r14, r14
je 0x14000750e
lea rdx, str..tmp
mov rcx, rsi
call fcn.140002e34
mov rdx, r13
lea rcx, [rbp - 0x20]
call fcn.1400029a8
nop
mov rdx, qword [rsi]
lea rcx, [rbp - 0x20]
call fcn.140002ed8
mov rcx, qword [rbp - 0x20]
call fcn.140008144
test al, al
je 0x140007541
mov ecx, 0xb7
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140007576
test r14, r14
je 0x140007557
xor r8d, r8d
mov rdx, qword [rbp - 0x20]
mov rcx, r14
call fcn.1400092dc
jmp 0x140007560
mov rcx, qword [rbp - 0x20]
call fcn.14000739c
test al, al
jne 0x1400075a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x50
je 0x140007576
cmp eax, 0xb7
jne 0x140007592
mov rcx, qword [rbp - 0x20]
call fcn.14005af1c
mov r10d, 1
add ebx, r10d
cmp ebx, 0x64
jae 0x14000759b
jmp 0x14000748b
mov rcx, qword [rbp - 0x20]
call fcn.14005af1c
mov dword [rsi + 8], edi
mov rax, qword [rsi]
mov byte [rax], dil
xor al, al
jmp 0x1400075b3
mov rcx, qword [rbp - 0x20]
call fcn.14005af1c
mov al, 1
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400075d4
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rbx, rcx
call fcn.140008b08
cmp eax, 0xffffffff
je 0x140007606
mov edx, eax
and dl, 0x11
cmp dl, 1
jne 0x140007606
and eax, 0xfffffffe
mov edx, eax
mov rcx, rbx
call fcn.140007ec8
test al, al
je 0x140007675
mov rcx, rbx
call fcn.14000ab7c
mov edi, eax
cmp eax, 1
je 0x14000762a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140007626
mov al, 1
jmp 0x140007677
test edi, edi
je 0x140007675
lea rcx, [rsp + 0x20]
call fcn.140002a00
nop
cmp edi, 1
setne r8b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000a6a0
test al, al
je 0x14000766b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x20]
call fcn.14005af1c
mov al, bl
jmp 0x140007677
mov rcx, qword [rsp + 0x20]
call fcn.14005af1c
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140007684
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x168]
sub rsp, 0x260
mov rsi, rcx
xor r14d, r14d
mov dword [rcx + 8], r14d
mov rax, qword [rcx]
mov word [rax], r14w
mov word [rsp + 0x30], r14w
lea rdx, [rsp + 0x30]
mov edi, 0x114
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test eax, eax
je 0x140007778
cmp ebx, edi
jae 0x1400076f9
mov word [rbp + 0x158], r14w
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140002c58
mov eax, 1
jmp 0x140007778
lea rcx, [rsp + 0x20]
call fcn.140002a00
nop
cmp ebx, dword [rsp + 0x2c]
jbe 0x140007716
mov edx, ebx
lea rcx, [rsp + 0x20]
call fcn.140003b88
mov rdx, qword [rsp + 0x20]
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edx, eax
test eax, eax
je 0x140007768
mov r8, qword [rsp + 0x20]
mov word [r8 + rbx*2], r14w
mov ecx, r14d
mov edi, 1
cmp word [r8], r14w
je 0x14000774a
add ecx, edi
cmp word [r8 + rcx*2], r14w
jne 0x140007741
mov dword [rsp + 0x28], ecx
cmp ecx, edx
jne 0x140007768
lea eax, [rbx - 1]
cmp eax, edx
jne 0x140007768
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140002b20
jmp 0x14000776b
mov dil, r14b
mov rcx, qword [rsp + 0x20]
call fcn.14005af1c
mov al, dil
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret

Function at 0x14000798c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x250
mov rdi, rcx
lea rdx, [rsp + 0x20]
xor eax, eax
mov ecx, 0x114
mov word [rsp + 0x20], ax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.140002c58
mov rcx, rdi
call fcn.14000af34
lea eax, [rbx - 1]
mov rbx, qword [rsp + 0x260]
cmp eax, 0x112
setbe al
add rsp, 0x250
pop rdi
ret
Function at 0x1400079e8
Capabilities:
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x50
mov rbp, rdx
mov r14, rcx
call fcn.14000ab7c
mov esi, eax
mov rcx, rbp
call fcn.14000ab7c
mov edi, eax
mov ebx, 1
cmp esi, ebx
je 0x140007a44
cmp eax, ebx
je 0x140007a3c
mov rdx, rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140007a3c
mov al, bl
jmp 0x140007ac4
test esi, esi
jne 0x140007a44
test edi, edi
je 0x140007ac2
lea rcx, [rsp + 0x40]
call fcn.140002a00
nop
lea rcx, [rsp + 0x30]
call fcn.140002a00
nop
cmp esi, ebx
je 0x140007a62
cmp edi, ebx
jne 0x140007a64
xor bl, bl
mov byte [rsp + 0x20], bl
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, rbp
mov rcx, r14
call fcn.14000aae4
test al, al
je 0x140007aad
mov rdx, qword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x30]
call fcn.14005af1c
nop
mov rcx, qword [rsp + 0x40]
call fcn.14005af1c
jmp 0x140007a35
mov rcx, qword [rsp + 0x30]
call fcn.14005af1c
nop
mov rcx, qword [rsp + 0x40]
call fcn.14005af1c
xor al, al
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret

Function at 0x140007b08
Capabilities:
Delete directory

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.14000ab7c
mov ebx, eax
cmp eax, 1
je 0x140007b36
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x140007b32
mov al, 1
jmp 0x140007b83
test ebx, ebx
je 0x140007b81
lea rcx, [rsp + 0x20]
call fcn.140002a00
nop
cmp ebx, 1
setne r8b
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000a6a0
test al, al
je 0x140007b77
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x20]
call fcn.14005af1c
mov al, bl
jmp 0x140007b83
mov rcx, qword [rsp + 0x20]
call fcn.14005af1c
xor al, al
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140007d9c
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x140007f60
Capabilities:
Set file attributes

Disassembly:
mov r8d, edx
and edx, 0x3fff
test r8d, 0xf0000000
cmove edx, r8d
jmp fcn.140007ec8
Function at 0x140008b08
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x30
mov rdi, rcx
call fcn.14000ab7c
mov ebx, eax
cmp eax, 1
je 0x140008b33
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140008b7e
test ebx, ebx
je 0x140008b7b
lea rcx, [rsp + 0x20]
call fcn.140002a00
nop
cmp ebx, 1
setne r8b
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.14000a6a0
test al, al
je 0x140008b71
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rcx, qword [rsp + 0x20]
call fcn.14005af1c
mov eax, ebx
jmp 0x140008b7e
mov rcx, qword [rsp + 0x20]
call fcn.14005af1c
or eax, 0xffffffff
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
ret

Function at 0x140008c30
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x30
mov r12, rcx
call fcn.1400012d8
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
xor edi, edi
test eax, eax
je 0x140008d01
mov eax, 2
mul rsi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14005af24
mov rbx, rax
mov qword [rsp + 0x68], rax
mov rdx, rax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebp, eax
test eax, eax
je 0x140008cf6
cmp eax, esi
ja 0x140008cf6
lea rcx, [rsp + 0x20]
call fcn.140002a00
nop
mov r15d, edi
mov esi, edi
test ebp, ebp
je 0x140008ce4
mov r14, rbx
inc esi
cmp word [r14], di
jne 0x140008cdc
mov eax, r15d
lea rdx, [rbx + rax*2]
lea rcx, [rsp + 0x20]
call fcn.140002c58
mov r15d, esi
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.14000124c
add r14, 2
cmp esi, ebp
jb 0x140008cb3
cmp r15d, ebp
sete dil
mov rcx, qword [rsp + 0x20]
call fcn.14005af1c
nop
mov rcx, rbx
call fcn.14005af1c
mov al, dil
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret

Function at 0x140009338
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp byte [rcx + 9], 0
mov rbx, rdx
je 0x14000935a
cmp byte [rcx + 0xa], 0
je 0x14000935a
mov rax, qword [rcx + 0x10]
mov qword [rdx], rax
jmp 0x140009390
mov rcx, qword [rcx]
lea rdx, [rsp + 0x30]
and dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x140009382
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x140009382
xor al, al
jmp 0x140009392
mov ecx, dword [rsp + 0x30]
shl rcx, 0x20
add rcx, rdi
mov qword [rbx], rcx
mov al, 1
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140009528
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
mov rbx, r9
and dword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x58]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x1400095d4
Capabilities:
Read file on windows

Disassembly:
mov eax, r8d
mov r8d, 0x400000
cmp eax, r8d
cmovbe r8d, eax
jmp fcn.140009528
Function at 0x1400096c0
Capabilities:
Clear file content

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
lea r9, [rsp + 0x40]
xor r8d, r8d
mov rbx, rdx
mov rdi, rcx
call fcn.1400095ec
test al, al
je 0x1400096f8
cmp qword [rsp + 0x40], rbx
jne 0x1400096f8
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
jmp 0x1400096fa
xor al, al
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret

Function at 0x1400098a8
Capabilities:
Write file on windows

Disassembly:
push rbx
sub rsp, 0x30
and dword [rsp + 0x50], 0
mov eax, r8d
mov rcx, qword [rcx]
mov r8d, 0x400000
cmp eax, r8d
mov rbx, r9
lea r9, [rsp + 0x50]
cmovbe r8d, eax
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x50]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x14000b0dc
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov r15, rcx
mov rdi, r9
lea rcx, [0x14006f930]
mov rsi, r8
mov rbx, rdx
xor r14b, r14b
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetDiskFreeSpaceExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000b14d
lea r9, [rbp - 0x18]
mov rcx, r15
lea r8, [rbp - 0x20]
lea rdx, [rbp - 0x10]
call rax
test eax, eax
mov rax, qword [rbp - 0x20]
mov qword [rsi], rax
mov rax, qword [rbp - 0x18]
setne r14b
mov qword [rdi], rax
lea rax, [rbp - 0x28]
mov rcx, r15
lea r9, [rbp - 0x24]
mov qword [rsp + 0x20], rax
lea r8, [rbp - 0x2c]
lea rdx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x14000b197
mov ecx, dword [rbp - 0x30]
mov eax, dword [rbp - 0x2c]
imul rcx, rax
mov qword [rbx], rcx
test r14b, r14b
jne 0x14000b195
mov eax, dword [rbp - 0x28]
imul rax, rcx
mov qword [rsi], rax
mov eax, dword [rbp - 0x24]
imul rax, qword [rbx]
mov qword [rdi], rax
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

Function at 0x14000be74
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
sub rsp, 0x38
and dword [rsp + 0x58], 0
lea rax, [r11 + 8]
mov rcx, qword [rcx]
lea r9, [r11 + 0x20]
mov qword [r11 - 0x10], rax
mov qword [r11 - 0x18], r8
xor r8d, r8d
mov dword [rsp + 0x40], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
add rsp, 0x38
ret
Function at 0x14000beac
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
and dword [r9], 0
mov rsi, r9
and dword [rax + 8], 0
mov rbx, r8
mov qword [rax - 0x20], r9
mov r14, rcx
mov rcx, qword [rcx]
lea r9, [rax + 8]
and qword [rax - 0x28], 0
xor r8d, r8d
mov rbp, rdx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000bef7
cmp eax, 0xea
jne 0x14000bf4f
mov edi, dword [rsi]
cmp rdi, qword [rbx + 8]
je 0x14000bf29
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000bf10
call fcn.14005af1c
and qword [rbx], 0
and qword [rbx + 8], 0
test rdi, rdi
je 0x14000bf29
mov rcx, rdi
call fcn.14005af24
mov qword [rbx], rax
mov qword [rbx + 8], rdi
mov rax, qword [rbx]
lea r9, [rsp + 0x68]
and dword [rsp + 0x68], 0
xor r8d, r8d
mov rcx, qword [r14]
mov rdx, rbp
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14000bf64
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x40
mov rax, qword [r8]
lea r9, [rbp + 0x48]
xor r14d, r14d
mov rbx, r8
mov dword [r8 + 8], r14d
mov rsi, rcx
xor r8d, r8d
mov rdi, rdx
mov word [rax], r14w
lea rax, [rbp + 0x30]
mov rcx, qword [rcx]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov dword [rbp + 0x48], r14d
mov dword [rbp + 0x30], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x14000bfba
cmp eax, 0xea
jne 0x14000c023
mov edx, dword [rbp + 0x30]
mov dword [rbp + 0x40], edx
cmp edx, dword [rbx + 0xc]
jbe 0x14000bfcd
mov rcx, rbx
call fcn.140003b88
mov rax, qword [rbx]
lea rcx, [rbp + 0x40]
mov qword [rsp + 0x28], rcx
lea r9, [rbp - 0x10]
mov rcx, qword [rsi]
xor r8d, r8d
mov rdx, rdi
mov dword [rbp - 0x10], r14d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rbp + 0x30]
cmp ecx, dword [rbp + 0x40]
jbe 0x14000c003
mov ecx, dword [rbp + 0x40]
mov dword [rbp + 0x30], ecx
mov rdx, qword [rbx]
shr rcx, 1
mov word [rdx + rcx*2], r14w
mov ecx, r14d
cmp word [rdx], r14w
je 0x14000c020
inc ecx
cmp word [rdx + rcx*2], r14w
jne 0x14000c017
mov dword [rbx + 8], ecx
add rsp, 0x40
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x14000c060
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x150]
sub rsp, 0x250
and qword [rbp + 0x180], 0
mov rdi, rdx
mov r8, rdx
mov rsi, rcx
mov rdx, qword [rcx]
mov r9d, 0x2001f
lea rcx, [rbp + 0x180]
call fcn.14000be24
jmp 0x14000c0b0
lea rdx, [rsp + 0x40]
lea rcx, [rbp + 0x180]
call fcn.14000c060
mov ebx, eax
test eax, eax
jne 0x14000c125
mov rcx, qword [rbp + 0x180]
lea rax, [rbp + 0x188]
mov qword [rsp + 0x38], rax
lea r9, [rbp + 0x170]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x40]
and qword [rsp + 0x28], 0
xor edx, edx
and qword [rsp + 0x20], 0
mov dword [rbp + 0x170], 0x105
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x14000c09f
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x14000c117
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
and qword [rbp + 0x180], 0
mov rcx, qword [rsi]
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rbp + 0x180]
test rcx, rcx
je 0x14000c137
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
mov rbx, qword [rsp + 0x278]
add rsp, 0x250
pop rdi
pop rsi
pop rbp
ret

Function at 0x14000c14c
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov rsi, rcx
mov rbx, r8
mov rcx, r8
mov rdi, rdx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rcx, qword [rsi]
mov r9d, 1
xor r8d, r8d
mov rdx, rdi
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret

Function at 0x14000c1a4
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
mov dword [r11 + 0x18], r8d
sub rsp, 0x38
mov rcx, qword [rcx]
lea rax, [r11 + 0x18]
mov r9d, 4
xor r8d, r8d
mov dword [r11 - 0x10], r9d
mov qword [r11 - 0x18], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add rsp, 0x38
ret

Function at 0x14000c1d4
Capabilities:
Set registry value

Disassembly:
movzx r8d, r8b
jmp fcn.14000c1a4
Function at 0x14000c1e0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
xor esi, esi
mov r14, r8
mov r12, rdx
mov r13, rcx
mov ebp, esi
cmp dword [r8 + 8], esi
jbe 0x14000c22b
mov r8, qword [r8]
mov r9d, dword [r14 + 8]
mov rax, qword [r8]
lea r8, [r8 + 8]
mov eax, dword [rax + 8]
inc eax
add rbp, rax
sub r9, 1
jne 0x14000c216
mov rbx, rsi
test rbp, rbp
je 0x14000c251
mov rcx, 0xffffffffffffffff
mov eax, 2
mul rbp
cmovo rax, rcx
mov rcx, rax
call fcn.14005af24
mov rbx, rax
mov r15d, esi
cmp dword [r14 + 8], esi
jbe 0x14000c287
mov rcx, qword [r14]
mov edx, r15d
mov rdx, qword [rcx + rdx*8]
mov ecx, dword [rdx + 8]
mov rdx, qword [rdx]
inc ecx
mov edi, ecx
lea r8, [rcx + rcx]
lea rcx, [rbx + rsi*2]
call fcn.14005c0a0
add rsi, rdi
inc r15d
cmp r15d, dword [r14 + 8]
jb 0x14000c25a
mov rcx, qword [r13]
lea eax, [rbp*2]
mov dword [rsp + 0x28], eax
mov r9d, 3
xor r8d, r8d
mov qword [rsp + 0x20], rbx
mov rdx, r12
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
mov edi, eax
call fcn.14005af1c
mov rbx, qword [rsp + 0x60]
mov eax, edi
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x14000c7b4
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x68
lea rcx, [rsp + 0x20]
call fcn.14000c784
xor r8d, r8d
test eax, eax
je 0x14000c7ed
cmp qword [rsp + 0x20], r8
je 0x14000c7ed
mov ecx, r8d
mov rdx, qword [rsp + 0x20]
shr rdx, cl
inc ecx
and edx, 1
add r8d, edx
cmp ecx, 0x40
jb 0x14000c7d3
mov eax, r8d
jmp 0x14000c7fc
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x50]
add rsp, 0x68
ret

Function at 0x14000c804
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x60
movabs rax, 0x100000000
mov dword [rsp + 0x20], 0x40
mov qword [rcx], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
je 0x14000c846
mov rax, qword [rsp + 0x28]
cmp qword [rsp + 0x48], rax
cmovb rax, qword [rsp + 0x48]
mov qword [rbx], rax
mov al, 1
add rsp, 0x60
pop rbx
ret
Function at 0x14000cfa4
Capabilities:
Get system information on windows

Disassembly:
push rbx
sub rsp, 0x50
mov rbx, rcx
xor ecx, ecx
mov rax, qword [rbx]
mov dword [rbx + 8], ecx
mov byte [rax], cl
mov rax, qword [rdx]
mov dword [rdx + 8], ecx
mov byte [rax], cl
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14000d418
add rsp, 0x50
pop rbx
ret

Function at 0x14000d6e4
Capabilities:
Get graphical window text

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rax, qword [rdx]
xor ebp, ebp
mov dword [rdx + 8], ebp
mov rsi, rcx
mov rbx, rdx
mov word [rax], bp
mov rcx, qword [rcx]
call qword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test eax, eax
jne 0x14000d725
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
sete al
jmp 0x14000d768
cmp edi, dword [rbx + 0xc]
jbe 0x14000d734
mov edx, edi
mov rcx, rbx
call fcn.140003b88
mov rdx, qword [rbx]
lea r8d, [rdi + 1]
mov rcx, qword [rsi]
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov rdx, qword [rbx]
mov ecx, ebp
cmp edi, eax
cmova edi, eax
mov word [rdx + rdi*2], bp
cmp word [rdx], bp
je 0x14000d75f
inc ecx
cmp word [rdx + rcx*2], bp
jne 0x14000d757
mov dword [rbx + 8], ecx
test edi, edi
je 0x14000d718
mov al, 1
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret