joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140023548
Capabilities:
Listen for remote procedure calls

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x20
mov rcx, qword [str.___t_]
lea rsi, str.___t_
lea rbp, [0x1400828c0]
cmp rcx, rsi
je 0x14002358e
test byte [rcx + 0x1c], 4
je 0x14002358e
cmp byte [rcx + 0x19], 5
jb 0x14002358e
mov rcx, qword [rcx + 0x10]
mov edx, 0x63
mov r8, rbp
call fcn.140001010
call fcn.14002333c
mov ebx, eax
test eax, eax
je 0x1400235cc
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400235c5
test byte [rcx + 0x1c], 4
je 0x1400235c5
cmp byte [rcx + 0x19], 2
jb 0x1400235c5
mov edx, 0x64
mov r9d, eax
mov rcx, qword [rcx + 0x10]
mov r8, rbp
call fcn.140001030
mov eax, ebx
jmp 0x140023702
call fcn.140066eec
lea ecx, [rax - 1]
cmp ecx, 1
jbe 0x140023672
cmp eax, 0x20
je 0x140023672
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 0xa]
call qword [sym.imp.RPCRT4.dll_RpcServerRegisterAuthInfoW]
mov ebx, eax
test eax, eax
je 0x140023672
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x14002362a
test byte [rcx + 0x1c], 4
je 0x14002362a
cmp byte [rcx + 0x19], 2
jb 0x14002362a
mov rcx, qword [rcx + 0x10]
mov edx, 0x65
mov r9d, eax
mov r8, rbp
call fcn.140001030
xor edx, edx
lea rcx, [0x14007e770]
lea r8d, [rdx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
test eax, eax
je 0x1400235c5
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400235c5
test byte [rcx + 0x1c], 4
je 0x1400235c5
cmp byte [rcx + 0x19], 2
jb 0x1400235c5
mov edx, 0x66
mov r9d, eax
jmp 0x1400235b9
mov ecx, 1
mov edx, 0x4d2
mov r8d, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
test eax, eax
je 0x140023700
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400236b7
test byte [rcx + 0x1c], 4
je 0x1400236b7
cmp byte [rcx + 0x19], 2
jb 0x1400236b7
mov rcx, qword [rcx + 0x10]
mov edx, 0x67
mov r9d, eax
mov r8, rbp
call fcn.140001030
xor edx, edx
lea rcx, [0x14007e770]
lea r8d, [rdx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
test eax, eax
je 0x1400235c5
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400235c5
test byte [rcx + 0x1c], 4
je 0x1400235c5
cmp byte [rcx + 0x19], 2
jb 0x1400235c5
mov edx, 0x68
jmp 0x14002366a
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x140025c14
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 [0x140096940]
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 0x140025c7f
test byte [rcx + 0x1c], 4
je 0x140025c7f
cmp byte [rcx + 0x19], 5
jb 0x140025c7f
lea edx, [rbx + 0xa]
lea r8, [0x140082b70]
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 [0x14009a294], ebx
jne 0x140025c9f
jmp 0x140025e25
lea r8, [rsp + 0x48]
mov rdx, r15
mov rcx, r14
call fcn.140026a98
test eax, eax
jne 0x140025ce8
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140025cde
test byte [rcx + 0x1c], 4
je 0x140025cde
cmp byte [rcx + 0x19], 2
jb 0x140025cde
lea edx, [rax + 0xb]
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov edi, 0xe
jmp 0x140025df4
xor ecx, ecx
call fcn.140029700
test eax, eax
je 0x140025d7e
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140025d24
test byte [rcx + 0x1c], 4
je 0x140025d24
cmp byte [rcx + 0x19], 5
jb 0x140025d24
mov edx, 0xd
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001010
xor ecx, ecx
call fcn.1400298e8
mov edi, eax
test eax, eax
je 0x140025d7e
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140025d61
test byte [rcx + 0x1c], 4
je 0x140025d61
cmp byte [rcx + 0x19], 2
jb 0x140025d61
mov edx, 0xe
mov r9d, eax
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [0x14009a294], ebx
je 0x140025df0
mov rcx, qword [0x14009a080]
cmp rcx, 0xffffffffffffffff
je 0x140025df0
mov edi, ebx
jmp 0x140025d85
mov rcx, qword [0x14009a080]
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 0x140025df0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140025df0
test byte [rcx + 0x1c], 4
je 0x140025df0
cmp byte [rcx + 0x19], 2
jb 0x140025df0
mov edx, 0xf
mov r9d, eax
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x140025df0
test edi, edi
je 0x140025e13
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
cmp qword [rsp + 0x68], 8
jb 0x140025e0f
mov rcx, qword [rsp + 0x50]
call fcn.140078278
xor eax, eax
jmp 0x140025e2a
cmp qword [rsp + 0x68], 8
jb 0x140025e25
mov rcx, qword [rsp + 0x50]
call fcn.140078278
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400786e0
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 0x140025e54
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 [0x140096940]
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 0x140025ebc
test byte [rcx + 0x1c], 4
je 0x140025ebc
cmp byte [rcx + 0x19], 5
jb 0x140025ebc
lea edx, [rbx + 0x10]
lea r8, [0x140082b70]
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 [0x14009a298], ebx
jne 0x140025edc
jmp 0x140026065
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.1400273bc
test eax, eax
jne 0x140025f22
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140025f18
test byte [rcx + 0x1c], 4
je 0x140025f18
cmp byte [rcx + 0x19], 2
jb 0x140025f18
lea edx, [rax + 0x11]
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov edi, 0xe
jmp 0x140026034
mov ecx, 1
call fcn.140029700
test eax, eax
je 0x140025fbe
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140025f61
test byte [rcx + 0x1c], 4
je 0x140025f61
cmp byte [rcx + 0x19], 5
jb 0x140025f61
mov edx, 0x13
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001010
mov ecx, 1
call fcn.1400298e8
mov edi, eax
test eax, eax
je 0x140025fbe
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140025fa1
test byte [rcx + 0x1c], 4
je 0x140025fa1
cmp byte [rcx + 0x19], 2
jb 0x140025fa1
mov edx, 0x14
mov r9d, eax
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [0x14009a298], ebx
je 0x140026030
mov rcx, qword [0x14009a0b0]
cmp rcx, 0xffffffffffffffff
je 0x140026030
mov edi, ebx
jmp 0x140025fc5
mov rcx, qword [0x14009a0b0]
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 0x140026030
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140026030
test byte [rcx + 0x1c], 4
je 0x140026030
cmp byte [rcx + 0x19], 2
jb 0x140026030
mov edx, 0x15
mov r9d, eax
lea r8, [0x140082b70]
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x140026030
test edi, edi
je 0x140026053
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
cmp qword [rsp + 0x68], 8
jb 0x14002604f
mov rcx, qword [rsp + 0x50]
call fcn.140078278
xor eax, eax
jmp 0x14002606a
cmp qword [rsp + 0x68], 8
jb 0x140026065
mov rcx, qword [rsp + 0x50]
call fcn.140078278
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.1400786e0
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 0x140029700
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 [0x140096940]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, ecx
mov rcx, qword [str.___t_]
lea rsi, str.___t_
cmp rcx, rsi
je 0x140029756
test byte [rcx + 0x1c], 4
je 0x140029756
cmp byte [rcx + 0x19], 5
jb 0x140029756
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082b70]
mov edx, 0x5c
call fcn.140001010
mov eax, dword [0x14009a2a8]
test eax, eax
je 0x1400298ca
mov rcx, qword [0x14009a0b0]
test ebx, ebx
mov ebx, 1
cmove rcx, qword [0x14009a080]
cmp eax, ebx
jne 0x1400297f9
xor eax, eax
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], rax
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x1400297de
mov rax, qword [str.___t_]
cmp rax, rsi
je 0x1400298ca
test byte [rax + 0x1c], 4
je 0x1400298ca
cmp byte [rax + 0x19], 2
jb 0x1400298ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rbx + 0x5c]
mov rcx, qword [str.___t_]
lea r8, [0x140082b70]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp 0x1400298ca
mov ecx, dword [0x14009a2ac]
shl rcx, 0x14
cmp qword [rbp - 0x30], rcx
jl 0x1400298ca
mov eax, ebx
jmp 0x1400298cc
cmp eax, 2
jne 0x1400298ca
xor r9d, r9d
lea rdx, [rbp - 0x30]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x14002984a
mov rax, qword [str.___t_]
cmp rax, rsi
je 0x1400298ca
test byte [rax + 0x1c], 4
je 0x1400298ca
cmp byte [rax + 0x19], 2
jb 0x1400298ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x5e
jmp 0x1400297bf
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 0x14002988e
mov rax, qword [str.___t_]
cmp rax, rsi
je 0x1400298ca
test byte [rax + 0x1c], 4
je 0x1400298ca
cmp byte [rax + 0x19], 2
jb 0x1400298ca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x5f
jmp 0x1400297bf
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 [0x14009a2b0]
jae 0x1400297f2
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400786e0
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rbp
ret
Function at 0x1400299b8
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, [0x140082b70]
cmp rcx, r14
je 0x140029a0a
test byte [rcx + 0x1c], 4
je 0x140029a0a
cmp byte [rcx + 0x19], 5
jb 0x140029a0a
mov rcx, qword [rcx + 0x10]
mov edx, 0x63
mov r8, r15
call fcn.140001010
mov rcx, qword [0x14009a2a0]
lea rax, str.InboxLOG.txt
test ebx, ebx
lea rdx, str.OutboxLOG.txt
cmove rdx, rax
call fcn.14002a01c
mov rsi, rax
test rax, rax
jne 0x140029a61
lea ebx, [rax + 8]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140029ba2
test byte [rcx + 0x1c], 4
je 0x140029ba2
cmp byte [rcx + 0x19], 2
jb 0x140029ba2
lea edx, [rax + 0x64]
jmp 0x140029b96
lea rax, [0x14009a080]
test ebx, ebx
lea rdi, [0x14009a0b0]
cmove rdi, rax
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140029ac7
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140029ba2
test byte [rcx + 0x1c], 4
je 0x140029ba2
cmp byte [rcx + 0x19], 2
jb 0x140029ba2
mov edx, 0x65
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.140001030
jmp 0x140029ba2
or qword [rdi], 0xffffffffffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140029b0a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140029b0a
test byte [rcx + 0x1c], 4
je 0x140029b0a
cmp byte [rcx + 0x19], 2
jb 0x140029b0a
mov rcx, qword [rcx + 0x10]
mov edx, 0x66
mov r9d, eax
mov r8, r15
call fcn.140001030
mov rdx, qword [0x14009a2a0]
mov r8, rdi
mov ecx, ebx
call fcn.140029240
mov ebx, eax
test eax, eax
je 0x140029b43
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140029ba2
test byte [rcx + 0x1c], 4
je 0x140029ba2
cmp byte [rcx + 0x19], 2
jb 0x140029ba2
mov edx, 0x67
jmp 0x140029ab3
mov rcx, qword [rdi]
call fcn.14002a148
test eax, eax
jne 0x140029b79
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140029ba2
test byte [rcx + 0x1c], 4
je 0x140029b80
cmp byte [rcx + 0x19], 2
jb 0x140029b80
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 0x140029ba2
test byte [rcx + 0x1c], 4
je 0x140029ba2
cmp byte [rcx + 0x19], 5
jb 0x140029ba2
mov edx, 0x69
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.140001010
mov rcx, rsi
call fcn.14006264c
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 0x14002a148
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 [0x140096940]
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 0x14002a1aa
test byte [rcx + 0x1c], 4
je 0x14002a1aa
cmp byte [rcx + 0x19], 5
jb 0x14002a1aa
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x79]
lea r8, [0x140082b70]
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 0x14002a1ee
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14002a23c
test byte [rcx + 0x1c], 4
je 0x14002a23c
cmp byte [rcx + 0x19], 2
jb 0x14002a23c
lea edx, [rbx + 0x7a]
jmp 0x14002a229
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 0x14002a23c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14002a23c
test byte [rcx + 0x1c], 4
je 0x14002a23c
cmp byte [rcx + 0x19], 2
jb 0x14002a23c
lea edx, [rbx + 0x7b]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082b70]
mov r9d, eax
call fcn.140001030
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.1400786e0
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret
Function at 0x14002ae80
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 0x14002aec7
test byte [rcx + 0x1c], 4
je 0x14002aec7
cmp byte [rcx + 0x19], 5
jb 0x14002aec7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082b80]
mov edx, 0x14
call fcn.140001010
lea rcx, [0x14009a0f0]
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 0x14002af0c
cmp dword [rbx + 0x2c], eax
jne case.default.0x14002b08d
lea rcx, [0x14009a008]
call fcn.14003388c
jmp case.default.0x14002b08d
cmp eax, 2
jne 0x14002af7b
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je case.default.0x14002b08d
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne case.default.0x14002b08d
mov rax, qword [str.___t_]
cmp rax, r14
je case.default.0x14002b08d
test byte [rax + 0x1c], 4
je case.default.0x14002b08d
cmp byte [rax + 0x19], 2
jb case.default.0x14002b08d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082b80]
mov r9d, eax
mov edx, 0x15
mov rcx, qword [rcx + 0x10]
call fcn.140001030
jmp case.default.0x14002b08d
cmp eax, 3
jne case.default.0x14002b08d
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14002afcf
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14002afcf
test byte [rax + 0x1c], 4
je 0x14002afcf
cmp byte [rax + 0x19], 2
jb 0x14002afcf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082b80]
mov r9d, eax
mov edx, 0x16
mov rcx, qword [rcx + 0x10]
call fcn.140001030
cmp dword [rbx + 0x660], 0
je 0x14002b02a
cmp dword [rbx + 0x65c], 0
je 0x14002b033
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002b02a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14002b02a
test byte [rcx + 0x1c], 4
je 0x14002b02a
cmp byte [rcx + 0x19], 2
jb 0x14002b02a
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
mov edx, 0x17
mov dword [rsp + 0x20], eax
lea r8, [0x140082b80]
call fcn.140001250
cmp dword [rbx + 0x65c], 0
jne case.default.0x14002b08d
cmp qword [rbx + 0x668], 0
je case.default.0x14002b08d
lea rcx, [0x14009a180]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x668]
mov edx, 1
mov r9d, edx
mov r8d, edx
call fcn.14003b73c
lea rcx, [0x14009a180]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.14006264c
lea rcx, [0x14009a0f0]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
out 0xcc, al
or dl, byte [rdi + rsi*8 - 0x787b2ba2]
stosb byte [rdi], al
mov ch, dh
invalid
lahf
enter 0xffffffffffff9c7e, 0xffffffffffffffeb
in al, 0xac
pop rdx
ret 0x4127
invalid
invalid
invalid
invalid
Function at 0x14002d2bc
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x14002d317
test byte [rcx + 0x1c], 4
je 0x14002d317
cmp byte [rcx + 0x19], 5
jb 0x14002d317
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082c50]
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, [0x140082be8]
call fcn.14002ce50
test eax, eax
jne 0x14002d385
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14002d37e
test byte [rax + 0x1c], 4
je 0x14002d37e
cmp byte [rax + 0x19], 2
jb 0x14002d37e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082c50]
mov r9d, eax
mov edx, 0x39
mov rcx, qword [rcx + 0x10]
call fcn.140001030
xor eax, eax
jmp 0x14002d441
lea rcx, [rsp + 0x30]
call fcn.140063214
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x14002d43c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14002d3d4
test byte [rcx + 0x1c], 4
je 0x14002d3d4
cmp byte [rcx + 0x19], 2
jb 0x14002d3d4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082c50]
mov edx, 0x3a
mov r9d, eax
call fcn.140001030
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002d42f
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14002d42f
test byte [rax + 0x1c], 4
je 0x14002d42f
cmp byte [rax + 0x19], 2
jb 0x14002d42f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082c50]
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.14002b3cc
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002d37e
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400786e0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14002d468
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
push rdi
sub rsp, 0x250
mov rax, qword [0x140096940]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x14002d4c3
test byte [rcx + 0x1c], 4
je 0x14002d4c3
cmp byte [rcx + 0x19], 5
jb 0x14002d4c3
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082c50]
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 0x14002d5f9
lea r8, [rsp + 0x30]
mov rcx, rbx
lea rdx, [0x140082bf0]
call fcn.14002ce50
test eax, eax
jne 0x14002d53f
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14002d538
test byte [rax + 0x1c], 4
je 0x14002d538
cmp byte [rax + 0x19], 2
jb 0x14002d538
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082c50]
mov r9d, eax
mov edx, 0x3d
mov rcx, qword [rcx + 0x10]
call fcn.140001030
xor eax, eax
jmp 0x14002d5fe
lea rcx, [rsp + 0x30]
call fcn.140063214
mov qword [rbx + 0x258], rax
test rax, rax
jne 0x14002d5f9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14002d591
test byte [rcx + 0x1c], 4
je 0x14002d591
cmp byte [rcx + 0x19], 2
jb 0x14002d591
mov rcx, qword [rcx + 0x10]
lea r8, [0x140082c50]
mov edx, 0x3e
mov r9d, eax
call fcn.140001030
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14002d5ec
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14002d5ec
test byte [rax + 0x1c], 4
je 0x14002d5ec
cmp byte [rax + 0x19], 2
jb 0x14002d5ec
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140082c50]
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.14002b3cc
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002d538
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.1400786e0
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14003b634
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 0x14003b671
test byte [rcx + 0x1c], 4
je 0x14003b671
cmp byte [rcx + 0x19], 5
jb 0x14003b671
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400836a8]
mov edx, 0x129
call fcn.140001010
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140036b30

Function at 0x14003bcac
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 0x14003bcf9
test byte [rcx + 0x1c], 4
je 0x14003bcf9
cmp byte [rcx + 0x19], 5
jb 0x14003bcf9
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400836a8]
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 0x14003bd55
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14003bd8a
test byte [rcx + 0x1c], 4
je 0x14003bd8a
cmp byte [rcx + 0x19], 2
jb 0x14003bd8a
mov edx, 0x137
mov r9d, eax
mov rcx, qword [rcx + 0x10]
lea r8, [0x1400836a8]
call fcn.140001030
jmp 0x14003bd8a
cmp dword [rsp + 0x60], 4
je 0x14003bd84
mov r9d, 0x26
mov ebx, r9d
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14003bd8a
test byte [rcx + 0x1c], 4
je 0x14003bd8a
cmp byte [rcx + 0x19], 2
jb 0x14003bd8a
mov edx, 0x138
jmp 0x14003bd43
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