joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140031534
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, [0x140002d80]
cmp rcx, rsi
je 0x14003157a
test byte [rcx + 0x1c], 4
je 0x14003157a
cmp byte [rcx + 0x19], 5
jb 0x14003157a
mov rcx, qword [rcx + 0x10]
mov edx, 0x63
mov r8, rbp
call fcn.14000e618
call fcn.140031324
mov ebx, eax
test eax, eax
je 0x1400315b8
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400315b1
test byte [rcx + 0x1c], 4
je 0x1400315b1
cmp byte [rcx + 0x19], 2
jb 0x1400315b1
mov edx, 0x64
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, rbp
call fcn.14000e63c
mov eax, ebx
jmp 0x1400316eb
call fcn.140076eb8
lea ecx, [rax - 1]
cmp ecx, 1
jbe 0x14003165b
cmp eax, 0x20
je 0x14003165b
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 0x14003165b
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x140031616
test byte [rcx + 0x1c], 4
je 0x140031616
cmp byte [rcx + 0x19], 2
jb 0x140031616
mov rcx, qword [rcx + 0x10]
mov edx, 0x65
mov r9d, eax
mov r8, rbp
call fcn.14000e63c
xor edx, edx
lea rcx, [0x14000b330]
lea r8d, [rdx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
test eax, eax
je 0x1400315b1
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400315b1
test byte [rcx + 0x1c], 4
je 0x1400315b1
cmp byte [rcx + 0x19], 2
jb 0x1400315b1
mov edx, 0x66
jmp 0x1400315a2
mov ecx, 1
mov edx, 0x4d2
mov r8d, ecx
call qword [sym.imp.RPCRT4.dll_RpcServerListen]
mov ebx, eax
test eax, eax
je 0x1400316e9
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400316a0
test byte [rcx + 0x1c], 4
je 0x1400316a0
cmp byte [rcx + 0x19], 2
jb 0x1400316a0
mov rcx, qword [rcx + 0x10]
mov edx, 0x67
mov r9d, eax
mov r8, rbp
call fcn.14000e63c
xor edx, edx
lea rcx, [0x14000b330]
lea r8d, [rdx + 1]
call qword [sym.imp.RPCRT4.dll_RpcServerUnregisterIf]
test eax, eax
je 0x1400315b1
mov rcx, qword [str.___t_]
cmp rcx, rsi
je 0x1400315b1
test byte [rcx + 0x1c], 4
je 0x1400315b1
cmp byte [rcx + 0x19], 2
jb 0x1400315b1
mov edx, 0x68
jmp 0x1400315a2
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
add rsp, 0x20
pop rsi
ret
Function at 0x140033d2c
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 [section..data]
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 0x140033d97
test byte [rcx + 0x1c], 4
je 0x140033d97
cmp byte [rcx + 0x19], 5
jb 0x140033d97
lea edx, [rbx + 0xa]
lea r8, [0x140003030]
mov rcx, qword [rcx + 0x10]
call fcn.14000e618
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp dword [0x14009a2c4], ebx
jne 0x140033db7
jmp 0x140033f3d
lea r8, [rsp + 0x48]
mov rdx, r15
mov rcx, r14
call fcn.140034bf8
test eax, eax
jne 0x140033e00
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140033df6
test byte [rcx + 0x1c], 4
je 0x140033df6
cmp byte [rcx + 0x19], 2
jb 0x140033df6
lea edx, [rax + 0xb]
lea r8, [0x140003030]
mov rcx, qword [rcx + 0x10]
call fcn.14000e618
mov edi, 0xe
jmp 0x140033f0c
xor ecx, ecx
call fcn.1400378b8
test eax, eax
je 0x140033e96
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140033e3c
test byte [rcx + 0x1c], 4
je 0x140033e3c
cmp byte [rcx + 0x19], 5
jb 0x140033e3c
mov edx, 0xd
lea r8, [0x140003030]
mov rcx, qword [rcx + 0x10]
call fcn.14000e618
xor ecx, ecx
call fcn.140037ab8
mov edi, eax
test eax, eax
je 0x140033e96
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140033e79
test byte [rcx + 0x1c], 4
je 0x140033e79
cmp byte [rcx + 0x19], 2
jb 0x140033e79
mov edx, 0xe
mov r9d, eax
lea r8, [0x140003030]
mov rcx, qword [rcx + 0x10]
call fcn.14000e63c
cmp dword [0x14009a2c4], ebx
je 0x140033f08
mov rcx, qword [0x14009a0b0]
cmp rcx, 0xffffffffffffffff
je 0x140033f08
mov edi, ebx
jmp 0x140033e9d
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 0x140033f08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r12
je 0x140033f08
test byte [rcx + 0x1c], 4
je 0x140033f08
cmp byte [rcx + 0x19], 2
jb 0x140033f08
mov edx, 0xf
mov r9d, eax
lea r8, [0x140003030]
mov rcx, qword [rcx + 0x10]
call fcn.14000e63c
jmp 0x140033f08
test edi, edi
je 0x140033f2b
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
cmp qword [rsp + 0x68], 8
jb 0x140033f27
mov rcx, qword [rsp + 0x50]
call fcn.140088138
xor eax, eax
jmp 0x140033f42
cmp qword [rsp + 0x68], 8
jb 0x140033f3d
mov rcx, qword [rsp + 0x50]
call fcn.140088138
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140088640
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 0x140033f70
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 [section..data]
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 0x140033fd8
test byte [rcx + 0x1c], 4
je 0x140033fd8
cmp byte [rcx + 0x19], 5
jb 0x140033fd8
lea edx, [rbx + 0x10]
lea r8, [0x140003030]
mov rcx, qword [rcx + 0x10]
call fcn.14000e618
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
cmp dword [0x14009a2c8], ebx
jne 0x140033ff8
jmp 0x140034181
lea rdx, [rsp + 0x48]
mov rcx, r14
call fcn.140035540
test eax, eax
jne 0x14003403e
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x140034034
test byte [rcx + 0x1c], 4
je 0x140034034
cmp byte [rcx + 0x19], 2
jb 0x140034034
lea edx, [rax + 0x11]
lea r8, [0x140003030]
mov rcx, qword [rcx + 0x10]
call fcn.14000e618
mov edi, 0xe
jmp 0x140034150
mov ecx, 1
call fcn.1400378b8
test eax, eax
je 0x1400340da
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x14003407d
test byte [rcx + 0x1c], 4
je 0x14003407d
cmp byte [rcx + 0x19], 5
jb 0x14003407d
mov edx, 0x13
lea r8, [0x140003030]
mov rcx, qword [rcx + 0x10]
call fcn.14000e618
mov ecx, 1
call fcn.140037ab8
mov edi, eax
test eax, eax
je 0x1400340da
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x1400340bd
test byte [rcx + 0x1c], 4
je 0x1400340bd
cmp byte [rcx + 0x19], 2
jb 0x1400340bd
mov edx, 0x14
mov r9d, eax
lea r8, [0x140003030]
mov rcx, qword [rcx + 0x10]
call fcn.14000e63c
cmp dword [0x14009a2c8], ebx
je 0x14003414c
mov rcx, qword [0x14009a0e0]
cmp rcx, 0xffffffffffffffff
je 0x14003414c
mov edi, ebx
jmp 0x1400340e1
mov rcx, qword [0x14009a0e0]
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 0x14003414c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r15
je 0x14003414c
test byte [rcx + 0x1c], 4
je 0x14003414c
cmp byte [rcx + 0x19], 2
jb 0x14003414c
mov edx, 0x15
mov r9d, eax
lea r8, [0x140003030]
mov rcx, qword [rcx + 0x10]
call fcn.14000e63c
jmp 0x14003414c
test edi, edi
je 0x14003416f
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
nop
cmp qword [rsp + 0x68], 8
jb 0x14003416b
mov rcx, qword [rsp + 0x50]
call fcn.140088138
xor eax, eax
jmp 0x140034186
cmp qword [rsp + 0x68], 8
jb 0x140034181
mov rcx, qword [rsp + 0x50]
call fcn.140088138
mov eax, 1
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140088640
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 0x1400378b8
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r14
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 8], rax
mov ebx, ecx
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x140037913
test byte [rcx + 0x1c], 4
je 0x140037913
cmp byte [rcx + 0x19], 5
jb 0x140037913
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003030]
mov edx, 0x5c
call fcn.14000e618
mov eax, dword [0x14009a2d8]
xor edi, edi
test eax, eax
je 0x140037a8d
mov rcx, qword [0x14009a0e0]
test ebx, ebx
lea ebx, [rdi + 1]
cmove rcx, qword [0x14009a0b0]
cmp eax, ebx
jne 0x14003799a
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x30], rdi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x14003797f
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140037a8d
test byte [rax + 0x1c], 4
je 0x140037a8d
cmp byte [rax + 0x19], 2
jb 0x140037a8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea edx, [rdi + 0x5d]
jmp 0x140037a2e
mov ecx, dword [0x14009a2dc]
shl rcx, 0x14
cmp qword [rbp - 0x30], rcx
jl 0x140037a8d
mov eax, ebx
jmp 0x140037a8f
cmp eax, 2
jne 0x140037a8d
lea rdx, [rbp - 0x30]
xor r9d, r9d
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetFileTime]
test eax, eax
jne 0x1400379e8
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140037a8d
test byte [rax + 0x1c], 4
je 0x140037a8d
cmp byte [rax + 0x19], 2
jb 0x140037a8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x5e
jmp 0x140037a2e
xor eax, eax
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x30]
mov word [rbp - 0x28], di
mov qword [rbp - 0x26], rax
mov dword [rbp - 0x1e], eax
mov word [rbp - 0x1a], ax
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x140037a4a
mov rax, qword [str.___t_]
cmp rax, r14
je 0x140037a8d
test byte [rax + 0x1c], 4
je 0x140037a8d
cmp byte [rax + 0x19], 2
jb 0x140037a8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, 0x5f
mov rcx, qword [str.___t_]
lea r8, [0x140003030]
mov r9d, eax
mov rcx, qword [rcx + 0x10]
call fcn.14000e63c
jmp 0x140037a8d
xor eax, eax
lea rcx, [rbp - 0x18]
mov word [rbp - 0x18], di
mov qword [rbp - 0x16], rax
mov dword [rbp - 0xe], eax
mov word [rbp - 0xa], ax
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 [0x14009a2e0]
jae 0x140037993
xor eax, eax
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140088640
mov rbx, qword [rsp + 0x68]
mov rdi, qword [rsp + 0x70]
mov r14, qword [rsp + 0x78]
add rsp, 0x50
pop rbp
ret
Function at 0x140037b90
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, [0x140003030]
cmp rcx, r14
je 0x140037be2
test byte [rcx + 0x1c], 4
je 0x140037be2
cmp byte [rcx + 0x19], 5
jb 0x140037be2
mov rcx, qword [rcx + 0x10]
mov edx, 0x63
mov r8, r15
call fcn.14000e618
mov rcx, qword [0x14009a2d0]
lea rax, [0x1400029c8]
lea rdx, [0x1400029e8]
test ebx, ebx
cmove rdx, rax
call fcn.140038270
mov rsi, rax
test rax, rax
jne 0x140037c39
lea ebx, [rax + 8]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140037d78
test byte [rcx + 0x1c], 4
je 0x140037d78
cmp byte [rcx + 0x19], 2
jb 0x140037d78
lea edx, [rax + 0x64]
jmp 0x140037d6c
lea rax, [0x14009a0b0]
lea rdi, [0x14009a0e0]
test ebx, ebx
cmove rdi, rax
mov rcx, qword [rdi]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x140037c8d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140037d78
test byte [rcx + 0x1c], 4
je 0x140037d78
cmp byte [rcx + 0x19], 2
jb 0x140037d78
mov edx, 0x65
jmp 0x140037d08
or qword [rdi], 0xffffffffffffffff
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x140037cd0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140037cd0
test byte [rcx + 0x1c], 4
je 0x140037cd0
cmp byte [rcx + 0x19], 2
jb 0x140037cd0
mov rcx, qword [rcx + 0x10]
mov edx, 0x66
mov r9d, eax
mov r8, r15
call fcn.14000e63c
mov rdx, qword [0x14009a2d0]
mov r8, rdi
mov ecx, ebx
call fcn.140037400
mov ebx, eax
test eax, eax
je 0x140037d19
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140037d78
test byte [rcx + 0x1c], 4
je 0x140037d78
cmp byte [rcx + 0x19], 2
jb 0x140037d78
mov edx, 0x67
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov r8, r15
call fcn.14000e63c
jmp 0x140037d78
mov rcx, qword [rdi]
call fcn.1400383a4
test eax, eax
jne 0x140037d4f
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140037d78
test byte [rcx + 0x1c], 4
je 0x140037d56
cmp byte [rcx + 0x19], 2
jb 0x140037d56
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x68]
xor r9d, r9d
mov r8, r15
call fcn.14000e63c
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x140037d78
test byte [rcx + 0x1c], 4
je 0x140037d78
cmp byte [rcx + 0x19], 5
jb 0x140037d78
mov edx, 0x69
mov rcx, qword [rcx + 0x10]
mov r8, r15
call fcn.14000e618
mov rcx, rsi
call fcn.140072328
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
mov r14, qword [rsp + 0x48]
mov eax, ebx
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop r15
ret
Function at 0x1400383a4
Capabilities:
Timestomp file

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rbp
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x40
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x38], rax
xor ebp, ebp
xor eax, eax
mov rdi, rcx
mov word [rsp + 0x28], bp
mov qword [r11 - 0x1e], rax
mov dword [rsp + 0x32], eax
mov word [rsp + 0x36], ax
mov qword [r11 - 0x28], rbp
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x140038417
test byte [rcx + 0x1c], 4
je 0x140038417
cmp byte [rcx + 0x19], 5
jb 0x140038417
mov rcx, qword [rcx + 0x10]
lea edx, [rbp + 0x79]
lea r8, [0x140003030]
call fcn.14000e618
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 0x14003845b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400384a9
test byte [rcx + 0x1c], 4
je 0x1400384a9
cmp byte [rcx + 0x19], 2
jb 0x1400384a9
lea edx, [rbx + 0x7a]
jmp 0x140038496
lea rdx, [rsp + 0x20]
xor r9d, r9d
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetFileTime]
mov ebx, eax
test eax, eax
jne 0x1400384a9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400384a9
test byte [rcx + 0x1c], 4
je 0x1400384a9
cmp byte [rcx + 0x19], 2
jb 0x1400384a9
lea edx, [rbx + 0x7b]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003030]
mov r9d, eax
call fcn.14000e63c
mov eax, ebx
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140088640
mov rbx, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x60]
mov rdi, qword [rsp + 0x68]
add rsp, 0x40
pop r14
ret
Function at 0x140039130
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 0x140039177
test byte [rcx + 0x1c], 4
je 0x140039177
cmp byte [rcx + 0x19], 5
jb 0x140039177
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003040]
mov edx, 0x14
call fcn.14000e618
lea rcx, [0x14009a120]
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
mov eax, dword [rbx + 0x18]
and qword [rbx], 0
and qword [rbx + 8], 0
test eax, eax
jne 0x1400391b8
cmp dword [rbx + 0x2c], eax
jne 0x1400391b8
lea rcx, [0x14009a038]
call fcn.140041f5c
jmp 0x14003931a
cmp eax, 2
jne 0x140039227
mov rcx, qword [rbx + 0x38]
cmp rcx, 0xffffffffffffffff
je 0x14003931a
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x14003931a
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14003931a
test byte [rax + 0x1c], 4
je 0x14003931a
cmp byte [rax + 0x19], 2
jb 0x14003931a
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140003040]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x15
call fcn.14000e63c
jmp 0x14003931a
cmp eax, 3
jne 0x14003931a
mov rcx, qword [rbx + 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x14003927b
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14003927b
test byte [rax + 0x1c], 4
je 0x14003927b
cmp byte [rax + 0x19], 2
jb 0x14003927b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea r8, [0x140003040]
mov rcx, qword [rcx + 0x10]
mov r9d, eax
mov edx, 0x16
call fcn.14000e63c
cmp dword [rbx + 0x660], 0
je 0x1400392d6
cmp dword [rbx + 0x65c], 0
je 0x1400392df
lea rcx, [rbx + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x1400392d6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x1400392d6
test byte [rcx + 0x1c], 4
je 0x1400392d6
cmp byte [rcx + 0x19], 2
jb 0x1400392d6
mov rcx, qword [rcx + 0x10]
lea r9, [rbx + 0x40]
lea r8, [0x140003040]
mov edx, 0x17
mov dword [rsp + 0x20], eax
call fcn.14000e8e4
cmp dword [rbx + 0x65c], 0
jne 0x14003931a
cmp qword [rbx + 0x668], 0
je 0x14003931a
lea rcx, [0x14009a1b0]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rcx, qword [rbx + 0x668]
mov edx, 1
mov r9d, edx
mov r8d, edx
call fcn.140049ea8
lea rcx, [0x14009a1b0]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rcx, rbx
call fcn.140072328
lea rcx, [0x14009a120]
mov rbx, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x30
pop r14
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x14003b754
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r15
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
mov rcx, qword [str.___t_]
lea rbp, str.___t_
cmp rcx, rbp
je 0x14003b7b5
test byte [rcx + 0x1c], 4
je 0x14003b7b5
cmp byte [rcx + 0x19], 5
jb 0x14003b7b5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003110]
mov edx, 0x38
call fcn.14000e618
lea rcx, [rsp + 0x32]
xor r15d, r15d
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], r15w
call sub.msvcrt.dll_memset
lea r8, [rsp + 0x30]
lea rdx, [0x1400030a8]
mov rcx, rdi
call fcn.14003b2e0
test eax, eax
jne 0x14003b82b
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14003b824
test byte [rax + 0x1c], 4
je 0x14003b824
cmp byte [rax + 0x19], 2
jb 0x14003b824
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [r15 + 0x39]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003110]
mov r9d, eax
call fcn.14000e63c
xor eax, eax
jmp 0x14003b8e7
lea rcx, [rsp + 0x30]
call fcn.1400730d0
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x14003b8e2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, rbp
je 0x14003b87a
test byte [rcx + 0x1c], 4
je 0x14003b87a
cmp byte [rcx + 0x19], 2
jb 0x14003b87a
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003110]
mov edx, 0x3a
mov r9d, eax
call fcn.14000e63c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003b8d5
mov rax, qword [str.___t_]
cmp rax, rbp
je 0x14003b8d5
test byte [rax + 0x1c], 4
je 0x14003b8d5
cmp byte [rax + 0x19], 2
jb 0x14003b8d5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov r9d, dword [rdi + 0x20]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
lea r8, [0x140003110]
mov edx, 0x3b
mov qword [rsp + 0x20], rax
call fcn.1400396bc
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14003b824
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140088640
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
Function at 0x14003b918
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x250
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14003b979
test byte [rcx + 0x1c], 4
je 0x14003b979
cmp byte [rcx + 0x19], 5
jb 0x14003b979
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003110]
mov edx, 0x3c
call fcn.14000e618
lea rcx, [rsp + 0x32]
xor ebp, ebp
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x30], bp
call sub.msvcrt.dll_memset
cmp qword [rbx + 0x258], rbp
jne 0x14003bab3
lea r8, [rsp + 0x30]
lea rdx, [0x1400030b0]
mov rcx, rbx
call fcn.14003b2e0
test eax, eax
jne 0x14003b9f9
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14003b9f2
test byte [rax + 0x1c], 4
je 0x14003b9f2
cmp byte [rax + 0x19], 2
jb 0x14003b9f2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
lea edx, [rbp + 0x3d]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003110]
mov r9d, eax
call fcn.14000e63c
xor eax, eax
jmp 0x14003bab8
lea rcx, [rsp + 0x30]
call fcn.1400730d0
mov qword [rbx + 0x258], rax
test rax, rax
jne 0x14003bab3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14003ba4b
test byte [rcx + 0x1c], 4
je 0x14003ba4b
cmp byte [rcx + 0x19], 2
jb 0x14003ba4b
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003110]
mov edx, 0x3e
mov r9d, eax
call fcn.14000e63c
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x14003baa6
mov rax, qword [str.___t_]
cmp rax, r14
je 0x14003baa6
test byte [rax + 0x1c], 4
je 0x14003baa6
cmp byte [rax + 0x19], 2
jb 0x14003baa6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [str.___t_]
mov r9d, dword [rbx + 0x20]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
lea r8, [0x140003110]
mov edx, 0x3f
mov qword [rsp + 0x20], rax
call fcn.1400396bc
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14003b9f2
mov eax, 1
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140088640
lea r11, [rsp + 0x250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r14
ret
Function at 0x140049d90
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 0x140049dcd
test byte [rcx + 0x1c], 4
je 0x140049dcd
cmp byte [rcx + 0x19], 5
jb 0x140049dcd
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003b68]
mov edx, 0x129
call fcn.14000e618
xor edx, edx
mov rcx, rbx
add rsp, 0x20
pop rbx
jmp fcn.140045298

Function at 0x14004a42c
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 rsi, rcx
mov dword [rsp + 0x60], ebx
mov rcx, qword [str.___t_]
lea r14, str.___t_
cmp rcx, r14
je 0x14004a479
test byte [rcx + 0x1c], 4
je 0x14004a479
cmp byte [rcx + 0x19], 5
jb 0x14004a479
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003b68]
mov edx, 0x136
call fcn.14000e618
lea r9, [rsp + 0x60]
lea rdx, [rsp + 0x68]
mov r8d, 4
mov rcx, rsi
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14004a4c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14004a50a
test byte [rcx + 0x1c], 4
je 0x14004a50a
cmp byte [rcx + 0x19], 2
jb 0x14004a50a
mov edx, 0x137
mov r9d, eax
jmp 0x14004a4f2
cmp dword [rsp + 0x60], 4
je 0x14004a504
mov r9d, 0x26
mov ebx, r9d
mov rcx, qword [str.___t_]
cmp rcx, r14
je 0x14004a50a
test byte [rcx + 0x1c], 4
je 0x14004a50a
cmp byte [rcx + 0x19], 2
jb 0x14004a50a
mov edx, 0x138
mov rcx, qword [rcx + 0x10]
lea r8, [0x140003b68]
call fcn.14000e63c
jmp 0x14004a50a
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