joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10009e1f4
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x1f0
mov qword [rsp + 0xc8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov rbx, rdx
lea rbp, [0x10001d9c0]
mov qword [rsp + 0x20], rbp
lea r12, [0x10001dca0]
mov qword [rsp + 0x28], r12
lea r13, [0x10001d9a8]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x183
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
xor edi, edi
mov word [rax - 0x148], di
mov byte [rax - 0x146], dil
mov byte [rax - 0x145], 1
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0xd0]
call fcn.1000e7c38
nop
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp eax, edi
jne 0x10009e357
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, edi
cmovle ebx, eax
mov dword [rsp + 0xd8], ebx
mov qword [rsp + 0x20], rbp
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x18b
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov word [rsp + 0xc0], di
mov byte [rsp + 0xc2], dil
mov byte [rsp + 0xc3], 1
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x20]
mov qword [rsp + 0x220], r11
cmp ebx, edi
jge 0x10009e34c
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x140]
call fcn.1000e760c
lea r9, [0x10001dcf8]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.1000e9408
nop
lea rcx, [rsp + 0x20]
call fcn.1000e7688
nop
lea rcx, [rsp + 0xd0]
call fcn.1000e7d24
lea r11, [rsp + 0x1f0]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x10009e384
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x750
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x100175150]
xor rax, rsp
mov qword [rsp + 0x740], rax
mov rbx, rcx
lea r12, [0x10001d9c0]
mov qword [rsp + 0x40], r12
lea r13, [0x10001dd10]
mov qword [rsp + 0x48], r13
lea r14, [0x10001d9a8]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x194
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
xor esi, esi
mov word [rsp + 0xe0], si
mov byte [rsp + 0xe2], sil
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x100]
call fcn.1000e7c38
nop
mov edi, 0x144
mov r9d, edi
lea r8, [rsp + 0x220]
xor edx, edx
mov rcx, rbx
call fcn.10009ddd4
mov r9d, edi
lea r8, [rsp + 0x4b0]
mov dl, 1
mov rcx, rbx
call fcn.10009ddd4
lea rcx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or edi, 0xffffffff
cmp eax, edi
jne 0x10009e526
lea rcx, [rsp + 0x4b0]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
je 0x10009e4b1
lea r8, [rsp + 0x220]
lea rdx, [rsp + 0x4b0]
mov rcx, rbx
call fcn.10009e050
jmp 0x10009e526
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x1ab
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], si
mov byte [rsp + 0xe2], sil
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
mov r9d, 4
lea r8, [rsp + 0x40]
lea edx, [r9 + 0xa]
lea rcx, [rsp + 0x100]
call fcn.1000eb278
xor edx, edx
mov rcx, rbx
call fcn.10009cfb0
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x10009e615
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, esi
cmovle ebx, eax
mov dword [rsp + 0x108], ebx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x1bf
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], si
mov byte [rsp + 0xe2], sil
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdi + 0x79]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x40]
mov qword [rsp + 0xf0], r11
cmp ebx, esi
jge 0x10009e60a
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x170]
call fcn.1000e760c
lea r9, [0x10001dd68]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.1000e9408
nop
lea rcx, [rsp + 0x40]
call fcn.1000e7688
nop
lea rcx, [rsp + 0x100]
call fcn.1000e7d24
mov rax, rdi
mov rcx, qword [rsp + 0x740]
xor rcx, rsp
call fcn.1001303c0
lea r11, [rsp + 0x750]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x10009e65c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x4c0
mov qword [rsp + 0xf0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rdi
mov rax, qword [0x100175150]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
mov rbx, rcx
lea r12, [0x10001d9c0]
mov qword [rsp + 0x40], r12
lea r13, [0x10001dd90]
mov qword [rsp + 0x48], r13
lea r14, [0x10001d9a8]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x1cb
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
xor ebp, ebp
mov word [rsp + 0xe0], bp
mov byte [rsp + 0xe2], bpl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rbp + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x100]
call fcn.1000e7c38
nop
mov r9d, 0x144
lea r8, [rsp + 0x220]
mov dl, 1
mov rcx, rbx
call fcn.10009ddd4
lea rcx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10009e750
lea rdx, [rsp + 0x220]
mov rcx, rbx
call fcn.10009e1f4
mov dl, 1
mov rcx, rbx
call fcn.10009cfb0
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 1]
lea rcx, [rsp + 0x220]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x10009e849
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
cmp eax, ebp
cmovle ebx, eax
mov dword [rsp + 0x108], ebx
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x1e8
mov dword [rsp + 0x5c], 1
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bp
mov byte [rsp + 0xe2], bpl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rdi + 0x79]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
lea r11, [rsp + 0x40]
mov qword [rsp + 0xe8], r11
cmp ebx, ebp
jge 0x10009e83e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x170]
call fcn.1000e760c
lea r9, [0x10001dd68]
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.1000e9408
nop
lea rcx, [rsp + 0x40]
call fcn.1000e7688
nop
lea rcx, [rsp + 0x100]
call fcn.1000e7d24
mov rax, rdi
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1001303c0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x1000e4524
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x320
mov rax, qword [0x100175150]
xor rax, rsp
mov qword [rsp + 0x310], rax
mov rdi, rcx
mov rbx, rdx
lea rcx, [rsp + 0x102]
xor esi, esi
xor edx, edx
mov r8d, 0x206
mov dword [rsp + 0x34], 0x104
mov dword [rsp + 0x30], 0x10
mov word [rsp + 0x100], si
call sub.msvcrt.dll_memset
xor eax, eax
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x100]
xor r9d, r9d
mov rcx, rbx
mov word [rsp + 0xe0], si
mov qword [rsp + 0xe2], rax
mov qword [rsp + 0xea], rax
mov qword [rsp + 0xf2], rax
mov dword [rsp + 0xfa], eax
mov qword [rsp + 0x20], rsi
call sub.CLUSAPI.dll_GetClusterResourceState
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetComputerNameW]
cmp ebx, 2
je 0x1000e464d
lea rax, [0x10002fc00]
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [0x100034920]
xor edx, edx
mov qword [rsp + 0x40], rax
lea rax, [0x10002fbe8]
mov dword [rsp + 0x50], 0xc84
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 0xff
mov word [rsp + 0xd8], si
mov qword [rsp + 0x48], rax
mov byte [rsp + 0xda], sil
mov byte [rsp + 0xdb], 1
call sub.msvcrt.dll_memset
lea r8, [0x1000348b0]
jmp 0x1000e475c
cmp eax, esi
je 0x1000e46f1
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x100]
mov r8d, 0xf
call qword [sym.imp.msvcrt.dll__wcsnicmp]
cmp eax, esi
jne 0x1000e46f1
lea rax, [0x10002fc00]
xor edx, edx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [0x100034920]
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [0x10002fbe8]
mov dword [rsp + 0x50], 0xc8c
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 0xff
mov word [rsp + 0xd8], si
mov qword [rsp + 0x48], rax
mov byte [rsp + 0xda], sil
mov byte [rsp + 0xdb], 1
call sub.msvcrt.dll_memset
lea r8, [0x100034a00]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1000e8e14
mov al, 1
jmp 0x1000e476b
lea rax, [0x10002fc00]
xor edx, edx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x38], rax
lea rax, [0x100034920]
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x40], rax
lea rax, [0x10002fbe8]
mov dword [rsp + 0x50], 0xc88
mov dword [rsp + 0x54], 1
mov dword [rsp + 0x58], 0xff
mov word [rsp + 0xd8], si
mov qword [rsp + 0x48], rax
mov byte [rsp + 0xda], sil
mov byte [rsp + 0xdb], 1
call sub.msvcrt.dll_memset
lea r8, [0x100034990]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call fcn.1000e8e14
xor al, al
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.1001303c0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x1000e7e84
Capabilities:
Accept command line arguments

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x910
mov rax, qword [0x100175150]
xor rax, rsp
mov qword [rsp + 0x900], rax
mov rdi, rcx
call sub.VssTrace.DLL_Ordinal_11
cmp eax, dword [rdi + 4]
je 0x1000e7ffe
mov rdx, qword [rdi + 0x28]
mov ecx, dword [rdi + 0x24]
lea r8, [rsp + 0x50]
xor ebx, ebx
mov dword [rdi + 4], eax
mov dword [rsp + 0x50], ebx
call sub.VssTrace.DLL_Ordinal_8_1
cmp eax, ebx
je 0x1000e7ed8
mov eax, dword [rsp + 0x50]
jmp 0x1000e7eed
mov rcx, qword [rdi + 0x60]
cmp rcx, rbx
je 0x1000e7ee8
call fcn.1000e7e74
jmp 0x1000e7eed
call sub.VssTrace.DLL_Ordinal_6
mov dword [rdi], eax
mov eax, dword [rdi + 4]
cmp dword [0x100175ba0], eax
je 0x1000e7ffe
lea rcx, [rsp + 0x102]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x100], bx
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x100]
mov r8d, 0x400
mov rcx, rdi
call fcn.1000e8c4c
lea rax, [0x100035be0]
xor edx, edx
mov qword [rsp + 0x60], rax
lea r11, [0x100035950]
lea rax, [0x100035938]
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x70], 0x250
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x58], r11
mov dword [rsp + 0x74], 0xb
mov dword [rsp + 0x78], 0xff
mov word [rsp + 0xf8], bx
mov byte [rsp + 0xfa], bl
mov byte [rsp + 0xfb], 1
call sub.msvcrt.dll_memset
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, dword [rdi + 4]
mov dword [rsp + 0x48], ecx
mov ecx, dword [0x100175ba0]
lea r8, [0x100035bb8]
mov dword [rsp + 0x40], ecx
lea rcx, [rsp + 0x100]
lea rdx, [rsp + 0x58]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], eax
lea rax, [0x100035b10]
mov r9d, 0x78
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1000e833c
mov r11d, dword [rdi + 4]
mov dword [0x100175ba0], r11d
mov rcx, qword [rsp + 0x900]
xor rcx, rsp
call fcn.1001303c0
mov rbx, qword [rsp + 0x928]
add rsp, 0x910
pop rdi
ret
Function at 0x1000f1c8c
Capabilities:
Compare security identifiers

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x150
xor esi, esi
lea rax, [0x100038090]
mov rbx, rcx
mov qword [rsp + 0x30], rax
lea rax, [0x100038658]
mov rdi, rdx
mov qword [rsp + 0x38], rax
lea rax, [0x100038070]
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x58]
xor edx, edx
mov dword [rsp + 0x48], 0x399
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x4c], 0xb
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], si
mov byte [rsp + 0xd2], sil
mov byte [rsp + 0xd3], 1
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xe0]
xor r8d, r8d
call fcn.1000e7c38
mov rcx, qword [rbx + 8]
cmp rcx, rsi
jne 0x1000f1d31
cmp qword [rdi + 8], rsi
sete bl
jmp 0x1000f1d77
mov rdx, qword [rdi + 8]
cmp rdx, rsi
jne 0x1000f1d6c
lea rax, [0x100008440]
lea r9, [0x100008450]
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
mov r8d, 0xaa
mov qword [rsp + 0x20], rax
call fcn.1000e826c
mov bl, sil
jmp 0x1000f1db2
call qword [sym.imp.ADVAPI32.dll_EqualSid]
cmp eax, esi
setne bl
lea rcx, [0x100008430]
cmp bl, sil
lea rax, [0x100008440]
cmovne rax, rcx
lea r9, [0x100008450]
lea rdx, [0x100008420]
lea rcx, [rsp + 0xe0]
mov r8d, 0xaa
mov qword [rsp + 0x20], rax
call fcn.1000e826c
lea rcx, [rsp + 0xe0]
call fcn.1000e7d24
lea r11, [rsp + 0x150]
mov al, bl
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1000f7224
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x160
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x20], rsi
mov rbp, rdx
mov rdi, rcx
lea r13, [0x100008710]
mov qword [rsp + 0x30], r13
lea r14, [0x100039e50]
mov qword [rsp + 0x38], r14
lea r15, [0x1000086f8]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x10f
mov ebx, 0xb
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], 0xff
xor r12d, r12d
mov word [rax - 0xb8], r12w
mov byte [rax - 0xb6], r12b
mov byte [rax - 0xb5], 1
xor edx, edx
lea r8d, [rbx + 0x6d]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1000e7c38
nop
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esi, eax
cmp eax, r12d
jne 0x1000f734f
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x113
mov dword [rsp + 0x4c], ebx
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rbx + 0x6d]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rbp
lea r8, [0x100039f00]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1000e9858
int3
mov rbx, qword [rdi + 8]
mov qword [rdi + 8], r12
mov qword [rsp + 0xe0], rbx
lea rax, [0x1000391a8]
mov qword [rsp + 0xd8], rax
cmp esi, 1
jne 0x1000f7394
cmp rbx, r12
je 0x1000f7382
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e7d24
jmp 0x1000f749b
mov qword [rdi + 8], r12
lea eax, [rsi - 1]
lea rdx, [rax + rax + 2]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov qword [rdi + 8], rax
cmp rax, r12
jne 0x1000f73d1
mov dword [rsp + 0x1a0], 0x8007000e
lea rdx, [0x100172740]
lea rcx, [rsp + 0x1a0]
call sub.msvcrt.dll__CxxThrowException
int3
mov r8d, esi
mov rdx, rax
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
cmp eax, r12d
je 0x1000f740a
cmp eax, esi
ja 0x1000f740a
cmp rbx, r12
je 0x1000f73f8
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e7d24
jmp 0x1000f749b
mov qword [rsp + 0xe0], r12
mov rcx, qword [rdi + 8]
cmp rcx, r12
je 0x1000f7421
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rdi + 8], rbx
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x11f
mov dword [rsp + 0x4c], 0xb
mov dword [rsp + 0x50], 0xff
mov word [rsp + 0xd0], r12w
mov byte [rsp + 0xd2], r12b
mov byte [rsp + 0xd3], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rbx
mov r9, rbp
lea r8, [0x100039f50]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0xf0]
call fcn.1000e9858
nop
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
Function at 0x1001022e4
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push r12
push r13
push r14
sub rsp, 0x160
mov qword [rsp + 0xe8], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
lea r12, [0x10003c5c0]
mov qword [rsp + 0x40], r12
lea r13, [0x10003c770]
mov qword [rsp + 0x48], r13
lea r14, [0x10003c5a8]
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x16c
mov dword [rsp + 0x5c], 0xb
mov dword [rsp + 0x60], 0xff
xor ebp, ebp
mov word [rax - 0x98], bp
mov byte [rax - 0x96], bpl
mov byte [rax - 0x95], 1
xor edx, edx
lea r8d, [rbp + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1000e7c38
nop
mov dword [rsp + 0x28], 0x48
mov qword [rsp + 0x20], rsi
lea r9d, [rbp + 3]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rdi + 8]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
cmp eax, ebp
je 0x100102456
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], 0x17f
mov dword [rsp + 0x5c], 0xb
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], bp
mov byte [rsp + 0xe2], bpl
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rbp + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
movzx r8d, bx
or r8d, 0x80070000
cmp ebx, ebp
cmovle r8d, ebx
mov dword [rsp + 0x38], 0x48
mov qword [rsp + 0x30], rsi
mov rax, qword [rdi + 0x18]
mov qword [rsp + 0x28], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x20], rax
lea r9, [0x10003c7b0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0xf0]
call fcn.1000e9a68
nop
lea rcx, [rsp + 0xf0]
call fcn.1000e7d24
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret
Function at 0x100102f3c
Capabilities:
Query or enumerate registry key

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x210
mov qword [rsp + 0x190], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rbx, rcx
lea rbp, [0x10003c5c0]
mov qword [rsp + 0x40], rbp
lea r12, [0x10003cb00]
mov qword [rsp + 0x48], r12
lea r13, [0x10003c5a8]
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x2d1
mov dword [rsp + 0x5c], 0xb
mov dword [rsp + 0x60], 0xff
xor esi, esi
mov word [rax - 0x158], si
mov byte [rax - 0x156], sil
mov byte [rax - 0x155], 1
lea edi, [rsi + 0x78]
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x1a0]
call fcn.1000e7c38
nop
cmp byte [rbx + 0x28], sil
je 0x10010318e
mov r8, qword [rbx + 0x20]
cmp r8, rsi
je 0x10010318e
mov eax, dword [rbx + 0x10]
mov dword [rsp + 0x240], eax
lea rax, [rsp + 0x248]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x240]
mov edx, dword [rbx + 0xc]
mov rcx, qword [rbx]
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
cmp eax, esi
je 0x100103175
cmp eax, 0x103
je 0x1001030de
mov qword [rsp + 0x40], rbp
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r13
mov dword [rsp + 0x58], 0x2ea
mov dword [rsp + 0x5c], 0xb
mov dword [rsp + 0x60], 0xff
mov word [rsp + 0xe0], si
mov byte [rsp + 0xe2], sil
mov byte [rsp + 0xe3], 1
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x68]
call sub.msvcrt.dll_memset
movzx r8d, di
or r8d, 0x80070000
cmp edi, esi
cmovle r8d, edi
mov eax, dword [rsp + 0x240]
mov dword [rsp + 0x38], eax
mov rax, qword [rbx + 0x20]
mov qword [rsp + 0x30], rax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [rbx]
mov qword [rsp + 0x20], rax
lea r9, [0x10003cbc0]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x1a0]
call fcn.1000e9a68
int3
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], r13
mov dword [rsp + 0x100], 0x2ee
mov dword [rsp + 0x104], 0xb
mov dword [rsp + 0x108], 0xff
mov word [rsp + 0x188], si
mov byte [rsp + 0x18a], sil
mov byte [rsp + 0x18b], 1
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll_memset
mov r11d, dword [rbx + 8]
mov dword [rsp + 0x28], r11d
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x20], eax
lea r9, [0x10003cc10]
mov r8d, 0x8000ffff
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x1a0]
call fcn.1000e9a68
int3
mov rbx, qword [rbx + 0x20]
lea rcx, [rsp + 0x1a0]
call fcn.1000e7d24
mov rax, rbx
jmp 0x100103214
mov qword [rsp + 0xe8], rbp
mov qword [rsp + 0xf0], r12
mov qword [rsp + 0xf8], r13
mov dword [rsp + 0x100], 0x2d5
mov dword [rsp + 0x104], 0xb
mov dword [rsp + 0x108], 0xff
mov word [rsp + 0x188], si
mov byte [rsp + 0x18a], sil
mov byte [rsp + 0x18b], 1
mov r8, rdi
xor edx, edx
lea rcx, [rsp + 0x110]
call sub.msvcrt.dll_memset
lea r9, [0x10003cb60]
mov r8d, 0x8000ffff
lea rdx, [rsp + 0xe8]
lea rcx, [rsp + 0x1a0]
call fcn.1000e8ff8
nop
mov rbx, qword [rsp + 0x250]
add rsp, 0x210
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x10010994c
Capabilities:
Get disk information
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x50
mov rdi, qword [rsp + 0xa8]
xor r13d, r13d
mov rbp, rcx
mov word [rdx], r13w
lea r12d, [r13 + 1]
mov rsi, r9
mov ecx, r12d
mov rbx, rdx
mov dword [rax - 0x38], r13d
mov dword [rax + 0x20], r13d
mov dword [rax + 0x10], r13d
mov dword [rax - 0x30], r13d
mov dword [rax - 0x34], r13d
mov word [r9], r13w
mov dword [rdi], r13d
call qword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [rsp + 0x38], 0x10
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
xor r9d, r9d
mov r8d, 0x100
mov rdx, rsi
mov rcx, rbp
mov qword [rsp + 0x20], r13
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
lea r9, [rsp + 0x48]
mov ebx, eax
lea rax, [rsp + 0x44]
lea r8, [rsp + 0x88]
lea rdx, [rsp + 0x98]
mov rcx, rbp
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov ecx, dword [rsp + 0x88]
imul ecx, dword [rsp + 0x98]
mov dword [rdi], ecx
cmp ebx, r13d
je 0x100109a14
cmp eax, r13d
jne 0x100109a17
mov r12d, r13d
mov eax, r12d
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret