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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov rax, qword [0x14003e008]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rdi, r9
mov qword [rsp + 0x50], r9
mov r13, r8
mov rax, rdx
mov r12, rcx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x60000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [r9 + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov qword [rsp + 0xa0], rax
cmp rax, 0xffffffffffffffff
je 0x140008a3d
mov r14, qword [r12 + 8]
shr r14, 1
mov r15, qword [r12]
lea rax, [r15 + r14]
mov qword [rsp + 0x40], rax
xor ebx, ebx
xor ebp, ebp
lea rcx, [rsp + 0xb0]
call fcn.14000bb30
test r13, r13
jne 0x1400088e2
mov rcx, rdi
lea rdx, [rsp + 0xb0]
call fcn.14000b320
nop
test rsi, rsi
je 0x1400088b7
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.14000c080
mov rbx, qword [rsp + 0x1f0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, [0x140006be0]
nop dword [rax]
xor eax, eax
mov qword [rsp + 0x80], rax
mov qword [rsp + 0x88], rax
mov dword [rsp + 0x90], ebx
mov rax, rbx
sar rax, 0x20
mov dword [rsp + 0x94], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x98], rax
mov rdi, r13
sub rdi, rbx
cmp rdi, r14
jle 0x140008934
mov r8d, r14d
jmp 0x140008945
mov eax, dword [r12 + 0x18]
lea r8d, [rax - 1]
add r8d, edi
neg eax
and r8d, eax
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x80]
mov rdx, r15
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
je 0x140008a1a
mov r8, rbp
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0xb0]
call fcn.14000bbc0
mov rcx, qword [r12 + 0x20]
mov rax, qword [rcx]
mov rdx, rbp
call qword [rax + 0x18]
mov edx, 1
mov ecx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_SleepEx]
cmp eax, 0xc0
jne 0x1400089f7
cmp dword [rsp + 0x48], 0
jne 0x140008a60
mov ebp, dword [rsp + 0x4c]
add rbx, rbp
mov rdx, r15
mov r15, qword [rsp + 0x40]
mov qword [rsp + 0x40], rdx
cmp rbx, r13
lea rcx, [0x140006be0]
jl 0x1400088f0
mov r8, rdi
lea rcx, [rsp + 0xb0]
call fcn.14000bbc0
mov rcx, qword [r12 + 0x20]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x18]
mov rcx, qword [rsp + 0x50]
jmp 0x14000889b
lea rdx, [0x1400392d0]
lea rcx, [rsp + 0x58]
call fcn.14000a060
lea rdx, [0x14003cdd8]
lea rcx, [rsp + 0x58]
call fcn.14000e8b8
int3
lea rdx, [0x1400392b8]
lea rcx, [rsp + 0x58]
call fcn.14000a060
lea rdx, [0x14003cdd8]
lea rcx, [rsp + 0x58]
call fcn.14000e8b8
int3
lea rdx, [0x1400392a0]
lea rcx, [rsp + 0x58]
call fcn.14000a060
lea rdx, [0x14003cdd8]
lea rcx, [rsp + 0x58]
call fcn.14000e8b8
int3
lea rdx, [0x1400392b8]
lea rcx, [rsp + 0x58]
call fcn.14000a060
lea rdx, [0x14003cdd8]
lea rcx, [rsp + 0x58]
call fcn.14000e8b8
int3
Function at 0x140008a90
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0xa0
mov r13, r8
mov rax, rdx
mov r15, rcx
xor ebp, ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 0x20000000
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
lea r8d, [rbp + 1]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rsi, rax
mov qword [rsp + 0x48], rax
cmp rax, 0xffffffffffffffff
je 0x140008bf6
mov r14, qword [r15 + 8]
shr r14, 1
mov r12, qword [r15]
lea rax, [r12 + r14]
mov qword [rsp + 0x40], rax
mov ebx, ebp
mov ecx, ebp
mov dword [rsp + 0xe8], ecx
test r13, r13
je 0x140008bc7
nop dword [rax]
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], ebx
mov rax, rbx
sar rax, 0x20
mov dword [rsp + 0x6c], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x70], rax
mov rdi, r13
sub rdi, rbx
cmp rdi, r14
jle 0x140008b53
mov ebp, r14d
jmp 0x140008b60
mov eax, dword [r15 + 0x18]
lea ebp, [rax - 1]
add ebp, edi
neg eax
and ebp, eax
mov edx, ecx
mov rcx, qword [r15 + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0xe8]
mov r8d, ebp
mov rdx, r12
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140008c19
mov ecx, dword [rsp + 0xe8]
add rbx, rcx
mov rax, r12
mov r12, qword [rsp + 0x40]
mov qword [rsp + 0x40], rax
cmp rbx, r13
mov ebp, 0
jl 0x140008b20
mov rcx, qword [r15 + 0x20]
mov rax, qword [rcx]
mov rdx, rdi
call qword [rax + 0x18]
nop
test rsi, rsi
je 0x140008bd5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rdx, [0x1400392a0]
lea rcx, [rsp + 0x78]
call fcn.14000a060
lea rdx, [0x14003cdd8]
lea rcx, [rsp + 0x78]
call fcn.14000e8b8
int3
lea rdx, [0x1400392b8]
lea rcx, [rsp + 0x78]
call fcn.14000a060
lea rdx, [0x14003cdd8]
lea rcx, [rsp + 0x78]
call fcn.14000e8b8
int3
Function at 0x14000a3d0
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x4a0
mov rax, qword [0x14003e008]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rdi, rdx
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000a400
lea rbx, [rax + rax]
xor r15d, r15d
cmp word [rbx + rcx - 2], 0x5c
jne 0x14000a46a
cmp rax, 0x103
jb 0x14000a428
xor al, al
jmp 0x14000a5ed
mov rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x270]
call fcn.14000de90
mov eax, 0x2a
mov word [rsp + rbx + 0x270], ax
add rbx, 2
cmp rbx, 0x208
jae 0x14000a609
mov word [rsp + rbx + 0x270], r15w
lea rcx, [rsp + 0x270]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x4d8], rsi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a497
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
sete al
jmp 0x14000a5e5
mov rcx, qword [rsp + 0x4c]
mov qword [rsp + 0x4d0], rbp
mov eax, ecx
xor eax, 0x2e
mov qword [rsp + 0x498], r12
mov qword [rsp + 0x490], r14
mov r12d, 0x5c
movabs r14, 0xffffffffffff
je 0x14000a510
xor rcx, 0x2e002e
test r14, rcx
je 0x14000a510
test byte [rsp + 0x20], 0x10
je 0x14000a4fc
movsxd rbp, dword [rdi + 0x10]
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
nop
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14000a4f0
jmp 0x14000a55f
movsxd rcx, dword [rsp + 0x3c]
mov eax, dword [rsp + 0x40]
shl rcx, 0x20
or rcx, rax
add qword [rdi], rcx
nop
lea rdx, [rsp + 0x20]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000a5b5
mov rcx, qword [rsp + 0x4c]
mov eax, ecx
xor eax, 0x2e
je 0x14000a510
xor rcx, 0x2e002e
test r14, rcx
je 0x14000a510
test byte [rsp + 0x20], 0x10
je 0x14000a4fc
movsxd rbp, dword [rdi + 0x10]
lea rax, [rsp + 0x4c]
mov rbx, 0xffffffffffffffff
inc rbx
cmp word [rax + rbx*2], r15w
jne 0x14000a555
lea eax, [rbx + 1]
movsxd r8, eax
lea rdx, [rsp + 0x4c]
mov rax, qword [rdi + 8]
add r8, r8
lea rcx, [rax + rbp*2]
call fcn.14000de90
add dword [rdi + 0x10], ebx
mov r8b, 1
movsxd rcx, dword [rdi + 0x10]
mov rdx, rdi
mov rax, qword [rdi + 8]
mov word [rax + rcx*2], r12w
movsxd rcx, dword [rdi + 0x10]
lea eax, [rcx + 1]
mov dword [rdi + 0x10], eax
mov rax, qword [rdi + 8]
mov word [rax + rcx*2 + 2], r15w
mov rcx, qword [rdi + 8]
call fcn.14000a3d0
mov dword [rdi + 0x10], ebp
jmp 0x14000a510
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
mov rcx, rsi
sete bl
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r14, qword [rsp + 0x490]
movzx eax, bl
mov r12, qword [rsp + 0x498]
mov rbp, qword [rsp + 0x4d0]
mov rsi, qword [rsp + 0x4d8]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14000c080
add rsp, 0x4a0
pop r15
pop rdi
pop rbx
ret
call fcn.14000c1b0
int3
Function at 0x14000a610
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rsi
sub rsp, 0x490
mov rax, qword [0x14003e008]
xor rax, rsp
mov qword [rsp + 0x480], rax
mov rsi, rdx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000a640
lea rbx, [rax + rax]
cmp word [rbx + rcx - 2], 0x5c
jne 0x14000a6a8
cmp rax, 0x103
jb 0x14000a665
xor al, al
jmp 0x14000a778
mov rdx, rcx
mov r8, rbx
lea rcx, [rsp + 0x270]
call fcn.14000de90
mov eax, 0x2a
mov word [rsp + rbx + 0x270], ax
add rbx, 2
cmp rbx, 0x208
jae 0x14000a799
xor eax, eax
lea rcx, [rsp + 0x270]
mov word [rsp + rbx + 0x270], ax
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x4b0], rdi
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a6d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
sete al
jmp 0x14000a770
mov rcx, qword [rsp + 0x4c]
movabs rbx, 0xffffffffffff
mov eax, ecx
xor eax, 0x2e
je 0x14000a710
xor rcx, 0x2e002e
test rbx, rcx
je 0x14000a710
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140008240
test al, al
je 0x14000a74b
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14000a758
mov rcx, qword [rsp + 0x4c]
mov eax, ecx
xor eax, 0x2e
je 0x14000a710
xor rcx, 0x2e002e
test rbx, rcx
je 0x14000a710
lea rdx, [rsp + 0x20]
mov rcx, rsi
call fcn.140008240
test al, al
jne 0x14000a710
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, 1
jmp 0x14000a770
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
mov rcx, rdi
sete bl
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, bl
mov rdi, qword [rsp + 0x4b0]
mov rcx, qword [rsp + 0x480]
xor rcx, rsp
call fcn.14000c080
mov rbx, qword [rsp + 0x4b8]
add rsp, 0x490
pop rsi
ret
call fcn.14000c1b0
int3

Function at 0x14000cb70
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14000cbba
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14000cbba
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14000cbba
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000cbba
cmp dword [rcx + 0x84], 0xe
jbe 0x14000cbba
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14000cbbc
xor al, al
add rsp, 0x28
ret

Function at 0x14001c53c
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14001c368
Function at 0x14002218c
Capabilities:
Read file on windows

Disassembly:
sub rsp, 0x28
mov rdx, rcx
test rcx, rcx
jne 0x140022169
call fcn.14002010c
mov dword [rax], 0x16
call fcn.14001b7a0
or eax, 0xffffffff
jmp 0x140022186
sub dword [rcx + 0x10], 1
jns 0x140022178
add rsp, 0x28
jmp 0x140029d8c
mov rax, qword [rcx]
movzx ecx, byte [rax]
inc rax
mov qword [rdx], rax
mov eax, ecx
add rsp, 0x28
ret
jmp 0x140022148
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rdi, rcx
test rcx, rcx
jne 0x140029dbe
call fcn.14002010c
mov dword [rax], 0x16
call fcn.14001b7a0
jmp 0x140029edb
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x140029edb
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x140029edb
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x140029ded
lock or dword [rcx + 0x14], 0x10
jmp 0x140029edb
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x140029e01
call fcn.140029ef8
mov rbx, qword [rdi + 8]
mov rcx, rdi
mov qword [rdi], rbx
call fcn.140021ef4
mov r8d, dword [rdi + 0x20]
mov ecx, eax
mov rdx, rbx
call fcn.14002c0e4
mov dword [rdi + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 1
jbe 0x140029ec9
mov eax, dword [rdi + 0x14]
or esi, 0xffffffff
test al, 6
jne 0x140029e94
mov rcx, rdi
call fcn.140021ef4
cmp eax, esi
je 0x140029e7f
mov rcx, rdi
call fcn.140021ef4
cmp eax, 0xfffffffe
je 0x140029e7f
mov rcx, rdi
call fcn.140021ef4
movsxd rbx, eax
lea r14, [0x14003fc00]
mov rcx, rdi
sar rbx, 6
call fcn.140021ef4
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rbx*8]
lea rdx, [rax + rcx*8]
jmp 0x140029e86
lea rdx, [0x14003e170]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x140029e94
lock or dword [rdi + 0x14], 0x20
cmp dword [rdi + 0x20], 0x200
jne 0x140029eb8
mov eax, dword [rdi + 0x14]
shr eax, 6
test al, 1
je 0x140029eb8
mov eax, dword [rdi + 0x14]
shr eax, 8
test al, 1
jne 0x140029eb8
mov dword [rdi + 0x20], 0x1000
mov rax, qword [rdi]
add dword [rdi + 0x10], esi
movzx esi, byte [rax]
inc rax
mov qword [rdi], rax
jmp 0x140029ede
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rdi + 0x14], eax
and dword [rdi + 0x10], 0
or esi, 0xffffffff
mov rbx, qword [rsp + 0x30]
mov eax, esi
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1800037b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x80
mov rax, qword [0x1800a9080]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov edi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x1800037dd
xor eax, eax
jmp 0x180003901
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180003817
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180003817
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov eax, edi
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], dil
jmp 0x180003901
cmp qword [rbx + 0x80], 0
mov qword [rsp + 0xa0], rsi
je 0x1800038f4
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x18000385a
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rcx, qword [rbx + 0x68]
test rcx, rcx
jne 0x180003869
movsx ecx, dil
jmp 0x18000389b
movzx eax, dil
lea rdx, vtable.std::codecvt_char__char__struct__Mbstatet_.0
mov byte [rsp + 0x40], al
mov r10, qword [rcx]
cmp r10, rdx
jne 0x18000391f
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x48], rcx
movsx ecx, al
mov rdx, qword [rbx + 0x80]
call fcn.1800237ac
mov ecx, 0xffffffff
cmp eax, ecx
cmovne ecx, edi
mov eax, ecx
jmp 0x1800038f9
mov rsi, qword [rsp + 0x48]
lea rax, [rsp + 0x58]
sub rsi, rax
je 0x1800038e2
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x58]
mov r8, rsi
mov edx, 1
call fcn.180024294
cmp rsi, rax
jne 0x1800038f4
lea rax, [rsp + 0x40]
mov byte [rbx + 0x71], 1
cmp qword [rsp + 0x50], rax
mov eax, edi
jne 0x1800038f9
mov eax, 0xffffffff
mov rsi, qword [rsp + 0xa0]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.18001ec10
mov rbx, qword [rsp + 0xa8]
add rsp, 0x80
pop rdi
ret
lea rax, [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rdx, [rbx + 0x74]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x30], rax
lea r9, [rsp + 0x41]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r8, [rsp + 0x40]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [r10 + 0x38]
test eax, eax
js 0x1800038f4
cmp eax, 1
jle 0x1800038b5
cmp eax, 3
jne 0x1800038f4
movzx eax, byte [rsp + 0x40]
jmp 0x180003898
Function at 0x180004fa0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1800a9080]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x18000503f
cmp byte [rcx + 0x71], 0
je 0x18000503f
mov rax, qword [rcx]
mov edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x180005006
mov rcx, qword [rbx + 0x68]
lea rdx, vtable.std::codecvt_char__char__struct__Mbstatet_.0
mov rax, qword [rcx]
cmp rax, rdx
jne 0x180005059
lea rdi, [rsp + 0x38]
xor eax, eax
mov qword [rsp + 0x30], rdi
test eax, eax
je 0x18000500a
sub eax, 1
je 0x18000500e
sub eax, 2
je 0x18000503f
xor al, al
jmp 0x180005041
mov byte [rbx + 0x71], 0
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x180005036
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call fcn.180024294
cmp rdi, rax
jne 0x180005006
cmp byte [rbx + 0x71], 0
sete al
jmp 0x180005041
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18001ec10
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r8
lea rdx, [rbx + 0x74]
lea r8, [rsp + 0x38]
lea r9, [rsp + 0x58]
call qword [rax + 0x40]
mov rdi, qword [rsp + 0x30]
jmp 0x180004ff8

Function at 0x1800076b0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
mov rcx, rdx
mov r9, r8
sub r9, rdx
mov r10, rdx
xor edx, edx
movabs rax, 0xcbf29ce484222325
cmp rcx, r8
cmova r9, rdx
test r9, r9
je 0x1800076f8
movabs r8, 0x100000001b3
nop
movzx edx, byte [rcx]
inc rcx
xor rax, rdx
mov rdx, rcx
sub rdx, r10
imul rax, r8
cmp rdx, r9
jne 0x1800076e0
ret
Function at 0x18000f710
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rax, qword [rcx + 0x18]
movzx edi, dl
mov rbx, rcx
cmp rax, qword [rcx + 0x10]
jb 0x18000f760
mov rcx, qword [rcx + 8]
cmp rax, rcx
je 0x18000f74e
mov r9, qword [rbx]
sub rax, rcx
mov r8, rax
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], dil
inc qword [rbx + 0x18]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
mov byte [rax], dil
inc qword [rcx + 0x18]
add rsp, 0x20
pop rdi
ret
Function at 0x180011db0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rbx, qword [rcx]
mov rdi, rcx
mov r8, qword [rbx + 0x18]
mov rax, r8
test dl, dl
je 0x180011e6e
cmp r8, qword [rbx + 0x10]
jb 0x180011df6
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011df6
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x74
inc qword [rbx + 0x18]
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011e2e
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011e2e
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x72
inc qword [rbx + 0x18]
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011e66
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011e66
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x75
jmp 0x180011f40
cmp r8, qword [rbx + 0x10]
jb 0x180011e95
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011e95
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x66
inc qword [rbx + 0x18]
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011ecd
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011ecd
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x61
inc qword [rbx + 0x18]
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011f05
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011f05
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x6c
inc qword [rbx + 0x18]
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011f3d
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011f3d
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x73
inc qword [rbx + 0x18]
mov rbx, qword [rdi]
mov r8, qword [rbx + 0x18]
mov rax, r8
cmp r8, qword [rbx + 0x10]
jb 0x180011f75
mov rcx, qword [rbx + 8]
cmp r8, rcx
je 0x180011f75
mov r9, qword [rbx]
sub r8, rcx
mov edx, 1
call fcn.180024294
mov rax, qword [rbx + 8]
mov qword [rbx + 0x18], rax
mov byte [rax], 0x65
mov al, 1
inc qword [rbx + 0x18]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
Function at 0x180011f90
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rsi, qword [rcx + 0x20]
sub rsi, qword [rcx + 0x18]
mov eax, dword [rcx + 0x44]
mov rdi, qword [rcx]
movsx ebp, byte [rcx + 0x40]
shr rsi, 4
imul rsi, rax
mov rcx, qword [rdi + 0x18]
mov rbx, qword [rdi + 0x10]
sub rbx, rcx
cmp rsi, rbx
jbe 0x18001201b
nop
mov r8, rbx
mov edx, ebp
call fcn.1800211f0
mov rcx, qword [rdi + 0x18]
mov rax, qword [rdi + 8]
add rcx, rbx
mov qword [rdi + 0x18], rcx
cmp rcx, rax
je 0x18001200c
mov r9, qword [rdi]
sub rcx, rax
mov r8, rcx
mov edx, 1
mov rcx, rax
call fcn.180024294
mov rcx, qword [rdi + 8]
mov qword [rdi + 0x18], rcx
sub rsi, rbx
mov rbx, qword [rdi + 0x10]
sub rbx, rcx
cmp rsi, rbx
ja 0x180011fd0
test rsi, rsi
je 0x18001202e
mov r8, rsi
mov edx, ebp
call fcn.1800211f0
add qword [rdi + 0x18], rsi
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x180012790
Capabilities:
Read file on windows

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [rcx + 0x20]
mov rbx, rcx
cmp rax, qword [rcx + 0x18]
jae 0x1800127b0
inc rax
mov qword [rcx + 0x20], rax
add rsp, 0x20
pop rbx
ret
cmp byte [rcx + 0x38], 0
jne 0x1800127fc
mov rax, qword [rcx + 0x28]
mov edx, 1
add qword [rcx + 0x30], rax
mov r9, qword [rcx]
mov r8, qword [rcx + 0x10]
mov rcx, qword [rcx + 8]
call fcn.180026ac0
mov rdx, qword [rbx + 8]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x20], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rbx + 0x18], rcx
cmp rax, qword [rbx + 0x10]
jae 0x1800127fc
mov byte [rdx + rax], 0
inc qword [rbx + 0x18]
mov byte [rbx + 0x38], 1
add rsp, 0x20
pop rbx
ret
Function at 0x18004b580
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x2250
call fcn.18001fa00
sub rsp, rax
mov rax, qword [0x1800a9080]
xor rax, rsp
mov qword [rsp + 0x2240], rax
mov rbx, rdx
mov rsi, rcx
call qword [sym.imp.node.dll_uv_default_loop]
mov qword [rsp + 0x28], 0
lea rdx, [rsp + 0x70]
mov rcx, rax
mov dword [rsp + 0x20], 0x1a4
xor r9d, r9d
mov r8, rsi
call qword [sym.imp.node.dll_uv_fs_open]
mov edi, eax
test eax, eax
jns 0x18004b612
mov ecx, eax
call qword [sym.imp.node.dll_uv_strerror]
mov ecx, 2
mov rbx, rax
call fcn.180023f78
mov rcx, rax
lea rdx, str.unable_to_open__s:__s_n
mov r9, rbx
mov r8, rsi
call fcn.1800124b0
xor al, al
jmp 0x18004b708
lea rcx, [rsp + 0x70]
call qword [sym.imp.node.dll_uv_fs_req_cleanup]
lea rdx, [0x180094b2c]
mov ecx, edi
call fcn.18002e1b0
lea rcx, [rsp + 0x240]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rcx
mov r9, rax
lea rcx, [rsp + 0x240]
mov qword [rsp + 0x40], 0x2000
mov edx, 1
mov qword [rsp + 0x58], 0
mov r8d, 0x2000
mov byte [rsp + 0x68], 0
mov qword [rsp + 0x60], 0
call fcn.180026ac0
mov rdx, qword [rsp + 0x38]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rdx
lea rcx, [rdx - 1]
add rcx, rax
mov qword [rsp + 0x48], rcx
cmp rax, qword [rsp + 0x40]
jae 0x18004b6a8
mov byte [rax + rdx], 0
inc qword [rsp + 0x48]
mov byte [rsp + 0x68], 1
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.180012aa0
call qword [sym.imp.node.dll_uv_default_loop]
xor r9d, r9d
lea rdx, [rsp + 0x70]
mov rcx, rax
mov r8d, edi
call qword [sym.imp.node.dll_uv_fs_close]
lea rcx, [rsp + 0x70]
call qword [sym.imp.node.dll_uv_fs_req_cleanup]
mov ecx, dword [rbx + 0x50]
test ecx, ecx
je 0x18004b700
call fcn.180012690
mov r8d, dword [rbx + 0x58]
lea rcx, str._s__d_:__s_n
mov r9, rax
mov rdx, rsi
call fcn.180006a10
xor al, al
jmp 0x18004b708
cmp word [rbx + 0xe], 3
sete al
mov rcx, qword [rsp + 0x2240]
xor rcx, rsp
call fcn.18001ec10
lea r11, [rsp + 0x2250]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x18005b640
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1800a9080]
xor rax, rsp
mov qword [rsp + 0x140], rax
xor r9d, r9d
mov qword [rsp + 0x20], rcx
mov rbx, rcx
lea rdx, [rsp + 0x30]
xor ecx, ecx
lea r8d, [r9 + 0x1c]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
test eax, eax
je 0x18005b6b1
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18005b6a0
lea rdx, [rsp + 0x30]
jmp 0x18005b6be
mov r8d, 1
lea rdx, [0x180095e5c]
mov rcx, rbx
call fcn.180001490
mov rax, rbx
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.18001ec10
add rsp, 0x150
pop rbx
ret