joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400c6ad0
Capabilities:
Query service status
Stop service

Disassembly:
push r12
push r15
sub rsp, 0x88
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r12, rdx
xor ecx, ecx
xor edx, edx
lea r8d, [rdx + 0x25]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov r15, rax
test rax, rax
je 0x1400c6c86
mov r8d, 0xf01ff
mov qword [rsp + 0x70], r14
mov rdx, r12
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov r14, rax
test rax, rax
je 0x1400c6c76
xor eax, eax
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov rcx, r14
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400c6c6d
mov eax, dword [rsp + 0x24]
dec eax
test eax, 0xfffffffd
je 0x1400c6b7b
lea r8, [rsp + 0x20]
mov edx, 1
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400c6c6d
mov qword [rsp + 0xa0], rbx
mov qword [rsp + 0x80], rsi
mov qword [rsp + 0x78], rdi
xor edi, edi
mov qword [rsp + 0xb0], rbp
nop word [rax + rax]
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor edx, edx
xor ecx, ecx
mov r8d, 0x20001
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x1400c6c28
mov r8d, 0x84
mov rdx, r12
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbp, rax
test rax, rax
jne 0x1400c6be8
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400c6c28
xor eax, eax
lea rdx, [rsp + 0x40]
xorps xmm0, xmm0
mov qword [rsp + 0x50], rax
mov rcx, rbp
mov dword [rsp + 0x58], eax
movups xmmword [rsp + 0x40], xmm0
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov rcx, rbp
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
je 0x1400c6c28
cmp dword [rsp + 0x44], 1
je 0x1400c6c33
inc edi
cmp edi, 0xa
jb 0x1400c6ba0
cmp edi, 0xa
mov rcx, r14
setb bl
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x78]
movzx eax, bl
mov rbx, qword [rsp + 0xa0]
mov rsi, qword [rsp + 0x80]
mov rbp, qword [rsp + 0xb0]
jmp 0x1400c6c81
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov r14, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x88
pop r15
pop r12
ret
Function at 0x1400c6ca0
Capabilities:
Query service status
Start service

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x50
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
xor ecx, ecx
xor edx, edx
lea r8d, [rdx + 0x25]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x1400c6d5d
mov r8d, 0xf01ff
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rbx, rax
test rax, rax
je 0x1400c6d54
xor eax, eax
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov rcx, rbx
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x1400c6d4b
mov eax, dword [rsp + 0x24]
add eax, 0xfffffffe
test eax, 0xfffffffd
je 0x1400c6d35
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
je 0x1400c6d4b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov al, 1
jmp 0x1400c6d5f
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rdi
ret

Function at 0x1400c6d80
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x50
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rdx
xor ecx, ecx
xor edx, edx
mov r8d, 0x20001
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x1400c6ddc
mov r8d, 0x84
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rsi, rax
test rax, rax
jne 0x1400c6dfb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
xor eax, eax
lea rdx, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov rcx, rsi
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov rcx, rsi
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
test ebx, ebx
je 0x1400c6ddc
cmp dword [rsp + 0x24], 4
sete al
jmp 0x1400c6dde
Function at 0x1400c7dc0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1fe0]
mov eax, 0x20e0
call fcn.1400ff8d0
sub rsp, rax
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rbp + 0x1fd0], rax
mov rdi, r8
mov rbx, rdx
cmp byte [rcx + 0x10], 0
jne 0x1400c7e01
xor al, al
jmp 0x1400c7f6c
test rdi, rdi
je 0x1400c7e0e
mov rcx, rdi
call fcn.1400056e0
xor esi, esi
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x40]
call fcn.1400055e0
nop
xor edx, edx
mov r8d, 0x1ffe
lea rcx, [rbp - 0x2e]
call fcn.14012ce40
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
lea r8d, [rsi + 0x40]
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.ole32.dll_StringFromGUID2]
mov qword [rsp + 0x38], rsi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x38]
call fcn.14003f460
nop
lea edx, [rsi + 0x7b]
lea rcx, [rsp + 0x38]
call fcn.1400ca180
lea edx, [rsi + 0x7d]
lea rcx, [rsp + 0x38]
call fcn.1400ca180
mov r8, qword [rsp + 0x38]
lea rdx, str.SYSTEMCurrentControlSetControlPowerUserPowerSchemes_s
lea rcx, [rsp + 0x40]
call fcn.140005d70
mov word [rbp - 0x30], si
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea r9d, [rsi + 1]
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rbx, [rsi - 1]
test eax, eax
jne 0x1400c7f29
mov dword [rsp + 0x48], 0x2000
mov dword [rsp + 0x4c], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x4c]
xor r8d, r8d
lea rdx, str.FriendlyName
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400c7f8e
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor dil, dil
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400c7f4b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x1400c7f68
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
movzx eax, dil
mov rcx, qword [rbp + 0x1fd0]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x2100]
add rsp, 0x20e0
pop rdi
pop rsi
pop rbp
ret
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rdi, rdi
je 0x1400c7fb8
lea rax, [rbp - 0x30]
mov r8, rbx
inc r8
cmp word [rax + r8*2], 0
jne 0x1400c7fa1
lea rdx, [rbp - 0x30]
mov rcx, rdi
call fcn.140005a90
mov dil, 1
jmp 0x1400c7f2c
Function at 0x1400c9560
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
lea rbx, [0x140177720]
xor esi, esi
lea r14, [0x140177740]
nop
mov rdi, qword [rbx]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x19], xmm0
movups xmmword [rbp - 9], xmm0
movups xmmword [rbp + 7], xmm0
movups xmmword [rbp + 0x17], xmm0
movups xmmword [rbp + 0x27], xmm0
mov qword [rbp + 0x37], rax
mov qword [rbp - 0x19], 0xffffffff80000002
mov dword [rbp - 0x11], esi
lea rcx, [rbp - 9]
call fcn.1400055e0
nop
lea rcx, [rbp - 1]
call fcn.14003e680
nop
mov qword [rbp + 0xf], rsi
mov qword [rbp + 0x17], rsi
mov ecx, 0x30
call fcn.1400ff088
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0xf], rax
mov qword [rbp + 0x1f], rsi
mov qword [rbp + 0x27], rsi
mov ecx, 0x30
call fcn.1400ff088
mov qword [rax], rax
mov qword [rax + 8], rax
mov qword [rax + 0x10], rax
mov word [rax + 0x18], 0x101
mov qword [rbp + 0x1f], rax
lea rcx, [rbp + 0x2f]
call fcn.14003e640
nop
mov r8, rdi
lea rdx, str.Software_s
lea rcx, [rbp - 9]
call fcn.140005d70
nop
mov r9d, dword [rbp - 0x11]
or r9d, 1
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rbp - 9]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c96ab
lea rax, [rbp + 0x47]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x4b]
xor r8d, r8d
lea rdx, str.BHPUninstalled
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test edi, edi
je 0x1400c9793
mov r8, qword [rbp + 0x2f]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0x2f]
lea rcx, [rbp + 0x2f]
call fcn.140005da0
mov edx, 0x30
mov rcx, qword [rbp + 0x2f]
call fcn.1400ff054
nop
mov r8, qword [rbp + 0x1f]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0x1f]
lea rcx, [rbp + 0x1f]
call fcn.140005fa0
mov edx, 0x30
mov rcx, qword [rbp + 0x1f]
call fcn.1400ff054
nop
mov r8, qword [rbp + 0xf]
mov r8, qword [r8 + 8]
lea rdx, [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.140005fa0
mov edx, 0x30
mov rcx, qword [rbp + 0xf]
call fcn.1400ff054
nop
mov r8, qword [rbp - 1]
mov r8, qword [r8 + 8]
lea rdx, [rbp - 1]
lea rcx, [rbp - 1]
call fcn.140005fa0
mov edx, 0x30
mov rcx, qword [rbp - 1]
call fcn.1400ff054
nop
mov rdx, qword [rbp - 9]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400c975b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
add rbx, 8
cmp rbx, r14
jne 0x1400c95a0
xor al, al
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.1400ff350
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp - 0x19]
call fcn.140003080
mov al, 1
jmp 0x1400c976a
Function at 0x1400c9830
Capabilities:
Set registry value

Disassembly:
push rbx
sub rsp, 0xa0
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x68]
mov dword [rsp + 0x50], 1
mov qword [rsp + 0x40], rax
lea rdx, str.SoftwareProcessLasso
lea rax, [rsp + 0x58]
mov rbx, rcx
mov qword [rsp + 0x38], rax
xor r9d, r9d
xor eax, eax
xor r8d, r8d
mov qword [rsp + 0x30], rax
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], eax
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400c98d3
mov rcx, qword [rsp + 0x58]
lea rax, [rsp + 0x50]
mov dword [rsp + 0x28], 4
lea rdx, str.BHPUninstalled
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp byte [rbx + 0x10], 0
je 0x1400c9965
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.1400c9120
cmp al, 1
jne 0x1400c9961
lea rdx, [rsp + 0x58]
mov rcx, rbx
call fcn.1400c8780
test al, al
je 0x1400c9936
mov rax, qword [rsp + 0x70]
cmp rax, qword [rsp + 0x58]
jne 0x1400c9936
mov rax, qword [rsp + 0x78]
cmp rax, qword [rsp + 0x60]
jne 0x1400c9936
movups xmm0, xmmword [0x14013a170]
lea rdx, [rsp + 0x80]
mov rcx, rbx
movups xmmword [rsp + 0x80], xmm0
call fcn.1400c86c0
lea rdx, [rsp + 0x70]
xor ecx, ecx
call qword [0x14017be48]
test eax, eax
jne 0x1400c9965
lea r9, str.CustomHighPerfGUID
mov rdx, 0xffffffff80000002
lea r8, str.SoftwareProcessLasso
call fcn.140088840
mov al, 1
jmp 0x1400c9967
xor al, al
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0xa0
pop rbx
ret
Function at 0x1400c9980
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x360
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x340], rax
cmp qword [0x14017be20], 0
mov rdi, rcx
je 0x1400c9bbc
cmp qword [0x14017be10], 0
je 0x1400c9bbc
cmp byte [0x14017ce99], 0
mov qword [r11 + 0x10], rbx
jne 0x1400c9ba8
mov qword [r11 + 0x18], rbp
lea rcx, [r11 - 0x226]
mov qword [r11 - 0x10], rsi
xor edx, edx
mov r8d, 0x1fe
mov qword [r11 - 0x18], r14
mov byte [0x14017ce99], 1
xor bl, bl
call fcn.14012ce40
mov rdx, qword [rdi + 8]
lea rax, [rsp + 0x30]
mov rsi, qword [rdi]
mov r14d, 1
xor ebp, ebp
mov qword [rsp + 0x20], rax
mov r9d, r14d
mov word [rsp + 0x140], bp
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400c9b7d
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x140]
mov dword [rsp + 0x38], 0x200
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov dword [rsp + 0x3c], r14d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x1400c9a80
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400c9b7d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp word [rsp + 0x140], bp
je 0x1400c9b7d
mov rax, qword gs:[0x58]
mov ecx, 4
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x14017cea8], eax
jg 0x1400c9bd7
mov rax, qword [0x14017cea0]
cmp dword [rax - 0x10], ebp
jne 0x1400c9b4e
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x100
call fcn.14012ce40
mov r8d, 0x80
lea rdx, [rsp + 0x40]
lea rcx, [0x14013a1f0]
call qword [sym.imp.ole32.dll_StringFromGUID2]
lea rax, [rsp + 0x40]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], bp
jne 0x1400c9b00
lea rdx, [rsp + 0x40]
lea rcx, [0x14017cea0]
call fcn.140005a90
xor r8d, r8d
lea rdx, [0x14014f348]
lea rcx, [0x14017cea0]
call fcn.14003ee50
xor r8d, r8d
lea rdx, [0x14014f34c]
lea rcx, [0x14017cea0]
call fcn.14003ee50
mov rax, qword [0x14017cea0]
lea r8, [rsp + 0x140]
sub r8, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x1400c9b74
add rax, 2
test ecx, ecx
jne 0x1400c9b60
test edx, edx
movzx ebx, bl
cmovne ebx, r14d
mov r14, qword [rsp + 0x350]
movzx eax, bl
mov rsi, qword [rsp + 0x358]
mov rbp, qword [rsp + 0x380]
mov byte [0x14017ce9a], bl
mov rbx, qword [rsp + 0x378]
jmp 0x1400c9bbe
movzx ebx, byte [0x14017ce9a]
movzx eax, bl
mov rbx, qword [rsp + 0x378]
jmp 0x1400c9bbe
xor al, al
mov rcx, qword [rsp + 0x340]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x360
pop rdi
ret
lea rcx, [0x14017cea8]
call fcn.1400feccc
cmp dword [0x14017cea8], 0xffffffff
jne 0x1400c9ab4
lea rcx, [0x14017cea0]
mov qword [0x14017cea0], rbp
call fcn.1400055e0
lea rcx, [0x140138660]
call fcn.1400ff03c
lea rcx, [0x14017cea8]
call fcn.1400fec60
jmp 0x1400c9ab4
Function at 0x1400cbf80
Capabilities:
Check if file exists
Get file attributes
Move file

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov r8d, 0x23
lea rdx, [rsp + 0x20]
call fcn.1400cbca0
nop
mov r8d, 0x1a
lea rdx, [rsp + 0x40]
call fcn.1400cbca0
nop
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400cc002
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 7
cmova rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x1400cc004
mov bl, 1
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x1400cc042
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cc03d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cc0b1
call fcn.1400ff054
movdqa xmm0, xmmword [0x1401533b0]
movdqu xmmword [rsp + 0x50], xmm0
xor eax, eax
mov word [rsp + 0x40], ax
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x1400cc095
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400cc090
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400cc0ab
call fcn.1400ff054
movzx eax, bl
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x70
pop rbx
ret
call fcn.14010b448
nop
call fcn.14010b448
nop
int3

Function at 0x1400cc0c0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
cmp qword [0x14017bff8], 0
movzx edi, dl
je 0x1400cc160
cmp qword [0x14017c000], 7
lea rbx, [0x14017bfe8]
mov qword [rsp + 0x30], 0
mov rcx, rbx
cmova rcx, qword [0x14017bfe8]
mov edx, 0x40000000
xor r9d, r9d
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 4
lea r8d, [r9 + 7]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x1400cc160
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
je 0x1400cc153
cmp qword [0x14017c000], 7
cmova rbx, qword [0x14017bfe8]
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rbx, qword [rsp + 0x50]
xor al, al
add rsp, 0x40
pop rdi
ret

Function at 0x1400cc170
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
cmp qword [0x14017bff8], 0
jne 0x1400cc185
xor al, al
add rsp, 0x28
ret
cmp qword [0x14017c000], 7
lea rcx, [0x14017bfe8]
cmova rcx, qword [0x14017bfe8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x1400cc1b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x10], 0
je 0x1400cc1d6
cmp qword [rcx + 0x18], 7
jbe 0x1400cc1c5
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret
Function at 0x1400ce530
Capabilities:
Get system information on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rbx, rcx
mov qword [rsp + 0x20], rcx
add rcx, 8
call fcn.1400c59a0
nop
lea rcx, str.powrprof.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbx], rax
cmp qword [0x14017be78], 0
jne 0x1400ce58c
lea rdx, str.CallNtPowerInformation
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x14017be78], rax
mov byte [rbx + 0x110], 0
xor edi, edi
mov qword [rbx + 0x108], rdi
mov qword [rbx + 0x100], rdi
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov dword [rbx + 0xf8], edi
mov eax, dword [rsp + 0x48]
mov dword [rbx + 0xfc], eax
test eax, eax
je 0x1400ce5ec
mov edx, eax
mov r8, qword [rsp + 0x40]
nop dword [rax]
mov rax, r8
mov rcx, rdi
shr rax, cl
test al, 1
je 0x1400ce5e3
inc dword [rbx + 0xf8]
inc rdi
sub rdx, 1
jne 0x1400ce5d0
mov rcx, rbx
call fcn.1400ce680
nop
mov rax, rbx
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400ff350
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
Function at 0x1400cec80
Capabilities:
Read data from internet
Receive data

Disassembly:
push rbp
push rsi
push r14
push r15
sub rsp, 0x58
mov rax, qword [0x140173040]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rbp, qword [rsp + 0xa0]
mov r10, r8
mov rax, rdx
mov qword [rsp + 0x28], 0
mov rsi, r9
mov dword [rsp + 0x20], 0x4000000
mov r14, rcx
mov rdx, r10
mov rcx, rax
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
jne 0x1400cecfb
test rbp, rbp
je 0x1400cece9
xor r8d, r8d
lea ecx, [rax + 5]
mov rdx, r14
call rbp
mov dword [r14 + 0x10], 5
mov eax, 5
jmp 0x1400cee34
xor r8d, r8d
mov rdx, r14
lea ecx, [r8 + 7]
call rbp
test al, al
je 0x1400ced1b
xor r8d, r8d
mov rdx, r14
lea ecx, [r8 + 8]
call rbp
test al, al
jne 0x1400ced47
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test rbp, rbp
je 0x1400ced35
xor r8d, r8d
mov rdx, r14
lea ecx, [r8 + 4]
call rbp
mov dword [r14 + 0x10], 4
mov eax, 4
jmp 0x1400cee34
mov qword [rsp + 0x50], rbx
mov ecx, 0x1000
mov qword [rsp + 0x40], r13
call fcn.1400ff0c4
xor r13d, r13d
mov qword [rsi], rax
xor ebx, ebx
mov qword [rsp + 0x48], rdi
nop dword [rax + rax]
mov rdx, qword [rsi]
lea r9, [rsp + 0x30]
add rdx, rbx
mov r8d, 0x1000
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [rsp + 0x30]
test eax, eax
je 0x1400ced9a
test ecx, ecx
je 0x1400cee4c
add r13d, ecx
lea eax, [r13 + 0x1000]
mov ecx, eax
mov ebx, eax
call fcn.1400ff0c4
mov r8d, ebx
xor edx, edx
mov rcx, rax
mov rdi, rax
call fcn.14012ce40
mov rdx, qword [rsi]
mov rcx, rdi
mov r8d, r13d
mov ebx, r13d
call fcn.14012c6c0
mov rcx, qword [rsi]
mov edx, 1
call fcn.1400ff054
mov r8d, r13d
mov rdx, r14
mov ecx, 9
mov qword [rsi], rdi
call rbp
test al, al
jne 0x1400ced70
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
xor r8d, r8d
mov rdx, r14
lea ecx, [r8 + 4]
call rbp
mov rcx, qword [rsi]
mov edx, 1
call fcn.1400ff054
mov qword [rsi], 0
mov eax, 4
mov dword [r14 + 0x10], 4
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x50]
mov r13, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400ff350
add rsp, 0x58
pop r15
pop r14
pop rsi
pop rbp
ret
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
cmp qword [rsi], 0
je 0x1400cee8b
lea ecx, [r13 + 1]
call fcn.1400ff0c4
mov rdx, qword [rsi]
mov rcx, rax
mov r8d, r13d
mov rdi, rax
call fcn.14012c6c0
mov rcx, qword [rsi]
mov edx, 1
call fcn.1400ff054
mov qword [rsi], rdi
mov byte [r13 + rdi], 0
xor eax, eax
jmp 0x1400cee25