joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140005b50
Capabilities:
Check if file exists
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x238
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp word [rcx], 0
je 0x140005c5c
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005bd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005bd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005bd3
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005c77
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_delete_service_updater_path:__ls.
mov r8, rsi
call fcn.14000cee0
lea rdi, [rsp + 0x20]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call fcn.1400101a0
lea r8, str.updater.ini
mov rcx, rdi
mov rdx, rsi
call fcn.14000d2c0
test eax, eax
je 0x140005c5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005c5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005c5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005c5c
mov eax, dword [0x14003a1b8]
mov ecx, dword [0x140038cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005cb8
lea rcx, [0x140039fa8]
lea rdx, str.Could_not_delete_service_updater_INI_path:__ls.
lea r8, [rsp + 0x20]
call fcn.14000cee0
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400195d0
nop
add rsp, 0x238
pop rdi
pop rsi
ret
lea rcx, [0x14003a1b8]
call fcn.14000e720
cmp dword [0x14003a1b8], 0xffffffff
jne 0x140005bbd
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e8d8
lea rcx, [0x14003a1b8]
call fcn.14000e788
jmp 0x140005bbd
lea rcx, [0x14003a1b8]
call fcn.14000e720
cmp dword [0x14003a1b8], 0xffffffff
jne 0x140005c44
mov qword [0x140039fa8], 0
lea rcx, [0x140002090]
call fcn.14000e8d8
lea rcx, [0x14003a1b8]
call fcn.14000e788
jmp 0x140005c44
Function at 0x14000a310
Capabilities:
Check if file exists
Move file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x68
mov r14, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rcx, qword [rdx + 8]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000a349
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], 0xffffffffffffffff
xorps xmm0, xmm0
movaps xmmword [rsp + 0x30], xmm0
movzx eax, word [0x14002e750]
mov word [rsp + 0x50], ax
movaps xmm0, xmmword [str._s.bak_u]
movaps xmmword [rsp + 0x40], xmm0
mov r8, qword [rbx + 8]
lea rcx, [rsp + 0x30]
lea rdx, [rsp + 0x40]
mov r9d, 3
call fcn.14000b470
test rax, rax
jne 0x14000a3ef
mov rcx, rbx
mov rdx, rdi
call fcn.14000b500
mov esi, eax
test r14, r14
je 0x14000a3ba
test esi, esi
js 0x14000a3ba
mov qword [r14], 0
mov rax, qword [r14 + 8]
test rax, rax
je 0x14000a3ba
mov word [rax], 0
mov rcx, qword [rsp + 0x38]
mov qword [rsp + 0x38], 0
test rcx, rcx
je 0x14000a3d2
call fcn.14000e5b4
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400195d0
mov eax, esi
add rsp, 0x68
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rsi, rax
add rsi, 1
mov r9, qword [rbx + 8]
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, rsi
call fcn.14000b4c0
mov r12, qword [rsp + 0x30]
test r12, r12
je 0x14000a38f
mov rcx, qword [rbx + 8]
mov r15, qword [rsp + 0x38]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x14000a458
xor esi, esi
test r14, r14
je 0x14000a3ba
movups xmm0, xmmword [r14]
mov qword [r14 + 8], r15
movaps xmmword [rsp + 0x30], xmm0
mov qword [r14], r12
jmp 0x14000a3ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000a598
cmp eax, 5
je 0x14000a477
cmp eax, 0xb7
jne 0x14000a38f
mov r9, qword [rbx + 8]
mov dword [rsp + 0x20], 1
lea rcx, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, rsi
call fcn.14000b4c0
mov r12, qword [rsp + 0x30]
test r12, r12
je 0x14000a38f
mov rcx, qword [rbx + 8]
mov r15, qword [rsp + 0x38]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14000a438
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000a598
cmp eax, 0xb7
je 0x14000a4dc
cmp eax, 5
jne 0x14000a38f
mov r9, qword [rbx + 8]
mov dword [rsp + 0x20], 2
lea rcx, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, rsi
call fcn.14000b4c0
mov r12, qword [rsp + 0x30]
test r12, r12
je 0x14000a38f
mov rcx, qword [rbx + 8]
mov r15, qword [rsp + 0x38]
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
jne 0x14000a438
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x14000a598
cmp eax, 0xb7
je 0x14000a53d
cmp eax, 5
jne 0x14000a38f
mov r9, qword [rbx + 8]
mov dword [rsp + 0x20], 3
lea rcx, [rsp + 0x30]
lea r8, [rsp + 0x40]
mov rdx, rsi
call fcn.14000b4c0
mov r12, qword [rsp + 0x30]
test r12, r12
je 0x14000a38f
mov rcx, qword [rbx + 8]
mov r15, qword [rsp + 0x38]
mov rdx, r15
mov r8d, 1
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x14000a438
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000a38f
xor esi, esi
test r14, r14
jne 0x14000a3a5
jmp 0x14000a3ba
Function at 0x14000b090
Capabilities:
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x80
mov ebx, r8d
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rcx, qword [rcx + 8]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14000b1b5
mov rax, 0xffffffffffffffff
movq xmm0, rax
movdqu xmmword [rsi + 8], xmm0
mov rax, qword [rsi + 0x18]
test rax, rax
jne 0x14000b1c0
mov rdx, qword [rdi + 8]
test ebx, ebx
je 0x14000b1ca
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsi + 4], eax
mov dword [rsi], 2
mov rcx, qword [rsi + 8]
cmp rcx, 0xffffffffffffffff
jne 0x14000b1d7
mov rcx, qword [rdi + 8]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x2000000
mov dword [rsp + 0x20], 3
xor edx, edx
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14000b1ae
mov rcx, rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x14000b1ae
xor eax, eax
cmp dword [rsp + 0x68], 1
seta al
mov dword [rsi], 2
mov ecx, dword [rsi + 4]
cmp ecx, 0xffffffff
je 0x14000b1e8
shr ecx, 0xa
and ecx, 1
xor edx, edx
test eax, eax
je 0x14000b180
cmp ecx, 1
jne 0x14000b1ef
mov dword [rsi], edx
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14000b195
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400195d0
nop
add rsp, 0x80
pop rbx
pop rdi
pop rsi
ret
mov eax, 2
jmp 0x14000b161
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000b0c4
mov word [rax], 0
jmp 0x14000b0e2
mov rcx, rsi
call fcn.14000bb50
jmp 0x14000b0fa
test byte [rsi + 4], 0x10
jne 0x14000b10e
xor edi, edi
jmp 0x14000b148
mov ecx, 2
jmp 0x14000b175
cmp eax, 1
jne 0x14000b182
mov edx, 1
test ecx, ecx
je 0x14000b180
jmp 0x14000b182
Function at 0x14000b500
Capabilities:
Delete file
Move file
Set file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov rcx, qword [rdx + 8]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000b530
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rdi + 8], 0xffffffffffffffff
mov eax, dword [rdi + 4]
test al, 1
je 0x14000b559
mov ecx, eax
and ecx, 0xfffffffe
cmp eax, 0xffffffff
mov edx, 0x80
cmovne edx, ecx
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xorps xmm0, xmm0
movaps xmmword [rsp + 0x20], xmm0
mov rdx, qword [rsi]
mov r9, qword [rsi + 8]
add rdx, 1
lea r8, [0x14003146a]
lea rcx, [rsp + 0x20]
call fcn.140009740
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x38], 3
mov rdi, qword [rsp + 0x28]
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x48], 0
mov word [rsp + 0x50], 0x654
mov qword [rsp + 0x60], 0
lea rcx, [rsp + 0x30]
call qword [sym.imp.SHELL32.dll_SHFileOperationW]
xor ebx, ebx
test eax, 0xfffffffd
je 0x14000b5e7
mov rcx, qword [rsi + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14000b5e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov qword [rsp + 0x28], 0
test rdi, rdi
je 0x14000b5fd
mov rcx, rdi
call fcn.14000e5b4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.1400195d0
mov eax, ebx
add rsp, 0x70
pop rbx
pop rdi
pop rsi
ret
Function at 0x14000bb50
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x40
mov rdi, rdx
mov rsi, rcx
mov rcx, rdx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsi + 4], eax
mov ecx, eax
shr ecx, 4
and ecx, 1
cmp eax, 0xffffffff
mov ebp, 2
cmovne ebp, ecx
cmp ebp, 2
je 0x14000bc9d
cmp ebp, 1
jne 0x14000bc10
mov ecx, 0x20a
call fcn.14000e5ac
mov rbx, rax
mov r8d, 0x20a
mov rcx, rax
xor edx, edx
call fcn.1400101a0
lea rdx, str.mozlock.
mov rcx, rdi
mov r8, rbx
call fcn.14000e440
test eax, eax
je 0x14000bccf
mov rcx, rbx
call fcn.1400176d8
test rax, rax
je 0x14000bccf
mov rcx, rax
nop dword [rax]
add rcx, 0xffffffffffffffff
movzx edx, word [rbx + rcx*2]
cmp dx, 0x5c
je 0x14000bbf8
cmp dx, 0x2f
jne 0x14000bca8
cmp rax, rcx
jb 0x14000bbe0
mov word [rbx + rcx*2], 0
mov rax, rcx
test rcx, rcx
jne 0x14000bbe0
jmp 0x14000bccf
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
mov rcx, rdi
mov edx, 0x60000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
mov rcx, qword [rsi + 8]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000bc54
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 8], rbx
cmp rbx, 0xffffffffffffffff
je 0x14000bc9d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rsi + 4], eax
mov ecx, eax
shr ecx, 4
and ecx, 1
cmp eax, 0xffffffff
mov eax, 2
cmovne eax, ecx
cmp ebp, eax
je 0x14000bc9d
mov rcx, qword [rsi + 8]
lea rax, [rcx + 1]
cmp rax, 2
jb 0x14000bc95
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsi + 8], 0xffffffffffffffff
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
mov rcx, rbx
mov dx, 0x2f
call fcn.1400103c4
mov r14, rax
mov rcx, rbx
mov dx, 0x5c
call fcn.1400103c4
cmp r14, rax
cmova rax, r14
test rax, rax
jne 0x14000bce1
mov rcx, rbx
add rsp, 0x40
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
jmp fcn.14000e5b4
add rax, 2
lea rcx, [rsi + 0x10]
mov rdx, rax
call fcn.140009640
test eax, eax
js 0x14000bccf
cmp qword [rsi + 0x10], 0
je 0x14000bccf
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x4000000
mov dword [rsp + 0x20], 4
mov rcx, rbx
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov r14, rax
mov rcx, qword [rsi + 8]
lea rax, [rcx + 1]
cmp rax, 2
jae 0x14000bd56
mov qword [rsi + 8], r14
mov rcx, rbx
call fcn.14000e5b4
mov rbx, qword [rsi + 8]
cmp rbx, 0xffffffffffffffff
jne 0x14000bc5e
jmp 0x14000bc9d
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000bd37
Function at 0x14000cee0
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 [0x140038010]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp qword [rcx], 0
je 0x14000cf6f
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, 0xd
mov r8d, 1
call fcn.140017080
mov rdi, qword [rsp + 0x28]
mov rbx, qword [rsi]
call fcn.1400020c0
mov rcx, qword [rax]
mov qword [rsp + 0x20], rdi
mov rdx, rbx
mov r8, r14
xor r9d, r9d
call fcn.140010b74
mov r9, qword [rsi]
lea rcx, str._n
mov edx, 4
mov r8d, 1
call fcn.140017080
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400195d0
nop
add rsp, 0x38
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x14000d320
Capabilities:
Create directory
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, section..rdata
xor esi, esi
lea r9, [rsp + 0x20]
mov edx, 0x8000
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x14000d376
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.1400176d8
cmp rax, 0x105
jb 0x14000d38d
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400195d0
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov r8d, 0x105
mov rcx, rdi
mov rdx, rbx
call fcn.140017ba0
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.Mozilla_Maintenance_Service
mov rcx, rdi
call fcn.14000e350
test eax, eax
je 0x14000d376
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000d3da
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000d376
lea rdx, str.UpdateLogs
mov rcx, rdi
call fcn.14000e350
test eax, eax
je 0x14000d376
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000d40f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14000d376
mov esi, 1
jmp 0x14000d376
Function at 0x14000dbd0
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 [0x140038010]
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 0x14000dce1
mov r14, rax
mov rcx, rax
mov rdx, rdi
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x14000dd04
mov rdi, rax
mov dword [rsp + 0x3c], 0xcf
imul ebp, ebx, 0x3e8
test ebp, ebp
je 0x14000dd2b
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]
jmp 0x14000dc7e
cmp dword [rsp + 0x3c], 1
je 0x14000dd4c
mov ecx, 0x32
call r13
add esi, 0x32
cmp esi, ebp
jae 0x14000dd46
mov qword [rsp + 0x20], r15
mov rcx, rdi
xor edx, edx
mov r8, r12
mov r9d, 0x24
call rbx
test eax, eax
jne 0x14000dc60
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jle 0x14000dcb4
lea ecx, [rax - 0x425]
cmp ecx, 2
jb 0x14000dc6b
jmp 0x14000ddc7
cmp eax, 0x79
jle 0x14000dd97
cmp eax, 0x41c
je 0x14000dc6b
cmp eax, 0x7a
je 0x14000ddea
cmp eax, 0x7c
jne 0x14000dddc
mov ebx, 0xdd
mov dword [rsp + 0x3c], ebx
jmp 0x14000dd51
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 0x14000dd62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, 0x7a
jg 0x14000dd32
cmp edi, 5
je 0x14000dd82
cmp edi, 6
jne 0x14000dd90
mov ebx, 0xec
jmp 0x14000dd62
mov ebx, 0xcf
jmp 0x14000dd51
cmp edi, 0x7b
je 0x14000dd89
cmp edi, 0x424
jne 0x14000dd90
mov ebx, 0xee
jmp 0x14000dd62
mov ebx, dword [rsp + 0x3c]
jmp 0x14000dd51
mov ebx, 1
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.1400195d0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebx, 0xeb
jmp 0x14000dd62
mov ebx, 0xed
jmp 0x14000dd62
mov ebx, 0xef
jmp 0x14000dd62
cmp eax, 5
je 0x14000ddb1
cmp eax, 6
je 0x14000ddbc
cmp eax, 0x57
jne 0x14000dddc
mov ebx, 0xdc
mov dword [rsp + 0x3c], ebx
jmp 0x14000dd51
mov ebx, 0xda
mov dword [rsp + 0x3c], ebx
jmp 0x14000dd51
mov ebx, 0xd9
mov dword [rsp + 0x3c], ebx
jmp 0x14000dd51
cmp eax, 0x45b
jne 0x14000dddc
mov ebx, 0xde
mov dword [rsp + 0x3c], ebx
jmp 0x14000dd51
mov ebx, 0xdf
mov dword [rsp + 0x3c], ebx
jmp 0x14000dd51
mov ebx, 0xdb
mov dword [rsp + 0x3c], ebx
jmp 0x14000dd51
Function at 0x14000de00
Capabilities:
Write file on windows

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x468
mov ebp, edx
mov rbx, rcx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x460], rax
xor edi, edi
lea rsi, [rsp + 0x40]
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.1400101a0
mov rcx, rsi
call fcn.14000d320
test eax, eax
je 0x14000de75
xor edi, edi
lea rsi, [rsp + 0x250]
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.1400101a0
lea rdx, str..status
mov rcx, rbx
mov r8, rsi
call fcn.14000d420
test eax, eax
jne 0x14000de93
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.1400195d0
mov eax, edi
add rsp, 0x468
pop rbx
pop rbp
pop rdi
pop rsi
ret
lea rcx, [rsp + 0x40]
lea rdx, [rsp + 0x250]
call fcn.14000e350
test eax, eax
je 0x14000de75
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 2
xor edi, edi
lea rcx, [rsp + 0x40]
mov edx, 0x40000000
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
cmp rax, 0xffffffffffffffff
je 0x14000de75
mov rbx, rax
lea rsi, [rsp + 0x250]
mov rcx, rsi
mov r8d, ebp
call fcn.14000df40
mov rcx, rsi
call fcn.140017440
mov rdi, rax
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x3c]
mov rcx, rbx
mov rdx, rsi
mov r8d, edi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
setne al
cmp dword [rsp + 0x3c], edi
sete cl
and cl, al
movzx edi, cl
jmp 0x14000de75

Function at 0x14000dfc0
Capabilities:
Enumerate processes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x268
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, 0x102
test edx, edx
je 0x14000e0d0
mov r15d, edx
mov rbx, rcx
xor ebp, ebp
lea r12, [rsp + 0x54]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
lea r13, [rsp + 0x28]
nop dword [rax + rax]
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x14000e070
mov rdi, rax
mov dword [rsp + 0x28], 0x238
mov rcx, rax
mov rdx, r13
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000e090
nop dword [rax]
mov rcx, rbx
mov rdx, r12
call fcn.140015968
test eax, eax
je 0x14000e0a0
mov rcx, rdi
mov rdx, r13
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000e040
mov esi, 0x490
jmp 0x14000e0a2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0x490
jne 0x14000e0b3
jmp 0x14000e0ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14000e0a2
xor esi, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x490
je 0x14000e0ce
mov ecx, 0x3e8
call r14
add ebp, 1
cmp ebp, r15d
jne 0x14000e010
mov esi, 0x102
jmp 0x14000e0d0
xor esi, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400195d0
mov eax, esi
add rsp, 0x268
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000e170
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x238], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
xor edx, edx
call fcn.1400101a0
mov rcx, rdi
call fcn.1400176d8
cmp rax, 0x104
ja 0x14000e1ed
lea rbx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
mov rdx, rdi
call fcn.140017ba0
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.1400195d0
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret

Function at 0x14000e280
Capabilities:
Check if file exists
Enumerate files on windows

Disassembly:
push rsi
sub rsp, 0x280
mov rsi, rcx
mov rax, qword [0x140038010]
xor rax, rsp
mov qword [rsp + 0x278], rax
mov rcx, qword [rcx]
cmp rcx, 0xffffffffffffffff
je 0x14000e2f4
lea rdx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000e32a
lea rdx, [rsp + 0x54]
lea rsi, [0x14003a1cc]
mov r8d, 0x105
mov rcx, rsi
call fcn.140017ba0
mov word [0x14003a3d4], 0
mov rcx, qword [rsp + 0x278]
xor rcx, rsp
call fcn.1400195d0
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 0x14000e2b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.140014b94
cmp esi, 2
mov ecx, 9
cmove ecx, esi
mov dword [rax], ecx
xor esi, esi
jmp 0x14000e2d8
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14000e339
xor esi, esi
jmp 0x14000e2d8
call fcn.140014b94
mov dword [rax], 2
xor esi, esi
jmp 0x14000e2d8

Function at 0x140013f1c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140014054
mov qword [rsp + 8], rbx
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov ebx, ecx
test r8d, r8d
jne 0x1400140bb
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400140bb
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400140bb
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400140bb
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400140bb
cmp dword [rcx + 0x84], 0xe
jbe 0x1400140bb
cmp dword [rcx + 0xf8], 0
je 0x1400140bb
mov ecx, ebx
call fcn.140013fa0
lea rax, [rbp + 0x18]
mov byte [rbp + 0x28], 0
mov qword [rbp - 0x20], rax
lea r9, [rbp - 0x2c]
lea rax, [rbp + 0x20]
mov qword [rbp - 0x18], rax
lea r8, [rbp - 0x20]
lea rax, [rbp + 0x28]
mov qword [rbp - 0x10], rax
lea rdx, [rbp - 0x28]
mov eax, 2
lea rcx, [rbp - 0x30]
mov dword [rbp - 0x2c], eax
mov dword [rbp - 0x28], eax
call fcn.1400141e8
cmp dword [rbp + 0x20], 0
je 0x140014108
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140013ffc
int3
Function at 0x140016054
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140016074
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140014bd4
or eax, 0xffffffff
jmp 0x140016076
xor eax, eax
add rsp, 0x28
ret