joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000d3e0
Capabilities:
Read file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov ebp, dword [rdx + 0xc]
xor ebx, ebx
sub ebp, r8d
je 0x14000d434
mov ebx, 0xffffffff
jl 0x14000d434
mov rsi, r9
mov rdi, rcx
add r8d, dword [rdx + 8]
mov rcx, qword [rcx]
mov edx, r8d
xor r8d, r8d
call fcn.14001b7d8
test eax, eax
jne 0x14000d434
mov eax, dword [rsp + 0x70]
cmp ebp, eax
cmovg ebp, eax
mov r9, qword [rdi]
movsxd r8, ebp
mov edx, 1
mov rcx, rsi
call fcn.140020b08
mov rbx, rax
mov eax, ebx
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
ret

Function at 0x14000d440
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
movdqa xmmword [rsp], xmm6
movdqa xmm0, xmmword [0x14003a800]
xor eax, eax
movdqa xmm1, xmmword [0x14003a810]
movdqa xmm2, xmmword [0x14003a820]
lea rcx, [0x1400480d0]
movdqa xmm3, xmmword [0x14003a830]
movdqa xmm4, xmm0
psrld xmm4, 1
movdqa xmm5, xmm0
pand xmm5, xmm1
pxor xmm6, xmm6
psubd xmm6, xmm5
pand xmm6, xmm2
pxor xmm6, xmm4
psrld xmm6, 1
pand xmm4, xmm1
pxor xmm5, xmm5
psubd xmm5, xmm4
pand xmm5, xmm2
pxor xmm5, xmm6
psrld xmm5, 1
pand xmm6, xmm1
pxor xmm4, xmm4
psubd xmm4, xmm6
pand xmm4, xmm2
pxor xmm4, xmm5
psrld xmm4, 1
pand xmm5, xmm1
pxor xmm6, xmm6
psubd xmm6, xmm5
pand xmm6, xmm2
pxor xmm6, xmm4
psrld xmm6, 1
pand xmm4, xmm1
pxor xmm5, xmm5
psubd xmm5, xmm4
pand xmm5, xmm2
pxor xmm5, xmm6
psrld xmm5, 1
pand xmm6, xmm1
pxor xmm4, xmm4
psubd xmm4, xmm6
pand xmm4, xmm2
pxor xmm4, xmm5
psrld xmm4, 1
pand xmm5, xmm1
pxor xmm6, xmm6
psubd xmm6, xmm5
pand xmm6, xmm2
pxor xmm6, xmm4
psrld xmm6, 1
pand xmm4, xmm1
pxor xmm5, xmm5
psubd xmm5, xmm4
pand xmm5, xmm2
pxor xmm5, xmm6
movdqa xmmword [rax + rcx], xmm5
paddd xmm0, xmm3
add rax, 0x10
cmp rax, 0x400
jne 0x14000d472
movaps xmm6, xmmword [rsp]
add rsp, 0x18
ret

Function at 0x14000d570
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x18
movdqa xmmword [rsp], xmm6
movdqa xmm0, xmmword [0x14003a840]
xor eax, eax
movdqa xmm1, xmmword [0x14003a850]
movdqa xmm2, xmmword [0x14003a860]
lea rcx, [0x1400484d0]
movdqa xmm3, xmmword [0x14003a870]
movdqa xmm4, xmm0
psrlq xmm4, 1
movdqa xmm5, xmm0
pand xmm5, xmm1
pxor xmm6, xmm6
psubq xmm6, xmm5
pand xmm6, xmm2
pxor xmm6, xmm4
psrlq xmm6, 1
pand xmm4, xmm1
pxor xmm5, xmm5
psubq xmm5, xmm4
pand xmm5, xmm2
pxor xmm5, xmm6
psrlq xmm5, 1
pand xmm6, xmm1
pxor xmm4, xmm4
psubq xmm4, xmm6
pand xmm4, xmm2
pxor xmm4, xmm5
psrlq xmm4, 1
pand xmm5, xmm1
pxor xmm6, xmm6
psubq xmm6, xmm5
pand xmm6, xmm2
pxor xmm6, xmm4
psrlq xmm6, 1
pand xmm4, xmm1
pxor xmm5, xmm5
psubq xmm5, xmm4
pand xmm5, xmm2
pxor xmm5, xmm6
psrlq xmm5, 1
pand xmm6, xmm1
pxor xmm4, xmm4
psubq xmm4, xmm6
pand xmm4, xmm2
pxor xmm4, xmm5
psrlq xmm4, 1
pand xmm5, xmm1
pxor xmm6, xmm6
psubq xmm6, xmm5
pand xmm6, xmm2
pxor xmm6, xmm4
psrlq xmm6, 1
pand xmm4, xmm1
pxor xmm5, xmm5
psubq xmm5, xmm4
pand xmm5, xmm2
pxor xmm5, xmm6
movdqa xmmword [rax + rcx], xmm5
paddq xmm0, xmm3
add rax, 0x10
cmp rax, 0x800
jne 0x14000d5a2
movaps xmm6, xmmword [rsp]
add rsp, 0x18
ret
Function at 0x14000e150
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov r10, rcx
mov rax, qword [r8]
cmp dword [rcx], 4
jne 0x14000e170
sub r9, rax
cmp r9, 5
jae 0x14000e177
xor esi, esi
jmp 0x14000e2ee
add rdx, rax
mov r12d, dword [r10 + 0x10]
add r9, 0xfffffffffffffffc
mov rax, 0xffffffffffffffff
xor esi, esi
lea r15, [0x14003a8e0]
mov r14d, 0xe8
mov cl, byte [rdx + rsi]
and cl, 0xfe
cmp cl, 0xe8
jne 0x14000e1b4
mov rcx, rsi
sub rcx, rax
cmp rcx, 3
jbe 0x14000e1bc
xor r12d, r12d
jmp 0x14000e1f9
mov rcx, rsi
jmp 0x14000e2c2
dec cl
shl r12d, cl
mov eax, r12d
and eax, 7
mov r12d, 0
test rax, rax
je 0x14000e1f9
bt r14d, eax
jb 0x14000e2b5
movzx ecx, byte [rax + r15]
mov rdi, rsi
sub rdi, rcx
mov cl, byte [rdi + rdx + 4]
dec cl
cmp cl, 0xfe
jae 0x14000e2b5
mov r12d, eax
movzx ebx, byte [rdx + rsi + 4]
lea eax, [rbx - 1]
cmp al, 0xfe
jae 0x14000e210
add r12d, r12d
inc r12d
jmp 0x14000e2bc
movzx eax, byte [rdx + rsi + 1]
movzx ecx, byte [rdx + rsi + 2]
shl ecx, 8
movzx ebp, byte [rdx + rsi + 3]
shl ebp, 0x10
shl ebx, 0x18
or ebx, eax
or ebx, ecx
or ebx, ebp
mov eax, dword [r10 + 0xc]
add eax, esi
mov r13d, 0xfffffffb
sub r13d, eax
add ebx, r13d
test r12d, r12d
je 0x14000e28b
mov eax, r12d
movzx r11d, byte [rax + r15]
shl r11d, 3
mov eax, 0x18
sub eax, r11d
mov ebp, ebx
mov ecx, eax
shr ebp, cl
dec bpl
cmp bpl, 0xfe
jb 0x14000e28b
neg r11b
mov ebp, 0xffffffff
mov ecx, r11d
shl ebp, cl
xor ebx, ebp
not ebx
add ebx, r13d
mov edi, ebx
mov ecx, eax
shr edi, cl
dec dil
cmp dil, 0xfd
ja 0x14000e275
lea rcx, [rsi + 4]
mov eax, ebx
and eax, 0x1000000
mov ebp, eax
neg ebp
or ebp, eax
mov byte [rdx + rsi + 1], bl
mov byte [rdx + rsi + 2], bh
shr ebx, 0x10
mov byte [rdx + rsi + 3], bl
shr ebp, 0x18
mov byte [rdx + rsi + 4], bpl
jmp 0x14000e2bf
lea r12d, [rax + rax]
inc r12d
mov rcx, rsi
mov rax, rsi
mov rsi, rcx
inc rsi
cmp rsi, r9
jb 0x14000e198
mov rdx, rsi
sub rdx, rax
lea ecx, [rdx - 1]
shl r12d, cl
xor eax, eax
cmp rdx, 4
cmovb eax, r12d
mov dword [r10 + 0x10], eax
mov rax, qword [r8]
add rax, rsi
mov qword [r8], rax
add dword [r10 + 0xc], esi
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400115e0
Capabilities:
Get token privileges

Disassembly:
push rsi
sub rsp, 0x40
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x38], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov rcx, rax
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140011655
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x28]
mov qword [rsp + 0x20], rax
lea rsi, [rsp + 0x2c]
mov edx, 0x12
mov r8, rsi
mov r9d, 4
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
setne al
cmp dword [rsi], 3
sete sil
and sil, al
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140011657
xor esi, esi
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140023af0
mov eax, esi
add rsp, 0x40
pop rsi
ret

Function at 0x140011750
Capabilities:
Write file on windows

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x38
mov qword [rsp + 0x78], r9
mov qword [rsp + 0x70], r8
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp qword [rcx], 0
je 0x1400117df
mov r14, rdx
mov rsi, rcx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov r9, qword [rcx]
lea rcx, str._Warning:
mov edx, ntohl
mov r8d, 1
call fcn.140020dcc
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rsi]
call fcn.140001070
mov rcx, qword [rax]
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov r8, r14
xor r9d, r9d
call fcn.1400137dc
mov r9, qword [rsi]
lea rcx, str._n
mov edx, 4
mov r8d, 1
call fcn.140020dcc
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140023af0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x140011ed0
Capabilities:
Create directory
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x140034028]
xor esi, esi
lea r9, [rsp + 0x20]
mov edx, 0x8000
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x140011f26
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.1400136b0
cmp rax, 0x105
jb 0x140011f3d
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140023af0
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov r8d, 0x105
mov rcx, rdi
mov rdx, rbx
call fcn.140013870
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.Mozilla_Maintenance_Service
mov rcx, rdi
call fcn.140032d30
test eax, eax
je 0x140011f26
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140011f8a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140011f26
lea rdx, str.UpdateLogs
mov rcx, rdi
call fcn.140032d30
test eax, eax
je 0x140011f26
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140011fbf
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140011f26
mov esi, 1
jmp 0x140011f26
Function at 0x1400126c0
Capabilities:
Query service status

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x68
mov ebx, edx
mov rdi, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x60], rax
xor ecx, ecx
xor edx, edx
mov r8d, 5
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
je 0x1400127bc
mov r14, rax
mov rcx, rax
mov rdx, rdi
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x1400127e2
mov rdi, rax
mov dword [rsp + 0x3c], 0xcf
imul ebp, ebx, 0x3e8
test ebp, ebp
je 0x14001280c
xor esi, esi
lea r15, [rsp + 0x34]
lea r12, [rsp + 0x38]
mov rbx, qword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
mov r13, qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rsp + 0x20], r15
mov rcx, rdi
xor edx, edx
mov r8, r12
mov r9d, 0x24
call rbx
test eax, eax
je 0x140012773
cmp dword [rsp + 0x3c], 1
jne 0x1400127a4
jmp 0x14001282d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jle 0x140012790
lea ecx, [rax - 0x425]
cmp ecx, 2
jb 0x1400127a4
jmp 0x14001287e
cmp eax, 0x79
jle 0x140012834
cmp eax, 0x41c
jne 0x14001285f
mov ecx, 0x32
call r13
add esi, 0x32
cmp esi, ebp
jb 0x14001274e
mov ebx, dword [rsp + 0x3c]
jmp 0x14001289c
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ecx, ecx
cmp eax, 0x429
sete cl
xor ecx, 0xff
cmp eax, 5
mov ebx, 0xfd
cmovne ebx, ecx
jmp 0x1400128ad
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, 0x7a
jg 0x140012816
cmp edi, 5
je 0x14001284a
cmp edi, 6
jne 0x140012858
mov ebx, 0xec
jmp 0x1400128ad
mov ebx, 0xcf
jmp 0x14001289c
cmp edi, 0x7b
je 0x140012851
cmp edi, 0x424
jne 0x140012858
mov ebx, 0xee
jmp 0x1400128ad
mov ebx, 1
jmp 0x14001289c
cmp eax, 5
je 0x140012870
cmp eax, 6
je 0x140012877
cmp eax, 0x57
jne 0x14001288c
mov ebx, 0xdc
jmp 0x140012898
mov ebx, 0xeb
jmp 0x1400128ad
mov ebx, 0xed
jmp 0x1400128ad
mov ebx, 0xef
jmp 0x1400128ad
cmp eax, 0x7a
je 0x140012893
cmp eax, 0x7c
jne 0x14001288c
mov ebx, 0xdd
jmp 0x140012898
mov ebx, 0xda
jmp 0x140012898
mov ebx, 0xd9
jmp 0x140012898
cmp eax, 0x45b
jne 0x14001288c
mov ebx, 0xde
jmp 0x140012898
mov ebx, 0xdf
jmp 0x140012898
mov ebx, 0xdb
mov dword [rsp + 0x3c], ebx
mov rsi, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call rsi
mov rcx, r14
call rsi
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140023af0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x1400128d0
Capabilities:
Start service

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov rbx, rdx
mov ebp, ecx
lea r15d, [rbp + 2]
movsxd rax, r15d
mov ecx, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovno rcx, rax
call fcn.1400135c4
mov rsi, rax
lea rax, str.MozillaMaintenance
mov qword [rsi], rax
lea rax, str.software_update
mov qword [rsi + 8], rax
test ebp, ebp
jle 0x140012933
lea rcx, [rsi + 0x10]
mov r8d, ebp
shl r8, 3
mov rdx, rbx
call fcn.1400277a0
lea rcx, str.MozillaMaintenance
mov edx, 5
call fcn.1400126c0
cmp eax, 1
jne 0x1400129c8
xor ecx, ecx
xor edx, edx
mov r8d, 5
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
test rax, rax
je 0x1400129d2
mov rdi, rax
lea rdx, str.MozillaMaintenance
mov rcx, rax
mov r8d, 0x10
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x1400129d9
mov rbx, rax
mov qword [rsp + 0x20], rdi
mov edi, 0xffffff9c
mov r12, qword [sym.imp.ADVAPI32.dll_StartServiceW]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, rbx
mov edx, r15d
mov r8, rsi
call r12
test eax, eax
jne 0x1400129e9
call r13
mov ebp, eax
mov ecx, 0x64
call r14
add edi, 0x64
cmp edi, 0x1324
jb 0x14001299e
jmp 0x1400129eb
mov ebp, eax
add ebp, 0x4e20
jmp 0x140012a03
mov ebp, 0x4269
jmp 0x140012a03
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov ebp, 0x426a
jmp 0x140012a03
xor ebp, ebp
mov rdi, qword [rsp + 0x20]
mov r14, qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call r14
mov rcx, rdi
call r14
mov rcx, rsi
call fcn.140013868
mov eax, ebp
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret

Function at 0x140012a20
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x238], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
xor edx, edx
call fcn.140015b80
mov rcx, rdi
call fcn.1400136b0
cmp rax, 0x104
ja 0x140012a9d
lea rbx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
mov rdx, rdi
call fcn.140013870
mov rcx, rbx
call qword [sym.imp.SHLWAPI.dll_PathStripToRootW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
xor ecx, ecx
cmp eax, 3
sete cl
mov dword [rsi], ecx
mov ebx, 1
mov rcx, qword [rsp + 0x238]
xor rcx, rsp
call fcn.140023af0
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret
Function at 0x140012ac0
Capabilities:
Query or enumerate registry value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
mov rsi, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor edi, edi
call fcn.1400115e0
test al, al
je 0x140012baf
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionPoliciesSystem
xor edi, edi
mov rcx, 0xffffffff80000002
xor r8d, r8d
mov r9d, 0x20019
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140012baf
mov rcx, qword [rsp + 0x38]
lea rbx, [rsp + 0x44]
mov dword [rbx], 4
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x34]
mov qword [rsp + 0x20], rax
lea rdx, str.ConsentPromptBehaviorAdmin
xor edi, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
test eax, eax
je 0x140012b5e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x140012baf
mov dword [rsp + 0x44], 4
mov qword [rsp + 0x28], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, str.PromptOnSecureDesktop
xor edi, edi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x140012baf
mov eax, dword [rsp + 0x34]
xor ecx, ecx
or eax, dword [rsp + 0x30]
sete cl
mov dword [rsi], ecx
mov edi, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.140023af0
mov eax, edi
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret

Function at 0x14001f2e8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14001f308
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001b414
or eax, 0xffffffff
jmp 0x14001f30a
xor eax, eax
add rsp, 0x28
ret

Function at 0x14001f340
Capabilities:
Delete directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x14001f360
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14001b414
or eax, 0xffffffff
jmp 0x14001f362
xor eax, eax
add rsp, 0x28
ret
Function at 0x140032860
Capabilities:
Create process on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x118
mov rdi, r9
mov r12, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x110], rax
lea rsi, [rsp + 0x78]
mov rcx, rsi
call fcn.140001080
mov rsi, qword [rsi]
test rsi, rsi
je 0x1400329db
lea r14, [rsp + 0x60]
mov dword [r14], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
xor ebx, ebx
mov rcx, rax
xor edx, edx
mov r8, r14
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
je 0x140032922
cmp dword [rsp + 0x60], 0
je 0x140032922
xor ebx, ebx
lea r15, [rsp + 0x80]
mov r8d, 0x90
mov rcx, r15
xor edx, edx
call fcn.140015b80
mov qword [rsp + 0x20], 0
xor ecx, ecx
mov edx, 9
mov r8, r15
mov r9d, 0x90
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x140032922
mov eax, dword [rsp + 0x90]
bt eax, 0xd
jae 0x140032922
shl eax, 0xd
and eax, 0x1000000
mov ebx, eax
xorps xmm0, xmm0
lea rax, [rsp + 0x80]
movaps xmmword [rax], xmm0
movaps xmmword [rax + 0x10], xmm0
movaps xmmword [rax + 0x50], xmm0
movaps xmmword [rax + 0x40], xmm0
movaps xmmword [rax + 0x30], xmm0
movaps xmmword [rax + 0x20], xmm0
xor ecx, ecx
mov qword [rax + 0x60], rcx
mov dword [rax], 0x68
lea rdx, str.winsta0Default
mov qword [rax + 0x10], rdx
mov qword [rsp + 0x70], rcx
movaps xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0
mov rcx, r12
mov rdx, rsi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ebx, eax
test eax, eax
je 0x1400329e7
mov rcx, qword [rsp + 0x60]
test rdi, rdi
je 0x1400329df
mov qword [rdi], rcx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rsi
call fcn.140013868
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.140023af0
mov eax, ebx
add rsp, 0x118
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
xor ebx, ebx
jmp 0x1400329b8
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400329a5
xor r14d, r14d
lea rdi, [rsp + 0x58]
mov qword [rdi], r14
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 0
mov ecx, 0x1300
xor edx, edx
mov r8d, eax
mov r9d, 0x400
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rax, qword [rdi]
test rax, rax
lea rdx, [0x14003db96]
cmovne rdx, rax
call fcn.140032a50
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400329b0
call qword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1400329b0
Function at 0x140032c70
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push rsi
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
je 0x140032ce4
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140032d16
lea rdx, [rsp + 0x54]
lea rsi, [0x140048cd0]
mov r8d, 0x105
mov rcx, rsi
call fcn.140013870
mov word [0x140048ed8], 0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.140023af0
mov rax, rsi
add rsp, 0x280
pop rsi
ret
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsi], rax
cmp rax, 0xffffffffffffffff
jne 0x140032ca5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.14001b3d4
cmp esi, 2
je 0x140032d26
mov dword [rax], 9
jmp 0x140032d2c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x140032d2c
call fcn.14001b3d4
mov dword [rax], 2
xor esi, esi
jmp 0x140032cc8
Function at 0x140002f10
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x4b8
mov rax, qword [0x14004a040]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rcx, [rsp + 0x90]
call fcn.14000ceb0
nop
lea rcx, [rsp + 0x70]
call fcn.14000ceb0
nop
mov dword [rsp + 0x68], 0x3e8
mov eax, 1
imul rax, rax, 0
lea rax, [rsp + rax + 0xb0]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0xffff
lea r8, str.SystemManufacturer
lea rdx, [0x140043160]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x48], 0xffffffffffffffff
inc qword [rsp + 0x48]
mov rax, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x48]
cmp byte [rax + rcx], 0
jne 0x140002fae
mov rax, qword [rsp + 0x48]
mov edx, eax
lea rcx, [rsp + 0xb0]
call fcn.140002ea0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x90]
call fcn.14000cce0
cmp dword [rsp + 0x44], 0
jne 0x140003054
xor r8d, r8d
lea rdx, [0x140043194]
lea rcx, [rsp + 0x90]
call fcn.14000ca30
cmp rax, 0xffffffffffffffff
jne 0x14000302d
xor r8d, r8d
lea rdx, str.innotek_gmbh
lea rcx, [rsp + 0x90]
call fcn.14000ca30
cmp rax, 0xffffffffffffffff
je 0x140003054
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0x70]
call fcn.14000cd10
nop
lea rcx, [rsp + 0x90]
call fcn.14000cd10
movzx eax, byte [rsp + 0x40]
jmp 0x140003174
mov eax, 1
imul rax, rax, 0
lea rax, [rsp + rax + 0xb0]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0
mov r9d, 0xffff
lea r8, str.SystemProductName
lea rdx, str.SYSTEMCurrentControlSetControlSystemInformation
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegGetValueA]
mov dword [rsp + 0x44], eax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x50], 0xffffffffffffffff
inc qword [rsp + 0x50]
mov rax, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
cmp byte [rax + rcx], 0
jne 0x1400030b8
mov rax, qword [rsp + 0x50]
mov edx, eax
lea rcx, [rsp + 0xb0]
call fcn.140002ea0
lea rdx, [rsp + 0xb0]
lea rcx, [rsp + 0x70]
call fcn.14000cce0
cmp dword [rsp + 0x44], 0
jne 0x140003152
xor r8d, r8d
lea rdx, str.vmware
lea rcx, [rsp + 0x70]
call fcn.14000ca30
cmp rax, 0xffffffffffffffff
jne 0x14000312e
xor r8d, r8d
lea rdx, str.virtualbox
lea rcx, [rsp + 0x70]
call fcn.14000ca30
cmp rax, 0xffffffffffffffff
je 0x140003152
mov byte [rsp + 0x41], 1
lea rcx, [rsp + 0x70]
call fcn.14000cd10
nop
lea rcx, [rsp + 0x90]
call fcn.14000cd10
movzx eax, byte [rsp + 0x41]
jmp 0x140003174
mov byte [rsp + 0x42], 0
lea rcx, [rsp + 0x70]
call fcn.14000cd10
nop
lea rcx, [rsp + 0x90]
call fcn.14000cd10
movzx eax, byte [rsp + 0x42]
mov rcx, qword [rsp + 0x4a0]
xor rcx, rsp
call fcn.1400133a0
add rsp, 0x4b8
ret
Function at 0x140003190
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0xffffffffffffffff
jne 0x1400031f3
lea rdx, str.Tool_helper_cannot_be_created
lea rcx, [0x14004b490]
call fcn.14000f300
lea rdx, [0x14000f690]
mov rcx, rax
call fcn.14000c960
mov byte [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
call fcn.14000cd10
movzx eax, byte [rsp + 0x20]
jmp 0x1400032df
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
jne 0x140003242
lea rdx, str.Tool_helper_cannot_retrieve_the_first_entry_of_process_list
lea rcx, [0x14004b490]
call fcn.14000f300
lea rdx, [0x14000f690]
mov rcx, rax
call fcn.14000c960
mov byte [rsp + 0x21], 0
mov rcx, qword [rsp + 0x50]
call fcn.14000cd10
movzx eax, byte [rsp + 0x21]
jmp 0x1400032df
mov rax, qword [rsp + 0x58]
add rax, 0x2c
mov rdx, qword [rsp + 0x50]
mov rcx, rax
call fcn.14000f6e0
movzx eax, al
test eax, eax
je 0x140003296
cmp qword [rsp + 0x30], 0
je 0x140003278
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x24], eax
jmp 0x140003280
mov dword [rsp + 0x24], 0
mov byte [rsp + 0x22], 1
mov rcx, qword [rsp + 0x50]
call fcn.14000cd10
movzx eax, byte [rsp + 0x22]
jmp 0x1400032df
mov rdx, qword [rsp + 0x58]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140003242
cmp qword [rsp + 0x30], 0
je 0x1400032c3
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x28], eax
jmp 0x1400032cb
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x23], 0
mov rcx, qword [rsp + 0x50]
call fcn.14000cd10
movzx eax, byte [rsp + 0x23]
add rsp, 0x48
ret