joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140064fc0
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.1400609cc
mov rax, qword [rbp - 0x31]
mov ebx, 0xfde9
cmp dword [rax + 0xc], ebx
jne 0x14006504a
cmp byte [rbp - 0x21], r15b
je 0x140065045
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, ebx
jmp 0x140065080
call fcn.1400630c8
test eax, eax
jne 0x14006506c
cmp byte [rbp - 0x21], r15b
je 0x140065064
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x140065080
cmp byte [rbp - 0x21], r15b
je 0x14006507d
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.14005ffac
test eax, eax
jne 0x140065120
xor edx, edx
lea rcx, [rbp - 0x39]
call fcn.1400609cc
mov rax, qword [rbp - 0x31]
cmp dword [rax + 0xc], ebx
jne 0x1400650bf
cmp byte [rbp - 0x21], r15b
je 0x1400650f4
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x1400650f4
call fcn.1400630c8
test eax, eax
jne 0x1400650e0
cmp byte [rbp - 0x21], r15b
je 0x1400650d9
mov rax, qword [rbp - 0x39]
and dword [rax + 0x3a8], 0xfffffffd
mov ebx, 1
jmp 0x1400650f4
cmp byte [rbp - 0x21], r15b
je 0x1400650f1
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.14005ffac
mov rdi, qword [rbp - 9]
test eax, eax
jne 0x140065120
mov rcx, qword [rbp + 0x27]
mov rdx, rdi
call qword [sym.imp.kernel32.dll_SetEnvironmentVariableW]
mov ebx, eax
jmp 0x140065123
mov ebx, r15d
cmp byte [rbp + 0xf], r15b
je 0x140065131
mov rcx, rdi
call fcn.14005ff5c
cmp byte [rbp + 0x3f], r15b
je 0x140065140
mov rcx, qword [rbp + 0x27]
call fcn.14005ff5c
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 0x140068020
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140068048
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140068048
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret
Function at 0x14000b6f0
Capabilities:
Check if file exists
Delete file

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, 0x60
xor edi, edi
mov dword [rax - 0x40], 3
lea rbp, [0x140029728]
mov qword [rax - 0x48], rdi
lea rsi, [0x14002fd30]
mov qword [rax - 0x30], rbp
mov r14d, 0x414
mov qword [rax - 0x38], rsi
lea rcx, [rax - 0x48]
mov word [rax - 0x28], r14w
mov dword [rax - 0x24], edi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x18], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b7aa
test al, 0x10
je 0x14000b7aa
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b750
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
sub rsp, 0x28
mov rcx, qword [0x140031d30]
test rcx, rcx
je 0x14000b80b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b7fe
mov rcx, qword [0x140031d30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140031d30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fd08], 0
je 0x14000b81d
add rsp, 0x28
jmp 0x14000b6f0
add rsp, 0x28
ret
Function at 0x14000b7d0
Capabilities:
Check if file exists
Delete file
Get file attributes
Terminate process

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, 0x60
xor edi, edi
mov dword [rax - 0x40], 3
lea rbp, [0x140029728]
mov qword [rax - 0x48], rdi
lea rsi, [0x14002fd30]
mov qword [rax - 0x30], rbp
mov r14d, 0x414
mov qword [rax - 0x38], rsi
lea rcx, [rax - 0x48]
mov word [rax - 0x28], r14w
mov dword [rax - 0x24], edi
mov qword [rax - 0x20], rdi
mov qword [rax - 0x18], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, edi
nop
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14000b7aa
test al, 0x10
je 0x14000b7aa
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x28], 3
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], rbp
mov word [rsp + 0x40], r14w
mov dword [rsp + 0x44], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x50], rbp
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
inc ebx
cmp ebx, 0x14
jl 0x14000b750
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
sub rsp, 0x28
mov rcx, qword [0x140031d30]
test rcx, rcx
je 0x14000b80b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000b7fe
mov rcx, qword [0x140031d30]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [0x140031d30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002fd08], 0
je 0x14000b81d
add rsp, 0x28
jmp 0x14000b6f0
add rsp, 0x28
ret
Function at 0x140005420
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rsp + 0x50], rax
cmp qword [rcx + 0x18], 0x10
mov rbx, rcx
jb 0x140005442
mov rcx, qword [rcx]
mov qword [rsp + 0x88], rbp
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x60], r15
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000558c
mov rdi, qword [rbx + 0x10]
test rdi, rdi
je 0x1400055fc
xor r15d, r15d
lea r14, [0x14008578c]
mov esi, r15d
nop dword [rax]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [r14 + rax], r15b
jne 0x140005497
mov rbp, qword [rbx + 0x18]
mov rcx, rbx
cmp rbp, 0x10
jb 0x1400054b0
mov rcx, qword [rbx]
mov r8, rsi
mov qword [rsp + 0x20], rax
mov rdx, rdi
call fcn.140015490
cmp rax, 0xffffffffffffffff
mov qword [rsp + 0x40], r15
mov rsi, rdi
mov qword [rsp + 0x48], 0xf
cmovne rsi, rax
mov byte [rsp + 0x30], r15b
cmp rdi, rsi
mov r8, rsi
mov rdx, rbx
cmovb r8, rdi
cmp rbp, 0x10
jb 0x1400054f4
mov rdx, qword [rbx]
lea rcx, [rsp + 0x30]
call fcn.1400013b0
cmp qword [rsp + 0x40], r15
je 0x14000553f
cmp qword [rsp + 0x48], 0x10
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000553f
cmp qword [rsp + 0x48], 0x10
lea rcx, [rsp + 0x30]
cmovae rcx, qword [rsp + 0x30]
call fcn.14005332c
test eax, eax
jne 0x1400055c3
mov rdx, qword [rsp + 0x48]
inc rsi
cmp rdx, 0x10
jb 0x14000557f
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000557a
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005600
call fcn.14002d510
mov rdi, qword [rbx + 0x10]
cmp rsi, rdi
jb 0x140005490
mov al, 1
mov r15, qword [rsp + 0x60]
mov r14, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
mov rbp, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.14002d4b0
add rsp, 0x70
pop rbx
ret
mov rdx, qword [rsp + 0x48]
cmp rdx, 0x10
jb 0x1400055fc
mov rcx, qword [rsp + 0x30]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400055f7
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140005600
call fcn.14002d510
xor al, al
jmp 0x14000558e
call fcn.14004ecdc
int3
Function at 0x140005930
Capabilities:
Access peb ldr_data

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov eax, dword [rcx + 0x40]
mov rbx, rcx
movzx ecx, byte [rcx + 0xd8]
cmp r8d, eax
mov edi, r8d
setge sil
test cl, cl
setne bpl
cmp r8d, eax
jge 0x140005969
test cl, cl
je 0x140005a56
cmp qword [rbx + 0x20], 0x10
lea rcx, [rbx + 8]
mov qword [rsp + 0xd8], r14
jb 0x140005980
mov rcx, qword [rbx + 8]
movups xmm0, xmmword [r9]
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x20], rcx
movaps xmmword [rsp + 0x40], xmm0
movups xmm0, xmmword [rdx]
mov qword [rsp + 0x28], rax
movaps xmmword [rsp + 0x30], xmm0
movsd xmm0, qword [rdx + 0x10]
movsd qword [rsp + 0xd0], xmm0
call fcn.14002caf4
movups xmm0, xmmword [rsp + 0x20]
mov qword [rsp + 0x68], rax
mov rax, qword gs:[0x58]
mov dword [rsp + 0x60], edi
mov ecx, 0xc
movaps xmmword [rsp + 0x50], xmm0
mov rdi, qword [rax]
mov r14d, 0x10
mov eax, dword [rcx + rdi]
test al, 1
jne 0x1400059f5
or eax, 1
mov dword [rcx + rdi], eax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov eax, eax
mov qword [rdi + r14], rax
mov rax, qword [rdi + r14]
lea rdx, [rsp + 0x50]
movaps xmm0, xmmword [rsp + 0x30]
movzx r9d, bpl
movsd xmm1, qword [rsp + 0xd0]
movzx r8d, sil
mov qword [rsp + 0x70], rax
mov rcx, rbx
xor eax, eax
movsd qword [rsp + 0x98], xmm1
movups xmmword [rsp + 0x88], xmm0
mov qword [rsp + 0x78], rax
movaps xmm0, xmmword [rsp + 0x40]
mov qword [rsp + 0x80], rax
movaps xmmword [rsp + 0xa0], xmm0
call fcn.1400073b0
mov r14, qword [rsp + 0xd8]
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140008860
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x80
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov r14, rdx
mov r9, rcx
mov rdi, qword [rcx + 0xf8]
mov r12, qword [rdx + 0x10]
mov r8, rdx
mov r10, qword [rdx + 0x18]
cmp r10, 0x10
jb 0x1400088b4
mov r8, qword [rdx]
movabs rdx, 0xcbf29ce484222325
xor ecx, ecx
mov rsi, rdi
test r12, r12
je 0x1400088f4
movabs r11, 0x100000001b3
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor rdx, rax
imul rdx, r11
inc rcx
cmp rcx, r12
jb 0x1400088e0
mov rax, qword [r9 + 0x120]
and rax, rdx
mov r13, qword [r9 + 0x108]
mov rbx, rax
add rbx, rbx
mov rbx, qword [r13 + rbx*8]
add rax, rax
lea rcx, [rax*8 + 8]
mov qword [rsp + 0x20], rcx
mov rax, qword [r13 + rax*8]
mov qword [rsp + 0x28], rax
nop word [rax + rax]
cmp rax, rsi
jne 0x14000893a
mov rax, rsi
jmp 0x140008941
mov rax, qword [rcx + r13]
mov rax, qword [rax]
cmp rbx, rax
je 0x1400089b7
mov rdx, r14
cmp r10, 0x10
jb 0x140008952
mov rdx, qword [r14]
lea rcx, [rbx + 0x10]
mov r15, qword [rbx + 0x28]
cmp r15, 0x10
jb 0x140008964
mov rcx, qword [rbx + 0x10]
mov rbp, qword [rbx + 0x20]
cmp rbp, r12
jne 0x14000897d
mov r8, rbp
call fcn.14004c590
test eax, eax
je 0x14000898c
mov r10, qword [r14 + 0x18]
mov rbx, qword [rbx]
mov rax, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
jmp 0x140008930
lea rdx, [rbx + 0x10]
cmp r15, 0x10
jb 0x140008999
mov rdx, qword [rdx]
mov rcx, r14
cmp qword [r14 + 0x18], 0x10
jb 0x1400089a6
mov rcx, qword [r14]
cmp r12, rbp
jne 0x1400089b7
mov r8, r12
call fcn.14004c590
test eax, eax
je 0x1400089ba
mov rbx, rsi
cmp rbx, rdi
jne 0x1400089e7
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14002d4b0
mov rbx, qword [rsp + 0xd0]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8, r14
lea rcx, [rsp + 0x58]
call fcn.140014e50
nop
lea r8, str._already_exists
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.140001580
mov rcx, rax
call fcn.1400052b0
int3
Function at 0x1400096e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbx
sub rsp, 0x280
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rsp + 0x270], rax
xor r9d, r9d
mov rcx, 0xffffffff80000002
mov r8d, 0x200
mov rbx, rdx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
test eax, eax
je 0x140009908
lea rax, [rsp + 0x48]
mov r9d, 0x20219
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14000976c
cmp eax, 2
jne 0x140009759
lea rcx, str.Key_not_found._n
call fcn.140002070
jmp 0x140009908
lea rcx, str.Error_opening_key._n
call fcn.140002070
xor eax, eax
jmp 0x14000990d
mov qword [rsp + 0x290], rsi
mov rcx, rbx
mov qword [rsp + 0x2a0], rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd rcx, eax
xor esi, esi
cmp word [rbx + rcx*2 - 2], 0x5c
lea rdi, [rbx + rcx*2]
je 0x1400097a5
mov eax, 0x5c
mov word [rdi], ax
add rdi, 2
mov word [rdi], si
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x1400098c8
nop word [rax + rax]
mov word [rdi], si
mov ecx, 0x208
mov rax, rbx
nop dword [rax + rax]
cmp word [rax], si
je 0x14000980f
add rax, 2
sub rcx, 1
jne 0x140009800
mov eax, 0x208
mov r8, rsi
sub rax, rcx
test rcx, rcx
cmovne r8, rax
je 0x140009872
mov edx, 0x208
lea rax, [rbx + r8*2]
sub rdx, r8
je 0x140009864
lea rcx, [r8 + 0x7ffffdf6]
add rcx, rdx
lea r9, [rsp + 0x60]
sub r9, rax
test rcx, rcx
je 0x140009864
movzx r8d, word [r9 + rax]
test r8w, r8w
je 0x140009864
mov word [rax], r8w
dec rcx
add rax, 2
sub rdx, 1
jne 0x140009843
test rdx, rdx
lea rcx, [rax - 2]
cmovne rcx, rax
mov word [rcx], si
mov r8b, 1
mov rdx, rbx
mov rcx, 0xffffffff80000002
call fcn.1400096e0
test eax, eax
je 0x1400098c8
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x38], rax
lea r9, [rsp + 0x40]
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
mov qword [rsp + 0x28], rsi
xor edx, edx
mov qword [rsp + 0x20], rsi
mov dword [rsp + 0x40], 0x104
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400097f0
mov word [rdi - 2], si
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
mov r8d, 0x200
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyExW]
mov rdi, qword [rsp + 0x2a0]
mov rsi, qword [rsp + 0x290]
test eax, eax
jne 0x140009765
mov eax, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.14002d4b0
add rsp, 0x280
pop rbx
ret
Function at 0x14000b1d0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x1a0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x38], rdx
lea rcx, [rsp + 0x40]
call fcn.140009d80
nop
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14000b226
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x40]
call fcn.140001500
lea rax, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rax, qword [rsp + 0x40]
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8026
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathAndSubDirA]
test eax, eax
jne 0x14000b32d
movdqa xmm0, xmmword [0x140088680]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], al
lea rax, [rsp + 0x80]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14000b293
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.1400013b0
nop
mov r8d, 1
lea rdx, [0x140085214]
lea rcx, [rsp + 0x60]
call fcn.140001500
xor esi, esi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], rsi
movups xmm0, xmmword [rax]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdi + 0x10], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
mov rdx, qword [rsp + 0x78]
cmp rdx, 0x10
jb 0x14000b351
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b326
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b41a
call fcn.14002d510
jmp 0x14000b351
xor esi, esi
mov qword [rdi + 0x10], rsi
mov qword [rdi + 0x18], 0xf
mov byte [rdi], sil
xor r8d, r8d
lea rdx, [0x140085210]
mov rcx, rdi
call fcn.1400013b0
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x14000b38e
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b389
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b40e
call fcn.14002d510
movdqa xmm0, xmmword [0x140088680]
movdqu xmmword [rsp + 0x50], xmm0
mov byte [rsp + 0x40], 0
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x14000b3d7
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000b3d2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000b414
mov rcx, r8
call fcn.14002d510
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14002d4b0
lea r11, [rsp + 0x1a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14004ecdc
nop
call fcn.14004ecdc
nop
call fcn.14004ecdc
int3
Function at 0x14000c020
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x320
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rsp + 0x310], rax
movdqa xmm0, xmmword [0x140088680]
mov r8, 0xffffffffffffffff
movdqu xmmword [rsp + 0xf0], xmm0
mov byte [rsp + 0xe0], 0
nop dword [rax + rax]
inc r8
cmp byte [rcx + r8], 0
jne 0x14000c060
mov rdx, rcx
lea rcx, [rsp + 0xe0]
call fcn.1400013b0
cmp qword [rsp + 0xf8], 0x10
lea r8, [rsp + 0xe0]
mov edx, 0x208
lea rcx, [rsp + 0x100]
cmovae r8, qword [rsp + 0xe0]
call fcn.140052a28
xor edx, edx
lea rcx, [rsp + 0x74]
lea r8d, [rdx + 0x64]
call fcn.14004c320
xor eax, eax
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x100]
mov qword [rsp + 0x58], rax
xor r9d, r9d
mov qword [rsp + 0x60], rax
xor r8d, r8d
lea rax, [rsp + 0x50]
xor ecx, ecx
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
mov rcx, qword [rsp + 0x50]
mov edx, 0xffffffff
test eax, eax
setne bl
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0xf8]
cmp rdx, 0x10
jb 0x14000c17b
mov rcx, qword [rsp + 0xe0]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c176
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c197
call fcn.14002d510
movzx eax, bl
mov rcx, qword [rsp + 0x310]
xor rcx, rsp
call fcn.14002d4b0
add rsp, 0x320
pop rbx
ret
call fcn.14004ecdc
int3
Function at 0x14000c1a0
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push rbp
lea rbp, [rsp - 0x2f0]
sub rsp, 0x3f0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x400], rbx
mov rax, qword [0x14009d080]
xor rax, rsp
mov qword [rbp + 0x2e0], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREASUSAXSP
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000c3f9
mov dword [rsp + 0x30], 0x208
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, [0x140087138]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000c3f9
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14000c3ee
lea rcx, [rbp + 0xd0]
call qword [sym.imp.SHLWAPI.dll_PathQuoteSpacesW]
mov ecx, 0x104
lea rax, [rbp + 0xd0]
cmp word [rax], 0
je 0x14000c280
add rax, 2
sub rcx, 1
jne 0x14000c270
mov eax, 0x104
sub rax, rcx
xor ebx, ebx
mov r8d, ebx
test rcx, rcx
cmovne r8, rax
je 0x14000c2ef
mov edx, 0x104
sub rdx, r8
lea rcx, [rbp + 0xd0]
lea rcx, [rcx + r8*2]
je 0x14000c2e1
lea rax, [rdx + 0x7ffffefa]
add rax, r8
lea r9, str.__UnregServer
sub r9, rcx
nop
test rax, rax
je 0x14000c2e1
movzx r8d, word [r9 + rcx]
test r8w, r8w
je 0x14000c2e1
mov word [rcx], r8w
add rcx, 2
dec rax
sub rdx, 1
jne 0x14000c2c0
lea rax, [rcx - 2]
test rdx, rdx
cmovne rax, rcx
mov word [rax], bx
mov qword [rsp + 0x20], 0x104
lea r9, [rbp + 0xd0]
mov r8d, 0x104
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x78]
call fcn.14005330c
movdqa xmm0, xmmword [0x140088680]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], bl
lea rax, [rbp - 0x40]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], bl
jne 0x14000c330
lea rdx, [rbp - 0x40]
lea rcx, [rbp - 0x60]
call fcn.1400013b0
nop
lea rax, str.UnRegisterATKService:_filename_
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x21
call fcn.1400087f0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rbx
mov qword [rsp + 0x68], rbx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x58]
movaps xmmword [rbp - 0x80], xmm1
movsd xmm0, qword [rsp + 0x68]
movsd qword [rbp - 0x70], xmm0
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x80]
mov rcx, qword [rax + 0x1d8]
call fcn.140020130
nop
mov rdx, qword [rbp - 0x48]
cmp rdx, 0x10
jb 0x14000c3e5
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3e0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c419
call fcn.14002d510
lea rcx, [rbp - 0x40]
call fcn.14000c020
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x2e0]
xor rcx, rsp
call fcn.14002d4b0
mov rbx, qword [rsp + 0x400]
add rsp, 0x3f0
pop rbp
ret
call fcn.14004ecdc
int3