joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1800044c0
Capabilities:
Write file on windows

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
sub rsp, 0x60
xor edi, edi
mov rax, r8
mov r13, r9
mov rbp, rdx
mov rbx, rcx
mov qword [rsp + 0x30], rdi
lea r8d, [rdi + 1]
xor r9d, r9d
mov edx, 0x40000000
mov rcx, rax
mov dword [rsp + 0x28], 0x80
mov r12d, edi
mov dword [rsp + 0x20], 2
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov qword [rsp + 0x58], rax
cmp rax, 0xffffffffffffffff
jne 0x18000452f
lea rdx, str.CDFS_RecoverFile:_Unable_to_create_recover_file._n
mov rcx, rbx
call fcn.180016b80
xor eax, eax
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
mov rcx, qword [rbx + 0x34]
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], r14
test rcx, rcx
je 0x180004558
lea rax, [rsp + 0x40]
test rax, rax
je 0x180004558
lea rsi, [rcx + 0x7f]
jmp 0x18000455d
mov rsi, qword [rsp + 0x40]
mov rdx, qword [rbp + 0x10]
test rcx, rcx
je 0x180004588
mov rax, qword [rcx + 0x20]
cmp rax, rdx
jbe 0x180004588
mov qword [rcx + 0x18], rax
sub rax, rdx
mov qword [rcx + 0x28], rdx
cmp rax, 0xffffffffffffffff
jbe 0x180004588
lea rax, [rdx - 1]
mov qword [rcx + 0x18], rax
xor ecx, ecx
mov qword [r13], rdi
mov edx, dword [rsi]
lea r9d, [rcx + 4]
mov r8d, 0x1000
mov dword [rsp + 0x40], edi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov r14, rax
test rax, rax
je 0x1800046a2
mov rax, qword [rbp + 0x8b]
lea rdx, str.CDFS_RecoverFile:_cluster_chain_end__continue_reading_clusters_after_last_cluster_read._n
mov rcx, rbx
mov qword [rsp + 0xa0], r15
mov r15d, dword [rax]
call fcn.180016b80
cmp qword [rbp + 8], rdi
jbe 0x180004689
nop dword [rax + rax]
mov rcx, qword [rbx + 0x24]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x180004686
mov ecx, dword [rsi]
mov eax, r15d
mov r9, r14
mov rdx, rcx
mov r8d, ecx
mov rcx, qword [rbx + 0x34]
inc r15d
imul rdx, rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call fcn.180002c60
test eax, eax
je 0x1800046ef
mov eax, dword [rsi]
cmp dword [rsp + 0x50], eax
jne 0x1800046ef
mov ecx, dword [rsp + 0x40]
mov r8d, dword [rbp + 8]
lea r9, [rsp + 0x48]
sub r8d, ecx
mov rdx, r14
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x48], r8d
mov eax, dword [rsi]
cmp r8d, eax
cmova r8d, eax
add ecx, r8d
mov dword [rsp + 0x48], r8d
mov r12d, ecx
mov dword [rsp + 0x40], ecx
mov rcx, qword [rsp + 0x58]
mov qword [r13], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1800046d2
mov qword [r13], rdi
cmp r12, qword [rbp + 8]
jb 0x1800045e0
mov r12d, edi
xor edx, edx
mov r8d, 0x8000
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov r15, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14, qword [rsp + 0x98]
mov rsi, qword [rsp + 0x90]
test r12d, r12d
sete dil
mov eax, edi
add rsp, 0x60
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
lea rdx, str.CDFS_RecoverFile:_Error_writing_recover_file._n
mov rcx, rbx
call fcn.180016b80
mov dword [rbx], 0x2000000e
mov r12d, 1
jmp 0x180004689
lea rdx, str.CDFS_RecoverFile:_Error_reading_deleted_file_cluster._n
mov rcx, rbx
call fcn.180016b80
mov dword [rbx], 0x2000000f
mov r12d, 1
jmp 0x180004689
Function at 0x18000a8a0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rbp
push rdi
push r12
push r13
push r14
sub rsp, 0x68
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x50], rax
xor ebx, ebx
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
mov r12, r9
mov r13, r8
mov r14, rdx
mov dword [rsp + 0x28], 0x70797466
mov dword [rsp + 0x2c], 0x7461646d
mov dword [rsp + 0x30], 0x65657266
mov dword [rsp + 0x34], 0x70696b73
mov dword [rsp + 0x38], 0x746f6e70
mov dword [rsp + 0x3c], 0x766f6f6d
mov dword [rsp + 0x40], 0x64697575
mov byte [rsp + 0x48], 0
mov byte [rsp + 0x49], 0
mov byte [rsp + 0x4a], 0
mov byte [rsp + 0x4b], 0
mov byte [rsp + 0x4c], 0
mov byte [rsp + 0x4d], 0
mov byte [rsp + 0x4e], 0
mov rbp, rbx
test rcx, rcx
jne 0x18000a949
cmp dword [rdi + 0x54], ebx
jne 0x18000a949
mov rax, qword [rdi + 0x2c]
mov qword [rdi + 0x1c], rax
mov rax, qword [rdi + 0x34]
mov qword [rdi + 0x24], rax
jmp 0x18000a95f
mov rax, qword [rcx]
mov qword [rdi + 0x1c], rax
mov rax, qword [rcx + 8]
mov dword [rdi + 0x5c], 1
mov qword [rdi + 0x24], rax
mov dword [rdi + 0x44], ebx
mov dword [rdi + 0x48], ebx
mov qword [rdi + 0x4c], rbx
mov dword [rdx], ebx
mov qword [rsp + 0x60], rsi
mov dword [r8], 2
nop word [rax + rax]
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rdi
call fcn.1800015e0
test eax, eax
je 0x18000aa22
lea rax, [rsp + 0x20]
test rax, rax
je 0x18000a9c9
movzx ecx, byte [rsp + 0x20]
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x23], cl
movzx ecx, byte [rsp + 0x21]
mov byte [rsp + 0x21], al
mov byte [rsp + 0x22], cl
mov r8d, dword [rsp + 0x20]
mov ebp, 8
cmp r8, 1
je 0x18000aa38
mov edx, dword [rsp + 0x24]
mov esi, ebx
mov ecx, ebx
mov rax, rbx
cmp dword [rsp + rax*4 + 0x28], edx
je 0x18000a9f6
inc ecx
inc rax
cmp ecx, 7
jb 0x18000a9e4
jmp 0x18000aa0a
mov byte [rsp + rax + 0x48], 1
mov esi, 1
cmp ecx, 7
jae 0x18000aa0a
mov byte [rsp + rax + 0x48], 2
lea rdx, [r8 - 8]
mov rcx, rdi
call fcn.180001740
test eax, eax
je 0x18000aa22
test esi, esi
jne 0x18000a980
lea rax, [rsp + 0x48]
cmp byte [rax], 0
jne 0x18000aa3c
inc ebx
inc rax
cmp ebx, 7
jb 0x18000aa27
jmp 0x18000aa74
xor eax, eax
jmp 0x18000aa79
mov eax, dword [rsp + 0xc0]
mov dword [r14], eax
movzx eax, byte [rsp + 0x49]
test al, al
je 0x18000aa63
mov dword [r13], 3
cmp al, 1
jbe 0x18000aa63
mov dword [r13], 4
test r12, r12
je 0x18000aa70
mov rcx, qword [rdi + 0x4c]
mov qword [r12], rcx
sub qword [r12], rbp
mov eax, 1
mov rsi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.18002d590
add rsp, 0x68
pop r14
pop r13
pop r12
pop rdi
pop rbp
pop rbx
ret
Function at 0x18000aaa0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbx
push rdi
push r12
push r14
push r15
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rdi, rcx
mov rcx, qword [rcx + 0x60]
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x58], r13
mov r12, r9
mov r14, r8
mov r15, rdx
mov dword [rsp + 0x28], 0x70797466
mov dword [rsp + 0x2c], 0x7461646d
mov dword [rsp + 0x30], 0x65657266
mov dword [rsp + 0x34], 0x70696b73
mov dword [rsp + 0x38], 0x65646977
mov dword [rsp + 0x3c], 0x766f6f6d
mov byte [rsp + 0x40], 0
mov byte [rsp + 0x41], 0
mov byte [rsp + 0x42], 0
mov byte [rsp + 0x43], 0
mov byte [rsp + 0x44], 0
mov byte [rsp + 0x45], 0
test rcx, rcx
jne 0x18000ab40
cmp dword [rdi + 0x54], ecx
jne 0x18000ab40
mov rax, qword [rdi + 0x2c]
mov qword [rdi + 0x1c], rax
mov rax, qword [rdi + 0x34]
mov qword [rdi + 0x24], rax
jmp 0x18000ab56
mov rax, qword [rcx]
mov qword [rdi + 0x1c], rax
mov rax, qword [rcx + 8]
mov dword [rdi + 0x5c], 1
mov qword [rdi + 0x24], rax
xor ebx, ebx
mov ebp, 6
mov qword [rsp + 0x60], rsi
mov dword [rdi + 0x44], ebx
mov dword [rdi + 0x48], ebx
mov qword [rdi + 0x4c], rbx
mov dword [rdx], ebx
mov r13, rbp
mov dword [r8], 2
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov r8d, 8
mov rcx, rdi
call fcn.180001480
test eax, eax
je 0x18000ac1c
lea rax, [rsp + 0x20]
test rax, rax
je 0x18000abc9
movzx ecx, byte [rsp + 0x20]
movzx eax, byte [rsp + 0x23]
mov byte [rsp + 0x20], al
movzx eax, byte [rsp + 0x22]
mov byte [rsp + 0x23], cl
movzx ecx, byte [rsp + 0x21]
mov byte [rsp + 0x21], al
mov byte [rsp + 0x22], cl
mov edx, dword [rsp + 0x24]
mov esi, ebx
mov ecx, ebx
mov rax, rbx
cmp dword [rsp + rax*4 + 0x28], edx
je 0x18000abe6
inc ecx
inc rax
cmp ecx, 6
jb 0x18000abd4
jmp 0x18000abf0
mov byte [rsp + rax + 0x40], 1
mov esi, 1
cmp ebp, 6
jae 0x18000abfb
mov byte [rsp + r13 + 0x40], 2
mov edx, dword [rsp + 0x20]
mov ebp, ecx
mov rcx, rdi
sub rdx, 8
mov r13, rax
call fcn.180001740
test eax, eax
je 0x18000ac1c
test esi, esi
jne 0x18000ab80
mov r13, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
lea rcx, [rsp + 0x40]
cmp byte [rcx], 0
jne 0x18000ac41
inc ebx
inc rcx
cmp ebx, 6
jb 0x18000ac30
jmp 0x18000ac75
movzx eax, byte [rsp + 0x41]
mov dword [r15], 0x28
test al, al
je 0x18000ac63
mov dword [r14], 3
cmp al, 1
jbe 0x18000ac63
mov dword [r14], 4
test r12, r12
je 0x18000ac70
mov rax, qword [rdi + 0x4c]
mov qword [r12], rax
add qword [r12], 0xfffffffffffffff8
mov eax, 1
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.18002d590
add rsp, 0x70
pop r15
pop r14
pop r12
pop rdi
pop rbx
ret
Function at 0x180016390
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov r14d, ecx
xor ecx, ecx
mov r12d, r9d
mov r13, r8
mov esi, edx
mov edi, 1
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor r15d, r15d
mov ebx, r15d
test esi, esi
je 0x180016448
mov qword [rsp + 0x60], rbp
mov rbp, qword [rsp + 0x80]
nop word [rax + rax]
mov r9d, r12d
mov r8, r13
mov edx, ebx
mov ecx, r14d
mov dword [rsp + 0x68], r15d
call fcn.180017600
mov edx, dword [rsp + 0x88]
lea r8, [rsp + 0x8c]
xor r9d, r9d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
jne 0x180016424
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x180016424
mov edi, r15d
jmp 0x18001643d
lea r9, [rsp + 0x68]
mov r8d, r12d
mov rdx, r13
mov rcx, rbp
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_WriteFile]
inc ebx
cmp ebx, esi
jb 0x1800163e0
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov eax, edi
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x180016b80
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
je 0x180016c6e
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov eax, 0x1058
call fcn.18003c6a0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1030], rax
cmp dword [rcx + 0x20], 0
je 0x180016c57
lea rax, [rsp + 0x1070]
mov r9, rdx
mov qword [rsp + 0x1050], rbx
mov ebx, 0xffd
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea edx, [rbx + 3]
mov r8, rbx
call fcn.18002d878
test eax, eax
js 0x180016bf5
movsxd rbx, eax
lea rbx, [rsp + rbx + 0x30]
lea rax, [rsp + 0x30]
cmp rbx, rax
jbe 0x180016c39
mov qword [rsp + 0x1048], rdi
nop dword [rax]
movsx ecx, byte [rbx - 1]
lea rdi, [rbx - 1]
call fcn.18002da48
test eax, eax
je 0x180016c31
lea rax, [rsp + 0x30]
mov rbx, rdi
mov byte [rdi], 0
cmp rdi, rax
ja 0x180016c10
mov rdi, qword [rsp + 0x1048]
mov byte [rbx], 0xd
mov byte [rbx + 1], 0xa
lea rcx, [rsp + 0x30]
mov byte [rbx + 2], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rbx, qword [rsp + 0x1050]
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.18002d590
add rsp, 0x1058
repz ret
Function at 0x180016b89
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
je 0x180016c6e
mov qword [rsp + 0x10], rdx
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x20], r9
mov eax, 0x1058
call fcn.18003c6a0
sub rsp, rax
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x1030], rax
cmp dword [rcx + 0x20], 0
je 0x180016c57
lea rax, [rsp + 0x1070]
mov r9, rdx
mov qword [rsp + 0x1050], rbx
mov ebx, 0xffd
lea rcx, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea edx, [rbx + 3]
mov r8, rbx
call fcn.18002d878
test eax, eax
js 0x180016bf5
movsxd rbx, eax
lea rbx, [rsp + rbx + 0x30]
lea rax, [rsp + 0x30]
cmp rbx, rax
jbe 0x180016c39
mov qword [rsp + 0x1048], rdi
nop dword [rax]
movsx ecx, byte [rbx - 1]
lea rdi, [rbx - 1]
call fcn.18002da48
test eax, eax
je 0x180016c31
lea rax, [rsp + 0x30]
mov rbx, rdi
mov byte [rdi], 0
cmp rdi, rax
ja 0x180016c10
mov rdi, qword [rsp + 0x1048]
mov byte [rbx], 0xd
mov byte [rbx + 1], 0xa
lea rcx, [rsp + 0x30]
mov byte [rbx + 2], 0
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov rbx, qword [rsp + 0x1050]
mov rcx, qword [rsp + 0x1030]
xor rcx, rsp
call fcn.18002d590
add rsp, 0x1058
repz ret
Function at 0x180019980
Capabilities:
Get common file path
Get system information on windows

Disassembly:
push rsi
sub rsp, 0x50
mov rsi, rcx
test rcx, rcx
jne 0x180019996
xor eax, eax
add rsp, 0x50
pop rsi
ret
xor ecx, ecx
mov edx, 0x12943
mov r8d, 0x1000
lea r9d, [rcx + 4]
mov qword [rsp + 0x68], rdi
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x180019aa9
or dword [rax + 0x317], 0x1ffffff
mov qword [rsp + 0x60], rbx
xor ebx, ebx
lea edx, [rbx + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rax + 0x303], ebx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea edx, [rbx + 1]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov qword [rdi + 0x24], rax
call qword [sym.imp.KERNEL32.dll_CreateEventA]
lea rcx, [rsp + 0x20]
mov qword [rdi + 0x2c], rax
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 0x54]
mov dword [rdi + 0x20], ebx
xor eax, dword [rsp + 0x24]
lea rdx, [rdi + 0x11943]
btr eax, 0x1f
mov ecx, 0x1000
mov qword [rdi + 0x44], rbx
xor dword [rdi + 0x54], eax
mov qword [rdi + 0x208], 0x24000000
mov qword [rdi + 0x210], rbx
mov qword [rdi + 0x3c], rbx
mov qword [rdi + 0x220], rbx
mov qword [rdi + 0x228], 0x36000000
mov qword [rdi + 0x238], rbx
mov qword [rdi + 0x4c], rbx
mov qword [rdi + 0x230], 0x6000000
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rdi + 0x11943]
call qword [sym.imp.KERNEL32.dll_lstrlenA]
lea rdx, str.LastSession.Results
mov ecx, eax
lea rcx, [rcx + rdi + 0x11943]
call qword [sym.imp.KERNEL32.dll_lstrcpyA]
mov qword [rsi], rdi
mov rdi, qword [rsp + 0x68]
lea eax, [rbx + 1]
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rsi
ret
xor eax, eax
mov rdi, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
Function at 0x18001cac0
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x70
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x68], rax
mov eax, dword [str.._:]
mov r13, rcx
lea rcx, [rsp + 0x58]
mov dword [rcx], eax
movzx eax, word [0x18003e7c4]
xor ebx, ebx
mov word [rcx + 4], ax
movzx eax, byte [0x18003e7c6]
mov dword [rsp + 0x44], ebx
mov byte [rcx + 6], al
xor eax, eax
mov dword [rsp + 0x48], 0x5c3a3f
mov qword [rsp + 0x5f], rax
mov byte [rsp + 0x67], al
mov dword [rsp + 0x4c], eax
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x54], eax
call qword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov r14d, 2
mov qword [rsp + 0xa8], r15
mov ecx, eax
mov dword [rsp + 0x40], eax
nop dword [rax]
bt ecx, r14d
lea eax, [r14 + 0x41]
mov byte [rsp + 0x48], al
jae 0x18001ccb1
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
je 0x18001cb7b
cmp eax, 2
jne 0x18001cca7
movzx eax, byte [rsp + 0x48]
xor r9d, r9d
mov qword [rsp + 0x30], 0
lea rcx, [rsp + 0x58]
lea r8d, [r9 + 3]
mov edx, 0x80000000
mov dword [rsp + 0x28], 0
mov byte [rsp + 0x5c], al
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r15, rax
cmp rax, 0xffffffffffffffff
je 0x18001ccad
xor ecx, ecx
mov edx, 0x980
mov r8d, 0x1000
lea r9d, [rcx + 4]
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbp, rax
test rax, rax
je 0x18001cc98
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x44]
xor r9d, r9d
mov qword [rsp + 0x30], rax
xor r8d, r8d
mov edx, 0x560000
mov rcx, r15
mov dword [rsp + 0x28], 0x980
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x18001cc87
xor r12d, r12d
cmp dword [r13 + 0x303], r12d
jle 0x18001cc82
lea rdi, [r13 + 0x323]
nop
xor esi, esi
cmp dword [rbp], esi
jbe 0x18001cc6f
lea rbx, [rbp + 8]
nop dword [rax + rax]
movzx eax, byte [rdi + 0x10]
cmp eax, dword [rbx]
jne 0x18001cc64
mov rax, qword [rbx + 8]
cmp qword [rdi], rax
jne 0x18001cc64
movzx eax, byte [rsp + 0x48]
mov rdx, rdi
mov rcx, r13
mov byte [rdi + 0x14], al
call fcn.18001ca10
inc esi
add rbx, 0x18
cmp esi, dword [rbp]
jb 0x18001cc40
inc r12d
add rdi, 0x196
cmp r12d, dword [r13 + 0x303]
jl 0x18001cc30
mov ebx, 1
xor edx, edx
mov r8d, 0x8000
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [rsp + 0x40]
jmp 0x18001ccb1
mov ecx, dword [rsp + 0x40]
jmp 0x18001ccb1
mov ecx, dword [rsp + 0x40]
inc r14d
cmp r14d, 0x1a
jb 0x18001cb50
mov eax, ebx
mov r15, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.18002d590
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x18001d8f0
Capabilities:
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x400
mov r11d, edx
mov rbx, rcx
xor r9d, r9d
lea r10, [rsp]
nop word [rax + rax]
mov eax, r9d
mov r8d, 8
nop dword [rax]
test al, 1
je 0x18001d92d
shr eax, 1
xor eax, 0xedb88320
jmp 0x18001d92f
shr eax, 1
sub r8, 1
jne 0x18001d920
inc r9d
mov dword [r10], eax
add r10, 4
cmp r9d, 0x100
jl 0x18001d910
or edx, 0xffffffff
test r11d, r11d
je 0x18001d96e
movzx ecx, byte [rbx]
mov eax, edx
inc rbx
xor rcx, rax
movzx eax, cl
mov ecx, edx
mov edx, dword [rsp + rax*4]
shr ecx, 8
xor edx, ecx
add r11d, 0xffffffff
jne 0x18001d950
not edx
mov eax, edx
add rsp, 0x400
pop rbx
ret
Function at 0x1800208c0
Capabilities:
Create thread

Disassembly:
push rbp
push rdi
push r12
push r13
sub rsp, 0x68
mov rdi, rcx
mov rcx, qword [rcx + 0x2e1]
xor r13d, r13d
mov r12d, r8d
mov ebp, edx
test rcx, rcx
je 0x1800208f9
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rdi + 0x2c5], r13
mov qword [rdi + 0x2e1], r13
lea rdx, str.Testing_and_searching_for_partitions._n
mov rcx, rdi
mov qword [rsp + 0x60], rsi
call fcn.180016c70
mov eax, dword [rdi + 0x317]
lea rcx, [rdi + 0x100e3]
btr eax, 0x19
xor edx, edx
mov r8d, 0x1860
or eax, 0x1ffffff
mov dword [rdi + 0x317], eax
call fcn.180035040
lea r11, [rsp + 0x90]
test r11, r11
je 0x180020ae2
lea rcx, [rsp + 0x90]
call fcn.180001a60
test eax, eax
je 0x180020ae2
mov rsi, qword [rsp + 0x90]
xor r8d, r8d
mov edx, ebp
mov rcx, rsi
call fcn.180002620
test eax, eax
je 0x180020ac4
test rsi, rsi
je 0x180020ac4
lea rax, [rsp + 0x90]
test rax, rax
je 0x180020ac4
mov qword [rsp + 0x98], rbx
mov rbx, qword [rsi + 0x18]
lea rdx, str.Physical_drive__d_opened_successfully_n
sub rbx, qword [rsi + 0x28]
mov r8d, ebp
mov rcx, rdi
call fcn.180016b80
and dword [rdi + 0x317], 0xfe000000
mov eax, ebp
and eax, 0x1ffffff
lea r8, [0x1800207b0]
mov r9, rdi
or dword [rdi + 0x317], eax
lea rax, [rsp + 0xa8]
xor edx, edx
mov qword [rsp + 0x28], rax
xor ecx, ecx
mov qword [rdi + 0x2c5], rbx
mov dword [rsp + 0x20], r13d
mov qword [rdi + 0x2eb], rdi
mov qword [rdi + 0x2f3], rsi
mov dword [rdi + 0x2fb], ebp
mov dword [rdi + 0x2ff], r12d
mov qword [rdi + 0x2bd], r13
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, qword [rsp + 0x98]
mov qword [rdi + 0x2e1], rax
test rax, rax
je 0x180020ae9
cmp qword [rdi + 0x2bd], r13
jne 0x180020aaf
nop dword [rax]
mov rcx, qword [rdi + 0x2e1]
lea rdx, [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x180020aaf
cmp dword [rsp + 0x90], 0x103
jne 0x180020aaf
lea rcx, [rsp + 0x30]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov dword [rsp + 0x20], 1
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x180020a9b
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rsp + 0x30]
call qword [sym.imp.USER32.dll_DispatchMessageA]
mov ecx, 0xa
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp qword [rdi + 0x2bd], r13
je 0x180020a40
mov eax, 1
mov rsi, qword [rsp + 0x60]
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rbp
ret
lea rdx, str._tUnable_to_open_physical_drive._n
mov rcx, rdi
call fcn.180016c70
lea rdx, str.Unable_to_open_physical_drive_n
mov rcx, rdi
call fcn.180016b80
mov qword [rdi + 0x2c5], r13
xor eax, eax
mov rsi, qword [rsp + 0x60]
add rsp, 0x68
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x180026850
Capabilities:
Read file on windows

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x90], rax
xor r14d, r14d
lea rdx, [rsp + 0x60]
mov edi, ecx
lea r8d, [r14 + 0x2d]
mov ebx, r14d
call sym.PRDLL.dll_Undelete_CanUndoGPTFix
test eax, eax
je 0x180026a9a
lea rax, [rsp + 0x48]
test rax, rax
je 0x180026a9a
lea rcx, [rsp + 0x48]
call fcn.180001a60
test eax, eax
je 0x180026a9a
mov qword [rsp + 0xe0], rsi
mov rsi, qword [rsp + 0x48]
lea r8d, [r14 + 1]
mov rcx, rsi
mov edx, edi
call fcn.180002620
test eax, eax
je 0x180026a3f
test rsi, rsi
je 0x180026a37
lea rax, [rsp + 0x48]
test rax, rax
je 0x180026a37
mov qword [rsp + 0x30], r14
lea r8d, [r14 + 1]
lea rcx, [rsp + 0x60]
xor r9d, r9d
mov edx, 0x80000000
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0xa0], r13
mov dword [rsp + 0x20], 3
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov r13, rax
cmp rax, 0xffffffffffffffff
je 0x180026a2f
mov qword [rsp + 0xd8], rbp
mov ebx, 1
mov ebp, r14d
mov qword [rsp + 0xa8], r12
nop dword [rax]
test ebx, ebx
je 0x180026a16
lea r9, [rsp + 0x40]
lea rdx, [rsp + 0x50]
mov r8d, 0xc
mov rcx, r13
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x180026a13
cmp dword [rsp + 0x40], 0xc
jne 0x180026a13
mov r12d, dword [rsi + 0x7f]
mov eax, dword [rsp + 0x58]
mov r8d, 0x1000
cmp eax, r12d
cmova r12d, eax
xor ecx, ecx
lea r9d, [rcx + 4]
mov edx, r12d
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rdi, rax
test rax, rax
je 0x1800269ed
mov r8d, dword [rsp + 0x58]
lea r9, [rsp + 0x40]
mov rdx, rax
mov rcx, r13
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1800269ed
mov ecx, dword [rsp + 0x58]
cmp dword [rsp + 0x40], ecx
jne 0x1800269ed
mov rdx, qword [rsp + 0x50]
lea rax, [rsp + 0x48]
mov r9, rdi
mov r8d, r12d
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.180002e70
jmp 0x1800269f0
mov ebx, r14d
test rdi, rdi
je 0x180026a06
xor edx, edx
mov r8d, 0x8000
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
inc ebp
cmp ebp, 5
jb 0x180026940
jmp 0x180026a16
mov ebx, r14d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12, qword [rsp + 0xa8]
mov rbp, qword [rsp + 0xd8]
mov r13, qword [rsp + 0xa0]
mov rcx, rsi
call fcn.180001b80
test rsi, rsi
je 0x180026a74
mov rcx, rsi
call fcn.180001b80
mov rcx, qword [rsi + 0x77]
test rcx, rcx
je 0x180026a63
xor edx, edx
mov r8d, 0x8000
call qword [sym.imp.KERNEL32.dll_VirtualFree]
xor edx, edx
mov r8d, 0x8000
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rsi, qword [rsp + 0xe0]
mov eax, ebx
mov rcx, qword [rsp + 0x90]
xor rcx, rsp
call fcn.18002d590
add rsp, 0xb0
pop r14
pop rdi
pop rbx
ret
mov eax, ebx
jmp 0x180026a7e