joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140090cb0
Capabilities:
Encode data using xor
Hash data using crc32b
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x20
mov ebx, edx
mov r10, rcx
test rcx, rcx
jne 0x140090cdb
mov edx, 4
mov ecx, 0x100
call fcn.1400c4f6c
mov r10, rax
test rax, rax
je 0x140090d93
mov eax, 1
test ebx, ebx
je 0x140090d3c
mov ebx, 0x80000000
nop dword [rax]
mov edx, ebx
lea ecx, [rbx + rbx]
sar edx, 0x1f
xor r9d, r9d
and edx, 0x4c11db7
mov ebx, edx
xor ebx, ecx
test eax, eax
je 0x140090d2a
mov r11, r10
nop dword [rax]
lea ecx, [r9 + rax]
mov r8d, ebx
xor r8d, dword [r11]
lea r11, [r11 + 4]
inc r9d
mov dword [r10 + rcx*4], r8d
cmp r9d, eax
jb 0x140090d10
add eax, eax
cmp eax, 0x100
jb 0x140090cf0
mov rax, r10
add rsp, 0x20
pop rbx
ret
mov dword [r10], 0
mov r11d, 0x80
nop dword [rax]
mov ecx, eax
lea ebx, [r11 + r11]
and cl, 1
neg cl
mov ecx, eax
sbb edx, edx
shr ecx, 1
and edx, 0xedb88320
mov eax, edx
xor eax, ecx
xor r9d, r9d
nop
lea ecx, [r9 + r11]
mov r8d, eax
xor r8d, dword [r10 + r9*4]
add r9d, ebx
mov dword [r10 + rcx*4], r8d
cmp r9d, 0x100
jb 0x140090d70
shr r11d, 1
jne 0x140090d50
mov rax, r10
add rsp, 0x20
pop rbx
ret

Function at 0x140090da0
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140090dce
nop word [rax + rax]
movzx r10d, byte [rdx]
lea rdx, [rdx + 1]
mov eax, ecx
shr ecx, 8
xor r10, rax
movzx eax, r10b
xor ecx, dword [r9 + rax*4]
sub r8, 1
jne 0x140090db0
mov eax, ecx
ret

Function at 0x140091ab0
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
je 0x140091baa
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx]
mov rdi, rdx
mov esi, r8d
sub eax, 0x7f2bb708
add rsi, rdx
mov rbx, rcx
cmp eax, 2
ja 0x140091b00
movabs rcx, 0xffffffff00000000
test rcx, rdx
jne 0x140091b69
lea rax, [rsi - 1]
test rcx, rax
jne 0x140091b69
mov rcx, rbx
call fcn.140092860
mov eax, dword [rbx]
sub eax, 0x7f2bb76d
cmp eax, 2
ja 0x140091b9b
movsxd rax, dword [rbx + 0x38]
mov r8d, 1
mov rcx, rax
shl r8, cl
dec r8
shr rdi, cl
add r8, rsi
shr r8, cl
sub r8d, edi
cmp rdi, qword [rbx + 0x20]
jb 0x140091b8b
mov rdx, qword [rbx + 0x28]
cmp rdi, rdx
ja 0x140091b8b
mov ecx, r8d
dec rcx
add rcx, rdi
cmp rcx, rdx
ja 0x140091b8b
mov rax, qword [rbx + 0x10]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x40]
mov edx, 1
mov r8d, 0xffffffff
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140093060
mov r8, qword [rbx + 0x40]
mov edx, edi
mov ecx, 0x7f2bb72d
call fcn.1400a2340
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140091ed0
Capabilities:
Print debug messages

Disassembly:
test rcx, rcx
je 0x140091fca
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov eax, dword [rcx]
mov rdi, rdx
mov esi, r8d
sub eax, 0x7f2bb708
add rsi, rdx
mov rbx, rcx
cmp eax, 2
ja 0x140091f20
movabs rcx, 0xffffffff00000000
test rcx, rdx
jne 0x140091f89
lea rax, [rsi - 1]
test rcx, rax
jne 0x140091f89
mov rcx, rbx
call fcn.140092f10
mov eax, dword [rbx]
sub eax, 0x7f2bb76d
cmp eax, 2
ja 0x140091fbb
movsxd rax, dword [rbx + 0x38]
mov r8d, 1
mov rcx, rax
shl r8, cl
dec r8
shr rdi, cl
add r8, rsi
shr r8, cl
sub r8d, edi
cmp rdi, qword [rbx + 0x20]
jb 0x140091fab
mov rdx, qword [rbx + 0x28]
cmp rdi, rdx
ja 0x140091fab
mov ecx, r8d
dec rcx
add rcx, rdi
cmp rcx, rdx
ja 0x140091fab
mov rax, qword [rbx + 0x10]
mov rdx, rdi
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp qword [rax + 0x48]
mov edx, 1
mov r8d, 0xffffffff
mov rcx, rbx
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140093060
mov r8, qword [rbx + 0x40]
mov edx, edi
mov ecx, 0x7f2bb72e
call fcn.1400a2340
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x140092060
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
test rcx, rcx
je 0x140092098
mov rax, qword [rcx + 0x40]
test rax, rax
je 0x140092098
mov r9, rdx
mov qword [rsp + 0x20], rax
lea rdx, str.ext2fs
mov r8d, 0xa
lea rcx, str._s:___08X___called__s_with_64_bit_bitmap_for__s_
call fcn.14004f2f0
add rsp, 0x38
ret
mov r9, rdx
lea rcx, str._s:___08X___called__s_with_64_bit_bitmap_
lea rdx, str.ext2fs
mov r8d, 0xa
add rsp, 0x38
jmp fcn.14004f2f0

Function at 0x1400920c0
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x40]
add edx, 0x80d44900
mov r9, r8
mov r8d, dword [rcx + 0x50]
add r8d, edx
lea rdx, str.ext2fs
test rax, rax
je 0x1400920fa
lea rcx, str._s:___08X____llu_for__s_
mov qword [rsp + 0x20], rax
call fcn.14004f2f0
add rsp, 0x38
ret
lea rcx, str._s:___08X____llu_
add rsp, 0x38
jmp fcn.14004f2f0

Function at 0x140092860
Capabilities:
Print debug messages

Disassembly:
mov r11d, r8d
mov r10d, edx
mov r9, rcx
cmp edx, dword [rcx + 0x10]
jb 0x1400928b8
mov ecx, dword [rcx + 0x14]
cmp edx, ecx
ja 0x1400928b8
lea eax, [r8 - 1]
add eax, edx
cmp eax, ecx
ja 0x1400928b8
xor r8d, r8d
test r11d, r11d
jle 0x1400928c6
nop word [rax + rax]
mov edx, r8d
inc r8d
sub edx, dword [r9 + 0x10]
add edx, r10d
mov ecx, edx
and edx, 7
shr rcx, 3
add rcx, qword [r9 + 0x28]
movzx eax, byte [rcx]
bts eax, edx
mov byte [rcx], al
cmp r8d, r11d
jl 0x140092890
ret
mov r8, qword [r9 + 0x20]
mov ecx, 0x7f2bb72d
jmp fcn.1400a2340
ret
Function at 0x140092f10
Capabilities:
Print debug messages

Disassembly:
mov r11d, r8d
mov r10d, edx
mov r9, rcx
cmp edx, dword [rcx + 0x10]
jb 0x140092f68
mov ecx, dword [rcx + 0x14]
cmp edx, ecx
ja 0x140092f68
lea eax, [r8 - 1]
add eax, edx
cmp eax, ecx
ja 0x140092f68
xor r8d, r8d
test r11d, r11d
jle 0x140092f76
nop word [rax + rax]
mov edx, r8d
inc r8d
sub edx, dword [r9 + 0x10]
add edx, r10d
mov ecx, edx
and edx, 7
shr rcx, 3
add rcx, qword [r9 + 0x28]
movzx eax, byte [rcx]
btr eax, edx
mov byte [rcx], al
cmp r8d, r11d
jl 0x140092f40
ret
mov r8, qword [r9 + 0x20]
mov ecx, 0x7f2bb72e
jmp fcn.1400a2340
ret

Function at 0x140093060
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov rax, qword [rcx + 0x20]
add edx, 0x80d44900
mov r9d, r8d
mov r8d, dword [rcx + 0x30]
add r8d, edx
lea rdx, str.ext2fs
test rax, rax
je 0x14009309a
lea rcx, str._s:___08X____lu_for__s_
mov qword [rsp + 0x20], rax
call fcn.14004f2f0
add rsp, 0x38
ret
lea rcx, str._s:___08X____lu_
add rsp, 0x38
jmp fcn.14004f2f0
Function at 0x1400a2340
Capabilities:
Print debug messages

Disassembly:
sub rsp, 0x38
mov r9d, edx
lea rdx, str.ext2fs
test r8, r8
je 0x1400a2370
mov qword [rsp + 0x20], r8
lea r8d, [rcx - 0x7f2bb700]
lea rcx, str._s:___08X____lu_for__s_
call fcn.14004f2f0
add rsp, 0x38
ret
lea r8d, [rcx - 0x7f2bb700]
lea rcx, str._s:___08X____lu_
add rsp, 0x38
jmp fcn.14004f2f0
Function at 0x1400aac30
Capabilities:
Hash data using sha512

Disassembly:
push rbx
push rbp
push rsi
sub rsp, 0x100
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0xf0], rax
movabs rax, 0x6a09e667f3bcc908
mov ebx, edx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x68], edx
movabs rax, 0xbb67ae8584caa73b
mov qword [rsp + 0x30], rax
movabs rax, 0x3c6ef372fe94f82b
mov qword [rsp + 0x38], rax
movabs rax, 0xa54ff53a5f1d36f1
mov qword [rsp + 0x40], rax
movabs rax, 0x510e527fade682d1
mov qword [rsp + 0x48], rax
movabs rax, 0x9b05688c2b3e6c1f
mov qword [rsp + 0x50], rax
movabs rax, 0x1f83d9abfb41bd6b
mov qword [rsp + 0x58], rax
movabs rax, 0x5be0cd19137e2179
mov qword [rsp + 0x60], rax
mov rbp, r8
mov qword [rsp + 0x20], rdx
mov rsi, rcx
test ebx, ebx
je 0x1400aad7f
mov qword [rsp + 0x138], rdi
test edx, edx
jne 0x1400aad17
cmp ebx, 0x80
jb 0x1400aad17
mov rdx, rsi
lea rcx, [rsp + 0x20]
call fcn.1400aadb0
add qword [rsp + 0x20], 0x400
sub rsi, 0xffffffffffffff80
mov edx, dword [rsp + 0x68]
add ebx, 0xffffff80
jmp 0x1400aad6f
mov eax, edx
mov ecx, 0x80
sub ecx, edx
mov edi, ebx
cmp ebx, ecx
mov rdx, rsi
cmovae edi, ecx
lea rcx, [rsp + 0x6c]
add rcx, rax
mov r8d, edi
call fcn.140135ea0
mov edx, dword [rsp + 0x68]
add rsi, rdi
add edx, edi
sub ebx, edi
mov dword [rsp + 0x68], edx
cmp edx, 0x80
jne 0x1400aad6f
lea rdx, [rsp + 0x6c]
lea rcx, [rsp + 0x20]
call fcn.1400aadb0
add qword [rsp + 0x20], 0x400
xor edx, edx
mov dword [rsp + 0x68], edx
test ebx, ebx
jne 0x1400aace8
mov rdi, qword [rsp + 0x138]
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.1400ab820
mov rcx, qword [rsp + 0xf0]
xor rcx, rsp
call fcn.1400b2a30
add rsp, 0x100
pop rsi
pop rbp
pop rbx
ret
Function at 0x1400af190
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
lea rdi, [0x140141c80]
mov r10, r8
mov r9, rdx
test dl, 3
je 0x1400af1d2
test r8, r8
je 0x1400af1d2
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
inc r9
xor ecx, dword [rdi + rax*4]
sub r10, 1
je 0x1400af1d2
test r9b, 3
jne 0x1400af1b1
mov r11, r10
lea rbx, [r9 - 4]
and r11d, 7
shr r10, 3
test r10, r10
je 0x1400af27d
nop word [rax + rax]
mov r8d, dword [rbx + 8]
mov r9d, dword [rbx + 4]
add rbx, 8
mov eax, ecx
xor r9, rax
mov eax, r8d
shr rax, 0x10
movzx ecx, al
mov eax, r8d
shr rax, 8
movzx edx, al
mov rax, r9
shr rax, 0x10
mov ecx, dword [rdi + rcx*4 + 0x400]
xor ecx, dword [rdi + rdx*4 + 0x800]
movzx edx, al
mov rax, r9
shr rax, 8
xor ecx, dword [rdi + rdx*4 + 0x1400]
movzx edx, al
mov eax, r8d
shr rax, 0x18
xor ecx, dword [rdi + rdx*4 + 0x1800]
xor ecx, dword [rdi + rax*4]
mov rax, r9
shr rax, 0x18
xor ecx, dword [rdi + rax*4 + 0x1000]
movzx eax, r8b
xor ecx, dword [rdi + rax*4 + 0xc00]
movzx eax, r9b
xor ecx, dword [rdi + rax*4 + 0x1c00]
sub r10, 1
jne 0x1400af1f0
test r11, r11
je 0x1400af2ad
lea r8, [rbx + 3]
nop word [rax + rax]
movzx eax, byte [r8 + 1]
lea r8, [r8 + 1]
mov edx, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [rdi + rax*4]
sub r11, 1
jne 0x1400af290
mov rbx, qword [rsp + 8]
mov eax, ecx
mov rdi, qword [rsp + 0x10]
ret

Function at 0x1400b00b0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xb0
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0xa0], rax
mov rdi, rcx
xor eax, eax
movzx ecx, byte [rdx]
mov r10, r8
lea r8, [rdx + 0x10]
mov rbx, r9
mov r11, rdx
test cl, cl
je 0x1400b010f
mov r9d, ecx
nop dword [rax + rax]
mov edx, eax
lea r8, [r8 + 1]
mov ecx, eax
shr edx, 0x1b
shl ecx, 5
mov eax, edx
xor eax, ecx
movsx ecx, byte [r8 - 1]
xor eax, ecx
sub r9, 1
jne 0x1400b00f0
cmp dword [r11 + 4], 0
jne 0x1400b014c
mov r8d, dword [r11 + 8]
test r8d, r8d
je 0x1400b014c
add r8d, 3
shr r8d, 2
test r8d, r8d
je 0x1400b014c
nop dword [rax]
mov edx, eax
lea r10, [r10 + 4]
mov ecx, eax
shr edx, 0x10
shl ecx, 0x10
mov eax, edx
xor eax, ecx
xor eax, dword [r10 - 4]
sub r8d, 1
jne 0x1400b0130
mov dword [rbx], eax
mov edx, dword [r11 + 4]
test edx, edx
je 0x1400b0179
lea r8, [rsp + 0x20]
mov rcx, rdi
call fcn.14009bcb0
test eax, eax
jne 0x1400b017b
mov eax, dword [rbx]
mov ecx, eax
shr ecx, 0x10
shl eax, 0x10
xor ecx, eax
xor ecx, dword [rsp + 0x28]
mov dword [rbx], ecx
xor eax, eax
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.1400b2a30
mov rbx, qword [rsp + 0xd0]
add rsp, 0xb0
pop rdi
ret

Function at 0x1400b3b8c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400b3bd6
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400b3bd6
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400b3bd6
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400b3bd6
cmp dword [rcx + 0x84], 0xe
jbe 0x1400b3bd6
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400b3bd8
xor al, al
add rsp, 0x28
ret
Function at 0x140102c6c
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdx, qword [rcx + 0x10]
mov rbx, rcx
mov ecx, dword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
test eax, eax
jne 0x140102ca7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010c75c
call fcn.14010c7e8
mov eax, dword [rax]
jmp 0x140102d1e
cmp rdi, qword [rbx + 0x18]
ja 0x140102cb3
mov qword [rbx + 0x20], rdi
jmp 0x140102d1c
cmp byte [rbx + 0x28], 0
lea rsi, [rdi + 1]
je 0x140102cca
mov rcx, qword [rbx + 0x10]
call fcn.14011a234
mov byte [rbx + 0x28], 0
lea rcx, [rdi*2 + 2]
call fcn.14011c574
mov qword [rbx + 0x10], rax
mov r8, rax
neg rax
mov edx, 0
sbb eax, eax
not eax
and eax, 0xc
cmove rdx, rsi
test eax, eax
sete cl
mov byte [rbx + 0x28], cl
mov qword [rbx + 0x18], rdx
test eax, eax
jne 0x140102d1e
mov ecx, dword [rbx + 0x18]
mov rdx, r8
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov eax, eax
test rax, rax
je 0x140102c91
mov qword [rbx + 0x20], rax
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x1401040f0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x1050
call fcn.1400b3400
sub rsp, rax
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0x1040], rax
mov r15, r8
mov rbp, rdx
mov rbx, rcx
call fcn.14011c4a0
xor edi, edi
movsxd r14, eax
cmp dword [rbx + 0x10], edi
jne 0x14010413f
mov rax, rbp
jmp 0x140104247
mov rax, qword [rbx]
mov rcx, r14
sub rax, qword [rbx + 8]
and ecx, 0x3f
cqo
mov rbx, r14
sub rax, rdx
sar rbx, 6
sar rax, 1
mov r9, r15
lea r12, [rcx + rcx*8]
mov rsi, rax
lea rax, [0x140000000]
xor r8d, r8d
mov rdx, qword [rax + rbx*8 + 0x19e930]
mov ecx, r14d
mov rdx, qword [rdx + r12*8 + 0x30]
call fcn.14010fb1c
mov r13, rax
lea rax, [0x140000000]
mov rcx, qword [rax + rbx*8 + 0x19e930]
cmp r13, qword [rcx + r12*8 + 0x30]
jne 0x140104243
mov rcx, qword [rcx + r12*8 + 0x28]
lea r9, [rsp + 0x30]
mov r8d, 0x1000
mov qword [rsp + 0x20], rdi
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140104243
mov r9, r15
xor r8d, r8d
mov rdx, rbp
mov ecx, r14d
call fcn.14010fb1c
test rax, rax
js 0x140104243
mov eax, dword [rsp + 0x30]
cmp rsi, rax
jg 0x140104243
lea rdx, [rsp + 0x40]
add rdx, rax
lea rcx, [rsp + 0x40]
test rsi, rsi
je 0x140104235
lea r8, [0x140000000]
cmp rcx, rdx
jae 0x140104235
cmp byte [rcx], 0xd
jne 0x14010421b
lea rax, [rdx - 1]
cmp rcx, rax
jae 0x14010422a
cmp byte [rcx + 1], 0xa
jne 0x14010422a
inc rcx
jmp 0x14010422a
movzx eax, byte [rcx]
movsx rax, byte [rax + r8 + 0x193600]
add rcx, rax
inc rdi
inc rcx
cmp rdi, rsi
jne 0x1401041fd
lea rax, [rsp + 0x40]
sub rcx, rax
lea rax, [rcx + r13]
jmp 0x140104247
or rax, 0xffffffffffffffff
mov rcx, qword [rsp + 0x1040]
xor rcx, rsp
call fcn.1400b2a30
mov rbx, qword [rsp + 0x1090]
add rsp, 0x1050
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x140106acc
Capabilities:
Get disk information

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rsi
push rdi
push r14
sub rsp, 0x250
mov rax, qword [0x140193440]
xor rax, rsp
mov qword [rsp + 0x240], rax
lea rdx, [0x140146bf8]
mov rbp, rcx
call fcn.140124060
xor edi, edi
test rax, rax
je 0x140106bb2
mov ebx, edi
call fcn.14010c7e8
mov r14d, dword [rax]
call fcn.14010c7e8
mov r8d, 0x104
lea rcx, [rsp + 0x30]
mov rdx, rbp
mov dword [rax], edi
call fcn.140123f24
mov rsi, rax
test rax, rax
je 0x140106b43
call fcn.14010c7e8
mov dword [rax], r14d
jmp 0x140106b6d
call fcn.14010c7e8
cmp dword [rax], 0x22
jne 0x140106baa
call fcn.14010c7e8
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
mov dword [rax], r14d
call fcn.140123f24
mov rbx, rax
mov rsi, rax
test rax, rax
je 0x140106baa
or rax, 0xffffffffffffffff
inc rax
cmp word [rsi + rax*2], di
jne 0x140106b71
cmp rax, 3
je 0x140106b8c
mov rcx, rsi
call fcn.140106a14
test al, al
je 0x140106b9d
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 1
jbe 0x140106b9d
mov dil, 1
mov rcx, rbx
call fcn.1400e8c70
mov al, dil
jmp 0x140106bb4
mov rcx, rbx
call fcn.1400e8c70
xor al, al
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400b2a30
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x140107bec
Capabilities:
Move file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x80
mov r14, rdx
mov rsi, rcx
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1400f26dc
mov rax, qword [rbp - 0x58]
mov edi, 0xfde9
cmp dword [rax + 0xc], edi
jne 0x140107c37
xor ebx, ebx
cmp byte [rbp - 0x48], bl
je 0x140107c6b
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x140107c6b
call fcn.14011af68
xor ebx, ebx
test eax, eax
jne 0x140107c59
cmp byte [rbp - 0x48], bl
je 0x140107c52
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, 1
jmp 0x140107c6b
cmp byte [rbp - 0x48], bl
je 0x140107c69
mov rax, qword [rbp - 0x60]
and dword [rax + 0x3a8], 0xfffffffd
mov edi, ebx
mov r9d, edi
mov qword [rbp - 0x30], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x28], rbx
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x20], rbx
mov rcx, rsi
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rbx
mov byte [rbp - 8], bl
call fcn.14010486c
mov esi, eax
test eax, eax
je 0x140107ca7
call fcn.14010c7e8
or edi, 0xffffffff
mov dword [rax], esi
jmp 0x140107d00
mov r9d, edi
mov qword [rbp - 0x60], rbx
lea r8, [rbp + 0x30]
mov qword [rbp - 0x58], rbx
lea rdx, [rbp - 0x60]
mov qword [rbp - 0x50], rbx
mov rcx, r14
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], rbx
mov byte [rbp - 0x38], bl
call fcn.14010486c
mov edi, eax
test eax, eax
je 0x140107ce3
call fcn.14010c7e8
mov dword [rax], edi
or edi, 0xffffffff
jmp 0x140107cf2
mov rdx, qword [rbp - 0x50]
mov rcx, qword [rbp - 0x20]
call fcn.14012481c
mov edi, eax
cmp byte [rbp - 0x38], bl
je 0x140107d00
mov rcx, qword [rbp - 0x50]
call fcn.14011a234
cmp byte [rbp - 8], bl
je 0x140107d0e
mov rcx, qword [rbp - 0x20]
call fcn.14011a234
lea r11, [rsp + 0x80]
mov eax, edi
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret

Function at 0x14010a840
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14010a860
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010c75c
or eax, 0xffffffff
jmp 0x14010a862
xor eax, eax
add rsp, 0x28
ret
jmp 0x14010a840

Function at 0x14010a868
Capabilities:
Delete file

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14010a860
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14010c75c
or eax, 0xffffffff
jmp 0x14010a862
xor eax, eax
add rsp, 0x28
ret
jmp 0x14010a840
Function at 0x14010c018
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rbx, rcx
test rcx, rcx
jne 0x14010c037
call fcn.140104594
jmp 0x14010c0ec
and qword [rbp - 0x30], 0
lea rcx, [rbp - 0x50]
and qword [rbp - 0x28], 0
xor edx, edx
and qword [rbp - 0x20], 0
and qword [rbp - 0x18], 0
and qword [rbp - 0x10], 0
mov byte [rbp - 8], 0
call fcn.1400f26dc
mov rax, qword [rbp - 0x48]
mov r9d, 0xfde9
cmp dword [rax + 0xc], r9d
jne 0x14010c082
cmp byte [rbp - 0x38], 0
je 0x14010c0b7
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
jmp 0x14010c0b7
call fcn.14011af68
test eax, eax
jne 0x14010c0a3
cmp byte [rbp - 0x38], al
je 0x14010c09b
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
mov r9d, 1
jmp 0x14010c0b7
cmp byte [rbp - 0x38], 0
je 0x14010c0b4
mov rax, qword [rbp - 0x50]
and dword [rax + 0x3a8], 0xfffffffd
xor r9d, r9d
lea r8, [rbp + 0x10]
mov rcx, rbx
lea rdx, [rbp - 0x30]
call fcn.14010486c
test eax, eax
je 0x14010c0d0
or ebx, 0xffffffff
jmp 0x14010c0db
mov rcx, qword [rbp - 0x20]
call fcn.140104594
mov ebx, eax
cmp byte [rbp - 8], 0
je 0x14010c0ea
mov rcx, qword [rbp - 0x20]
call fcn.14011a234
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x70
pop rbp
ret
Function at 0x14010e974
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
movsxd r15, ecx
lea r9, [0x14019e930]
mov rax, r15
mov rbp, r15
and eax, 0x3f
sar rbp, 6
mov ecx, 4
xor esi, esi
mov r14, rdx
lea rdi, [rax + rax*8]
mov rax, qword [r9 + rbp*8]
lea r13d, [rcx + 6]
mov r10, qword [rax + rdi*8 + 0x28]
test r8, r8
je 0x14010e9cb
cmp word [rdx], r13w
jne 0x14010e9cb
or byte [rax + rdi*8 + 0x38], cl
jmp 0x14010e9d0
and byte [rax + rdi*8 + 0x38], 0xfb
lea r8, [rdx + r8*2]
mov rbx, r14
cmp r14, r8
jae 0x14010eaf5
mov r11d, 0xd
lea r12d, [r11 - 0xb]
movzx ecx, word [rdx]
cmp cx, 0x1a
je 0x14010eb16
lea r9, [rdx + 2]
cmp cx, r11w
je 0x14010ea09
mov rdx, r9
mov word [rbx], cx
jmp 0x14010ea30
cmp r9, r8
jae 0x14010ea40
cmp word [r9], r13w
mov rax, r12
mov ecx, 4
cmove rax, rcx
add rdx, rax
mov eax, r13d
cmp word [r9], r13w
cmovne ax, r11w
mov word [rbx], ax
mov rax, r12
add rbx, rax
cmp rdx, r8
jb 0x14010e9ea
jmp 0x14010eaf5
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rsi
mov r8d, r12d
lea rdx, [rsp + 0x70]
mov rcx, r10
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14010eaea
cmp dword [rsp + 0x80], esi
je 0x14010eaea
lea r8, [0x14019e930]
mov rax, qword [r8 + rbp*8]
test byte [rax + rdi*8 + 0x38], 0x48
je 0x14010eac2
movzx eax, word [rsp + 0x70]
cmp ax, r13w
jne 0x14010ea92
mov word [rbx], r13w
jmp 0x14010eaf2
mov ecx, 0xd
mov word [rsp + 0x78], ax
mov word [rbx], cx
mov rax, qword [r8 + rbp*8]
lea rcx, [rax + rdi*8]
mov al, byte [rsp + rsi + 0x78]
mov byte [rcx + rsi + 0x3a], al
inc rsi
cmp rsi, r12
jl 0x14010ea9f
mov rax, qword [r8 + rbp*8]
mov byte [rax + rdi*8 + 0x3c], r13b
jmp 0x14010eaf2
cmp word [rsp + 0x70], r13w
jne 0x14010eacf
cmp rbx, r14
je 0x14010ea8c
mov rdx, 0xfffffffffffffffe
mov ecx, r15d
lea r8d, [rdx + 3]
call fcn.14010fb24
cmp word [rsp + 0x70], r13w
je 0x14010eaf5
mov ecx, 0xd
mov word [rbx], cx
add rbx, r12
sub rbx, r14
sar rbx, 1
lea eax, [rbx + rbx]
mov rbx, qword [rsp + 0x88]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [0x14019e930]
mov rdx, qword [r8 + rbp*8]
mov al, byte [rdx + rdi*8 + 0x38]
test al, 0x40
jne 0x14010eaef
or al, r12b
mov byte [rdx + rdi*8 + 0x38], al
jmp 0x14010eaf5