joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000cd70
Capabilities:
Contain obfuscated stackstrings
Write file on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x500
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14017c820]
xor rax, rsp
mov qword [rsp + 0x4f8], rax
mov r13, rdx
mov r12, rcx
cmp dword [rcx + 0x568], 0
jne 0x14000cfc7
call fcn.14002e530
mov rcx, rax
or r8d, 0xffffffff
lea rdx, [rsp + 0x40]
call fcn.14002c200
test eax, eax
je 0x14000cfc7
mov edx, 1
lea rcx, [0x1401890b0]
call fcn.140008170
mov byte [rsp + 0x4d0], 0x31
mov byte [rsp + 0x4d1], 0x62
mov byte [rsp + 0x4d2], 0x33
mov byte [rsp + 0x4d3], 0x30
mov byte [rsp + 0x4d4], 0x34
mov byte [rsp + 0x4d5], 0x63
mov byte [rsp + 0x4d6], 0x37
mov byte [rsp + 0x4d7], 0x61
mov byte [rsp + 0x4d8], 0x32
mov byte [rsp + 0x4d9], 0x64
mov byte [rsp + 0x4da], 0x30
mov byte [rsp + 0x4db], 0x30
mov byte [rsp + 0x4dc], 0x34
mov byte [rsp + 0x4dd], 0x37
mov byte [rsp + 0x4de], 0x31
mov byte [rsp + 0x4df], 0x30
mov byte [rsp + 0x4e0], 0
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, qword [r12 + 0x578]
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx + 0xf]
and edi, 0xfffffff0
lea rax, [0x140141ef8]
mov qword [rsp + 0x50], rax
mov byte [rsp + 0x58], 0
mov dword [rsp + 0x20], SafeArrayGetUBound
mov r9d, SafeArrayGetUBound
lea r8, [0x140141ec8]
lea rdx, [rsp + 0x4d0]
lea rcx, [rsp + 0x50]
call fcn.140021da0
movsxd rbp, edi
mov rdi, qword [r12 + 0x578]
xor r14d, r14d
mov ebx, r14d
mov rsi, rdi
movsxd rcx, dword [rsp + 0x420]
xor edx, edx
mov rax, rbp
div rcx
test eax, eax
jle 0x14000cf1d
nop
nop
mov r8, rsi
mov rdx, rdi
lea rcx, [rsp + 0x50]
call fcn.140022640
movsxd rcx, dword [rsp + 0x420]
add rdi, rcx
add rsi, rcx
add ebx, 1
xor edx, edx
mov rax, rbp
div rcx
cmp ebx, eax
jl 0x14000cef0
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc0000000
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14000cfb9
mov rdi, r14
test rbp, rbp
jle 0x14000cfb0
nop
nop
nop
mov rcx, qword [r12 + 0x578]
movzx r9d, byte [rcx + rdi]
lea r8, str._02x
mov edx, 8
lea rcx, [rsp + 0x4f0]
call fcn.1400f0e70
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x44]
mov r8d, 2
lea rdx, [rsp + 0x4f0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
add rdi, 1
cmp rdi, rbp
jl 0x14000cf60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14002e530
mov rcx, rax
call fcn.14002baf0
nop
mov rcx, qword [rsp + 0x4f8]
xor rcx, rsp
call fcn.1400efff0
lea r11, [rsp + 0x500]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x1400116b0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x20
mov edi, dword [rcx + 0x44]
mov qword [rsp + 0x40], r12
mov rbp, rcx
mov qword [rsp + 0x48], r13
nop
mov edx, dword [rbp + 0x94]
mov ebx, dword [rbp + 0x58]
mov eax, dword [rbp + 0x44]
sub ebx, dword [rbp + 0x9c]
lea ecx, [rdi + rax - 0x106]
sub ebx, edx
cmp edx, ecx
jb 0x14001176c
mov rcx, qword [rbp + 0x50]
mov r8, rdi
lea rdx, [rcx + rdi]
call fcn.1400f24b0
mov r8d, dword [rbp + 0x74]
mov rax, qword [rbp + 0x68]
sub dword [rbp + 0x98], edi
sub dword [rbp + 0x94], edi
sub dword [rbp + 0x84], edi
lea rdx, [rax + r8*2]
nop
movzx eax, word [rdx - 2]
sub rdx, 2
cmp eax, edi
jb 0x140011730
sub eax, edi
jmp 0x140011732
xor eax, eax
add r8d, 0xffffffff
mov word [rdx], ax
jne 0x140011720
mov rax, qword [rbp + 0x60]
mov edx, edi
lea rcx, [rax + rdi*2]
nop
nop
nop
movzx eax, word [rcx - 2]
sub rcx, 2
cmp eax, edi
jb 0x140011760
sub eax, edi
jmp 0x140011762
xor eax, eax
add edx, 0xffffffff
mov word [rcx], ax
jne 0x140011750
add ebx, edi
mov rsi, qword [rbp]
cmp dword [rsi + 8], 0
je 0x140011831
mov eax, dword [rbp + 0x94]
mov r13d, dword [rbp + 0x9c]
add r13, rax
mov eax, dword [rsi + 8]
add r13, qword [rbp + 0x50]
cmp eax, ebx
mov r12d, eax
cmova r12d, ebx
test r12d, r12d
je 0x1400117d8
sub eax, r12d
mov dword [rsi + 8], eax
mov rax, qword [rsi + 0x28]
cmp dword [rax + 0x2c], 1
jne 0x1400117c0
mov rdx, qword [rsi]
mov ecx, dword [rsi + 0x4c]
mov r8d, r12d
call fcn.140012650
mov dword [rsi + 0x4c], eax
mov rdx, qword [rsi]
mov r8d, r12d
mov rcx, r13
mov ebx, r12d
call fcn.1400f24b0
add qword [rsi], rbx
add dword [rsi + 0xc], r12d
add dword [rbp + 0x9c], r12d
mov r9d, dword [rbp + 0x9c]
cmp r9d, 3
jb 0x14001181a
mov eax, dword [rbp + 0x94]
mov rdx, qword [rbp + 0x50]
mov ecx, dword [rbp + 0x80]
movzx r8d, byte [rax + rdx]
add eax, 1
mov dword [rbp + 0x70], r8d
movzx eax, byte [rax + rdx]
shl r8d, cl
xor r8d, eax
and r8d, dword [rbp + 0x7c]
mov dword [rbp + 0x70], r8d
cmp r9d, 0x106
jae 0x140011831
mov rax, qword [rbp]
cmp dword [rax + 8], 0
jne 0x1400116d0
mov r13, qword [rsp + 0x48]
mov r12, qword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop rdi
pop rsi
pop rbp
ret
Function at 0x140014960
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
push rbp
sub rsp, 0x670
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x650], rbx
mov qword [rbp + 0x660], rsi
mov qword [rbp + 0x668], rdi
mov rax, qword [0x14017c820]
xor rax, rbp
mov qword [rbp + 0x630], rax
mov rsi, rdx
mov r8, rdx
lea rdx, str.open
xor edi, edi
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 5
mov qword [rsp + 0x20], rdi
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
mov rbx, rax
ja 0x140014b72
lea rax, [rbp + 8]
lea r9d, [rdi + 1]
lea rdx, str..htm
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140014b6f
mov rcx, qword [rbp + 8]
lea r9, [rbp]
lea r8, [rbp + 0x420]
xor edx, edx
mov dword [rbp], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea rdx, [rbp + 0x420]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str._shellopencommand
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea r11, [rbp + 8]
lea r9d, [rdi + 1]
lea rdx, [rbp + 0x10]
xor r8d, r8d
mov rcx, 0xffffffff80000000
mov qword [rsp + 0x20], r11
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140014b6f
mov rcx, qword [rbp + 8]
lea r9, [rbp]
lea r8, [rbp + 0x420]
xor edx, edx
mov dword [rbp], 0x104
call qword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea rdx, [rbp + 0x420]
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov rcx, qword [rbp + 8]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.__1_
lea rcx, [rbp + 0x10]
call fcn.1400f0a40
test rax, rax
mov rbx, rax
jne 0x140014ae3
lea rdx, [0x14013fc04]
lea rcx, [rbp + 0x10]
call fcn.1400f0a40
test rax, rax
mov rbx, rax
jne 0x140014ae3
lea rcx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
lea rbx, [rbp + rcx*2 + 0xe]
jmp 0x140014ae6
mov word [rax], di
lea rdx, [0x14013fc0c]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatW]
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcatW]
call qword [0x14017e320]
lea rcx, [rbp + 0x10]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 1
cmp eax, 0x3fffffff
jg 0x140014b5d
lea r8d, [rax + rax]
cdqe
add rax, rax
lea rcx, [rax + 0xf]
cmp rcx, rax
ja 0x140014b3a
movabs rcx, 0xffffffffffffff0
and rcx, 0xfffffffffffffff0
mov rax, rcx
call fcn.140110f10
sub rsp, rcx
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x30]
mov r9d, ebx
call fcn.140014d00
mov rdi, rax
mov edx, 5
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WinExec]
mov eax, eax
jmp 0x140014b72
mov rax, rbx
mov rcx, qword [rbp + 0x630]
xor rcx, rbp
call fcn.1400efff0
mov rbx, qword [rbp + 0x650]
mov rsi, qword [rbp + 0x660]
mov rdi, qword [rbp + 0x668]
lea rsp, [rbp + 0x640]
pop rbp
ret
Function at 0x14002d380
Capabilities:
Check os version

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x2d0
mov rax, qword [0x14017c820]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rsi, rcx
mov edi, r8d
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, 0x9c
mov rbx, r9
call fcn.1400f1600
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x14002d3fb
lea rcx, [rsp + 0x20]
xor edx, edx
mov r8d, DllRegisterServer
call fcn.1400f1600
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], DllRegisterServer
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
lea rcx, [rsp + 0xc0]
mov r8, rbx
mov edx, 0x200
call fcn.14002c260
mov r11d, dword [rsp + 0x30]
sub r11d, 1
je 0x14002d493
cmp r11d, 1
jne 0x14002d48f
mov eax, dword [rsp + 0x24]
cmp eax, 4
jbe 0x14002d466
cmp eax, 5
jne 0x14002d436
cmp dword [rsp + 0x28], 0
je 0x14002d466
lea r8, str.Global_s
lea rcx, [rsp + 0xc0]
mov r9, rbx
mov edx, 0x200
call fcn.14002c260
lea r8, [rsp + 0xc0]
mov edx, edi
mov rcx, rsi
call fcn.14002bb00
jmp 0x14002d4a5
lea rcx, [rsp + 0xc0]
mov r8, rbx
mov edx, 0x200
call fcn.14002c260
lea r8, [rsp + 0xc0]
mov edx, edi
mov rcx, rsi
call fcn.14002bb00
jmp 0x14002d4a5
xor eax, eax
jmp 0x14002d4a5
lea r8, [rsp + 0xc0]
mov edx, edi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.1400efff0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14002e120
Capabilities:
Get file version info

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0xa0
mov rax, qword [0x14017c820]
xor rax, rsp
mov qword [rsp + 0x90], rax
mov rbp, rdx
lea rdx, [rsp + 0x40]
mov rdi, r8
mov rcx, rbp
mov qword [rsp + 0x38], 0
call sub.VERSION.dll_GetFileVersionInfoSizeA
test eax, eax
mov esi, eax
je 0x14002e29f
mov rcx, rsi
mov qword [rsp + 0xc0], rbx
call fcn.1400d8d48
mov r8d, esi
xor edx, edx
mov r9, rax
mov rcx, rbp
mov rbx, rax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
je 0x14002e28f
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x38]
lea rdx, [0x140113ae4]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x14002e28f
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x30]
lea rdx, str.VarFileInfoTranslation
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x14002e26f
mov rax, qword [rsp + 0x30]
lea rdx, [0x140113aa0]
lea rcx, [rsp + 0x50]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfA]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x14002e21e
mov r8, qword [rsp + 0x28]
lea rcx, [rdi + 0x10]
mov edx, 0x100
call fcn.14002c260
mov rax, qword [rsp + 0x30]
lea rdx, [0x140113a78]
lea rcx, [rsp + 0x50]
movzx r9d, word [rax + 2]
movzx r8d, word [rax]
call qword [sym.imp.USER32.dll_wsprintfA]
lea r9, [rsp + 0x20]
lea r8, [rsp + 0x28]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x14002e26f
mov r8, qword [rsp + 0x28]
lea rcx, [rdi + 0x110]
mov edx, 0x100
call fcn.14002c260
mov rcx, qword [rsp + 0x38]
movzx eax, word [rcx + 0xa]
mov dword [rdi], eax
movzx eax, word [rcx + 8]
mov dword [rdi + 4], eax
movzx eax, word [rcx + 0xe]
mov dword [rdi + 8], eax
movzx eax, word [rcx + 0xc]
mov dword [rdi + 0xc], eax
mov rcx, rbx
call fcn.1400d8d50
mov rbx, qword [rsp + 0xc0]
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400efff0
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140071970
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push r12
push r13
sub rsp, 0x50
xor r13d, r13d
cmp qword [rcx + 0x20], 0xffffffffffffffff
mov esi, r9d
mov ebp, r8d
mov r12, rdx
mov rbx, rcx
mov dword [rsp + 0x70], r13d
jne 0x1400719a6
or eax, 0xffffffff
jmp 0x140071a6a
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x78], rdi
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, qword [rbx + 0x20]
lea r9, [rsp + 0x70]
mov rdi, rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
mov r8d, ebp
mov rdx, r12
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x44], r13d
call qword [sym.imp.KERNEL32.dll_WriteFile]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140071a0b
mov dword [rsp + 0x70], r13d
jmp 0x140071a34
mov rcx, qword [rbx + 0x20]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x140071a34
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], 0xffffffff
test rdi, rdi
je 0x140071a42
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x70], r13d
mov rdi, qword [rsp + 0x78]
ja 0x140071a66
mov rcx, qword [rbx + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140071a66
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x20], 0xffffffffffffffff
mov eax, dword [rsp + 0x70]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rsi
ret
Function at 0x140071a80
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rdi
push r12
push r13
sub rsp, 0x50
xor r13d, r13d
cmp qword [rcx + 0x20], 0xffffffffffffffff
mov ebp, r9d
mov ebx, r8d
mov r12, rdx
mov rdi, rcx
mov dword [rsp + 0x70], r13d
jne 0x140071ab6
or eax, 0xffffffff
jmp 0x140071b94
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x78], rsi
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov rcx, qword [rdi + 0x20]
lea r9, [rsp + 0x70]
mov rsi, rax
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x30]
mov r8d, ebx
mov rdx, r12
mov dword [rsp + 0x40], r13d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x44], r13d
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
test ebx, ebx
jne 0x140071b19
cmp eax, 0x3e5
je 0x140071b19
mov dword [rsp + 0x70], 0xffffffff
jmp 0x140071b5e
mov edx, ebp
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140071b32
mov dword [rsp + 0x70], r13d
jmp 0x140071b5e
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x30]
mov r9d, 1
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
jne 0x140071b5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x70], 0xffffffff
test rsi, rsi
je 0x140071b6c
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x70], r13d
mov rsi, qword [rsp + 0x78]
ja 0x140071b90
mov rcx, qword [rdi + 0x20]
cmp rcx, 0xffffffffffffffff
je 0x140071b90
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 0x20], 0xffffffffffffffff
mov eax, dword [rsp + 0x70]
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret
Function at 0x1400c3e00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14017c820]
xor rax, rsp
mov qword [rsp + 0x230], rax
lea rax, str._I_f_
mov rbx, rcx
mov byte [rcx + 0x41c], 0
mov qword [rcx], rax
xor eax, eax
mov byte [rcx + 0x61c], 0
mov byte [rcx + 0x21c], 0
mov byte [rcx + 0xa1c], 0
mov byte [rcx + 0xb1c], 0
mov qword [rcx + 0xb78], rax
mov qword [rcx + 0x210], rax
mov dword [rcx + 0x218], eax
mov dword [rcx + 0xb68], eax
mov dword [rcx + 0xb6c], eax
mov dword [rcx + 0xd94], eax
mov qword [rcx + 0xb80], rax
mov qword [rcx + 0xb88], rax
mov byte [rcx + 0x81c], 0
mov byte [rcx + 8], 0
mov byte [rcx + 0xb90], 0
mov qword [rcx + 0x208], 0xffffffffffffffff
mov dword [rcx + 0xb5c], 0xffffffff
mov dword [rcx + 0xb60], 0xffffffff
mov dword [rcx + 0xb64], 0xffffffff
mov dword [rcx + 0xb70], 0xffffffff
mov dword [rcx + 0xd90], 0xffffffff
mov dword [rcx + 0xd98], 0xffffffff
mov dword [rcx + 0xd9c], 0xffffffff
mov dword [rcx + 0xda0], 0xffffffff
mov dword [rcx + 0xda4], 0xffffffff
lea rdx, [rsp + 0x30]
mov ecx, 0x200
mov byte [rsp + 0x30], al
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x1400c3f6b
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea r9, [rsp + 0x30]
lea r8, str._scpuz_driver__d.log
lea rcx, [rbx + 0xb90]
mov edx, 0x200
mov dword [rsp + 0x20], eax
call fcn.14002c260
lea r8, [0x140126bb8]
lea rdx, [rbx + 0xb90]
lea rcx, [rbx + 0xb80]
call fcn.1400f04c0
mov rcx, qword [rbx + 0xb80]
test rcx, rcx
je 0x1400c3f6b
call fcn.1400efa00
mov rax, rbx
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400efff0
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400c3fb0
Capabilities:
Set current directory

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
push rbx
push rdi
sub rsp, 0x138
mov rax, qword [0x14017c820]
xor rax, rsp
mov qword [rsp + 0x120], rax
mov rbx, rcx
add rcx, 8
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
lea rdx, [rbx + 0xb90]
lea r8, [0x140126be8]
lea rcx, [rbx + 0xb80]
call fcn.1400f04c0
cmp qword [rbx + 0xb80], 0
je 0x1400c4047
mov r8, qword [rsp + 0x158]
lea r9, [rsp + 0x160]
lea rcx, [rsp + 0x20]
mov edx, 0x100
call fcn.1400f0c50
mov rcx, qword [rbx + 0xb80]
lea rdx, [rsp + 0x20]
call fcn.1400f1880
mov rcx, qword [rbx + 0xb80]
call fcn.1400efa00
mov rcx, qword [rsp + 0x120]
xor rcx, rsp
call fcn.1400efff0
add rsp, 0x138
pop rdi
pop rbx
ret
Function at 0x1400c4070
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x120
mov rax, qword [0x14017c820]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov rbx, rcx
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, 0x9c
call fcn.1400f1600
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], 0x9c
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1400c40f4
lea rcx, [rsp + 0x70]
xor edx, edx
mov r8d, DllRegisterServer
call fcn.1400f1600
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x70], DllRegisterServer
call qword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x1400c40f4
lea rdx, str._vGetOSVersion__GetVersionEx_returned_NULL_n
mov rcx, rbx
call fcn.1400c3fb0
jmp 0x1400c41f7
mov eax, dword [rsp + 0x78]
mov r8d, dword [rsp + 0x80]
mov r9d, dword [rsp + 0x74]
lea rdx, str._vGetOSVersion__m_iOSVersion___d___d._d__n
mov rcx, rbx
mov qword [rsp + 0x138], rsi
mov dword [rbx + 0xb5c], r8d
mov dword [rbx + 0xb60], r9d
mov dword [rbx + 0xb64], eax
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x140], rdi
call fcn.1400c3fb0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea rcx, [0x140113d38]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
mov rdi, rax
je 0x1400c41d1
lea rdx, str.GetNativeSystemInfo
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400c41c8
lea rcx, [rsp + 0x38]
call rax
movzx r11d, word [rsp + 0x38]
cmp r11d, 9
mov dword [rbx + 0xb70], r11d
jne 0x1400c41b8
lea rdx, str.IsWow64Process
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400c41c8
lea rdx, [rsp + 0x30]
mov rcx, rsi
call rax
test eax, eax
je 0x1400c41c8
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0xb68], eax
jmp 0x1400c41c8
cmp r11d, 6
jne 0x1400c41c8
mov dword [rbx + 0xb6c], 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov r8d, dword [rbx + 0xb68]
lea rdx, str._vGetOSVersion__m_bIsAMD64___d_n
mov rcx, rbx
call fcn.1400c3fb0
mov rdi, qword [rsp + 0x140]
mov rsi, qword [rsp + 0x138]
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.1400efff0
add rsp, 0x120
pop rbx
ret
Function at 0x1400c4210
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x40
mov rdi, rcx
lea rcx, [rsp + 0x30]
mov esi, r9d
mov ebp, r8d
mov r12d, edx
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov rcx, qword [rdi + 0xb78]
mov edx, 0x2710
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
movzx r10d, word [rsp + 0x3c]
movzx r9d, word [rsp + 0x3a]
movzx r8d, word [rsp + 0x38]
mov dword [rsp + 0x28], eax
lea rdx, str._vCloseDriver__02d:_02d:_02d__WaitForSingleObject_error___d_n
mov rcx, rdi
mov dword [rsp + 0x20], r10d
mov ebx, eax
call fcn.1400c3fb0
test ebx, ebx
jne 0x1400c42b8
mov ecx, dword [rdi + 0xb5c]
sub ecx, 1
je 0x1400c42a3
cmp ecx, 1
jne 0x1400c42ab
mov r8d, ebp
mov edx, r12d
mov rcx, rdi
call fcn.1400c7530
jmp 0x1400c42ab
mov rcx, rdi
call fcn.1400c6da0
mov rcx, qword [rdi + 0xb78]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [rdi + 0xb78]
test rcx, rcx
je 0x1400c42e7
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, str._vCloseDriver__CloseHandle_mutex____d_n
mov rcx, rdi
mov r8d, eax
call fcn.1400c3fb0
mov qword [rdi + 0xb78], 0
test esi, esi
je 0x1400c42fd
lea rcx, [rdi + 0xb90]
cmp byte [rcx], 0
je 0x1400c42fd
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r12
ret

Function at 0x1400c4440
Capabilities:
Set current directory

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0xb5c]
mov rbx, rcx
sub edx, 1
je 0x1400c4460
cmp edx, 1
jne 0x1400c4465
call fcn.1400c7370
jmp 0x1400c4465
call fcn.1400c6e40
mov rcx, qword [rbx + 0xb78]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
lea rdx, str._vReleaseDriverHandle__release_mutex___d_n
mov rcx, rbx
mov r8d, eax
add rsp, 0x20
pop rbx
jmp fcn.1400c3fb0