joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003e450
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x390
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov rbx, rdx
mov qword [rsp + 0x48], rdx
mov dword [rsp + 0x34], 1
xor eax, eax
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x40], rax
xor edx, edx
mov r8d, 0x104
lea rcx, [rsp + 0x60]
call fcn.14010da60
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x170]
call fcn.14010da60
movabs rsi, 0x746c7561666564
mov qword [rsp + 0x60], rsi
mov dword [rsp + 0x30], 0x104
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
dec rcx
mov rax, qword [rsp + 0x60]
cmove rax, rsi
mov qword [rsp + 0x60], rax
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x60]
repne scasb al, byte [rdi]
not rcx
lea rdx, [rcx - 1]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x208
lea r8, [rsp + 0x170]
lea rcx, [rsp + 0x60]
call fcn.1400ae470
lea rdx, [0x1402065d0]
lea rcx, [rsp + 0x170]
call fcn.14010d30c
mov qword [rsp + 0x38], rax
test rax, rax
je 0x14003e55f
mov byte [rax], 0
lea rdi, [rsp + 0x170]
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x170]
call fcn.140115670
nop dword [rax]
movzx eax, byte [rdi]
test al, al
je 0x14003e5a4
cmp al, 0x61
jl 0x14003e58f
cmp al, 0x7a
jle 0x14003e59a
cmp al, 0x30
jl 0x14003e597
cmp al, 0x39
jle 0x14003e59a
mov byte [rdi], 0x6d
inc rdi
mov qword [rsp + 0x38], rdi
jmp 0x14003e580
mov byte [rsp + 0x174], 0
lea r8, [rsp + 0x170]
lea rdx, str.ms_swin
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
mov byte [rbx + 0xc], 0
mov eax, 1
jmp 0x14003e5d3
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x390]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14003e600
Capabilities:
Delete file
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x370
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rsi, rcx
mov ebx, 1
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.msnetsrv]
mov qword [rdi - 1], rax
movzx eax, byte [0x140206618]
mov byte [rdi + 7], al
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rdx, [rsp + 0x250]
mov rcx, rsi
call fcn.14003e450
lea r9, [rsp + 0x250]
lea r8, [rsp + 0x30]
lea rdx, str._swin_s.drv
lea rcx, [rsp + 0x140]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x140]
call fcn.1400d0090
test eax, eax
je 0x14003e6d5
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [rsp + 0x20], ebx
mov eax, ebx
jmp 0x14003e6dd
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret

Function at 0x14003e710
Capabilities:
Delete file
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x370
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x360], rax
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.msnetsrv]
mov qword [rdi - 1], rax
movzx eax, byte [0x140206618]
mov byte [rdi + 7], al
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rdx, [rsp + 0x250]
mov rcx, rsi
call fcn.14003e450
lea r9, [rsp + 0x250]
lea r8, [rsp + 0x30]
lea rdx, str._s_s.sys
lea rcx, [rsp + 0x140]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x140]
call fcn.1400d0090
test eax, eax
je 0x14003e7e7
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ebx, 1
mov dword [rsp + 0x20], ebx
mov eax, ebx
jmp 0x14003e7ef
mov rcx, qword [rsp + 0x360]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14003e820
Capabilities:
Delete file
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x590
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x580], rax
mov rsi, rcx
xor ebx, ebx
mov dword [rsp + 0x20], ebx
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.msnetsrv]
mov qword [rdi - 1], rax
movzx eax, byte [0x140206618]
mov byte [rdi + 7], al
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x470]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x14003e8a0
lea rcx, [rsp + 0x470]
call fcn.1400d3eb0
test eax, eax
jne 0x14003e9a8
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rdx, [rsp + 0x360]
mov rcx, rsi
call fcn.14003e450
lea r9, [rsp + 0x360]
lea r8, [rsp + 0x30]
lea rdx, str._s_s.dll
lea rcx, [rsp + 0x140]
call qword [sym.imp.USER32.dll_wsprintfA]
lea r9, [rsp + 0x360]
lea r8, [rsp + 0x30]
lea rdx, str._s_s.ocx
lea rcx, [rsp + 0x250]
call qword [sym.imp.USER32.dll_wsprintfA]
lea rcx, [rsp + 0x140]
call fcn.1400d0090
test eax, eax
je 0x14003e95d
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14003e954
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.1400d67e0
mov ebx, 1
mov dword [rsp + 0x20], ebx
lea rcx, [rsp + 0x250]
call fcn.1400d0090
test eax, eax
je 0x14003e998
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x14003e98f
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.1400d67e0
mov ebx, 1
mov dword [rsp + 0x20], ebx
xor edx, edx
lea rcx, [rsp + 0x470]
call fcn.1400d67e0
nop
mov eax, ebx
jmp 0x14003e9b0
mov rcx, qword [rsp + 0x580]
xor rcx, rsp
call fcn.14010d170
lea r11, [rsp + 0x590]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14003e9e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], r9
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
sub rsp, 0x60
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rdi, r9
mov r13d, r8d
mov r12, rcx
xor ebx, ebx
mov dword [rsp + 0x40], ebx
test rcx, rcx
je 0x14003eab1
test r9, r9
je 0x14003eab1
mov rsi, qword [rsp + 0xb0]
test rsi, rsi
je 0x14003eab1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREClassesCLSID6314E760_E667_11d2_BA98_0080C8E9491AOLEShellCommands
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14003eaaf
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x98]
xor r8d, r8d
mov rdx, r12
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14003eaa3
mov edx, dword [rsi]
test edx, edx
je 0x14003eaa3
test r13d, r13d
je 0x14003ea9a
mov rcx, rdi
call fcn.14003e240
mov ebx, 1
mov dword [rsp + 0x40], ebx
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
jmp 0x14003eab9
xor eax, eax
jmp 0x14003eabb
mov eax, ebx
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
Function at 0x14003edd0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x380
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x370], rax
mov rdi, rcx
mov dword [rsp + 0x20], 0
mov rax, qword [str.inetsys.exe]
mov qword [rsp + 0x28], rax
mov eax, dword [0x140206570]
mov dword [rsp + 0x30], eax
call fcn.14003e0e0
mov rcx, rdi
call fcn.14003ead0
xor r8d, r8d
lea rdx, str.SOFTWAREClassesCLSID6314E760_E667_11d2_BA98_0080C8E9491A
mov rcx, 0xffffffff80000002
call fcn.1400d3390
xor r8d, r8d
lea rdx, str.SOFTWAREClassesCLSID6314E760_E667_11d2_BA98_0080C8E9491A
mov rcx, 0xffffffff80000001
call fcn.1400d3390
mov rcx, rdi
call fcn.14003e600
mov rcx, rdi
call fcn.14003e710
mov rcx, rdi
call fcn.14003e820
mov edx, 0x104
lea rcx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x150]
call fcn.1400c9bc0
lea rdx, [rsp + 0x150]
lea rcx, [rsp + 0x260]
nop word [rax + rax]
movzx eax, byte [rdx]
mov byte [rcx], al
inc rdx
inc rcx
test al, al
jne 0x14003eea0
lea rdi, [rsp + 0x260]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x28]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x14003eed0
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.1400d67e0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x40]
call fcn.1400c9bc0
lea rdi, [rsp + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rax, qword [str.mswebhlp.dll]
mov qword [rdi - 1], rax
mov eax, dword [0x1402064f0]
mov dword [rdi + 7], eax
movzx eax, byte [0x1402064f4]
mov byte [rdi + 0xb], al
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400d67e0
mov edx, 0x104
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x40]
call fcn.1400c9bc0
lea rdi, [rsp + 0x40]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
mov rcx, qword [str.urlmkpl.dll]
mov qword [rdi - 1], rcx
mov ecx, dword [0x1402064e0]
mov dword [rdi + 7], ecx
xor edx, edx
lea rcx, [rsp + 0x40]
call fcn.1400d67e0
nop
xor eax, eax
jmp 0x14003ef8f
mov rcx, qword [rsp + 0x370]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x380
pop rdi
ret
Function at 0x1400403d0
Capabilities:
Get file size
Read file on windows

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x70], rsi
mov rbx, rcx
xor edi, edi
mov qword [rsp + 0x40], rdi
mov rax, qword [rcx + 0xb0]
cmp byte [rax + 0x998c], dil
jne 0x14004040e
mov rax, qword [rcx]
mov edx, 0x80
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
mov rcx, qword [rbx + 0xb0]
add rcx, 0x998c
cmp byte [rcx], 0
je 0x140040498
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x140040498
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea ecx, [rax + 1]
call fcn.14010a204
mov rdi, rax
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x68]
mov r8d, ebx
mov rdx, rax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rdi
jmp 0x1400404a2
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret

Function at 0x140040aa0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x70
mov qword [rsp + 0x60], 0xfffffffffffffffe
xor ebx, ebx
mov dword [rsp + 0x80], ebx
mov rax, qword [0x1402b9cc8]
mov qword [rsp + 0x50], rax
lea rdx, str.SOFTWAREClassesCLSID_
lea rcx, [rsp + 0x50]
call fcn.1400ca6a0
lea rdx, str.01033863_FC53_4E72_9B76_A5E4EFD81EA3
lea rcx, [rsp + 0x50]
call fcn.1400ca830
lea r11, [rsp + 0x98]
mov qword [rsp + 0x40], r11
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140040b91
mov dword [rsp + 0x90], 4
mov dword [rsp + 0x88], 4
lea rax, [rsp + 0x88]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, str.NetProxy
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
cmp dword [rsp + 0x80], ebx
cmovne ebx, eax
lea rcx, [rsp + 0x50]
call fcn.1400ca400
mov eax, ebx
add rsp, 0x70
pop rbx
ret
Function at 0x140040bb0
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov dword [rsp + 0x70], 1
mov rax, qword [0x1402b9cc8]
mov qword [r11 + 0x18], rax
lea rdx, str.SOFTWAREClassesCLSID_
lea rcx, [r11 + 0x18]
call fcn.1400ca6a0
lea rdx, str.01033863_FC53_4E72_9B76_A5E4EFD81EA3
lea rcx, [rsp + 0x80]
call fcn.1400ca830
lea r11, [rsp + 0x78]
mov qword [rsp + 0x40], r11
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
xor eax, eax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x20006
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x80]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x140040c7f
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.NetProxy
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
lea rcx, [rsp + 0x80]
call fcn.1400ca400
add rsp, 0x68
ret
Function at 0x140040ce0
Capabilities:
Get hostname

Disassembly:
push rdi
sub rsp, 0x150
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rdi, r8
mov rbx, rdx
cmp ecx, 4
jl 0x140040d1e
xor eax, eax
jmp 0x140040eda
test rdx, rdx
je 0x140040ed2
test r8, r8
je 0x140040ed2
movsxd rax, ecx
imul rax, rax, 0x61c
mov rcx, qword [r8 + 0xb0]
lea rdx, [rax + rcx + 0x7c9c]
cmp dword [rdx], 0
je 0x140040d6b
cmp byte [rax + rcx + 0x7ca0], 0
je 0x140040d6b
mov rcx, rbx
mov r8d, 0x61c
call fcn.14010c9b0
jmp 0x140040ec7
xor edx, edx
mov r8d, 0x61c
mov rcx, rbx
call fcn.14010da60
mov rdx, qword [rdi + 0xb0]
add rdx, 0x6b0c
lea rcx, [rbx + 4]
mov r8d, 0x104
call fcn.1400c9950
mov rdx, qword [rdi + 0xb0]
add rdx, 0x722c
lea rcx, [rbx + 0x108]
mov r8d, 0x104
call fcn.1400c9950
mov rdx, qword [rdi + 0xb0]
add rdx, 0x7330
lea rcx, [rbx + 0x20c]
mov r8d, 0x104
call fcn.1400c9950
mov rdx, qword [rdi + 0xb0]
add rdx, 0x6f20
cmp byte [rdx], 0
je 0x140040dff
lea rcx, [rbx + 0x310]
mov r8d, 0x104
call fcn.1400c9950
jmp 0x140040e56
mov dword [rsp + 0x24], 0x104
mov byte [rsp + 0x30], 0
xor edx, edx
mov r8d, 0x103
lea rcx, [rsp + 0x31]
call fcn.14010da60
mov dword [rsp + 0x24], 0x104
lea rdx, [rsp + 0x24]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetComputerNameA]
lea rcx, [rbx + 0x310]
lea r9, [rsp + 0x30]
lea r8, [0x140206af8]
lea rdx, str._s_on__s
call qword [sym.imp.USER32.dll_wsprintfA]
mov rdx, qword [rdi + 0xb0]
add rdx, 0x7024
cmp byte [rdx], 0
je 0x140040e7d
lea rcx, [rbx + 0x414]
mov r8d, 0x104
call fcn.1400c9950
jmp 0x140040ea7
mov rax, qword [str.noreply_spectersoft.com]
mov qword [rbx + 0x414], rax
mov rax, qword [0x140203c88]
mov qword [rbx + 0x41c], rax
mov rax, qword [0x140203c90]
mov qword [rbx + 0x424], rax
mov rdx, qword [rdi + 0xb0]
add rdx, 0x7128
lea rcx, [rbx + 0x518]
mov r8d, 0x104
call fcn.1400c9950
mov eax, 1
mov dword [rsp + 0x20], eax
jmp 0x140040eda
xor eax, eax
jmp 0x140040eda
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14010d170
mov rbx, qword [rsp + 0x160]
add rsp, 0x150
pop rdi
ret
Function at 0x140042c30
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140042e5f
mov rax, qword [rcx + 0xb0]
add rax, 0x9680
je 0x140042e5f
mov eax, 0x2e
mov word [rsp + 0x20], ax
mov rcx, qword [rcx + 0xb0]
add rcx, 0xf8c
lea rdx, [rsp + 0x30]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140042c93
mov rax, qword [rdi]
mov rcx, qword [rax + 0xb0]
add rcx, 0xf8c
lea rdx, [rsp + 0x140]
nop dword [rax + rax]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140042cc0
lea rcx, [rsp + 0x30]
call fcn.1400c9bc0
lea rcx, [rsp + 0x140]
call fcn.1400c9bc0
mov r11, qword [rdi]
mov rdx, qword [r11 + 0xb0]
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop
movzx eax, byte [rdx + rcx + 0x9680]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140042d00
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea rdx, [rsp + 0x20]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140042d30
mov rdx, qword [r11 + 0xb0]
lea rdi, [rsp + 0x30]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop word [rax + rax]
movzx eax, byte [rdx + rcx + 0x1298]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140042d60
mov rdx, qword [r11 + 0xb0]
lea rdi, [rsp + 0x140]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdx + rcx + 0x9680]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140042d90
lea rdi, [rsp + 0x140]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
lea r8, [rsp + 0x20]
xor edx, edx
nop word [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rdi + rdx - 1], al
inc rdx
test al, al
jne 0x140042dc0
mov rdx, qword [r11 + 0xb0]
lea rdi, [rsp + 0x140]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasb al, byte [rdi]
xor ecx, ecx
nop dword [rax]
movzx eax, byte [rdx + rcx + 0x139c]
mov byte [rdi + rcx - 1], al
inc rcx
test al, al
jne 0x140042df0
lea rcx, [rsp + 0x30]
call fcn.1400d0090
test eax, eax
je 0x140042e2c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140042e2c
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400d67e0
lea rcx, [rsp + 0x140]
call fcn.1400d0090
test eax, eax
je 0x140042e5f
lea rcx, [rsp + 0x140]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140042e5f
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.1400d67e0
nop
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x260
pop rdi
ret
Function at 0x140042e80
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x150
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov rcx, qword [rcx]
test rcx, rcx
je 0x140042f57
mov rax, qword [rcx + 0xb0]
cmp byte [rax + 0x9a90], 0
je 0x140042f57
lea rcx, [rax + 0x9a90]
lea rdx, [rsp + 0x30]
movzx eax, byte [rcx]
mov byte [rdx], al
inc rcx
inc rdx
test al, al
jne 0x140042ed3
mov edx, 0x2e
lea rcx, [rsp + 0x30]
call fcn.14010db4c
test rax, rax
je 0x140042f23
mov ecx, dword [str..cnt]
mov dword [rax], ecx
movzx ecx, byte [0x140207c0c]
mov byte [rax + 4], cl
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140042f23
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400d67e0
mov rax, qword [rbx]
mov rcx, qword [rax + 0xb0]
add rcx, 0x9a90
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x140042f57
mov rax, qword [rbx]
mov rcx, qword [rax + 0xb0]
add rcx, 0x9a90
xor edx, edx
call fcn.1400d67e0
nop
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x150
pop rbx
ret
Function at 0x1400433a0
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
sub rsp, 0x20
mov rsi, rcx
xor ebx, ebx
call qword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x14004342a
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
mov qword [rsp + 0x30], rdi
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
test rax, rax
je 0x140043418
mov r8d, 0x10000
mov rdx, rsi
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rsi, rax
test rax, rax
je 0x14004340f
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov ecx, 1
test eax, eax
cmovne ebx, ecx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, ebx
mov rdi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
mov eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret

Function at 0x140043440
Capabilities:
Delete registry value
Persist via run registry key

Disassembly:
mov r11, rsp
sub rsp, 0x68
mov qword [rsp + 0x50], 0xfffffffffffffffe
lea rax, [r11 + 0x10]
mov qword [r11 - 0x28], rax
lea rax, [r11 + 0x18]
mov qword [r11 - 0x30], rax
xor eax, eax
mov qword [r11 - 0x38], rax
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140207828]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x1400434b4
lea rdx, [0x140207858]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
add rsp, 0x68
ret

Function at 0x140043670
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
lea rcx, [rsp + 0x21]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x20], 0
call fcn.14010da60
lea rcx, [rsp + 0x131]
xor edx, edx
mov r8d, 0x103
mov byte [rsp + 0x130], 0
call fcn.14010da60
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea rcx, [rsp + 0x20]
call fcn.1400c9bc0
lea rcx, [rsp + 0x130]
xor edx, edx
call fcn.14002bdc0
lea r9, [rsp + 0x130]
lea r8, [rsp + 0x20]
lea rdx, str._swin_s.drv
mov rcx, rbx
call qword [sym.imp.USER32.dll_wsprintfA]
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x250
pop rbx
ret

Function at 0x140043730
Capabilities:
Delete file

Disassembly:
sub rsp, 0x158
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1402ba4e0]
xor rax, rsp
mov qword [rsp + 0x140], rax
lea rcx, [rsp + 0x30]
call fcn.140043670
cmp byte [rsp + 0x30], 0
je 0x140043789
lea rcx, [rsp + 0x30]
call fcn.1400d0090
test eax, eax
je 0x140043789
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1400d67e0
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.14010d170
add rsp, 0x158
ret