joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400635a0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
mov edx, dword [rcx + 0x14]
nop
shr edx, 3
test dl, 1
je 0x1400635b6
mov al, 1
jmp 0x140063616
mov eax, dword [rcx + 0x14]
nop
test al, 0xc0
je 0x1400635c7
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
je 0x140063614
mov ecx, dword [rcx + 0x18]
nop
call fcn.14006d740
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140063614
mov r9d, 1
lea r8, [rsp + 0x38]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointerEx]
test eax, eax
je 0x140063614
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140063614
mov rax, qword [rsp + 0x30]
cmp qword [rsp + 0x38], rax
sete al
jmp 0x140063616
xor al, al
add rsp, 0x20
pop rbx
ret
Function at 0x1400665c8
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400665e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140058cf8
or eax, 0xffffffff
jmp 0x1400665ea
xor eax, eax
add rsp, 0x28
ret

Function at 0x140068838
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14027d0f0]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14006888f
cmp word [rdx], r13w
jne 0x14006888f
or byte [rax + rdi*8 + 0x38], cl
jmp 0x140068894
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x1400689b9
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x1400689da
lea r9, [rdx + 2]
cmp cx, r11w
je 0x1400688cd
mov rdx, r9
mov word [rbx], cx
jmp 0x1400688f4
cmp r9, r8
jae 0x140068904
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x1400688ae
jmp 0x1400689b9
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400689ae
cmp dword [rsp + 0x80], esi
je 0x1400689ae
lea r8, [0x14027d0f0]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x140068986
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x140068956
mov word [rbx], r13w
jmp 0x1400689b6
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x140068963
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x1400689b6
cmp word [rsp + 0x70], r13w
jne 0x140068993
cmp rbx, r14
je 0x140068950
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.1400694a0
cmp word [rsp + 0x70], r13w
je 0x1400689b9
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14027d0f0]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x1400689b3
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x1400689b9
Function at 0x14006caa4
Capabilities:
Query environment variable

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, 0x40
call qword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
xor esi, esi
mov rbx, rax
test rax, rax
jne 0x14006cad4
xor eax, eax
jmp 0x14006cb97
mov rbp, rbx
cmp word [rax], si
je 0x14006caf9
or rax, 0xffffffffffffffff
inc rax
cmp word [rbp + rax*2], si
jne 0x14006cae0
lea rbp, [rbp + rax*2]
add rbp, 2
cmp word [rbp], si
jne 0x14006cadc
mov qword [rsp + 0x38], rsi
sub rbp, rbx
mov qword [rsp + 0x30], rsi
add rbp, 2
sar rbp, 1
mov r8, rbx
mov r9d, ebp
mov dword [rsp + 0x28], esi
xor edx, edx
mov qword [rsp + 0x20], rsi
xor ecx, ecx
call fcn.14006a12c
movsxd r14, eax
test eax, eax
jne 0x14006cb37
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
jmp 0x14006cacd
mov rcx, r14
call fcn.140065644
mov rdi, rax
test rax, rax
jne 0x14006cb50
xor ecx, ecx
call fcn.1400651c0
jmp 0x14006cb2c
mov qword [rsp + 0x38], rsi
mov r9d, ebp
mov qword [rsp + 0x30], rsi
mov r8, rbx
mov dword [rsp + 0x28], r14d
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rdi
call fcn.14006a12c
test eax, eax
jne 0x14006cb81
mov rcx, rdi
call fcn.1400651c0
jmp 0x14006cb8b
xor ecx, ecx
call fcn.1400651c0
mov rsi, rdi
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret

Function at 0x14006fb9c
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov ebx, ecx
call fcn.140063b2c
mov ecx, ebx
lea r8, [rsp + 0x30]
and ecx, 0x3ff
mov r9d, 2
bts ecx, 0xa
mov edx, 0x20000001
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
xor edx, edx
test eax, eax
je 0x14006fc3d
cmp ebx, dword [rsp + 0x30]
je 0x14006fc36
test esi, esi
je 0x14006fc36
mov r10, qword [rdi + 0x98]
mov r9d, edx
movzx r8d, word [r10]
lea rcx, [r10 + 2]
lea eax, [r8 - 0x41]
cmp ax, 0x19
jbe 0x14006fc11
sub r8w, 0x61
cmp r8w, 0x19
ja 0x14006fc1e
movzx r8d, word [rcx]
inc r9d
add rcx, 2
jmp 0x14006fbfb
or rax, 0xffffffffffffffff
inc rax
cmp word [r10 + rax*2], dx
jne 0x14006fc22
cmp r9d, eax
setne dl
mov eax, edx
jmp 0x14006fc3f
mov eax, 1
jmp 0x14006fc3f
xor eax, eax
mov rbx, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x1400734ac
Capabilities:
Set environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
xor r15d, r15d
mov r14, rdx
mov rsi, rcx
mov qword [rbp + 0x17], r15
xor edx, edx
mov qword [rbp + 0x1f], r15
lea rcx, [rbp - 0x39]
mov qword [rbp + 0x27], r15
mov qword [rbp + 0x2f], r15
mov edi, r15d
mov qword [rbp + 0x37], r15
mov byte [rbp + 0x3f], r15b
mov qword [rbp - 0x19], r15
mov qword [rbp - 0x11], r15
mov qword [rbp - 9], r15
mov qword [rbp - 1], r15
mov qword [rbp + 7], r15
mov byte [rbp + 0xf], r15b
call fcn.14004eda0
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x140073536
cmp byte [rbp - 0x21], r15b
je 0x140073531
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x14007356c
call fcn.140065b04
test eax, eax
jne 0x140073558
cmp byte [rbp - 0x21], r15b
je 0x140073550
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14007356c
cmp byte [rbp - 0x21], r15b
je 0x140073569
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, r15d
lea r8, [rbp + 0x77]
mov rcx, rsi
lea rdx, [rbp + 0x17]
call fcn.140051a50
test eax, eax
jne 0x14007360c
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.14004eda0
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400735ab
cmp byte [rbp - 0x21], r15b
je 0x1400735e0
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400735e0
call fcn.140065b04
test eax, eax
jne 0x1400735cc
cmp byte [rbp - 0x21], r15b
je 0x1400735c5
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400735e0
cmp byte [rbp - 0x21], r15b
je 0x1400735dd
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, r15d
mov r9d, ebx
lea r8, [rbp + 0x77]
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.140051a50
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x14007360c
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x14007360f
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x14007361d
mov rcx, rdi
call fcn.1400651c0
cmp byte [rbp + 0x3f], r15b
je 0x14007362c
mov rcx, qword [rbp + 0x27]
call fcn.1400651c0
lea r11, [rsp + 0xa0]
mov eax, ebx
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140074040
Capabilities:
Clear file content

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 r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.1400694a0
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.1400694a0
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140074190
cmp rax, 0xffffffffffffffff
je 0x140074190
xor edi, edi
test rbp, rbp
jle 0x14007413b
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.140064100
mov rbx, rax
test rax, rax
jne 0x1400740c8
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140074131
mov edx, 0x8000
mov ecx, r14d
call fcn.14006189c
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.140064c58
cmp eax, 0xffffffff
je 0x140074111
cdqe
sub rbp, rax
test rbp, rbp
jg 0x1400740d8
mov edx, r15d
mov ecx, r14d
call fcn.14006189c
jmp 0x140074131
cmp byte [rsi + 0x38], dil
je 0x140074128
cmp dword [rsi + 0x34], 5
jne 0x140074128
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140074131
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.1400651c0
jmp 0x1400741a4
jns 0x1400741a4
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.1400694a0
cmp rax, 0xffffffffffffffff
jne 0x14007415c
cmp byte [rsi + 0x30], dil
je 0x1400741a4
mov edi, dword [rsi + 0x2c]
jmp 0x1400741a4
mov ecx, r14d
call fcn.14006d740
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400741a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x1400741a4
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x14007419d
mov eax, dword [rsi + 0x2c]
jmp 0x1400741a2
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.1400694a0
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140074bc0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140074be8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140074be8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x140074fb0
Capabilities:
Enumerate gui resources
Enumerate processes

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x160
mov rax, qword [0x14022b0c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
mov rdi, rdx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140075004
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140074ff8
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
jne 0x1400750c7
mov qword [rbx], 0
jmp 0x1400750c7
xor edx, edx
mov rcx, rdi
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
test rax, rax
jne 0x1400750c7
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
test rax, rax
jne 0x1400750c7
xor edx, edx
mov qword [rsp + 0x180], rsi
lea ecx, [rax + 2]
mov dword [rsp + 0x20], 0x130
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rsp + 0x20]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x1400750a0
mov rdx, rdi
lea rcx, [rsp + 0x4c]
call fcn.140048ce0
lea rcx, [rsp + 0x4c]
cmp rax, rcx
jne 0x14007508e
lea rdx, [rsp + 0x4c]
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowA]
mov qword [rbx], rax
test rax, rax
jne 0x1400750a0
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140075062
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], 0
mov rsi, qword [rsp + 0x180]
jne 0x1400750c7
mov rdx, rdi
lea rcx, [0x140074ea0]
call qword [sym.imp.USER32.dll_EnumWindows]
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140046990
mov rbx, qword [rsp + 0x188]
add rsp, 0x160
pop rdi
ret
Function at 0x140078730
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rdi, rcx
lea r10, [rsp + 0x20]
mov ecx, 0x10
xor r9b, r9b
nop dword [rax]
nop word [rax + rax]
movzx edx, r9b
lea r10, [r10 + 4]
movzx eax, r9b
add r9b, 4
movzx r8d, byte [rax + rdi + 1]
movzx eax, byte [rdx + rdi]
shl eax, 8
or r8d, eax
movzx eax, byte [rdx + rdi + 2]
shl r8d, 8
or r8d, eax
movzx eax, byte [rdx + rdi + 3]
shl r8d, 8
or r8d, eax
mov dword [r10 - 4], r8d
sub rcx, 1
jne 0x140078770
mov esi, dword [rsp + 0x20]
lea rbx, [rsp + 0x20]
mov r11b, 0x10
nop
mov r10d, dword [rbx + 4]
lea rbx, [rbx + 4]
movzx eax, r11b
mov r8d, r10d
ror r8d, 0x12
inc r11b
mov edx, dword [rsp + rax*4 + 0x18]
mov ecx, edx
ror ecx, 0x13
mov eax, r10d
ror eax, 7
xor r8d, eax
mov eax, r10d
shr eax, 3
xor r8d, eax
mov eax, edx
ror eax, 0x11
xor ecx, eax
shr edx, 0xa
xor ecx, edx
add r8d, ecx
add r8d, dword [rbx + 0x20]
add r8d, esi
mov esi, r10d
mov dword [rbx + 0x3c], r8d
cmp r11b, 0x40
jb 0x1400787c0
movups xmm0, xmmword [rdi + 0x50]
lea rax, [rdi + 0x50]
xor esi, esi
movups xmm1, xmmword [rax + 0x10]
mov qword [rbp + 0x68], rax
movups xmmword [rsp], xmm0
mov r12d, dword [rsp + 8]
lea edi, [rsi + 0x40]
mov r13d, dword [rsp + 4]
mov r11d, dword [rsp]
movups xmmword [rsp + 0x10], xmm1
mov r14d, dword [rsp + 0x18]
mov r15d, dword [rsp + 0x14]
mov ebx, dword [rsp + 0x10]
mov eax, dword [rsp + 0x1c]
nop dword [rax]
nop word [rax + rax]
mov ecx, ebx
lea rsi, [rsi + 4]
ror ecx, 0xb
mov r10d, ebx
ror r10d, 0x19
mov edx, ebx
xor r10d, ecx
not edx
and edx, r14d
mov ecx, ebx
ror ecx, 6
mov r8d, r12d
xor r10d, ecx
mov r9d, r13d
mov ecx, r15d
and r9d, r8d
and ecx, ebx
xor edx, ecx
lea rcx, [0x140167560]
add r10d, edx
mov edx, r11d
add r10d, dword [rsi + rcx - 4]
mov ecx, r11d
add r10d, dword [rsp + rsi + 0x1c]
ror ecx, 0xd
add r10d, eax
ror edx, 0x16
mov eax, r14d
xor edx, ecx
mov r14d, r15d
mov ecx, r11d
mov r15d, ebx
mov ebx, dword [rsp + 0xc]
ror ecx, 2
add ebx, r10d
xor edx, ecx
mov dword [rsp + 0xc], r12d
mov r12d, r13d
mov r13d, r11d
mov ecx, r12d
or ecx, r8d
and r11d, ecx
lea ecx, [r10 + rdx]
or r11d, r9d
add r11d, ecx
sub rdi, 1
jne 0x140078860
lea r8, [rsp]
mov dword [rsp + 0x1c], eax
sub r8, qword [rbp + 0x60]
lea edx, [rdi + 8]
mov rax, qword [rbp + 0x68]
mov dword [rsp], r11d
mov dword [rsp + 0x10], ebx
mov dword [rsp + 0x18], r14d
mov dword [rsp + 0x14], r15d
mov dword [rsp + 8], r12d
mov dword [rsp + 4], r13d
nop word [rax + rax]
mov ecx, dword [r8 + rax - 0x50]
add dword [rax], ecx
lea rax, [rax + 4]
sub rdx, 1
jne 0x140078930
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007e290
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
push rdi
sub rsp, 0xe0
mov rax, qword [0x14022b0c0]
xor rax, rsp
mov qword [rsp + 0xd8], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
xor edi, edi
mov rbx, rcx
cmp qword [rcx + 0x18], 0xf
mov rdx, rcx
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [r11 - 0x38], rax
movups xmmword [r11 - 0x68], xmm0
movups xmmword [r11 - 0x58], xmm0
movups xmmword [r11 - 0x48], xmm0
mov dword [rsp + 0x50], 0x68
mov dword [r11 - 0x5c], 1
mov word [r11 - 0x58], di
jbe 0x14007e2ff
mov rdx, qword [rcx]
lea rax, [rsp + 0xc0]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x8000200
mov dword [rsp + 0x20], edi
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14007e370
mov rcx, qword [rbx]
inc rdx
cmp rdx, 0x1000
jb 0x14007e36b
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14007e3a0
mov rcx, r8
call fcn.1400469b0
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], dil
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140046990
mov rbx, qword [rsp + 0xf8]
add rsp, 0xe0
pop rdi
ret
call fcn.14005a5f0
int3
Function at 0x14007f210
Capabilities:
Delete registry key

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, 0x80
mov rax, qword [0x14022b0c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x28], xmm0
mov qword [rbp - 0x18], rax
lea rcx, [rbp - 0x28]
call fcn.140080c20
nop
mov rdi, qword [rbp - 0x28]
mov r15, qword [rbp - 0x20]
cmp rdi, r15
je 0x14007f3ea
xor r13d, r13d
movabs r12, 0x7fffffffffffffff
mov ecx, 0x16
movabs rax, 0x8000000000000000
xorps xmm0, xmm0
movups xmmword [rbp - 0x48], xmm0
mov qword [rbp - 0x38], r13
mov qword [rbp - 0x30], r13
mov rsi, qword [rdi + 0x10]
mov r14, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x14007f2a4
mov r14, qword [rdi]
cmp rsi, r12
ja 0x14007f45c
mov qword [rbp - 0x30], 0xf
cmp rsi, 0xf
ja 0x14007f2d0
mov qword [rbp - 0x38], rsi
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x48], xmm0
lea rdx, [rbp - 0x48]
jmp 0x14007f361
mov rbx, rsi
or rbx, 0xf
cmp rbx, r12
jbe 0x14007f2e5
mov rbx, r12
add rax, 0x27
jmp 0x14007f307
cmp rbx, 0x16
cmovb rbx, rcx
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x14007f329
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14007f468
mov rcx, rax
call fcn.1400469b8
mov rcx, rax
test rax, rax
je 0x14007f46e
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14007f338
test rcx, rcx
je 0x14007f335
call fcn.1400469b8
jmp 0x14007f338
mov rax, r13
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x38], rsi
mov qword [rbp - 0x30], rbx
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.1400e0e50
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 0xf
cmova rdx, qword [rbp - 0x48]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14007f39a
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegDeleteTreeA]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rbp - 0x30]
cmp rdx, 0xf
jbe 0x14007f3d5
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f3d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f46e
call fcn.1400469b0
add rdi, 0x20
cmp rdi, r15
jne 0x14007f275
mov r15, qword [rbp - 0x20]
mov rdi, qword [rbp - 0x28]
test rdi, rdi
je 0x14007f42f
mov rdx, r15
mov rcx, rdi
call fcn.140027690
mov rdx, qword [rbp - 0x18]
mov rcx, qword [rbp - 0x28]
sub rdx, rcx
and rdx, 0xffffffffffffffe0
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f42a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007f462
call fcn.1400469b0
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140046990
lea r11, [rsp + 0x80]
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
call fcn.140003850
nop
call fcn.14005a5f0
nop
call fcn.1400037b0
int3
call fcn.14005a5f0
int3
Function at 0x1400808e0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x14022b0c0]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rsi, rcx
xor edi, edi
xor edx, edx
lea ecx, [rdi + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x140080988
lea rdx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x130
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
test eax, eax
je 0x14008097f
nop word [rax + rax]
lea rax, [rsp + 0x4c]
mov r8, rsi
sub r8, rax
nop dword [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140080963
inc rax
test ecx, ecx
jne 0x140080950
test edx, edx
je 0x14008097b
lea rdx, [rsp + 0x20]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32Next]
test eax, eax
jne 0x140080940
jmp 0x14008097f
mov edi, dword [rsp + 0x28]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140046990
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x1400809c0
Capabilities:
Enumerate services

Disassembly:
mov qword [rsp + 0x20], rbp
push r14
sub rsp, 0x80
mov rax, qword [0x14022b0c0]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor edx, edx
mov r14, rcx
xor ecx, ecx
lea r8d, [rdx + 4]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbp, rax
test rax, rax
je 0x140080be2
lea rax, [rsp + 0x58]
mov qword [rsp + 0x98], rsi
xor esi, esi
xor edx, edx
mov qword [rsp + 0x48], rsi
mov rcx, rbp
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea r9d, [rsi + 3]
mov dword [rsp + 0x28], esi
lea r8d, [rsi + 0x30]
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x54], esi
mov dword [rsp + 0x58], esi
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xea
je 0x140080a6c
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
jmp 0x140080bda
mov eax, dword [rsp + 0x50]
xorps xmm0, xmm0
mov qword [rsp + 0x90], rbx
mov qword [rsp + 0xa0], rdi
mov edi, eax
mov qword [rsp + 0x70], rsi
movdqu xmmword [rsp + 0x60], xmm0
test eax, eax
je 0x140080af4
cmp rax, 0x1000
jb 0x140080ac8
lea rcx, [rax + 0x27]
cmp rcx, rax
jbe 0x140080c07
call fcn.1400469b8
mov rcx, rax
test rax, rax
je 0x140080c01
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140080ad0
mov rcx, rdi
call fcn.1400469b8
lea rbx, [rax + rdi]
mov qword [rsp + 0x60], rax
mov r8, rdi
mov qword [rsp + 0x70], rbx
xor edx, edx
mov rcx, rax
call fcn.1400e15d0
mov eax, dword [rsp + 0x50]
mov qword [rsp + 0x68], rbx
mov rbx, qword [rsp + 0x60]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x48], rsi
xor edx, edx
mov qword [rsp + 0x40], rcx
lea rcx, [rsp + 0x54]
mov qword [rsp + 0x38], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rcx
mov rcx, rbp
mov dword [rsp + 0x28], eax
lea r9d, [rdx + 3]
lea r8d, [rdx + 0x30]
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_EnumServicesStatusExA]
test eax, eax
je 0x140080b87
mov r11d, dword [rsp + 0x54]
mov r9d, esi
test r11d, r11d
je 0x140080b87
nop dword [rax]
mov eax, r9d
mov r8, r14
imul r10, rax, 0x38
mov rax, qword [r10 + rbx]
sub r8, rax
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140080b74
inc rax
test ecx, ecx
jne 0x140080b61
test edx, edx
je 0x140080b82
inc r9d
cmp r9d, r11d
jb 0x140080b50
jmp 0x140080b87
mov esi, dword [r10 + rbx + 0x2c]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140080bc8
mov rdx, qword [rsp + 0x70]
mov rax, rcx
sub rdx, rcx
cmp rdx, 0x1000
jb 0x140080bc3
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140080c01
call fcn.1400469b0
mov rbx, qword [rsp + 0x90]
mov eax, esi
mov rdi, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140046990
mov rbp, qword [rsp + 0xa8]
add rsp, 0x80
pop r14
ret
call fcn.14005a5f0
int3
call fcn.1400037b0
int3