joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008ad0
Capabilities:
Hash data using sha1

Disassembly:
add rcx, 0x10
jmp fcn.1400bde50

Function at 0x140008af0
Capabilities:
Hash data using sha1

Disassembly:
add rcx, 0x10
jmp fcn.1400be590

Function at 0x140008b80
Capabilities:
Hash data using sha256

Disassembly:
add rcx, 0x10
jmp fcn.1400be730

Function at 0x140008fb0
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x270
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x2a0], rbx
mov rax, qword [0x14010c598]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov rbp, rdx
mov rdi, rcx
lea rsi, [rcx + 8]
cmp byte [rcx], 0
je 0x140009004
mov rcx, rsi
call fcn.140009ec0
test al, al
sete cl
mov byte [rdi], cl
test al, al
je 0x140009097
lea rcx, [rsp + 0x20]
call fcn.1400042b0
nop
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov rax, qword [rsp + 0x20]
mov word [rax], cx
mov word [rsp + 0x50], cx
lea rdx, [rsp + 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1400045f0
lea eax, [rbx - 1]
cmp eax, 0x103
ja 0x140009088
mov r8, rbp
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140004760
nop
xor r9d, r9d
mov r8, rsi
mov dl, 1
mov rcx, qword [rax]
call fcn.1400095d0
movzx ebx, al
mov rcx, qword [rsp + 0x38]
call fcn.1400c79bc
test bl, bl
je 0x140009088
mov byte [rdi], 1
mov bl, 1
jmp 0x14000908a
xor bl, bl
mov rcx, qword [rsp + 0x20]
call fcn.1400c79bc
movzx eax, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400c7aa0
mov rbx, qword [rsp + 0x2a0]
add rsp, 0x270
pop rdi
pop rsi
pop rbp
ret
Function at 0x140009400
Capabilities:
Create directory

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rdi, rcx
call fcn.14000d610
mov ebx, eax
cmp eax, 1
je 0x14000944c
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000943f
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x1400094a7
test ebx, ebx
je 0x1400094a7
lea rcx, [rsp + 0x28]
call fcn.1400042b0
nop
cmp ebx, 1
setne r8b
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14000d0a0
test al, al
je 0x14000949d
xor edx, edx
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x28]
call fcn.1400c79bc
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x28]
call fcn.1400c79bc
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400094c0
Capabilities:
Get common file path

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x270
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov rax, qword [0x14010c598]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r14, r8
mov rbp, rdx
mov rdi, rcx
lea rsi, [rcx + 8]
cmp byte [rcx], 0
je 0x140009512
mov rcx, qword [rsi]
call fcn.140009810
test al, al
sete cl
mov byte [rdi], cl
test al, al
je 0x1400095a5
lea rcx, [rsp + 0x20]
call fcn.1400042b0
nop
xor ecx, ecx
mov dword [rsp + 0x28], ecx
mov rax, qword [rsp + 0x20]
mov word [rax], cx
mov word [rsp + 0x50], cx
lea rdx, [rsp + 0x50]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov ebx, eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x20]
call fcn.1400045f0
lea eax, [rbx - 1]
cmp eax, 0x103
ja 0x140009596
mov r8, rbp
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x38]
call fcn.140004760
nop
mov r9, r14
mov r8, rsi
mov dl, 1
mov rcx, qword [rax]
call fcn.1400095d0
movzx ebx, al
mov rcx, qword [rsp + 0x38]
call fcn.1400c79bc
test bl, bl
je 0x140009596
mov byte [rdi], 1
mov bl, 1
jmp 0x140009598
xor bl, bl
mov rcx, qword [rsp + 0x20]
call fcn.1400c79bc
movzx eax, bl
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.1400c7aa0
add rsp, 0x270
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x140009810
Capabilities:
Delete file

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rbx, rcx
call fcn.14000adb0
cmp eax, 0xffffffff
je 0x140009850
mov edx, eax
and dl, 0x11
cmp dl, 1
jne 0x140009850
and eax, 0xfffffffe
mov edx, eax
mov rcx, rbx
call fcn.14000a270
test al, al
je 0x1400098d2
mov rcx, rbx
call fcn.14000d610
mov edi, eax
cmp eax, 1
je 0x140009879
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
je 0x140009879
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
test edi, edi
je 0x1400098d2
lea rcx, [rsp + 0x28]
call fcn.1400042b0
nop
cmp edi, 1
setne r8b
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.14000d0a0
test al, al
je 0x1400098c8
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x28]
call fcn.1400c79bc
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x28]
call fcn.1400c79bc
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret

Function at 0x1400098e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14010c598]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x20], cx
mov rax, qword [rdi]
mov dword [rdi + 8], ecx
mov word [rax], cx
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.1400045f0
lea eax, [rbx - 1]
cmp eax, 0x103
setbe al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400c7aa0
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret

Function at 0x140009c00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14010c598]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x20], cx
mov rax, qword [rdi]
mov dword [rdi + 8], ecx
mov word [rax], cx
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.1400045f0
lea eax, [rbx - 1]
cmp eax, 0x103
setbe al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400c7aa0
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x140009c80
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x60
mov qword [rax - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov rsi, rdx
mov rbp, rcx
call fcn.14000d610
mov edi, eax
mov rcx, rsi
call fcn.14000d610
mov ebx, eax
cmp edi, 1
je 0x140009cd4
cmp eax, 1
je 0x140009cd4
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140009cd4
mov al, 1
jmp 0x140009d69
test edi, edi
jne 0x140009ce0
test ebx, ebx
je 0x140009d67
lea rcx, [rsp + 0x48]
call fcn.1400042b0
nop
lea rcx, [rsp + 0x38]
call fcn.1400042b0
nop
cmp edi, 1
je 0x140009d04
cmp ebx, 1
je 0x140009d04
mov al, 1
jmp 0x140009d06
xor eax, eax
mov byte [rsp + 0x20], al
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x48]
mov rdx, rsi
mov rcx, rbp
call fcn.14000d580
test al, al
je 0x140009d52
mov rdx, qword [rsp + 0x38]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x38]
call fcn.1400c79bc
nop
mov rcx, qword [rsp + 0x48]
call fcn.1400c79bc
movzx eax, bl
jmp 0x140009d69
mov rcx, qword [rsp + 0x38]
call fcn.1400c79bc
nop
mov rcx, qword [rsp + 0x48]
call fcn.1400c79bc
xor al, al
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x60
pop rdi
ret

Function at 0x140009e10
Capabilities:
Delete directory

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rdi, rcx
call fcn.14000d610
mov ebx, eax
cmp eax, 1
je 0x140009e4d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x140009e4d
mov al, 1
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
test ebx, ebx
je 0x140009ea6
lea rcx, [rsp + 0x28]
call fcn.1400042b0
nop
cmp ebx, 1
setne r8b
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14000d0a0
test al, al
je 0x140009e9c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rsp + 0x28]
call fcn.1400c79bc
movzx eax, bl
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x28]
call fcn.1400c79bc
xor al, al
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x140009ec0
Capabilities:
Delete directory

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rsi, rcx
lea rcx, [rbp + 0x17]
call fcn.14000a3c0
lea rcx, [rbp + 0x3f]
call fcn.1400042b0
nop
mov rdx, qword [rsi]
lea rcx, [rbp + 0x17]
call fcn.14000a580
test al, al
je 0x140009f25
mov ebx, dword [rbp + 0x37]
mov eax, ebx
shr eax, 4
test al, 1
jne 0x140009f4d
mov ecx, 0x10b
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
mov rcx, qword [rbp + 0x3f]
call fcn.1400c79bc
xor al, al
lea r11, [rsp + 0x90]
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
shr ebx, 0xa
mov rcx, qword [rbp + 0x3f]
call fcn.1400c79bc
test bl, 1
jne 0x14000a05d
mov rdx, rsi
lea rcx, [rbp - 0x11]
call fcn.140004020
nop
mov ebx, dword [rbp - 9]
cmp dword [rbp - 5], ebx
jne 0x140009f83
lea rcx, [rbp - 0x11]
call fcn.140005060
mov ebx, dword [rbp - 9]
mov rcx, qword [rbp - 0x11]
mov eax, ebx
mov edx, 0x5c
mov word [rcx + rax*2], dx
inc ebx
lea rdi, [rbx + rbx]
xor r14d, r14d
mov word [rdi + rcx], r14w
mov dword [rbp - 9], ebx
mov qword [rbp - 1], 0xffffffffffffffff
lea rcx, [rbp + 7]
call fcn.1400042b0
nop
lea rdx, [rbp - 0x11]
lea rcx, [rbp - 1]
call fcn.14000b440
lea rcx, [rbp + 0x17]
call fcn.14000a3c0
lea rcx, [rbp + 0x3f]
call fcn.1400042b0
nop
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 1]
call fcn.14000b110
test al, al
je 0x14000a037
cmp ebx, dword [rbp - 9]
jae 0x140009ff7
mov dword [rbp - 9], ebx
mov rax, qword [rbp - 0x11]
mov word [rdi + rax], r14w
lea rdx, [rbp + 0x3f]
lea rcx, [rbp - 0x11]
call fcn.1400048b0
mov eax, dword [rbp + 0x37]
shr eax, 4
test al, 1
je 0x14000a019
lea rcx, [rbp - 0x11]
call fcn.140009ec0
jmp 0x14000a022
mov rcx, qword [rbp - 0x11]
call fcn.140009810
test al, al
je 0x14000a098
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 1]
call fcn.14000b110
test al, al
jne 0x140009fe6
mov rcx, qword [rbp + 0x3f]
call fcn.1400c79bc
nop
mov rcx, qword [rbp + 7]
call fcn.1400c79bc
lea rcx, [rbp - 1]
call fcn.14000a3e0
nop
mov rcx, qword [rbp - 0x11]
call fcn.1400c79bc
xor edx, edx
mov rcx, qword [rsi]
call fcn.14000a270
test al, al
je 0x140009f2e
mov rdi, qword [rsi]
mov rcx, rdi
call fcn.14000d610
mov ebx, eax
cmp eax, 1
je 0x14000a0be
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x14000a0be
mov bl, 1
movzx eax, bl
jmp 0x140009f30
mov rcx, qword [rbp + 0x3f]
call fcn.1400c79bc
nop
mov rcx, qword [rbp + 7]
call fcn.1400c79bc
lea rcx, [rbp - 1]
call fcn.14000a3e0
nop
mov rcx, qword [rbp - 0x11]
jmp 0x140009f29
test ebx, ebx
je 0x14000a10c
lea rcx, [rbp - 0x11]
call fcn.1400042b0
nop
cmp ebx, 1
setne r8b
lea rdx, [rbp - 0x11]
mov rcx, rdi
call fcn.14000d0a0
test al, al
je 0x14000a103
mov rcx, qword [rbp - 0x11]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
setne bl
mov rcx, qword [rbp - 0x11]
call fcn.1400c79bc
movzx eax, bl
jmp 0x140009f30
mov rcx, qword [rbp - 0x11]
call fcn.1400c79bc
xor bl, bl
movzx eax, bl
jmp 0x140009f30
Function at 0x14000a120
Capabilities:
Set current directory

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne al
add rsp, 0x28
ret

Function at 0x14000a330
Capabilities:
Set file attributes

Disassembly:
mov eax, edx
mov r8d, edx
and edx, 0x3fff
and eax, 0xf0000000
cmove edx, r8d
jmp fcn.14000a270

Function at 0x14000adb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov rdi, rcx
call fcn.14000d610
mov ebx, eax
cmp eax, 1
je 0x14000ade1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14000ae3b
test ebx, ebx
je 0x14000ae36
lea rcx, [rsp + 0x28]
call fcn.1400042b0
nop
cmp ebx, 1
setne r8b
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.14000d0a0
test al, al
je 0x14000ae2c
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov rcx, qword [rsp + 0x28]
call fcn.1400c79bc
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
mov rcx, qword [rsp + 0x28]
call fcn.1400c79bc
mov eax, 0xffffffff
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14000af00
Capabilities:
Get disk information

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov rdi, rcx
mov ebx, dword [rcx + 8]
test ebx, ebx
je 0x14000af6b
mov r14d, ebx
shl r14, 3
nop dword [rax]
nop word [rax + rax]
dec ebx
lea r14, [r14 - 8]
mov rax, qword [rdi]
mov rsi, qword [r14 + rax]
test rsi, rsi
je 0x14000af67
mov rcx, qword [rsi]
call fcn.1400c79bc
mov edx, 0x10
mov rcx, rsi
call fcn.1400c79bc
test ebx, ebx
jne 0x14000af40
mov dword [rdi + 8], 0
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov esi, eax
test eax, eax
je 0x14000b0ed
mov rcx, rsi
xor ebx, ebx
mov qword [rsp + 0x88], rbx
lea r8, [rbx - 1]
test eax, eax
je 0x14000afba
mov eax, 2
mul rcx
cmovo rax, r8
mov rcx, rax
call fcn.1400c79c4
mov rbx, rax
mov qword [rsp + 0x88], rax
mov rdx, rbx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov r12d, eax
test eax, eax
je 0x14000b0de
cmp eax, esi
ja 0x14000b0de
lea rcx, [rsp + 0x28]
call fcn.1400042b0
nop
xor r13d, r13d
xor ebp, ebp
test r12d, r12d
je 0x14000b0cb
mov r14, rbx
cmp word [r14], 0
jne 0x14000b0bc
mov eax, r13d
lea rdx, [rbx + rax*2]
lea rcx, [rsp + 0x28]
call fcn.1400045f0
lea r13d, [rbp + 1]
mov dword [rsp + 0x80], r13d
mov ecx, 0x10
call fcn.1400c7980
mov qword [rsp + 0x90], rax
test rax, rax
je 0x14000b045
lea rdx, [rsp + 0x28]
mov rcx, rax
call fcn.140004020
mov r15, rax
jmp 0x14000b048
xor r15d, r15d
mov ecx, dword [rdi + 0xc]
cmp dword [rdi + 8], ecx
jne 0x14000b0af
mov eax, ecx
shr eax, 2
lea r13d, [rcx + 1]
add r13d, eax
mov ecx, r13d
mov eax, 8
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.1400c79c4
mov rsi, rax
mov eax, dword [rdi + 8]
test eax, eax
je 0x14000b096
mov r8d, eax
shl r8, 3
mov rdx, qword [rdi]
mov rcx, rsi
call fcn.1400c8abe
mov rcx, qword [rdi]
call fcn.1400c79bc
mov qword [rdi], rsi
mov dword [rdi + 0xc], r13d
mov r13d, dword [rsp + 0x80]
jmp 0x14000b0b2
mov rsi, qword [rdi]
mov eax, dword [rdi + 8]
mov qword [rsi + rax*8], r15
inc dword [rdi + 8]
inc ebp
add r14, 2
cmp ebp, r12d
jb 0x14000aff4
cmp r13d, r12d
sete dil
mov rcx, qword [rsp + 0x28]
call fcn.1400c79bc
jmp 0x14000b0e1
xor dil, dil
mov rcx, rbx
call fcn.1400c79bc
movzx eax, dil
mov rbx, qword [rsp + 0x98]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14000b9d0
Capabilities:
Get file size

Disassembly:
push rbx
sub rsp, 0x20
cmp byte [rcx + 8], 0
mov rbx, rdx
je 0x14000b9f4
cmp byte [rcx + 9], 0
je 0x14000b9f4
mov rax, qword [rcx + 0x10]
mov qword [rdx], rax
mov al, 1
add rsp, 0x20
pop rbx
ret
mov rcx, qword [rcx]
lea rdx, [rsp + 0x30]
mov qword [rsp + 0x38], rdi
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp eax, 0xffffffff
jne 0x14000ba25
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x14000ba25
mov rdi, qword [rsp + 0x38]
xor al, al
add rsp, 0x20
pop rbx
ret
mov ecx, dword [rsp + 0x30]
mov rax, rdi
shl rcx, 0x20
mov al, 1
add rcx, rdi
mov rdi, qword [rsp + 0x38]
mov qword [rbx], rcx
add rsp, 0x20
pop rbx
ret

Function at 0x14000bb90
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
mov rcx, qword [rcx]
xor eax, eax
mov rbx, r9
mov dword [rsp + 0x58], eax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x58]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x14000bbd0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebp, ebp
mov rsi, r9
mov dword [r9], ebp
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
nop dword [rax]
nop word [rax + rax]
cmp ebx, dword [section..data]
lea r9, [rsp + 0x60]
mov rcx, qword [r14]
mov r8d, ebx
cmova r8d, dword [section..data]
mov rdx, rdi
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x60]
add dword [rsi], ecx
test eax, eax
je 0x14000bc46
test ecx, ecx
je 0x14000bc42
add rdi, rcx
mov eax, ecx
sub ebx, ecx
jne 0x14000bc00
mov al, 1
jmp 0x14000bc48
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret

Function at 0x14000bc60
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x30
cmp r8d, dword [section..data]
mov rbx, r9
mov rcx, qword [rcx]
lea r9, [rsp + 0x50]
cmova r8d, dword [section..data]
xor eax, eax
mov dword [rsp + 0x50], eax
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [rsp + 0x50]
test eax, eax
mov dword [rbx], ecx
setne al
add rsp, 0x30
pop rbx
ret

Function at 0x14000beb0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebp, ebp
mov rsi, r9
mov dword [r9], ebp
mov ebx, r8d
mov rdi, rdx
mov r14, rcx
nop dword [rax]
nop word [rax + rax]
cmp ebx, dword [section..data]
lea r9, [rsp + 0x60]
mov rcx, qword [r14]
mov r8d, ebx
cmova r8d, dword [section..data]
mov rdx, rdi
mov dword [rsp + 0x60], ebp
mov qword [rsp + 0x20], rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x60]
add dword [rsi], ecx
test eax, eax
je 0x14000bf26
test ecx, ecx
je 0x14000bf22
add rdi, rcx
mov eax, ecx
sub ebx, ecx
jne 0x14000bee0
mov al, 1
jmp 0x14000bf28
xor al, al
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14000c950
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x14010c598]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
lea rdx, [rsp + 0x20]
xor ecx, ecx
mov word [rsp + 0x20], cx
mov rax, qword [rdi]
mov dword [rdi + 8], ecx
mov word [rax], cx
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rdx, [rsp + 0x20]
mov rcx, rdi
mov ebx, eax
call fcn.1400045f0
lea eax, [rbx - 1]
cmp eax, 0x103
setbe al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.1400c7aa0
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret
Function at 0x14000cdb0
Capabilities:
Get common file path

Disassembly:
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp fcn.14000c9d0

Function at 0x14000dd30
Capabilities:
Get disk size

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x60
mov r14, rcx
mov rdi, r9
lea rcx, [0x1400d33e0]
mov rsi, r8
mov rbx, rdx
xor bpl, bpl
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.GetDiskFreeSpaceExW
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14000dda9
lea r9, [rsp + 0x48]
mov rcx, r14
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x50]
call qword [case.0x140046c11.0]
test eax, eax
mov rax, qword [rsp + 0x40]
mov qword [rsi], rax
mov rax, qword [rsp + 0x48]
setne bpl
mov qword [rdi], rax
lea rax, [rsp + 0x38]
mov rcx, r14
lea r9, [rsp + 0x3c]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x34]
lea rdx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceW]
test eax, eax
je 0x14000ddfb
mov ecx, dword [rsp + 0x30]
mov eax, dword [rsp + 0x34]
imul rcx, rax
mov qword [rbx], rcx
test bpl, bpl
jne 0x14000ddf9
mov eax, dword [rsp + 0x38]
imul rax, rcx
mov qword [rsi], rax
mov eax, dword [rsp + 0x3c]
imul rax, qword [rbx]
mov qword [rdi], rax
mov al, 1
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret

Function at 0x14000ec70
Capabilities:
Get system information on windows

Disassembly:
sub rsp, 0x78
mov rax, qword [0x14010c598]
xor rax, rsp
mov qword [rsp + 0x60], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x14000ed39
mov r9, qword [rsp + 0x50]
test r9, r9
je 0x14000ed39
xor eax, eax
mov qword [rsp + 0x70], rbx
mov r10d, eax
mov r11d, eax
mov ebx, eax
mov r8d, 2
nop word [rax + rax]
lea ecx, [r8 - 2]
mov rdx, r9
shr rdx, cl
lea ecx, [r8 - 1]
and edx, 1
add eax, edx
mov rdx, r9
shr rdx, cl
mov ecx, r8d
and edx, 1
add ebx, edx
mov rdx, r9
shr rdx, cl
lea ecx, [r8 + 1]
and edx, 1
add r8d, 4
add r11d, edx
mov rdx, r9
shr rdx, cl
and edx, 1
add r10d, edx
lea ecx, [r8 - 2]
cmp ecx, 0x40
jb 0x14000ecd0
lea ecx, [r10 + r11]
add ecx, ebx
mov rbx, qword [rsp + 0x70]
add eax, ecx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c7aa0
add rsp, 0x78
ret
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c7aa0
add rsp, 0x78
ret
Function at 0x14000ed60
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14010c598]
xor rax, rsp
mov qword [rsp + 0x60], rax
movabs rax, 0x100000000
mov dword [rsp + 0x20], 0x40
mov qword [rcx], rax
mov rbx, rcx
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
test eax, eax
jne 0x14000edaf
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c7aa0
add rsp, 0x70
pop rbx
ret
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x28]
cmp rax, rcx
cmovb rcx, rax
mov al, 1
mov qword [rbx], rcx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400c7aa0
add rsp, 0x70
pop rbx
ret

Function at 0x140010cf0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rbx, r9
mov edi, r8d
mov rbp, rdx
mov rsi, rcx
test r9, r9
je 0x140010d1c
mov dword [r9], 0
test edi, edi
je 0x140010d82
mov eax, 0x8000
mov ecx, 0xfffffff5
cmp edi, eax
cmovae edi, eax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea r9, [rsp + 0x50]
mov qword [rsp + 0x20], 0
mov rcx, rax
mov r8d, edi
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov ecx, dword [rsp + 0x50]
add qword [rsi + 0x10], rcx
test rbx, rbx
je 0x140010d61
add dword [rbx], ecx
test eax, eax
jne 0x140010d82
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x140010d76
mov eax, 0x80004005
jmp 0x140010d84
jle 0x140010d84
movzx eax, ax
or eax, 0x80070000
jmp 0x140010d84
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret