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

Disassembly:
mov rax, rsp
push r12
push r14
push r15
sub rsp, 0x80
mov qword [rax - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rdi
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, rdx
mov r14, rcx
xor ebx, ebx
mov edi, ebx
lea r12, [0x14009b028]
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x1400276a7
test byte [rcx + 0x1c], 4
je 0x1400276a7
cmp byte [rcx + 0x19], 5
jb 0x1400276a7
lea edx, [rbx + 0xa]
lea r8, [0x140088b90]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp dword [0x14009f294], ebx
jne 0x1400276c7
jmp 0x140027863
lea r8, [rsp + 0x48]
mov rdx, r15
mov rcx, r14
call fcn.140028564
test eax, eax
jne 0x140027710
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x140027706
test byte [rcx + 0x1c], 4
je 0x140027706
cmp byte [rcx + 0x19], 2
jb 0x140027706
lea edx, [rax + 0xb]
lea r8, [0x140088b90]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov edi, 0xe
jmp 0x14002782c
xor ecx, ecx
call fcn.14002b2ec
test eax, eax
je 0x1400277aa
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x14002774c
test byte [rcx + 0x1c], 4
je 0x14002774c
cmp byte [rcx + 0x19], 5
jb 0x14002774c
mov edx, 0xd
lea r8, [0x140088b90]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
xor ecx, ecx
call fcn.14002b4f4
mov edi, eax
test eax, eax
je 0x1400277aa
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x140027789
test byte [rcx + 0x1c], 4
je 0x140027789
cmp byte [rcx + 0x19], 2
jb 0x140027789
mov edx, 0xe
mov r9d, eax
lea r8, [0x140088b90]
mov rcx, qword [rcx + 0x10]
call fcn.140001050
cmp dword [0x14009f294], ebx
je 0x140027828
mov rcx, qword [0x14009f080]
cmp rcx, 0xffffffffffffffff
je 0x140027828
mov edi, ebx
jmp 0x1400277b1
mov rcx, qword [0x14009f080]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x60]
add r8d, r8d
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x140027828
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14009b028]
cmp rcx, r12
je 0x140027828
test byte [rcx + 0x1c], 4
je 0x140027828
cmp byte [rcx + 0x19], 2
jb 0x140027828
mov edx, 0xf
mov r9d, eax
lea r8, [0x140088b90]
mov rcx, qword [rcx + 0x10]
call fcn.140001050
jmp 0x140027828
test edi, edi
je 0x140027851
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
nop
cmp qword [rsp + 0x68], 8
jb 0x14002784d
mov rcx, qword [rsp + 0x50]
call fcn.14007df14
xor eax, eax
jmp 0x140027868
cmp qword [rsp + 0x68], 8
jb 0x140027863
mov rcx, qword [rsp + 0x50]
call fcn.14007df14
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14007e3c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret
Function at 0x140027898
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push r15
sub rsp, 0x80
mov qword [rax - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rcx
xor ebx, ebx
mov edi, ebx
lea r15, [0x14009b028]
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x140027900
test byte [rcx + 0x1c], 4
je 0x140027900
cmp byte [rcx + 0x19], 5
jb 0x140027900
lea edx, [rbx + 0x10]
lea r8, [0x140088b90]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp dword [0x14009f298], ebx
jne 0x140027920
jmp 0x140027abf
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140028ea8
test eax, eax
jne 0x140027966
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x14002795c
test byte [rcx + 0x1c], 4
je 0x14002795c
cmp byte [rcx + 0x19], 2
jb 0x14002795c
lea edx, [rax + 0x11]
lea r8, [0x140088b90]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov edi, 0xe
jmp 0x140027a88
mov ecx, 1
call fcn.14002b2ec
test eax, eax
je 0x140027a06
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x1400279a5
test byte [rcx + 0x1c], 4
je 0x1400279a5
cmp byte [rcx + 0x19], 5
jb 0x1400279a5
mov edx, 0x13
lea r8, [0x140088b90]
mov rcx, qword [rcx + 0x10]
call fcn.140001024
mov ecx, 1
call fcn.14002b4f4
mov edi, eax
test eax, eax
je 0x140027a06
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x1400279e5
test byte [rcx + 0x1c], 4
je 0x1400279e5
cmp byte [rcx + 0x19], 2
jb 0x1400279e5
mov edx, 0x14
mov r9d, eax
lea r8, [0x140088b90]
mov rcx, qword [rcx + 0x10]
call fcn.140001050
cmp dword [0x14009f298], ebx
je 0x140027a84
mov rcx, qword [0x14009f0b0]
cmp rcx, 0xffffffffffffffff
je 0x140027a84
mov edi, ebx
jmp 0x140027a0d
mov rcx, qword [0x14009f0b0]
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
mov r8d, dword [rsp + 0x60]
add r8d, r8d
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x140027a84
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14009b028]
cmp rcx, r15
je 0x140027a84
test byte [rcx + 0x1c], 4
je 0x140027a84
cmp byte [rcx + 0x19], 2
jb 0x140027a84
mov edx, 0x15
mov r9d, eax
lea r8, [0x140088b90]
mov rcx, qword [rcx + 0x10]
call fcn.140001050
jmp 0x140027a84
test edi, edi
je 0x140027aad
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
nop
cmp qword [rsp + 0x68], 8
jb 0x140027aa9
mov rcx, qword [rsp + 0x50]
call fcn.14007df14
xor eax, eax
jmp 0x140027ac4
cmp qword [rsp + 0x68], 8
jb 0x140027abf
mov rcx, qword [rsp + 0x50]
call fcn.14007df14
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14007e3c0
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x14002b2ec
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, ecx
mov rcx, qword [0x14009b028]
lea rsi, [0x14009b028]
cmp rcx, rsi
je 0x14002b342
test byte [rcx + 0x1c], 4
je 0x14002b342
cmp byte [rcx + 0x19], 5
jb 0x14002b342
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088b90]
mov edx, 0x5c
call fcn.140001024
mov eax, dword [0x14009f2a8]
test eax, eax
je 0x14002b3c3
mov rcx, qword [0x14009f0b0]
test ebx, ebx
cmove rcx, qword [0x14009f080]
cmp eax, 1
jne 0x14002b3f7
xor eax, eax
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
nop dword [rax + rax]
test eax, eax
jne 0x14002b3e2
mov rax, qword [0x14009b028]
cmp rax, rsi
je 0x14002b3c3
test byte [rax + 0x1c], 4
je 0x14002b3c3
cmp byte [rax + 0x19], 2
jb 0x14002b3c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x5d
mov rcx, qword [0x14009b028]
lea r8, [0x140088b90]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140001050
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14007e3c0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
mov eax, dword [0x14009f2ac]
shl rax, 0x14
cmp qword [rbp - 0x30], rax
jl 0x14002b3c3
jmp 0x14002b4e1
cmp eax, 2
jne 0x14002b3c3
xor r9d, r9d
lea rdx, [rbp - 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetFileTime]
nop dword [rax + rax]
test eax, eax
jne 0x14002b444
mov rax, qword [0x14009b028]
cmp rax, rsi
je 0x14002b3c3
test byte [rax + 0x1c], 4
je 0x14002b3c3
cmp byte [rax + 0x19], 2
jb 0x14002b3c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x5e
jmp 0x14002b3a9
xorps xmm0, xmm0
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
movups xmmword [rbp - 0x28], xmm0
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
nop dword [rax + rax]
test eax, eax
jne 0x14002b49d
mov rax, qword [0x14009b028]
cmp rax, rsi
je 0x14002b3c3
test byte [rax + 0x1c], 4
je 0x14002b3c3
cmp byte [rax + 0x19], 2
jb 0x14002b3c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edx, 0x5f
jmp 0x14002b3a9
xorps xmm0, xmm0
lea rcx, [rbp - 0x18]
movups xmmword [rbp - 0x18], xmm0
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
nop dword [rax + rax]
movzx ecx, word [rbp - 0x28]
movzx edx, word [rbp - 0x18]
sub edx, ecx
movzx ecx, word [rbp - 0x26]
lea r8d, [rdx + rdx*2]
shl r8d, 2
sub r8d, ecx
movzx ecx, word [rbp - 0x16]
add r8d, ecx
cmp r8d, dword [0x14009f2b0]
jb 0x14002b3c3
mov eax, 1
jmp 0x14002b3c5
Function at 0x14002b5cc
Capabilities:
Delete file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0x20
mov ebx, ecx
mov rcx, qword [0x14009b028]
lea r14, [0x14009b028]
lea r15, [0x140088b90]
cmp rcx, r14
je 0x14002b61e
test byte [rcx + 0x1c], 4
je 0x14002b61e
cmp byte [rcx + 0x19], 5
jb 0x14002b61e
mov rcx, qword [rcx + 0x10]
mov edx, 0x63
mov r8, r15
call fcn.140001024
mov rcx, qword [0x14009f2a0]
lea rax, str.InboxLOG.txt
test ebx, ebx
lea rdx, str.OutboxLOG.txt
cmove rdx, rax
call fcn.14002bc90
mov rsi, rax
test rax, rax
jne 0x14002b675
lea ebx, [rax + 8]
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b7ce
test byte [rcx + 0x1c], 4
je 0x14002b7ce
cmp byte [rcx + 0x19], 2
jb 0x14002b7ce
lea edx, [rax + 0x64]
jmp 0x14002b7c2
lea rax, [0x14009f080]
test ebx, ebx
lea rdi, [0x14009f0b0]
cmove rdi, rax
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop dword [rax + rax]
test eax, eax
jne 0x14002b6e7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b7ce
test byte [rcx + 0x1c], 4
je 0x14002b7ce
cmp byte [rcx + 0x19], 2
jb 0x14002b7ce
mov edx, 0x65
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.140001050
jmp 0x14002b7ce
or qword [rdi], 0xffffffffffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002b736
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b736
test byte [rcx + 0x1c], 4
je 0x14002b736
cmp byte [rcx + 0x19], 2
jb 0x14002b736
mov rcx, qword [rcx + 0x10]
mov edx, 0x66
mov r9d, eax
mov r8, r15
call fcn.140001050
mov rdx, qword [0x14009f2a0]
mov r8, rdi
mov ecx, ebx
call fcn.14002addc
mov ebx, eax
test eax, eax
je 0x14002b76f
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b7ce
test byte [rcx + 0x1c], 4
je 0x14002b7ce
cmp byte [rcx + 0x19], 2
jb 0x14002b7ce
mov edx, 0x67
jmp 0x14002b6d3
mov rcx, qword [rdi]
call fcn.14002bdc4
test eax, eax
jne 0x14002b7a5
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b7ce
test byte [rcx + 0x1c], 4
je 0x14002b7ac
cmp byte [rcx + 0x19], 2
jb 0x14002b7ac
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x68]
xor r9d, r9d
mov r8, r15
call fcn.140001050
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14002b7ce
test byte [rcx + 0x1c], 4
je 0x14002b7ce
cmp byte [rcx + 0x19], 5
jb 0x14002b7ce
mov edx, 0x69
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140001024
mov rcx, rsi
call fcn.140066f24
mov rsi, qword [rsp + 0x38]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
add rsp, 0x20
pop r15
ret
Function at 0x14002bdc4
Capabilities:
Timestomp file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x40
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x38], rax
and qword [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov rdi, rcx
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
cmp rcx, rbp
je 0x14002be27
test byte [rcx + 0x1c], 4
je 0x14002be27
cmp byte [rcx + 0x19], 5
jb 0x14002be27
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088b90]
mov edx, 0x79
call fcn.140001024
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
nop dword [rax + rax]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14002be7d
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14002bed7
test byte [rcx + 0x1c], 4
je 0x14002bed7
cmp byte [rcx + 0x19], 2
jb 0x14002bed7
lea edx, [rbx + 0x7a]
jmp 0x14002bec4
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileTime]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14002bed7
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14002bed7
test byte [rcx + 0x1c], 4
je 0x14002bed7
cmp byte [rcx + 0x19], 2
jb 0x14002bed7
lea edx, [rbx + 0x7b]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088b90]
mov r9d, eax
call fcn.140001050
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14007e3c0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002f280
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
cmp rcx, rbp
je 0x14002f2db
test byte [rcx + 0x1c], 4
je 0x14002f2db
cmp byte [rcx + 0x19], 5
jb 0x14002f2db
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088c70]
mov edx, 0x38
call fcn.140001024
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, [0x140088c08]
call fcn.14002edc0
test eax, eax
jne 0x14002f34f
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14002f348
test byte [rax + 0x1c], 4
je 0x14002f348
cmp byte [rax + 0x19], 2
jb 0x14002f348
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088c70]
mov r9d, eax
mov edx, 0x39
mov rcx, qword [rcx + 0x10]
call fcn.140001050
xor eax, eax
jmp 0x14002f423
lea rcx, [rsp + 0x30]
call fcn.140067b9c
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x14002f41e
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14002f3a4
test byte [rcx + 0x1c], 4
je 0x14002f3a4
cmp byte [rcx + 0x19], 2
jb 0x14002f3a4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088c70]
mov edx, 0x3a
mov r9d, eax
call fcn.140001050
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002f40b
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14002f40b
test byte [rax + 0x1c], 4
je 0x14002f40b
cmp byte [rax + 0x19], 2
jb 0x14002f40b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088c70]
mov r9d, dword [rdi + 0x20]
mov edx, 0x3b
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14002d54c
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14002f348
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e3c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002f450
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x14009b940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rcx, qword [0x14009b028]
lea rbp, [0x14009b028]
cmp rcx, rbp
je 0x14002f4ab
test byte [rcx + 0x1c], 4
je 0x14002f4ab
cmp byte [rcx + 0x19], 5
jb 0x14002f4ab
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088c70]
mov edx, 0x3c
call fcn.140001024
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
cmp qword [rbx + 0x258], 0
jne 0x14002f5ff
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [0x140088c10]
call fcn.14002edc0
test eax, eax
jne 0x14002f52d
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14002f526
test byte [rax + 0x1c], 4
je 0x14002f526
cmp byte [rax + 0x19], 2
jb 0x14002f526
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088c70]
mov r9d, eax
mov edx, 0x3d
mov rcx, qword [rcx + 0x10]
call fcn.140001050
xor eax, eax
jmp 0x14002f604
lea rcx, [rsp + 0x30]
call fcn.140067b9c
mov qword [rbx + 0x258], rax
test rax, rax
jne 0x14002f5ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
mov rcx, qword [0x14009b028]
cmp rcx, rbp
je 0x14002f585
test byte [rcx + 0x1c], 4
je 0x14002f585
cmp byte [rcx + 0x19], 2
jb 0x14002f585
mov rcx, qword [rcx + 0x10]
lea r8, [0x140088c70]
mov edx, 0x3e
mov r9d, eax
call fcn.140001050
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14002f5ec
mov rax, qword [0x14009b028]
cmp rax, rbp
je 0x14002f5ec
test byte [rax + 0x1c], 4
je 0x14002f5ec
cmp byte [rax + 0x19], 2
jb 0x14002f5ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov rcx, qword [0x14009b028]
lea r8, [0x140088c70]
mov r9d, dword [rbx + 0x20]
mov edx, 0x3f
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14002d54c
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop dword [rax + rax]
jmp 0x14002f526
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.14007e3c0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14003e3e8
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [0x14009b028]
lea rax, [0x14009b028]
cmp rcx, rax
je 0x14003e425
test byte [rcx + 0x1c], 4
je 0x14003e425
cmp byte [rcx + 0x19], 5
jb 0x14003e425
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400896c8]
mov edx, 0x129
call fcn.140001024
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400393d0

Function at 0x14003ea9c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
push rsi
push rdi
push r14
sub rsp, 0x30
xor ebx, ebx
mov rdi, rdx
mov dword [rsp + 0x60], ebx
mov rsi, rcx
mov rcx, qword [0x14009b028]
lea r14, [0x14009b028]
cmp rcx, r14
je 0x14003eae9
test byte [rcx + 0x1c], 4
je 0x14003eae9
cmp byte [rcx + 0x19], 5
jb 0x14003eae9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400896c8]
mov edx, 0x136
call fcn.140001024
lea r9, [rsp + 0x60]
mov qword [rsp + 0x20], rbx
mov r8d, 4
lea rdx, [rsp + 0x68]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ReadFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003eb51
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14003eb86
test byte [rcx + 0x1c], 4
je 0x14003eb86
cmp byte [rcx + 0x19], 2
jb 0x14003eb86
mov edx, 0x137
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400896c8]
call fcn.140001050
jmp 0x14003eb86
cmp dword [rsp + 0x60], 4
je 0x14003eb80
mov r9d, 0x26
mov ebx, r9d
mov rcx, qword [0x14009b028]
cmp rcx, r14
je 0x14003eb86
test byte [rcx + 0x1c], 4
je 0x14003eb86
cmp byte [rcx + 0x19], 2
jb 0x14003eb86
mov edx, 0x138
jmp 0x14003eb3f
mov eax, dword [rsp + 0x68]
mov dword [rdi], eax
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret
Function at 0x14003f330
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
mov qword [rsp + 0x18], r13
push rbp
push r14
push r15
mov rbp, rsp
sub rsp, 0x40
and dword [rbp + 0x38], 0
mov r14d, r8d
and qword [rbp - 8], 0
mov r15, rdx
mov rdi, rcx
mov dword [rbp - 0xc], 1
mov rcx, qword [0x14009b028]
lea r13, [0x14009b028]
cmp rcx, r13
je 0x14003f398
test byte [rcx + 0x1c], 4
je 0x14003f398
cmp byte [rcx + 0x19], 5
jb 0x14003f398
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400896c8]
mov edx, 0x14a
call fcn.140001024
lea r9, [rbp + 0x38]
mov edx, r14d
lea r8, [rbp - 8]
mov rcx, r15
call fcn.14003efe4
mov ebx, eax
test eax, eax
je 0x14003f3f2
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003f56b
test byte [rcx + 0x1c], 4
je 0x14003f56b
cmp byte [rcx + 0x19], 2
jb 0x14003f56b
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400896c8]
mov edx, 0x14b
mov r9d, eax
call fcn.140001050
jmp 0x14003f56b
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, 4
lea rdx, [rbp - 0xc]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003f455
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003f56b
test byte [rcx + 0x1c], 4
je 0x14003f56b
cmp byte [rcx + 0x19], 2
jb 0x14003f56b
mov edx, 0x14c
jmp 0x14003f558
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, 4
lea rdx, [rbp + 0x38]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003f4b8
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003f56b
test byte [rcx + 0x1c], 4
je 0x14003f56b
cmp byte [rcx + 0x19], 2
jb 0x14003f56b
mov edx, 0x14d
jmp 0x14003f558
mov r8d, dword [rbp + 0x38]
lea r9, [rbp - 0x10]
mov rdx, qword [rbp - 8]
mov rcx, rdi
and qword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003f50a
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003f56b
test byte [rcx + 0x1c], 4
je 0x14003f56b
cmp byte [rcx + 0x19], 2
jb 0x14003f56b
mov edx, 0x14e
jmp 0x14003f558
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x10]
mov r8d, r14d
mov rdx, r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop dword [rax + rax]
test eax, eax
jne 0x14003f56b
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [0x14009b028]
cmp rcx, r13
je 0x14003f56b
test byte [rcx + 0x1c], 4
je 0x14003f56b
cmp byte [rcx + 0x19], 2
jb 0x14003f56b
mov edx, 0x14f
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400896c8]
mov r9d, eax
call fcn.140001050
cmp qword [rbp - 8], 0
je 0x14003f57b
mov rcx, qword [rbp - 8]
call fcn.140066f24
mov rdi, qword [rsp + 0x68]
mov eax, ebx
mov rbx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x70]
add rsp, 0x40
pop r15
pop r14
pop rbp
ret