joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140078c20
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x140078c5c
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140078c66
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140078c77
mov al, 1
jmp 0x140078d7c
xor sil, sil
xor r14d, r14d
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x28], r14w
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140079ce0
movzx ebx, sil
mov ecx, 1
test al, al
cmovne ebx, ecx
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.140079ce0
test al, al
jne 0x140078cdd
test bl, bl
je 0x140078d38
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140078d38
cmp qword [rbp - 0x30], 8
jb 0x140078d13
mov rcx, qword [rbp - 0x48]
call fcn.1400bd20c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
cmp qword [rbp - 0x10], 8
jb 0x140078d34
mov rcx, qword [rbp - 0x28]
call fcn.1400bd20c
mov al, 1
jmp 0x140078d6b
cmp qword [rbp - 0x30], 8
jb 0x140078d48
mov rcx, qword [rbp - 0x48]
call fcn.1400bd20c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
cmp qword [rbp - 0x10], 8
jb 0x140078d69
mov rcx, qword [rbp - 0x28]
call fcn.1400bd20c
xor al, al
mov word [rbp - 0x28], r14w
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400bcae0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140078da0
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rdx + 0x18], 8
jb 0x140078de0
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140078dea
mov rcx, qword [rcx]
mov r8d, 0xb
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140078fdc
mov rcx, rbx
call fcn.140078b50
cmp eax, 0xffffffff
je 0x140078fe0
xor sil, sil
xor r14d, r14d
mov qword [rbp + 0x2f], r14
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], r14
mov word [rbp + 0x1f], r14w
lea rdx, [rbp + 0x1f]
mov rcx, rdi
call fcn.140079ce0
movzx esi, sil
mov ecx, 1
test al, al
cmovne esi, ecx
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r14
mov word [rbp - 1], r14w
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.140079ce0
test al, al
jne 0x140078e76
test sil, sil
je 0x140078ea6
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rcx, qword [rbp + 0x1f]
mov r8d, 0xb
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x140078f9a
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.140006b90
nop
lea rcx, [rbp - 0x21]
call fcn.140079a00
test al, al
je 0x140078f35
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.140078c20
test al, al
je 0x140078f35
mov rdx, rbx
mov rcx, rdi
call fcn.140078c20
lea rcx, [rbp - 0x21]
test al, al
je 0x140078f2c
call fcn.140079320
nop
cmp qword [rbp - 9], 8
jb 0x140078f19
mov rcx, qword [rbp - 0x21]
call fcn.1400bd20c
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
jmp 0x140078f9a
mov rdx, rbx
call fcn.140078c20
nop
cmp qword [rbp - 9], 8
jb 0x140078f45
mov rcx, qword [rbp - 0x21]
call fcn.1400bd20c
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
cmp qword [rbp + 0x17], 8
jb 0x140078f66
mov rcx, qword [rbp - 1]
call fcn.1400bd20c
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r14
mov word [rbp - 1], r14w
cmp qword [rbp + 0x37], 8
jb 0x140078f87
mov rcx, qword [rbp + 0x1f]
call fcn.1400bd20c
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], r14
mov word [rbp + 0x1f], r14w
jmp 0x140078fe0
cmp qword [rbp + 0x17], 8
jb 0x140078faa
mov rcx, qword [rbp - 1]
call fcn.1400bd20c
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r14
mov word [rbp - 1], r14w
cmp qword [rbp + 0x37], 8
jb 0x140078fcb
mov rcx, qword [rbp + 0x1f]
call fcn.1400bd20c
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], r14
mov word [rbp + 0x1f], r14w
mov al, 1
jmp 0x140078fe2
xor al, al
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.1400bcae0
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x140079010
Capabilities:
Copy file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x14007904c
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x140079056
mov rcx, qword [rcx]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14007906a
mov al, 1
jmp 0x140079144
xor sil, sil
xor r14d, r14d
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x28], r14w
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.140079ce0
movzx ebx, sil
mov ecx, 1
test al, al
cmovne ebx, ecx
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.140079ce0
test al, al
jne 0x1400790d0
test bl, bl
je 0x1400790fd
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x1400790fd
mov bl, 1
jmp 0x1400790ff
xor bl, bl
cmp qword [rbp - 0x30], 8
jb 0x14007910f
mov rcx, qword [rbp - 0x48]
call fcn.1400bd20c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
cmp qword [rbp - 0x10], 8
jb 0x140079130
mov rcx, qword [rbp - 0x28]
call fcn.1400bd20c
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x28], r14w
movzx eax, bl
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400bcae0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x140079170
Capabilities:
Delete directory

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x1400791a0
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1400791ae
mov al, 1
jmp 0x140079227
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140079ce0
test al, al
je 0x1400791fd
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1400791fd
mov bl, 1
jmp 0x1400791ff
xor bl, bl
cmp qword [rsp + 0x40], 8
jb 0x140079211
mov rcx, qword [rsp + 0x28]
call fcn.1400bd20c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140079240
Capabilities:
Create directory

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x140079270
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x140079280
mov al, 1
jmp 0x1400792fb
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.140079ce0
test al, al
je 0x1400792d1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1400792d1
mov bl, 1
jmp 0x1400792d3
xor bl, bl
cmp qword [rsp + 0x40], 8
jb 0x1400792e5
mov rcx, qword [rsp + 0x28]
call fcn.1400bd20c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x140079640
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x670
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x688], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov rdi, rcx
xor eax, eax
mov qword [rsp + 0x28], rax
lea rdx, [0x1401782f8]
lea rcx, [rsp + 0x28]
call fcn.140015bf0
nop
cmp qword [0x1401731e0], 0
je 0x1400796bf
lea rdx, [0x1401731d0]
cmp rdi, rdx
je 0x1400796ae
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.140006b90
nop
lea rcx, [rsp + 0x28]
call fcn.140015c20
mov al, 1
jmp 0x1400797d5
xor ebx, ebx
mov word [rsp + 0x30], bx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x32]
call fcn.1400c2130
lea rdx, [rsp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x1400797c9
mov word [rsp + 0x23a], bx
mov word [rsp + 0x240], bx
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x242]
call fcn.1400c2130
mov r8d, 0x208
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [rax - 1]
cmp ecx, 0x207
ja 0x14007978a
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x140079784
mov word [rsp + rax + 0x240], bx
cmp word [rsp + 0x240], bx
je 0x14007977a
lea rax, [rsp + 0x240]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140079770
lea rdx, [rsp + 0x240]
jmp 0x1400797af
call fcn.1400bedf0
int3
cmp word [rsp + 0x30], bx
je 0x1400797aa
lea rax, [rsp + 0x30]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1400797a0
lea rdx, [rsp + 0x30]
mov r8, rbx
mov rcx, rdi
call fcn.140006900
nop
lea rcx, [rsp + 0x28]
call fcn.140015c20
mov al, 1
jmp 0x1400797d5
lea rcx, [rsp + 0x28]
call fcn.140015c20
xor al, al
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x688]
add rsp, 0x670
pop rdi
ret

Function at 0x140079800
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
mov rbp, r8
mov rsi, rdx
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x20a
mov word [rsp + 0x20], bx
call fcn.1400c2130
cmp qword [rsi + 0x18], 8
jb 0x14007984d
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x140079857
mov rdi, qword [rdi]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x1400798ae
mov word [rsp + 0x22a], bx
cmp word [rsp + 0x20], bx
je 0x14007989a
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x140079890
lea rdx, [rsp + 0x20]
mov r8, rbx
mov rcx, rbp
call fcn.140006900
mov al, 1
jmp 0x1400798b0
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret

Function at 0x14007a1d0
Capabilities:
Hash data with md5

Disassembly:
mov rcx, qword [rcx + 8]
mov rcx, qword [rcx]
jmp fcn.1400bb930
Function at 0x14007ad60
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor eax, eax
mov rbx, rcx
xor edx, edx
mov qword [rcx + 8], rax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], rax
mov qword [rcx + 0x20], rax
mov qword [rcx + 0x28], rax
mov qword [rcx + 0x30], rax
mov qword [rcx + 0x38], rax
mov qword [rcx + 0x40], rax
mov qword [rcx + 0x48], rax
mov qword [rcx + 0x50], rax
mov byte [rcx], al
lea rcx, [rsp + 0x24]
mov r8d, 0x110
mov dword [rsp + 0x20], 0x114
call fcn.1400c2130
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x14007ade0
cmp dword [rsp + 0x24], 6
jb 0x14007ade0
mov byte [rbx], 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.1400bcae0
add rsp, 0x150
pop rbx
ret
Function at 0x14007ae00
Capabilities:
Link many functions at runtime

Disassembly:
mov rax, rsp
push rbp
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rsi, rcx
xor r14d, r14d
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
lea r8d, [r14 + 0xc]
lea rdx, str.wintrust.dll
lea rcx, [rbp - 0x48]
call fcn.140006900
nop
call fcn.14007a6e0
mov rcx, rax
lea rdx, [rbp - 0x48]
call fcn.14007a790
mov rbx, rax
cmp qword [rbp - 0x30], 8
jb 0x14007ae7b
mov rcx, qword [rbp - 0x48]
call fcn.1400bd20c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x28], r14w
mov r8d, 0xb
lea rdx, str.crypt32.dll
lea rcx, [rbp - 0x28]
call fcn.140006900
nop
call fcn.14007a6e0
mov rcx, rax
lea rdx, [rbp - 0x28]
call fcn.14007a790
mov rdi, rax
cmp qword [rbp - 0x10], 8
jb 0x14007aee0
mov rcx, qword [rbp - 0x28]
call fcn.1400bd20c
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x28], r14w
test rbx, rbx
je 0x14007afcb
test rdi, rdi
je 0x14007afcb
lea rdx, str.CryptCATAdminCalcHashFromFileHandle
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 8], rax
lea rdx, str.CryptCATAdminAcquireContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x10], rax
lea rdx, str.CryptCATAdminEnumCatalogFromHash
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x18], rax
lea rdx, str.CryptCATCatalogInfoFromContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x20], rax
lea rdx, str.CryptCATAdminReleaseCatalogContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x28], rax
lea rdx, str.CryptCATAdminReleaseContext
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x30], rax
lea rdx, str.WTHelperProvDataFromStateData
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x38], rax
lea rdx, str.WTHelperGetProvSignerFromChain
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x40], rax
lea rdx, str.WinVerifyTrust
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x48], rax
lea rdx, str.CertNameToStrW
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsi + 0x50], rax
lea r11, [rsp + 0x70]
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
Function at 0x14007da60
Capabilities:
Delete file

Disassembly:
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x58], 0xfffffffffffffffe
mov qword [rsp + 0xa0], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, r8
mov rdi, rdx
mov r8, rdx
lea rdx, [rbp - 0x30]
call fcn.14007e200
nop
xor eax, eax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x48], rax
xor esi, esi
mov qword [rbp - 0x50], rsi
mov word [rbp - 0x48], ax
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x50]
call fcn.140064c60
xor eax, eax
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], rax
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x40]
call fcn.14000c3d0
nop
mov byte [rbp - 0x60], sil
lea r9, [rbp - 0x60]
mov r8, rbx
mov rdx, rdi
call fcn.14007db70
test al, al
jne 0x14007db08
cmp byte [rbp - 0x60], al
je 0x14007db08
cmp qword [rdi + 0x18], 8
jb 0x14007dafe
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
lea rcx, [rbp - 0x40]
call fcn.14000c430
nop
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14007db25
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x50], rsi
mov word [rbp - 0x48], 0
cmp qword [rbp - 0x18], 8
jb 0x14007db3b
mov rcx, qword [rbp - 0x30]
call fcn.1400bd20c
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rsi
mov word [rbp - 0x30], si
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
pop rsi
pop rbp
ret
Function at 0x14007eeb0
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0xb8], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov r15d, r8d
mov r12, rdx
mov rdi, rcx
xor r13d, r13d
mov ebx, r13d
mov qword [rsp + 0x50], rbx
or r8, 0xffffffffffffffff
cmp r15d, 0x3fe
jbe 0x14007ef6d
lea ecx, [r15 + 2]
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.1400bbc88
mov r12, rax
mov qword [rsp + 0x40], rax
mov rbx, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x40], r13
xor ecx, ecx
call fcn.1400bd2dc
mov rdx, rbx
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
test eax, eax
je 0x14007ef5e
cmp eax, r15d
ja 0x14007ef5e
mov ecx, eax
mov word [rbx + rcx*2], r13w
lea ecx, [rax + 1]
mov word [rbx + rcx*2], r13w
mov r15d, eax
jmp 0x14007ef9d
mov rcx, r12
call fcn.1400bd2dc
xor al, al
jmp 0x14007f0d3
mov rax, r15
add rax, rax
cmp rax, 0x800
jae 0x14007f0cd
mov word [rax + rdx], r13w
lea ecx, [r15 + 1]
add rcx, rcx
cmp rcx, 0x800
jae 0x14007f0c7
mov word [rcx + rdx], r13w
mov eax, r13d
mov ebp, r13d
test r15d, r15d
je 0x14007f0bb
mov r14, r12
or rbx, 0xffffffffffffffff
cmp word [r14], 0
jne 0x14007f0a7
cmp eax, ebp
je 0x14007f0a7
lea rdx, [r12 + rax*2]
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r13
mov word [rsp + 0x20], r13w
cmp word [rdx], 0
jne 0x14007eff3
mov r8, r13
jmp 0x14007f00b
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x14007f000
lea rcx, [rsp + 0x20]
call fcn.140006900
nop
mov rax, qword [rdi + 8]
lea rcx, [rsp + 0x20]
cmp rcx, rax
jae 0x14007f058
mov rcx, qword [rdi]
lea rdx, [rsp + 0x20]
cmp rcx, rdx
ja 0x14007f058
lea rsi, [rsp + 0x20]
sub rsi, rcx
cmp rax, qword [rdi + 0x10]
jne 0x14007f04c
mov edx, 1
mov rcx, rdi
call fcn.14000ec30
and rsi, 0xffffffffffffffe0
add rsi, qword [rdi]
mov r8, rsi
jmp 0x14007f070
cmp rax, qword [rdi + 0x10]
jne 0x14007f06b
mov edx, 1
mov rcx, rdi
call fcn.14000ec30
lea r8, [rsp + 0x20]
mov rdx, qword [rdi + 8]
call fcn.14000f420
add qword [rdi + 8], 0x20
cmp qword [rsp + 0x38], 8
jb 0x14007f090
mov rcx, qword [rsp + 0x20]
call fcn.1400bd20c
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], r13
mov word [rsp + 0x20], r13w
lea eax, [rbp + 1]
inc ebp
add r14, 2
cmp ebp, r15d
jb 0x14007efb3
mov rbx, qword [rsp + 0x50]
mov rcx, rbx
call fcn.1400bd2dc
mov al, 1
jmp 0x14007f0d3
call fcn.1400bedf0
int3
call fcn.1400bedf0
nop
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140082ea0
Capabilities:
Write file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov qword [r11 - 0x18], rdx
lea rdx, [r11 - 0x38]
call fcn.140082de0
nop
xor edi, edi
cmp qword [rsp + 0x60], rdi
je 0x140082f5c
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rcx, qword [rsp + 0x50]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140082f5c
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x48]
lea r8d, [rdi + 8]
lea rdx, [rsp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
cmp qword [rsp + 0x68], 8
jb 0x140082f6e
mov rcx, qword [rsp + 0x50]
call fcn.1400bd20c
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rdi
mov word [rsp + 0x50], di
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rdi
ret

Function at 0x140082fa0
Capabilities:
Read file on windows

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x80
mov qword [r11 - 0x48], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov rax, qword [0x14016ca00]
xor rax, rsp
mov qword [rsp + 0x78], rax
xor edi, edi
mov qword [r11 - 0x40], rdi
lea rdx, [r11 - 0x30]
call fcn.140082de0
nop
cmp qword [rsp + 0x68], rdi
je 0x14008306f
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x14008306f
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
lea r8d, [rdi + 8]
lea rdx, [rsp + 0x48]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, qword [rsp + 0x48]
test eax, eax
cmove rcx, rdi
mov qword [rsp + 0x48], rcx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x48]
cmp qword [rsp + 0x70], 8
jb 0x140083086
mov rcx, qword [rsp + 0x58]
call fcn.1400bd20c
mov qword [rsp + 0x70], 7
mov qword [rsp + 0x68], rdi
mov word [rsp + 0x58], di
mov rax, rbx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.1400bcae0
mov rbx, qword [rsp + 0x98]
add rsp, 0x80
pop rdi
ret