joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140065eab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x14016bb40]
jne 0x14005e0ca
rol rcx, 0x10
test cx, 0xffff
jne 0x14005e0c6
repz ret
ror rcx, 0x10
jmp 0x140065e04
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1401768e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1401769d8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140065e89
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1401768e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140065eab
mov rax, qword [rsp + 0x88]
mov qword [0x1401769d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140176978], rax
mov rax, qword [0x1401769d8]
mov qword [0x140176850], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140176960], rax
mov dword [0x140176840], 0xc0000409
mov dword [0x140176844], 1
mov rax, qword [0x14016bb40]
mov qword [rsp + 0x68], rax
mov rax, qword [0x14016bb48]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1401768d8], eax
mov ecx, 1
call fcn.1400704f8
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x14010d500]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1401768d8], 0
jne 0x140065f32
mov ecx, 1
call fcn.1400704f8
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14006ad2c
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14006ab9c
Function at 0x14007085c
Capabilities:
Link many functions at runtime

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x50
mov rax, qword [0x14016bb40]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov ebp, r8d
mov r14, rdx
mov r13, rcx
call fcn.1400699ec
xor ebx, ebx
cmp qword [0x140177988], rbx
mov rdi, rax
jne 0x14007096f
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x140070a46
lea rdx, str.MessageBoxW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140070a46
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetActiveWindow
mov rcx, rsi
mov qword [0x140177988], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140177990], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
lea rdx, str.GetUserObjectInformationW
mov rcx, rsi
mov qword [0x140177998], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov r11, rax
mov qword [0x1401779a8], rax
test rax, rax
je 0x140070966
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_EncodePointer]
mov qword [0x1401779a0], rax
jmp 0x140070976
mov rax, qword [0x1401779a0]
jmp 0x14007097d
mov rax, qword [0x1401779a0]
mov r11, qword [0x1401779a8]
cmp rax, rdi
je 0x1400709e4
cmp r11, rdi
je 0x1400709e4
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov rcx, qword [0x1401779a8]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_DecodePointer]
mov r12, rax
test rsi, rsi
je 0x1400709e4
test rax, rax
je 0x1400709e4
call rsi
test rax, rax
je 0x1400709de
lea rcx, [rsp + 0x30]
mov r9d, 0xc
lea r8, [rsp + 0x38]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x1400709de
test byte [rsp + 0x40], 1
jne 0x1400709e4
bts ebp, 0x15
jmp 0x140070a24
mov rcx, qword [0x140177990]
cmp rcx, rdi
je 0x140070a24
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140070a24
call rax
mov rbx, rax
test rax, rax
je 0x140070a24
mov rcx, qword [0x140177998]
cmp rcx, rdi
je 0x140070a24
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140070a24
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x140177988]
call qword [sym.imp.KERNEL32.dll_DecodePointer]
test rax, rax
je 0x140070a46
mov r9d, ebp
mov r8, r14
mov rdx, r13
mov rcx, rbx
call rax
jmp 0x140070a48
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14005e0b0
add rsp, 0x50
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400a94a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
mov rax, rsp
movsd qword [rax + 0x10], xmm1
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rbx, rcx
lea rsi, [rcx + 0xd8]
mov qword [rax - 0x30], rsi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x40], 1
mov byte [rbx + 0x88], 0
mov byte [rbx + 0xa8], 1
movsd xmm0, qword [rsp + 0x78]
movsd qword [rbx + 0x90], xmm0
xor ebp, ebp
mov qword [rbx + 0x98], rbp
mov dword [rbx + 0x8c], ebp
mov qword [rbx + 0xa0], rbp
mov dword [rbx + 0xac], ebp
mov qword [rbx + 0xb8], rbp
lea ecx, [rbp + 8]
call fcn.14005e584
mov rdi, rax
test rax, rax
je 0x1400a9536
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x1400a9539
mov rdi, rbp
lea rcx, [rbx + 0x58]
mov rdx, rdi
call fcn.1400570a0
mov ecx, 8
call fcn.14005e584
mov rdi, rax
test rax, rax
je 0x1400a9562
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
jmp 0x1400a9565
mov rdi, rbp
lea rcx, [rbx + 0x68]
mov rdx, rdi
call fcn.1400570a0
xorpd xmm5, xmm5
movsd qword [rsp + 0x28], xmm5
movsd qword [rsp + 0x30], xmm5
mov rax, qword [rsp + 0x28]
mov qword [rbx + 0x48], rax
mov rax, qword [rsp + 0x30]
mov qword [rbx + 0x50], rax
mov qword [rbx + 0xc8], rbp
lea rcx, [rbx + 0xd0]
xor r8d, r8d
lea rdx, [0x1401154ec]
call fcn.14001e490
mov qword [rbx + 0xb0], rbp
mov r9, qword [rbx + 0x10]
mov r8, qword [rbx + 8]
cmp r8, r9
je 0x1400a95ef
mov rdx, r9
cmp r9, r9
je 0x1400a95eb
nop dword [rax]
mov rax, qword [rdx]
mov qword [r8], rax
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
add r8, 0x10
add rdx, 0x10
cmp rdx, r9
jne 0x1400a95d0
mov qword [rbx + 0x10], r8
mov rcx, rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400b6650
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbx
push rdi
sub rsp, 0x68
xor r9d, r9d
xor r8d, r8d
mov rdi, rcx
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x1400b6725
mov rdx, qword [rsp + 0x98]
mov qword [rsp + 0x60], rbp
mov rbp, qword [rsp + 0x90]
lea r9, [rsp + 0x30]
mov r8d, ebp
mov rcx, rdi
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, 1
sete sil
test sil, sil
jne 0x1400b6710
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [rsp + 0x30]
lea rdx, str.ReadFile_failed_with_error_code:_0x_08x__hVolume:_0x_08x__count:__d__read:__d_
mov ebx, eax
mov dword [rsp + 0x28], ecx
lea rax, [0x14011c418]
lea rcx, [rsp + 0x38]
mov r9, rdi
mov r8d, ebx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 0x4b
mov dword [rsp + 0x44], 1
mov qword [rsp + 0x20], rbp
call fcn.14000b580
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbp, qword [rsp + 0x60]
movzx eax, sil
mov rsi, qword [rsp + 0x58]
add rsp, 0x68
pop rdi
pop rbx
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x88]
lea rdx, str.SetFilePointerEx_failed_with_error_code:_0x_08x__hVolume:_0x_08x__offset:__I64d_
mov ebx, eax
mov qword [rsp + 0x20], rcx
lea rax, str.CNtfs::ReadFileRange
lea rcx, [rsp + 0x38]
mov r9, rdi
mov r8d, ebx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x40], 0x54
mov dword [rsp + 0x44], 1
call fcn.14000b580
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor al, al
add rsp, 0x68
pop rdi
pop rbx
ret
Function at 0x1400baeb0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rbx
mov byte [r11 + 0x18], r8b
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x290
mov rax, qword [0x14016bb40]
xor rax, rsp
mov qword [rsp + 0x280], rax
mov rax, qword [section..data]
mov r12, rcx
lea rcx, section..data
mov rsi, rdx
movzx r13d, r8b
mov dword [rsp + 0x40], 0
call qword [rax + 0x18]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x22c
mov rbx, rax
call fcn.140062cd0
mov qword [rsp + 0x38], 0
mov eax, 2
mov dword [rsp + 0x5c], eax
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov r9d, 0x22c
mov edx, 0x4d02c
mov rcx, r12
mov dword [rsp + 0x28], 0x22c
mov dword [rsp + 0x64], 0x2c
mov dword [rsp + 0x50], 0x20028
mov dword [rsp + 0x58], 0x200
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x7c], 0xcf
mov word [rsp + 0x70], 0
mov byte [rsp + 0x75], r13b
mov byte [rsp + 0x76], 0xec
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebp, eax
cmp eax, 1
jne 0x1400bafb2
mov r9d, 0x200
lea r8, [rsp + 0x7c]
mov rcx, rsi
mov edx, r9d
call fcn.14005e228
jmp 0x1400bb04a
xor ecx, ecx
mov edx, 0x20c
mov r8d, 0x1000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], 0
mov r9d, 0x20c
mov rdi, rax
mov dword [rax], 0
mov byte [rax + 4], 0
mov byte [rax + 5], r13b
mov word [rax + 6], 0xec
mov dword [rax + 8], 0x200
lea rax, [rsp + 0x40]
mov r8, rdi
mov edx, 0x4d028
mov qword [rsp + 0x30], rax
mov rcx, r12
mov dword [rsp + 0x28], 0x20c
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ebp, eax
cmp eax, 1
jne 0x1400bb039
mov edx, 0x200
lea r8, [rdi + 0xc]
mov rcx, rsi
mov r9d, edx
call fcn.14005e228
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp ebp, 1
mov rdx, rbx
sete dil
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400bb06c
mov rcx, qword [rbx]
mov r8, qword [rcx]
call qword [r8 + 8]
movzx eax, dil
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.14005e0b0
mov rbx, qword [rsp + 0x2d8]
add rsp, 0x290
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400bb5e0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
mov byte [rsp + 0x18], r8b
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [0x14016bb40]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rax, qword [section..data]
mov r13, qword [rbp + 0x1d0]
mov rsi, qword [rbp + 0x1d8]
movzx r14d, byte [rbp + 0x1e0]
lea rcx, section..data
mov dword [rsp + 0x40], 0
call qword [rax + 0x18]
lea rcx, [rsp + 0x50]
xor edx, edx
mov r8d, 0x22c
mov rbx, rax
call fcn.140062cd0
mov qword [rsp + 0x38], 0
mov eax, 2
mov dword [rsp + 0x5c], eax
lea rax, [rsp + 0x40]
lea r8, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x50]
mov r9d, 0x22c
mov edx, 0x4d02c
mov rcx, r13
mov dword [rsp + 0x28], 0x22c
mov dword [rsp + 0x64], 0x2c
mov dword [rsp + 0x50], 0x20028
mov dword [rsp + 0x58], 0x200
mov qword [rsp + 0x20], rax
mov byte [rsp + 0x7c], 0xcf
mov byte [rsp + 0x75], r14b
mov byte [rsp + 0x76], 0xb0
mov word [rsp + 0x73], 0xc24f
mov word [rsp + 0x70], 0x1d0
mov byte [rsp + 0x72], 1
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r12d, eax
cmp eax, 1
jne 0x1400bb701
mov r9d, 0x200
lea r8, [rsp + 0x7c]
mov rcx, rsi
mov edx, r9d
call fcn.14005e228
jmp 0x1400bb79a
xor ecx, ecx
mov edx, 0x20c
mov r8d, 0x1000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rsp + 0x38], 0
mov r9d, 0x20c
mov rdi, rax
mov dword [rax], 0xd0
mov byte [rax + 4], 0
mov byte [rax + 5], r14b
mov word [rax + 6], 0xb0
mov dword [rax + 8], 0x200
lea rax, [rsp + 0x40]
mov r8, rdi
mov edx, 0x4d028
mov qword [rsp + 0x30], rax
mov rcx, r13
mov dword [rsp + 0x28], 0x20c
mov qword [rsp + 0x20], rdi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov r12d, eax
cmp eax, 1
jne 0x1400bb789
mov edx, 0x200
lea r8, [rdi + 0xc]
mov rcx, rsi
mov r9d, edx
call fcn.14005e228
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
cmp r12d, 1
mov rdx, rbx
sete dil
or ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
dec ecx
test ecx, ecx
jg 0x1400bb7bd
mov rcx, qword [rbx]
mov r8, qword [rcx]
call qword [r8 + 8]
movzx eax, dil
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.14005e0b0
add rsp, 0x290
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
Function at 0x1400bba70
Capabilities:
Get storage device properties

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rbp
push rsi
push rdi
push r12
sub rsp, 0x80
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov rax, qword [0x14016bb40]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r12, rcx
mov rbp, rdx
mov rsi, r8
mov rdi, r9
mov byte [rdx], 0
mov ecx, 0x1000
call fcn.140057728
mov rbx, rax
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x1400bbae2
mov dword [rdi], 5
xor ecx, ecx
call fcn.14005e57c
xor al, al
jmp 0x1400bbc73
xor edx, edx
mov r8d, 0x1000
mov rcx, rax
call fcn.140062cd0
xor r11d, r11d
mov qword [rsp + 0x68], r11
mov byte [rsp + 0x70], r11b
mov qword [rsp + 0x38], r11
lea rax, [rsp + 0x58]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x1000
mov qword [rsp + 0x20], rbx
lea r9d, [r11 + 0xc]
lea r8, [rsp + 0x68]
mov edx, 0x2d1400
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1400bbb4b
mov dword [rdi], 6
mov rcx, rbx
call fcn.14005e57c
xor al, al
jmp 0x1400bbc73
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x40], rdi
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x48], rsi
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x1400bbb99
lea rdx, [rbx + rax]
lea rcx, [rsp + 0x40]
call fcn.140018c30
mov rdi, qword [rsp + 0x40]
mov eax, dword [rbx + 0x14]
test eax, eax
je 0x1400bbbb3
lea rdx, [rbx + rax]
lea rcx, [rsp + 0x48]
call fcn.140018c30
mov rsi, qword [rsp + 0x48]
cmp dword [rdi - 0x10], 0
jl 0x1400bbc23
lea rdx, str.SAMSUNG_HD155UI
mov rcx, rdi
call fcn.14006096c
test rax, rax
je 0x1400bbbd7
sub rax, rdi
sar rax, 1
test eax, eax
je 0x1400bbbfb
cmp dword [rdi - 0x10], 0
jl 0x1400bbc23
lea rdx, str.SAMSUNG_HD204UI
mov rcx, rdi
call fcn.14006096c
test rax, rax
je 0x1400bbc23
sub rax, rdi
sar rax, 1
test eax, eax
jne 0x1400bbc23
cmp dword [rsi - 0x10], 0
jl 0x1400bbc1f
lea rdx, str.1AQ10003
mov rcx, rsi
call fcn.14006096c
test rax, rax
je 0x1400bbc1f
sub rax, rsi
sar rax, 1
test eax, eax
je 0x1400bbc23
mov byte [rbp], 1
mov eax, dword [rbx + 0x1c]
mov dword [r12 + 0x38], eax
lea rdx, [rsi - 0x18]
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400bbc49
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rax, qword [rsp + 0x40]
lea rdx, [rax - 0x18]
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400bbc67
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rcx, qword [rsp + 0x50]
call fcn.14005e57c
mov al, 1
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005e0b0
add rsp, 0x80
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400bd0b0
Capabilities:
Get storage device properties

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rcx
push rsi
push rdi
push r12
sub rsp, 0x80
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov rax, qword [0x14016bb40]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rbx, rcx
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x48], rdi
xor r12d, r12d
or rbp, 0xffffffffffffffff
test rbx, rbx
je 0x1400bd148
test rbx, 0xffffffffffff0000
jne 0x1400bd135
movzx ebx, bx
mov ecx, ebx
call fcn.14001df50
test rax, rax
je 0x1400bd160
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.14001e130
jmp 0x1400bd15b
xor eax, eax
mov rcx, rbp
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
jmp 0x1400bd14b
mov ecx, r12d
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x48]
call fcn.14001e490
mov rdi, qword [rsp + 0x48]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0xc0000000
lea r8d, [r9 + 3]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov esi, 2
cmp rax, 0xffffffffffffffff
je 0x1400bd20c
mov qword [rsp + 0x68], 8
mov dword [rsp + 0x40], r12d
xor eax, eax
mov qword [rsp + 0x58], r12
mov dword [rsp + 0x60], eax
mov qword [rsp + 0x38], r12
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0xc
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 0xa]
lea r8, [rsp + 0x68]
mov edx, 0x2d1400
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1400bd1ff
cmp dword [rsp + 0x40], 0xc
jne 0x1400bd1ff
mov esi, r12d
cmp byte [rsp + 0x60], sil
setne sil
jmp 0x1400bd20c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 1
cmove esi, r12d
test rbx, rbx
je 0x1400bd21a
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], ebp
dec ebp
test ebp, ebp
jg 0x1400bd232
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov eax, esi
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14005e0b0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rsi
ret
Function at 0x1400c28d0
Capabilities:
Schedule task via itaskscheduler

Disassembly:
mov qword [rsp + 8], rcx
push rbx
sub rsp, 0x50
mov qword [rsp + 0x38], 0xfffffffffffffffe
xor ebx, ebx
mov qword [rsp + 0x30], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9, [0x140112088]
xor edx, edx
lea r8d, [rbx + 1]
lea rcx, [0x140112098]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x1400c291a
mov ecx, eax
call fcn.14001e940
int3
mov qword [rsp + 0x40], rbx
mov rbx, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
mov rdx, qword [rbx]
call qword [rax + 0x38]
test eax, eax
jns 0x1400c2969
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400c2947
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400c2965
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor al, al
jmp 0x1400c299a
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400c297a
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rdx, qword [rbx]
sub rdx, 0x18
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400c2998
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov al, 1
add rsp, 0x50
pop rbx
ret

Function at 0x1400c2a10
Capabilities:
Print debug messages

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x28
mov rcx, qword [rsp + 0x38]
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
Function at 0x1400c8d00
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x150
mov rax, qword [0x14016bb40]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x114
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
xor ebx, ebx
lea rcx, [rsp + 0x20]
test eax, eax
mov edi, ebx
mov dword [rsp + 0x20], 0x114
cmovne edi, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
cmovne ebx, dword [rsp + 0x28]
cmp edi, 6
jbe 0x1400c8d60
mov al, 1
jmp 0x1400c8d69
jne 0x1400c8d67
cmp ebx, 2
jae 0x1400c8d5c
xor al, al
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14005e0b0
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
Function at 0x1400cef10
Capabilities:
Check os version

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rdi
sub rsp, 0x180
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14016bb40]
xor rax, rsp
mov qword [rsp + 0x170], rax
xor eax, eax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x20]
call fcn.140036ef0
mov rbx, qword [rsp + 0x28]
test rbx, rbx
je 0x1400cef8b
mov rcx, qword [rsp + 0x190]
mov rax, qword [rcx]
mov qword [rbx], rax
mov rax, qword [rcx + 8]
mov qword [rbx + 8], rax
test rax, rax
je 0x1400cef8b
lock inc dword [rax + 8]
mov rbx, qword [rsp + 0x28]
add rbx, 0x10
mov dword [rsp + 0x50], 0x114
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
mov rsi, qword [rsp + 0x20]
test eax, eax
je 0x1400cefe7
cmp dword [rsp + 0x54], 6
jb 0x1400cefe7
mov rax, rbx
sub rax, rsi
test rax, 0xfffffffffffffff0
je 0x1400cefe7
mov rax, rsi
cmp rsi, rbx
je 0x1400cefe2
mov rcx, qword [rax]
test rcx, rcx
je 0x1400cefe7
cmp dword [rcx + 0x1a8], 2
jne 0x1400cefe7
add rax, 0x10
cmp rax, rbx
jne 0x1400cefc8
mov dil, 1
jmp 0x1400cefea
xor dil, dil
test rsi, rsi
je 0x1400cf002
mov rdx, rbx
mov rcx, rsi
call fcn.14000cce0
mov rcx, rsi
call fcn.14005e094
movzx eax, dil
mov rcx, qword [rsp + 0x170]
xor rcx, rsp
call fcn.14005e0b0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400cf0c0
Capabilities:
Get disk size

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
sub rsp, 0x60
mov rbp, qword [rax + 0x10]
lea rdx, [rax - 0x40]
mov rcx, qword [rbp]
call fcn.140036ae0
mov rdi, qword [rsp + 0x80]
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
mov rcx, qword [rax]
lea r9, [rsp + 0x34]
lea r8, [rdi + 0x10]
lea rdx, [rdi + 0x14]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
mov rdx, qword [rsp + 0x38]
test eax, eax
sete sil
add rdx, 0xffffffffffffffe8
or ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400cf137
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test sil, sil
je 0x1400cf14e
xor al, al
mov rbx, qword [rsp + 0x90]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rbp]
lea rdx, [rsp + 0x40]
call fcn.1400c3d20
lea rdx, [rsp + 0x48]
mov rcx, rax
call fcn.1400d54c0
test al, al
je 0x1400cf17a
mov rax, qword [rsp + 0x50]
mov qword [rdi + 0x20], rax
mov al, 1
jmp 0x1400cf17c
xor al, al
test al, al
mov rax, qword [rsp + 0x40]
lea rdx, [rax - 0x18]
sete dil
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400cf19f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rbx, qword [rsp + 0x90]
test dil, dil
sete al
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400d0ea0
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x20
mov rcx, qword [rsp + 0x30]
call fcn.1400cee40
mov rsi, qword [rsp + 0x38]
xor edi, edi
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
sub rax, rcx
sar rax, 3
test rax, rax
je 0x1400d0f3e
mov qword [rsp + 0x40], rbx
nop dword [rax]
mov rcx, qword [rcx + rdi*8]
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400d0f23
inc ebx
cmp ebx, 0xa
jge 0x1400d0f23
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_Sleep]
mov r11, qword [rsi]
lea rcx, [r11 + rdi*8]
call fcn.1400c7670
test al, al
je 0x1400d0f23
mov rax, qword [rsi]
mov rcx, qword [rax + rdi*8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x1400d0ef0
mov rcx, qword [rsi]
mov rax, qword [rsi + 8]
inc rdi
sub rax, rcx
sar rax, 3
cmp rdi, rax
jb 0x1400d0ee0
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret