joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002730
Capabilities:
Get file size
Read file on windows

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
mov eax, 0x10048
call fcn.14001c7b0
sub rsp, rax
mov r14, r8
mov rbx, rdx
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x10040], rax
xor edi, edi
mov dword [r8], edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400028c4
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
xor edi, edi
mov rcx, rbx
mov edx, 0x80000000
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400028af
mov rbp, qword [sym.imp.KERNEL32.dll_GetFileSize]
xor edi, edi
mov rcx, rsi
xor edx, edx
call rbp
mov r15d, eax
mov rcx, rbx
xor edx, edx
call rbp
cmp r15d, 0xffffffff
je 0x1400028af
cmp eax, 0xffffffff
je 0x1400028af
mov edi, 1
cmp r15d, eax
jne 0x1400028af
cmp r15d, 0x8000
jae 0x1400028ff
and r15d, 0x7fff
je 0x1400028a3
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x8040]
lea r9, [rsp + 0x3c]
mov rcx, rsi
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_ReadFile]
xor edi, edi
test eax, eax
je 0x1400028af
cmp dword [rsp + 0x3c], r15d
jne 0x1400028af
mov qword [rsp + 0x20], 0
lea rdx, [rsp + 0x40]
lea r9, [rsp + 0x3c]
mov rcx, rbx
mov r8d, r15d
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400028af
cmp dword [rsp + 0x3c], r15d
jne 0x1400028af
mov r8d, r15d
lea rcx, [rsp + 0x8040]
lea rdx, [rsp + 0x40]
call fcn.14000cca0
mov edi, 1
test eax, eax
jne 0x1400028af
mov dword [r14], 1
mov edi, 1
mov rax, rbx
inc rax
cmp rax, 2
jb 0x1400028c4
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
inc rax
cmp rax, 2
jb 0x1400028d9
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x10040]
xor rcx, rsp
call fcn.140015cc0
mov eax, edi
add rsp, 0x10048
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov ebp, r15d
shr ebp, 0xf
lea rdi, [rsp + 0x8040]
mov r13, qword [sym.imp.KERNEL32.dll_ReadFile]
mov qword [rsp + 0x20], 0
mov rcx, rsi
mov r12, rdi
mov rdx, rdi
mov r8d, 0x8000
lea r9, [rsp + 0x3c]
call r13
xor edi, edi
test eax, eax
je 0x1400028af
cmp dword [rsp + 0x3c], 0x8000
jne 0x1400028af
mov qword [rsp + 0x20], 0
mov rcx, rbx
lea rdx, [rsp + 0x40]
mov r8d, 0x8000
lea r9, [rsp + 0x3c]
call r13
test eax, eax
je 0x1400028af
cmp dword [rsp + 0x3c], 0x8000
jne 0x1400028af
mov r8d, 0x8000
mov rdi, r12
mov rcx, r12
lea rdx, [rsp + 0x40]
call fcn.14000cca0
test eax, eax
jne 0x1400028aa
dec ebp
jne 0x140002914
jmp 0x140002823
Function at 0x140004680
Capabilities:
Get file version info

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov r14, r9
mov r15, r8
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x30], rax
xor edx, edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebp, eax
mov ecx, eax
call fcn.14000ae14
mov rsi, rax
mov rcx, rbx
xor edx, edx
mov r8d, ebp
mov r9, rax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x14000471c
lea r8, [rsp + 0x28]
mov qword [r8], rsi
lea rdx, [0x14002d22e]
lea r9, [rsp + 0x24]
mov rcx, rsi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140004753
mov rax, qword [rsp + 0x90]
mov rcx, qword [rsp + 0x28]
movzx edx, word [rcx + 0xa]
mov dword [rdi], edx
movzx edx, word [rcx + 8]
mov dword [r15], edx
movzx edx, word [rcx + 0xe]
mov dword [r14], edx
movzx ecx, word [rcx + 0xc]
mov dword [rax], ecx
mov edi, 1
jmp 0x140004796
mov eax, dword [0x140035198]
mov ecx, dword [0x140033cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400047ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140034f88]
lea rdx, str.Could_not_obtain_file_info_of_old_service.____d_
jmp 0x14000478c
mov eax, dword [0x140035198]
mov ecx, dword [0x140033cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400047fb
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140034f88]
lea rdx, str.Could_not_query_file_version_info_of_old_service.____d_
mov r8d, eax
call fcn.140008f50
xor edi, edi
mov rcx, rsi
call fcn.14000b0c0
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.140015cc0
mov eax, edi
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret
lea rcx, [0x140035198]
call fcn.14000b2f0
cmp dword [0x140035198], 0xffffffff
jne 0x14000473d
mov qword [0x140034f88], 0
lea rcx, [0x140002700]
call fcn.14000b4a8
lea rcx, [0x140035198]
call fcn.14000b358
jmp 0x14000473d
lea rcx, [0x140035198]
call fcn.14000b2f0
cmp dword [0x140035198], 0xffffffff
jne 0x140004778
mov qword [0x140034f88], 0
lea rcx, [0x140002700]
call fcn.14000b4a8
lea rcx, [0x140035198]
call fcn.14000b358
jmp 0x140004778
Function at 0x140004840
Capabilities:
Delete service
Query service status
Stop service

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x48
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor ecx, ecx
xor edx, edx
mov r8d, 0xf003f
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
test rax, rax
je 0x14000491e
mov r14, rax
lea rdx, str.MozillaMaintenance
mov rcx, rax
mov r8d, 0xf01ff
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x140004963
mov rdi, rax
lea r8, [rsp + 0x20]
mov rcx, rax
mov edx, 1
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x1400048f1
xor esi, esi
mov r12, qword [sym.imp.KERNEL32.dll_Sleep]
lea r15, [rsp + 0x20]
mov rbx, qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
mov ecx, dword [rsp + 0x38]
call r12
cmp dword [rsp + 0x24], 1
je 0x1400048f1
mov eax, dword [rsp + 0x38]
add esi, eax
add esi, 0xa
cmp esi, 0xea60
ja 0x1400048f1
mov rcx, rdi
mov rdx, r15
call rbx
test eax, eax
jne 0x1400048c6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
test eax, eax
jne 0x140004910
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0x430
sete bl
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400049a6
mov eax, dword [0x140035198]
mov ecx, dword [0x140033cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400049cc
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140034f88]
lea rdx, str.Could_not_open_service_manager.____d_
mov r8d, eax
call fcn.140008f50
xor ebx, ebx
jmp 0x1400049af
mov eax, dword [0x140035198]
mov ecx, dword [0x140033cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140004a0d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [0x140034f88]
lea rdx, str.Could_not_open_service.____d_
mov r8d, eax
call fcn.140008f50
xor ebx, ebx
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140015cc0
mov eax, ebx
add rsp, 0x48
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
lea rcx, [0x140035198]
call fcn.14000b2f0
cmp dword [0x140035198], 0xffffffff
jne 0x140004943
mov qword [0x140034f88], 0
lea rcx, [0x140002700]
call fcn.14000b4a8
lea rcx, [0x140035198]
call fcn.14000b358
jmp 0x140004943
lea rcx, [0x140035198]
call fcn.14000b2f0
cmp dword [0x140035198], 0xffffffff
jne 0x140004988
mov qword [0x140034f88], 0
lea rcx, [0x140002700]
call fcn.14000b4a8
lea rcx, [0x140035198]
call fcn.14000b358
jmp 0x140004988
Function at 0x140005d50
Capabilities:
Check if file exists
Delete file

Disassembly:
push rsi
push rdi
sub rsp, 0x238
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp word [rcx], 0
je 0x140005e5c
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005dd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005dd3
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005dd3
mov eax, dword [0x140035198]
mov ecx, dword [0x140033cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005e77
lea rcx, [0x140034f88]
lea rdx, str.Could_not_delete_service_updater_path:__ls.
mov r8, rsi
call fcn.140008f50
lea rdi, [rsp + 0x20]
mov r8d, 0x20a
mov rcx, rdi
xor edx, edx
call fcn.14000cda0
lea r8, str.updater.ini
mov rcx, rdi
mov rdx, rsi
call fcn.140009650
test eax, eax
je 0x140005e5c
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140005e5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 3
je 0x140005e5c
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x140005e5c
mov eax, dword [0x140035198]
mov ecx, dword [0x140033cbc]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140005eb8
lea rcx, [0x140034f88]
lea rdx, str.Could_not_delete_service_updater_INI_path:__ls.
lea r8, [rsp + 0x20]
call fcn.140008f50
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.140015cc0
nop
add rsp, 0x238
pop rdi
pop rsi
ret
lea rcx, [0x140035198]
call fcn.14000b2f0
cmp dword [0x140035198], 0xffffffff
jne 0x140005dbd
mov qword [0x140034f88], 0
lea rcx, [0x140002700]
call fcn.14000b4a8
lea rcx, [0x140035198]
call fcn.14000b358
jmp 0x140005dbd
lea rcx, [0x140035198]
call fcn.14000b2f0
cmp dword [0x140035198], 0xffffffff
jne 0x140005e44
mov qword [0x140034f88], 0
lea rcx, [0x140002700]
call fcn.14000b4a8
lea rcx, [0x140035198]
call fcn.14000b358
jmp 0x140005e44
Function at 0x1400096b0
Capabilities:
Create directory
Get common file path

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rdi, rcx
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rcx, [0x140025028]
xor esi, esi
lea r9, [rsp + 0x20]
mov edx, 0x8000
xor r8d, r8d
call sub.SHELL32.dll_SHGetKnownFolderPath
test eax, eax
js 0x140009706
mov rbx, qword [rsp + 0x20]
mov rcx, rbx
call fcn.14000af00
cmp rax, 0x105
jb 0x14000971d
mov rcx, rbx
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140015cc0
mov eax, esi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
mov r8d, 0x105
mov rcx, rdi
mov rdx, rbx
call fcn.14000b0c8
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rdx, str.Mozilla_Maintenance_Service
mov rcx, rdi
call fcn.140024350
test eax, eax
je 0x140009706
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000976a
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140009706
lea rdx, str.UpdateLogs
mov rcx, rdi
call fcn.140024350
test eax, eax
je 0x140009706
xor esi, esi
mov rcx, rdi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14000979f
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140009706
mov esi, 1
jmp 0x140009706
Function at 0x140009ea0
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 [0x140033010]
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 0x140009f9c
mov r14, rax
mov rcx, rax
mov rdx, rdi
mov r8d, 4
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
test rax, rax
je 0x140009fc2
mov rdi, rax
mov dword [rsp + 0x3c], 0xcf
imul ebp, ebx, 0x3e8
test ebp, ebp
je 0x140009fec
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]
mov qword [rsp + 0x20], r15
mov rcx, rdi
xor edx, edx
mov r8, r12
mov r9d, 0x24
call rbx
test eax, eax
je 0x140009f53
cmp dword [rsp + 0x3c], 1
jne 0x140009f84
jmp 0x14000a00d
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x424
jle 0x140009f70
lea ecx, [rax - 0x425]
cmp ecx, 2
jb 0x140009f84
jmp 0x14000a05e
cmp eax, 0x79
jle 0x14000a014
cmp eax, 0x41c
jne 0x14000a03f
mov ecx, 0x32
call r13
add esi, 0x32
cmp esi, ebp
jb 0x140009f2e
mov ebx, dword [rsp + 0x3c]
jmp 0x14000a07c
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 0x14000a08d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
cmp edi, 0x7a
jg 0x140009ff6
cmp edi, 5
je 0x14000a02a
cmp edi, 6
jne 0x14000a038
mov ebx, 0xec
jmp 0x14000a08d
mov ebx, 0xcf
jmp 0x14000a07c
cmp edi, 0x7b
je 0x14000a031
cmp edi, 0x424
jne 0x14000a038
mov ebx, 0xee
jmp 0x14000a08d
mov ebx, 1
jmp 0x14000a07c
cmp eax, 5
je 0x14000a050
cmp eax, 6
je 0x14000a057
cmp eax, 0x57
jne 0x14000a06c
mov ebx, 0xdc
jmp 0x14000a078
mov ebx, 0xeb
jmp 0x14000a08d
mov ebx, 0xed
jmp 0x14000a08d
mov ebx, 0xef
jmp 0x14000a08d
cmp eax, 0x7a
je 0x14000a073
cmp eax, 0x7c
jne 0x14000a06c
mov ebx, 0xdd
jmp 0x14000a078
mov ebx, 0xda
jmp 0x14000a078
mov ebx, 0xd9
jmp 0x14000a078
cmp eax, 0x45b
jne 0x14000a06c
mov ebx, 0xde
jmp 0x14000a078
mov ebx, 0xdf
jmp 0x14000a078
mov ebx, 0xdb
mov dword [rsp + 0x3c], ebx
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.140015cc0
mov eax, ebx
add rsp, 0x68
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14000a0b0
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 [0x140033010]
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.14000cda0
mov rcx, rsi
call fcn.1400096b0
test eax, eax
je 0x14000a125
xor edi, edi
lea rsi, [rsp + 0x250]
mov r8d, 0x20a
mov rcx, rsi
xor edx, edx
call fcn.14000cda0
lea rdx, str..status
mov rcx, rbx
mov r8, rsi
call fcn.1400097b0
test eax, eax
jne 0x14000a143
mov rcx, qword [rsp + 0x460]
xor rcx, rsp
call fcn.140015cc0
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.140024350
test eax, eax
je 0x14000a125
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 0x14000a125
mov rbx, rax
lea rsi, [rsp + 0x250]
mov rcx, rsi
mov r8d, ebp
call fcn.1400242e0
mov rcx, rsi
call fcn.140013e80
mov rdi, rax
mov qword [rsp + 0x20], 0
lea rbp, [rsp + 0x3c]
mov rcx, rbx
mov rdx, rsi
mov r8d, edi
mov r9, rbp
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 [rbp], edi
sete cl
and cl, al
movzx edi, cl
jmp 0x14000a125

Function at 0x14000a200
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 [0x140033010]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov esi, 0x102
test edx, edx
je 0x14000a2df
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]
mov ecx, 2
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
je 0x14000a29c
mov rdi, rax
mov dword [rsp + 0x28], 0x238
mov rcx, rax
mov rdx, r13
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14000a2a6
mov rcx, rbx
mov rdx, r12
call fcn.1400126a4
test eax, eax
je 0x14000a2b0
mov rcx, rdi
mov rdx, r13
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x14000a277
mov esi, 0x490
jmp 0x14000a2b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14000a2bb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x14000a2b2
xor esi, esi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp esi, 0x490
je 0x14000a2dd
mov ecx, 0x3e8
call r14
inc ebp
cmp ebp, r15d
jne 0x14000a24b
mov esi, 0x102
jmp 0x14000a2df
xor esi, esi
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140015cc0
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 0x14000a380
Capabilities:
Get disk information

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x240
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140033010]
xor rax, rsp
mov qword [rsp + 0x238], rax
xor ebx, ebx
lea rcx, [rsp + 0x20]
mov r8d, 0x20a
xor edx, edx
call fcn.14000cda0
mov rcx, rdi
call fcn.14000af00
cmp rax, 0x104
ja 0x14000a3fd
lea rbx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
mov rdx, rdi
call fcn.14000b0c8
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.140015cc0
mov eax, ebx
add rsp, 0x240
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400109e0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140010b18
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 0x140010b7f
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140010b7f
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140010b7f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140010b7f
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140010b7f
cmp dword [rcx + 0x84], 0xe
jbe 0x140010b7f
cmp dword [rcx + 0xf8], 0
je 0x140010b7f
mov ecx, ebx
call fcn.140010a64
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.140010cac
cmp dword [rbp + 0x20], 0
je 0x140010bcc
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
mov ecx, ebx
call fcn.140010ac0
int3

Function at 0x140012d28
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140012d48
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.140011694
or eax, 0xffffffff
jmp 0x140012d4a
xor eax, eax
add rsp, 0x28
ret
Function at 0x1400065f0
Capabilities:
Encode data using xor

Disassembly:
push rsi
push rdi
push rbx
mov rax, rcx
add qword [rcx + 0x30], r8
mov r11, qword [rcx + 0x40]
test r11, r11
je 0x140006632
mov r10d, 8
sub r10, r11
cmp r10, r8
mov rdi, r8
cmovb rdi, r10
cmp rdi, 4
jb 0x14000663a
mov esi, dword [rdx]
mov r9d, 4
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jb 0x14000664b
jmp 0x140006662
xor r10d, r10d
jmp 0x1400066ed
xor esi, esi
xor r9d, r9d
mov rcx, r9
or rcx, 1
cmp rcx, rdi
jae 0x140006662
movzx ebx, word [rdx + r9]
lea ecx, [r9*8]
shl rbx, cl
or rsi, rbx
or r9, 2
cmp r9, rdi
jae 0x140006679
movzx edi, byte [rdx + r9]
shl r9d, 3
mov ecx, r9d
shl rdi, cl
or rsi, rdi
lea ecx, [r11*8]
shl rsi, cl
or rsi, qword [rax + 0x38]
mov qword [rax + 0x38], rsi
cmp r10, r8
jbe 0x140006699
add r11, r8
jmp 0x1400067c9
mov rcx, qword [rax + 0x18]
xor rcx, rsi
mov rdi, qword [rax + 0x10]
mov r9, qword [rax]
add r9, rdi
mov r11, qword [rax + 8]
add r11, rcx
rol rdi, 0xd
xor rdi, r9
rol rcx, 0x10
rol r9, 0x20
xor rcx, r11
add r11, rdi
rol rdi, 0x11
add r9, rcx
xor rdi, r11
rol rcx, 0x15
mov qword [rax + 0x10], rdi
xor rcx, r9
rol r11, 0x20
mov qword [rax + 0x18], rcx
mov qword [rax + 8], r11
xor r9, rsi
mov qword [rax], r9
sub r8, r10
mov r11d, r8d
and r11d, 7
and r8, 0xfffffffffffffff8
cmp r10, r8
jae 0x140006762
mov rcx, qword [rax]
mov r9, qword [rax + 8]
mov rdi, qword [rax + 0x18]
mov rsi, qword [rax + 0x10]
nop
mov rbx, qword [rdx + r10]
xor rdi, rbx
add rcx, rsi
rol rsi, 0xd
add r9, rdi
xor rsi, rcx
rol rdi, 0x10
xor rdi, r9
rol rcx, 0x20
add r9, rsi
add rcx, rdi
rol rsi, 0x11
xor rsi, r9
rol rdi, 0x15
rol r9, 0x20
xor rdi, rcx
xor rcx, rbx
add r10, 8
cmp r10, r8
jb 0x140006710
mov qword [rax + 0x18], rdi
mov qword [rax + 0x10], rsi
mov qword [rax + 8], r9
mov qword [rax], rcx
cmp r11d, 4
jb 0x14000677f
mov r9d, dword [rdx + r10]
mov r8d, 4
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jb 0x140006790
jmp 0x1400067ab
xor r9d, r9d
xor r8d, r8d
mov ecx, r8d
or ecx, 1
cmp ecx, r11d
jae 0x1400067ab
lea rcx, [rdx + r8]
movzx esi, word [r10 + rcx]
lea ecx, [r8*8]
invalid
add byte [rax], al
add byte [rax], al
shl rsi, cl
or r9, rsi
or r8, 2
cmp r8d, r11d
jae 0x1400067c5
add r10, r8
movzx edx, byte [rdx + r10]
shl r8d, 3
mov ecx, r8d
shl rdx, cl
or r9, rdx
mov qword [rax + 0x38], r9
mov qword [rax + 0x40], r11
pop rbx
pop rdi
pop rsi
ret
Function at 0x140020a40
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x38
mov rsi, rdx
mov rdi, rcx
mov rax, qword [rdx + 0x28]
mov qword [rsp + 0x30], rax
movzx eax, byte [rdx + 0x30]
mov byte [rsp + 0x27], al
movzx eax, byte [0x1400e89f0]
mov edx, 0x5f0
xor ecx, ecx
call fcn.140033dc0
test rax, rax
je 0x140020c9c
mov rbx, rax
lea r15, [rsi + 0x38]
movabs r12, 0x800000000000000
mov r8d, 0x5f0
mov rcx, rax
xor edx, edx
call fcn.140040240
mov rax, qword [rsi + 0x60]
mov qword [rsp + 0x28], rax
movabs rcx, 0x7465646279746573
movabs rdx, 0x6c7967656e657261
movabs r8, 0xded7d4e2d7dedfc6
movabs r9, 0xa60c596fc19fead0
movabs r10, 0xe414a674f0de7325
nop
mov ebp, 1
lock xadd qword [0x1400e8938], rbp
mov r11, rbp
xor r11, rcx
mov rax, r11
rol rax, 0x10
lea r14, [r11 + rdx]
xor rax, r14
lea r14, [rax + r8]
xor rbp, r14
add r11, r9
mov r13, r11
rol r13, 0x20
rol rax, 0x15
xor r11, r10
xor r14, r12
xor r14, rax
add rbp, r11
rol r11, 0xd
add r13, r14
xor r11, rbp
rol r14, 0x10
xor r14, r13
rol rbp, 0x20
add r13, r11
add rbp, r14
rol r11, 0x11
xor r11, r13
rol r14, 0x15
rol r13, 0x20
xor r14, rbp
xor rbp, r12
xor r13, 0xff
add rbp, r11
add r13, r14
rol r11, 0xd
xor r11, rbp
rol r14, 0x10
rol rbp, 0x20
xor r14, r13
add r13, r11
rol r11, 0x11
add rbp, r14
xor r11, r13
rol r14, 0x15
xor r14, rbp
rol r13, 0x20
add rbp, r11
add r13, r14
rol r11, 0xd
xor r11, rbp
rol r14, 0x10
rol rbp, 0x20
xor r14, r13
add r13, r11
rol r11, 0x11
add rbp, r14
xor r11, r13
rol r14, 0x15
xor r14, rbp
rol r13, 0x20
add rbp, r11
add r13, r14
rol r11, 0xd
xor r11, rbp
rol r14, 0x10
xor r14, r13
add r13, r11
rol r11, 0x11
rol r14, 0x15
mov rbp, r13
rol rbp, 0x20
xor rbp, r11
xor rbp, r14
cmp rbp, r13
je 0x140020ae0
xor rbp, r13
mov rax, qword [rsi + 0x58]
movups xmm0, xmmword [r15]
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rdi + 0x128], xmm1
movups xmmword [rdi + 0x118], xmm0
mov rcx, qword [rsp + 0x30]
mov qword [rdi + 0x138], rcx
movzx ecx, byte [rsp + 0x27]
mov byte [rdi + 0x140], cl
mov qword [rdi], 0
mov qword [rdi + 8], rbx
mov qword [rdi + 0x80], 0
mov qword [rdi + 0x88], rbx
mov rcx, qword [rsp + 0x28]
mov qword [rdi + 0x100], rcx
mov qword [rdi + 0x108], rbp
mov qword [rdi + 0x110], rax
mov rax, qword [rsi + 0x10]
shl rax, 1
test rax, rax
jne 0x140020c78
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r8, qword [rsi + 0x18]
mov rcx, qword [0x1400e89d8]
xor edx, edx
add rsp, 0x38
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
jmp qword [sym.imp.KERNEL32.dll_HeapFree]
ud2