joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400259a8
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 [0x140094940]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r15, rdx
mov r14, rcx
xor ebx, ebx
mov edi, ebx
lea r12, str.___t_
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140025a13
test byte [rcx + 0x1c], 4
je 0x140025a13
cmp byte [rcx + 0x19], 5
jb 0x140025a13
lea edx, [rbx + 0xa]
lea r8, [0x140081b60]
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp dword [0x1400982b4], ebx
jne 0x140025a33
jmp 0x140025bb9
lea r8, [rsp + 0x48]
mov rdx, r15
mov rcx, r14
call fcn.14002683c
test eax, eax
jne 0x140025a7c
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140025a72
test byte [rcx + 0x1c], 4
je 0x140025a72
cmp byte [rcx + 0x19], 2
jb 0x140025a72
lea edx, [rax + 0xb]
lea r8, [0x140081b60]
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov edi, 0xe
jmp 0x140025b88
xor ecx, ecx
call fcn.1400294b0
test eax, eax
je 0x140025b12
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140025ab8
test byte [rcx + 0x1c], 4
je 0x140025ab8
cmp byte [rcx + 0x19], 5
jb 0x140025ab8
mov edx, 0xd
lea r8, [0x140081b60]
mov rcx, qword [rcx + 0x10]
call fcn.140001010
xor ecx, ecx
call fcn.140029698
mov edi, eax
test eax, eax
je 0x140025b12
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140025af5
test byte [rcx + 0x1c], 4
je 0x140025af5
cmp byte [rcx + 0x19], 2
jb 0x140025af5
mov edx, 0xe
mov r9d, eax
lea r8, [0x140081b60]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [0x1400982b4], ebx
je 0x140025b84
mov rcx, qword [0x1400980a0]
cmp rcx, 0xffffffffffffffff
je 0x140025b84
mov edi, ebx
jmp 0x140025b19
mov rcx, qword [0x1400980a0]
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]
test eax, eax
jne 0x140025b84
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140025b84
test byte [rcx + 0x1c], 4
je 0x140025b84
cmp byte [rcx + 0x19], 2
jb 0x140025b84
mov edx, 0xf
mov r9d, eax
lea r8, [0x140081b60]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x140025b84
test edi, edi
je 0x140025ba7
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
cmp qword [rsp + 0x68], 8
jb 0x140025ba3
mov rcx, qword [rsp + 0x50]
call fcn.140077490
xor eax, eax
jmp 0x140025bbe
cmp qword [rsp + 0x68], 8
jb 0x140025bb9
mov rcx, qword [rsp + 0x50]
call fcn.140077490
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140077900
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 0x140025be8
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 [0x140094940]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov r14, rcx
xor ebx, ebx
mov edi, ebx
lea r15, str.___t_
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140025c50
test byte [rcx + 0x1c], 4
je 0x140025c50
cmp byte [rcx + 0x19], 5
jb 0x140025c50
lea edx, [rbx + 0x10]
lea r8, [0x140081b60]
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp dword [0x1400982b8], ebx
jne 0x140025c70
jmp 0x140025df9
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140027170
test eax, eax
jne 0x140025cb6
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140025cac
test byte [rcx + 0x1c], 4
je 0x140025cac
cmp byte [rcx + 0x19], 2
jb 0x140025cac
lea edx, [rax + 0x11]
lea r8, [0x140081b60]
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov edi, 0xe
jmp 0x140025dc8
mov ecx, 1
call fcn.1400294b0
test eax, eax
je 0x140025d52
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140025cf5
test byte [rcx + 0x1c], 4
je 0x140025cf5
cmp byte [rcx + 0x19], 5
jb 0x140025cf5
mov edx, 0x13
lea r8, [0x140081b60]
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov ecx, 1
call fcn.140029698
mov edi, eax
test eax, eax
je 0x140025d52
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140025d35
test byte [rcx + 0x1c], 4
je 0x140025d35
cmp byte [rcx + 0x19], 2
jb 0x140025d35
mov edx, 0x14
mov r9d, eax
lea r8, [0x140081b60]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [0x1400982b8], ebx
je 0x140025dc4
mov rcx, qword [0x1400980d0]
cmp rcx, 0xffffffffffffffff
je 0x140025dc4
mov edi, ebx
jmp 0x140025d59
mov rcx, qword [0x1400980d0]
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]
test eax, eax
jne 0x140025dc4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140025dc4
test byte [rcx + 0x1c], 4
je 0x140025dc4
cmp byte [rcx + 0x19], 2
jb 0x140025dc4
mov edx, 0x15
mov r9d, eax
lea r8, [0x140081b60]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x140025dc4
test edi, edi
je 0x140025de7
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
cmp qword [rsp + 0x68], 8
jb 0x140025de3
mov rcx, qword [rsp + 0x50]
call fcn.140077490
xor eax, eax
jmp 0x140025dfe
cmp qword [rsp + 0x68], 8
jb 0x140025df9
mov rcx, qword [rsp + 0x50]
call fcn.140077490
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140077900
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 0x1400294b0
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 [0x140094940]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, ecx
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x140029506
test byte [rcx + 0x1c], 4
je 0x140029506
cmp byte [rcx + 0x19], 5
jb 0x140029506
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081b60]
mov edx, 0x5c
call fcn.140001010
mov eax, dword [0x1400982c8]
test eax, eax
je 0x14002967a
mov rcx, qword [0x1400980d0]
test ebx, ebx
mov ebx, 1
cmove rcx, qword [0x1400980a0]
cmp eax, ebx
jne 0x1400295a9
xor eax, eax
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14002958e
mov rax, qword [str.___t_]
cmp rax, rsi
je 0x14002967a
test byte [rax + 0x1c], 4
je 0x14002967a
cmp byte [rax + 0x19], 2
jb 0x14002967a
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rbx + 0x5c]
mov rcx, qword [str.___t_]
lea r8, [0x140081b60]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x14002967a
mov ecx, dword [0x1400982cc]
shl rcx, 0x14
cmp qword [rbp - 0x30], rcx
jl 0x14002967a
mov eax, ebx
jmp 0x14002967c
cmp eax, 2
jne 0x14002967a
xor r9d, r9d
lea rdx, [rbp - 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x1400295fa
mov rax, qword [str.___t_]
cmp rax, rsi
je 0x14002967a
test byte [rax + 0x1c], 4
je 0x14002967a
cmp byte [rax + 0x19], 2
jb 0x14002967a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x5e
jmp 0x14002956f
xor eax, eax
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x14002963e
mov rax, qword [str.___t_]
cmp rax, rsi
je 0x14002967a
test byte [rax + 0x1c], 4
je 0x14002967a
cmp byte [rax + 0x19], 2
jb 0x14002967a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x5f
jmp 0x14002956f
xor eax, eax
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
movzx eax, word [rbp - 0x28]
movzx ecx, word [rbp - 0x18]
sub ecx, eax
movzx eax, word [rbp - 0x26]
lea edx, [rcx + rcx*2]
shl edx, 2
sub edx, eax
movzx eax, word [rbp - 0x16]
add edx, eax
cmp edx, dword [0x1400982d0]
jae 0x1400295a2
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140077900
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x140029768
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 [str.___t_]
lea r14, str.___t_
lea r15, [0x140081b60]
cmp rcx, r14
je 0x1400297ba
test byte [rcx + 0x1c], 4
je 0x1400297ba
cmp byte [rcx + 0x19], 5
jb 0x1400297ba
mov rcx, qword [rcx + 0x10]
mov edx, 0x63
mov r8, r15
call fcn.140001010
mov rcx, qword [0x1400982c0]
lea rax, str.InboxLOG.txt
test ebx, ebx
lea rdx, str.OutboxLOG.txt
cmove rdx, rax
call fcn.140029dcc
mov rsi, rax
test rax, rax
jne 0x140029811
lea ebx, [rax + 8]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140029952
test byte [rcx + 0x1c], 4
je 0x140029952
cmp byte [rcx + 0x19], 2
jb 0x140029952
lea edx, [rax + 0x64]
jmp 0x140029946
lea rax, [0x1400980a0]
test ebx, ebx
lea rdi, [0x1400980d0]
cmove rdi, rax
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140029877
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140029952
test byte [rcx + 0x1c], 4
je 0x140029952
cmp byte [rcx + 0x19], 2
jb 0x140029952
mov edx, 0x65
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.140001030
jmp 0x140029952
or qword [rdi], 0xffffffffffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400298ba
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400298ba
test byte [rcx + 0x1c], 4
je 0x1400298ba
cmp byte [rcx + 0x19], 2
jb 0x1400298ba
mov rcx, qword [rcx + 0x10]
mov edx, 0x66
mov r9d, eax
mov r8, r15
call fcn.140001030
mov rdx, qword [0x1400982c0]
mov r8, rdi
mov ecx, ebx
call fcn.140028ffc
mov ebx, eax
test eax, eax
je 0x1400298f3
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140029952
test byte [rcx + 0x1c], 4
je 0x140029952
cmp byte [rcx + 0x19], 2
jb 0x140029952
mov edx, 0x67
jmp 0x140029863
mov rcx, qword [rdi]
call fcn.140029ef8
test eax, eax
jne 0x140029929
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140029952
test byte [rcx + 0x1c], 4
je 0x140029930
cmp byte [rcx + 0x19], 2
jb 0x140029930
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x68]
xor r9d, r9d
mov r8, r15
call fcn.140001030
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140029952
test byte [rcx + 0x1c], 4
je 0x140029952
cmp byte [rcx + 0x19], 5
jb 0x140029952
mov edx, 0x69
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140001010
mov rcx, rsi
call fcn.140062654
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 0x140029ef8
Capabilities:
Timestomp file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
push rdi
sub rsp, 0x40
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor eax, eax
mov rdi, rcx
mov qword [r11 - 0x28], rax
mov qword [r11 - 0x20], rax
mov qword [r11 - 0x18], rax
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x140029f5a
test byte [rcx + 0x1c], 4
je 0x140029f5a
cmp byte [rcx + 0x19], 5
jb 0x140029f5a
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x79]
lea r8, [0x140081b60]
call fcn.140001010
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov ebx, eax
test eax, eax
jne 0x140029f9e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140029fec
test byte [rcx + 0x1c], 4
je 0x140029fec
cmp byte [rcx + 0x19], 2
jb 0x140029fec
lea edx, [rbx + 0x7a]
jmp 0x140029fd9
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov ebx, eax
test eax, eax
jne 0x140029fec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x140029fec
test byte [rcx + 0x1c], 4
je 0x140029fec
cmp byte [rcx + 0x19], 2
jb 0x140029fec
lea edx, [rbx + 0x7b]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081b60]
mov r9d, eax
call fcn.140001030
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140077900
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002ac40
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push r14
sub rsp, 0x30
mov rbx, rcx
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14002ac87
test byte [rcx + 0x1c], 4
je 0x14002ac87
cmp byte [rcx + 0x19], 5
jb 0x14002ac87
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081b70]
mov edx, 0x14
call fcn.140001010
lea rcx, [0x140098110]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 8]
mov rcx, qword [rbx]
mov qword [rax], rcx
mov qword [rcx + 8], rax
and qword [rbx], 0
and qword [rbx + 8], 0
mov eax, dword [rbx + 0x18]
test eax, eax
jne 0x14002acc8
cmp dword [rbx + 0x2c], eax
jne 0x14002acc8
lea rcx, [0x140098028]
call fcn.14003363c
jmp case.default.0x14002ae49
cmp eax, 2
jne 0x14002ad37
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002ae49
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne case.default.0x14002ae49
mov rax, qword [str.___t_]
cmp rax, r14
je case.default.0x14002ae49
test byte [rax + 0x1c], 4
je case.default.0x14002ae49
cmp byte [rax + 0x19], 2
jb case.default.0x14002ae49
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081b70]
mov r9d, eax
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp case.default.0x14002ae49
cmp eax, 3
jne case.default.0x14002ae49
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14002ad8b
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14002ad8b
test byte [rax + 0x1c], 4
je 0x14002ad8b
cmp byte [rax + 0x19], 2
jb 0x14002ad8b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081b70]
mov r9d, eax
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [rbx + 0x660], 0
je 0x14002ade6
cmp dword [rbx + 0x65c], 0
je 0x14002adef
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002ade6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14002ade6
test byte [rcx + 0x1c], 4
je 0x14002ade6
cmp byte [rcx + 0x19], 2
jb 0x14002ade6
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140081b70]
call fcn.140001250
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002ae49
cmp qword [rbx + 0x668], 0
je case.default.0x14002ae49
lea rcx, [0x1400981a0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x668]
mov edx, 1
mov r9d, edx
mov r8d, edx
call fcn.14003b3ec
lea rcx, [0x1400981a0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.140062654
lea rcx, [0x140098110]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
invalid
cmp sil, byte [r14 + 0x5fdf3e38]
cli
insb byte [rdi], dx
out 0x83, al
invalid
invalid
or r12d, dword [rsi]
idiv ch
invalid
Function at 0x14002d078
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x14002d0d3
test byte [rcx + 0x1c], 4
je 0x14002d0d3
cmp byte [rcx + 0x19], 5
jb 0x14002d0d3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081c40]
mov edx, 0x38
call fcn.140001010
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x30]
mov rcx, rdi
lea rdx, [0x140081bd8]
call fcn.14002cc0c
test eax, eax
jne 0x14002d141
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14002d13a
test byte [rax + 0x1c], 4
je 0x14002d13a
cmp byte [rax + 0x19], 2
jb 0x14002d13a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081c40]
mov r9d, eax
mov edx, 0x39
mov rcx, qword [rcx + 0x10]
call fcn.140001030
xor eax, eax
jmp 0x14002d1fd
lea rcx, [rsp + 0x30]
call fcn.1400633d4
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x14002d1f8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14002d190
test byte [rcx + 0x1c], 4
je 0x14002d190
cmp byte [rcx + 0x19], 2
jb 0x14002d190
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081c40]
mov edx, 0x3a
mov r9d, eax
call fcn.140001030
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002d1eb
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14002d1eb
test byte [rax + 0x1c], 4
je 0x14002d1eb
cmp byte [rax + 0x19], 2
jb 0x14002d1eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081c40]
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.14002b188
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002d13a
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140077900
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002d224
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x140094940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x14002d27f
test byte [rcx + 0x1c], 4
je 0x14002d27f
cmp byte [rcx + 0x19], 5
jb 0x14002d27f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081c40]
mov edx, 0x3c
call fcn.140001010
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x208
call sub.msvcrt.dll_memset
cmp qword [rbx + 0x258], 0
jne 0x14002d3b5
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [0x140081be0]
call fcn.14002cc0c
test eax, eax
jne 0x14002d2fb
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14002d2f4
test byte [rax + 0x1c], 4
je 0x14002d2f4
cmp byte [rax + 0x19], 2
jb 0x14002d2f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081c40]
mov r9d, eax
mov edx, 0x3d
mov rcx, qword [rcx + 0x10]
call fcn.140001030
xor eax, eax
jmp 0x14002d3ba
lea rcx, [rsp + 0x30]
call fcn.1400633d4
mov qword [rbx + 0x258], rax
test rax, rax
jne 0x14002d3b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14002d34d
test byte [rcx + 0x1c], 4
je 0x14002d34d
cmp byte [rcx + 0x19], 2
jb 0x14002d34d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140081c40]
mov edx, 0x3e
mov r9d, eax
call fcn.140001030
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002d3a8
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14002d3a8
test byte [rax + 0x1c], 4
je 0x14002d3a8
cmp byte [rax + 0x19], 2
jb 0x14002d3a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140081c40]
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.14002b188
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002d2f4
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140077900
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14003b2e0
Capabilities:
Delete file

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [str.___t_]
lea rax, str.___t_
cmp rcx, rax
je 0x14003b31d
test byte [rcx + 0x1c], 4
je 0x14003b31d
cmp byte [rcx + 0x19], 5
jb 0x14003b31d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082698]
mov edx, 0x129
call fcn.140001010
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.1400368b8

Function at 0x14003b95c
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 [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14003b9a9
test byte [rcx + 0x1c], 4
je 0x14003b9a9
cmp byte [rcx + 0x19], 5
jb 0x14003b9a9
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082698]
mov edx, 0x136
call fcn.140001010
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]
test eax, eax
jne 0x14003ba05
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14003ba3a
test byte [rcx + 0x1c], 4
je 0x14003ba3a
cmp byte [rcx + 0x19], 2
jb 0x14003ba3a
mov edx, 0x137
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082698]
call fcn.140001030
jmp 0x14003ba3a
cmp dword [rsp + 0x60], 4
je 0x14003ba34
mov r9d, 0x26
mov ebx, r9d
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14003ba3a
test byte [rcx + 0x1c], 4
je 0x14003ba3a
cmp byte [rcx + 0x19], 2
jb 0x14003ba3a
mov edx, 0x138
jmp 0x14003b9f3
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 0x14003c178
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 [str.___t_]
lea r13, str.___t_
cmp rcx, r13
je 0x14003c1e0
test byte [rcx + 0x1c], 4
je 0x14003c1e0
cmp byte [rcx + 0x19], 5
jb 0x14003c1e0
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082698]
mov edx, 0x14a
call fcn.140001010
lea r9, [rbp + 0x38]
mov edx, r14d
lea r8, [rbp - 8]
mov rcx, r15
call fcn.14003be4c
mov ebx, eax
test eax, eax
je 0x14003c23a
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14003c383
test byte [rcx + 0x1c], 4
je 0x14003c383
cmp byte [rcx + 0x19], 2
jb 0x14003c383
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082698]
mov edx, 0x14b
mov r9d, eax
call fcn.140001030
jmp 0x14003c383
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]
test eax, eax
jne 0x14003c291
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14003c383
test byte [rcx + 0x1c], 4
je 0x14003c383
cmp byte [rcx + 0x19], 2
jb 0x14003c383
mov edx, 0x14c
jmp 0x14003c370
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]
test eax, eax
jne 0x14003c2e8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14003c383
test byte [rcx + 0x1c], 4
je 0x14003c383
cmp byte [rcx + 0x19], 2
jb 0x14003c383
mov edx, 0x14d
jmp 0x14003c370
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]
test eax, eax
jne 0x14003c32e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14003c383
test byte [rcx + 0x1c], 4
je 0x14003c383
cmp byte [rcx + 0x19], 2
jb 0x14003c383
mov edx, 0x14e
jmp 0x14003c370
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]
test eax, eax
jne 0x14003c383
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r13
je 0x14003c383
test byte [rcx + 0x1c], 4
je 0x14003c383
cmp byte [rcx + 0x19], 2
jb 0x14003c383
mov edx, 0x14f
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082698]
mov r9d, eax
call fcn.140001030
cmp qword [rbp - 8], 0
je 0x14003c393
mov rcx, qword [rbp - 8]
call fcn.140062654
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