Function at 0x140079810
Capabilities:
Check if file exists
Create directory
Delete file
Enumerate files on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x490]
sub rsp, 0x590
mov qword [rbp - 0x78], 0xfffffffffffffffe
mov qword [rsp + 0x5e0], rbx
mov rax, qword [0x140131088]
xor rax, rsp
mov qword [rbp + 0x480], rax
mov r14d, r8d
mov rdi, rdx
mov r12, rcx
lea rbx, [rcx + 0xc0]
mov qword [rbp - 0x70], rbx
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
nop
cmp qword [r12 + 0xd0], 0
je 0x14007987c
xor dil, dil
jmp 0x14007a284
lea rcx, str.C:_sunlogin.debug
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
xor r15d, r15d
test eax, eax
jne 0x1400798a4
lea rcx, str.C:_sunlogin_debug
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
mov eax, r15d
je 0x1400798a9
mov eax, 1
mov byte [r12 + 0xd8], al
mov dword [r12 + 0x10], r15d
cmp qword [r12 + 0x38], 8
jb 0x1400798c5
mov rcx, qword [r12 + 0x20]
jmp 0x1400798ca
lea rcx, [r12 + 0x20]
call fcn.1400b197c
mov dword [r12 + 0xdc], r14d
lea rdx, [0x1400ea320]
test rdi, rdi
cmovne rdx, rdi
cmp byte [rdx], r15b
jne 0x1400798ef
mov r8, r15
jmp 0x1400798fc
or r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], r15b
jne 0x1400798f3
lea rdi, [r12 + 0x40]
mov rcx, rdi
call fcn.140009260
mov r8d, 7
mov qword [rbp + 0x170], r8
mov qword [rbp + 0x168], r15
mov word [rbp + 0x158], r15w
cmp dword [r12 + 0xdc], 1
jne 0x140079938
mov dil, 1
jmp 0x14007a24e
cmp qword [rdi + 0x18], 0x10
jb 0x140079942
mov rdi, qword [rdi]
lea rax, [rbp - 0x58]
mov qword [rbp - 0x60], rax
mov r8d, 3
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.14002f170
nop
mov rdx, qword [rbp - 0x60]
cmp word [rdx], 0
jne 0x14007996c
mov r8, r15
jmp 0x14007997b
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140079970
lea rcx, [rbp + 0x158]
call fcn.140008a20
nop
lea rax, [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
cmp rcx, rax
je 0x14007999a
call fcn.1400a24a4
lea r8, [0x1400ee27c]
lea rdx, [r12 + 0x20]
lea rcx, [rbp + 0xe0]
call fcn.140031030
nop
lea r8, [rbp + 0x158]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.140031180
nop
lea r8, str..log
mov rdx, rax
lea rcx, [rbp + 0x1c0]
call fcn.140031110
nop
mov r8, qword [rbp + 0xd0]
cmp r8, 8
jb 0x140079a04
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.140008b70
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], r15
mov word [rbp + 0xb8], r15w
mov r8, qword [rbp + 0xf8]
cmp r8, 8
jb 0x140079a41
inc r8
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.140008b70
mov qword [rbp + 0xf8], 7
mov qword [rbp + 0xf0], r15
mov word [rbp + 0xe0], r15w
movsd xmm0, qword [str..log.1]
movsd qword [rbp + 0x440], xmm0
mov eax, dword [0x1400f8048]
mov dword [rbp + 0x448], eax
movzx eax, word [0x1400f804c]
mov word [rbp + 0x44c], ax
xor eax, eax
mov qword [rbp + 0x44e], rax
mov qword [rbp + 0x456], rax
mov qword [rbp + 0x45e], rax
mov qword [rbp + 0x466], rax
mov qword [rbp + 0x46e], rax
mov qword [rbp + 0x476], rax
mov word [rbp + 0x47e], ax
lea r8, [0x1400ee27c]
lea rdx, [r12 + 0x20]
lea rcx, [rsp + 0x68]
call fcn.140031030
nop
lea r8, [rbp + 0x158]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140031180
nop
lea r8, [rbp + 0x440]
mov rdx, rax
lea rcx, [rbp + 0x128]
call fcn.140031110
nop
mov r8, qword [rsp + 0x60]
cmp r8, 8
jb 0x140079b18
inc r8
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x48]
call fcn.140008b70
mov qword [rsp + 0x60], 7
mov qword [rsp + 0x58], r15
mov word [rsp + 0x48], r15w
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x140079b48
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140008b70
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r15
mov word [rsp + 0x68], r15w
lea rcx, [rbp + 0x148]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [rbp + 0x154]
movzx ecx, word [rbp + 0x152]
movzx edx, word [rbp + 0x150]
movzx r10d, word [rbp + 0x14e]
movzx r9d, word [rbp + 0x14a]
movzx r8d, word [rbp + 0x148]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], r10d
lea rdx, str.._d_02d_02d__02d_02d_02d.log
lea rcx, [rbp + 0x440]
call fcn.1400297f0
lea r8, [0x1400ee27c]
lea rdx, [r12 + 0x20]
lea rcx, [rbp + 0x100]
call fcn.140031030
nop
lea r8, [rbp + 0x158]
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.140031180
nop
lea r8, [rbp + 0x440]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.140031110
mov rdi, rax
lea rax, [rbp + 0x128]
cmp rax, rdi
je 0x140079c5b
mov r8, qword [rbp + 0x140]
cmp r8, 8
jb 0x140079c31
inc r8
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x128]
call fcn.140008b70
mov qword [rbp + 0x140], 7
mov qword [rbp + 0x138], r15
mov word [rbp + 0x128], r15w
mov rdx, rdi
lea rcx, [rbp + 0x128]
call fcn.140009120
nop
mov r8, qword [rbp + 0xd0]
cmp r8, 8
jb 0x140079c7e
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.140008b70
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], r15
mov word [rbp + 0xb8], r15w
mov r8, qword [rbp + 0xf8]
cmp r8, 8
jb 0x140079cbb
inc r8
mov rdx, qword [rbp + 0xe0]
lea rcx, [rbp + 0xe0]
call fcn.140008b70
mov qword [rbp + 0xf8], 7
mov qword [rbp + 0xf0], r15
mov word [rbp + 0xe0], r15w
mov r8, qword [rbp + 0x118]
cmp r8, 8
jb 0x140079cf8
inc r8
mov rdx, qword [rbp + 0x100]
lea rcx, [rbp + 0x100]
call fcn.140008b70
lea r8, [0x1400ee27c]
lea rdx, [r12 + 0x20]
lea rcx, [rbp + 0x100]
call fcn.140031030
nop
lea r8, [rbp + 0x158]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.140031180
nop
lea r8, [0x1400f7fd4]
mov rdx, rax
lea rcx, [rbp + 0x198]
call fcn.140031110
nop
mov r8, qword [rbp + 0xd0]
cmp r8, 8
jb 0x140079d62
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.140008b70
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], r15
mov word [rbp + 0xb8], r15w
mov r8, qword [rbp + 0x118]
cmp r8, 8
jb 0x140079d9f
inc r8
mov rdx, qword [rbp + 0x100]
lea rcx, [rbp + 0x100]
call fcn.140008b70
xorps xmm0, xmm0
movdqu xmmword [rbp + 0xe0], xmm0
mov qword [rsp + 0x40], r15
mov qword [rbp + 0xf0], r15
lea rcx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 8
cmovae rcx, qword [rbp + 0x198]
lea rdx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r14, rax
mov qword [rbp + 0x190], 7
mov qword [rbp + 0x188], r15
mov word [rbp + 0x178], r15w
xor r8d, r8d
lea rdx, [0x1400e6c40]
lea rcx, [rbp + 0x178]
call fcn.140008a20
nop
cmp r14, 0xffffffffffffffff
je 0x140079fd5
nop dword [rax + rax]
lea r8, [0x1400ee27c]
lea rdx, [r12 + 0x20]
lea rcx, [rbp + 0x100]
call fcn.140031030
nop
lea r8, [rbp + 0x21c]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.140031110
nop
mov r8, qword [rbp + 0x118]
cmp r8, 8
jb 0x140079e73
inc r8
mov rdx, qword [rbp + 0x100]
lea rcx, [rbp + 0x100]
call fcn.140008b70
lea rcx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 8
cmovae rcx, qword [rbp + 0xb8]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor edx, edx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140079f7b
lea r9, [rbp + 0x1e0]
lea r8, [rbp + 0x1e8]
lea rdx, [rbp + 0x1b8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileTime]
lea r8, [rbp + 0xdc]
lea rdx, [rbp + 0xd8]
lea rcx, [rbp + 0x1b8]
call qword [sym.imp.KERNEL32.dll_FileTimeToDosDateTime]
mov qword [rbp + 0x120], 7
mov qword [rbp + 0x118], r15
mov word [rbp + 0x108], r15w
movzx eax, word [rbp + 0xd8]
mov word [rbp + 0x100], ax
movzx eax, word [rbp + 0xdc]
mov word [rbp + 0x102], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x108]
call fcn.140008be0
lea rdx, [rbp + 0x100]
lea rcx, [rbp + 0xe0]
call fcn.14007b650
nop
mov r8, qword [rbp + 0x120]
cmp r8, 8
jb 0x140079f7b
inc r8
mov rdx, qword [rbp + 0x108]
lea rcx, [rbp + 0x108]
call fcn.140008b70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov r8, qword [rbp + 0xd0]
cmp r8, 8
jb 0x140079fa8
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.140008b70
lea rdx, [rbp + 0x1f0]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140079e20
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rbp + 0xf0]
mov qword [rsp + 0x40], rax
lea rax, [0x1400793b0]
mov qword [rbp + 0xb0], rax
mov rdi, qword [rbp + 0xe8]
mov rcx, rdi
mov r13, qword [rbp + 0xe0]
sub rcx, r13
movabs rsi, 0x6666666666666667
mov rax, rsi
imul rcx
mov r14, rdx
sar r14, 4
mov rax, r14
shr rax, 0x3f
add r14, rax
lea r9, [rbp + 0xb0]
mov r8, r14
mov rdx, rdi
mov rcx, r13
call fcn.14007bc60
cmp r14, 0x64
jb 0x14007a100
lea r15, [r14 - 0x63]
xor eax, eax
mov edi, eax
test r15, r15
je 0x14007a0f6
lea rsi, [r13 + 8]
nop dword [rax]
cmp r14, rdi
jbe 0x14007a0e9
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], rax
mov word [rbp + 0xb8], ax
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0xb8]
call fcn.140008be0
lea rcx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 8
cmovae rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8, qword [rbp + 0xd0]
cmp r8, 8
jb 0x14007a0c8
inc r8
mov rdx, qword [rbp + 0xb8]
lea rcx, [rbp + 0xb8]
call fcn.140008b70
inc rdi
add rsi, 0x28
cmp rdi, r15
mov eax, 0
jb 0x14007a050
movabs rsi, 0x6666666666666667
jmp 0x14007a0f6
lea rcx, str.invalid_vector_T__subscript
call fcn.14009b288
int3
xor r15d, r15d
mov rdi, qword [rbp + 0xe8]
lea rcx, [rbp + 0x128]
cmp qword [rbp + 0x140], 8
cmovae rcx, qword [rbp + 0x128]
lea rdx, [0x1400f7fe0]
call fcn.1400aff18
mov qword [r12 + 0xd0], rax
mov r8, qword [rbp + 0x190]
cmp r8, 8
jb 0x14007a14e
inc r8
mov rdx, qword [rbp + 0x178]
lea rcx, [rbp + 0x178]
call fcn.140008b70
mov qword [rbp + 0x190], 7
mov qword [rbp + 0x188], r15
mov word [rbp + 0x178], r15w
test r13, r13
je 0x14007a19d
mov rdx, rdi
mov rcx, r13
call fcn.14007bbe0
mov rcx, qword [rsp + 0x40]
sub rcx, r13
mov rax, rsi
imul rcx
sar rdx, 4
mov r8, rdx
shr r8, 0x3f
add r8, rdx
mov rdx, r13
call fcn.14007b950
nop
mov r8, qword [rbp + 0x1b0]
cmp r8, 8
jb 0x14007a1c0
inc r8
mov rdx, qword [rbp + 0x198]
lea rcx, [rbp + 0x198]
call fcn.140008b70
mov qword [rbp + 0x1b0], 7
mov qword [rbp + 0x1a8], r15
mov word [rbp + 0x198], r15w
mov r8, qword [rbp + 0x140]
cmp r8, 8
jb 0x14007a1fd
inc r8
mov rdx, qword [rbp + 0x128]
lea rcx, [rbp + 0x128]
call fcn.140008b70
cmp qword [r12 + 0xd0], 0
setne dil
mov r8, qword [rbp + 0x1d8]
cmp r8, 8
jb 0x14007a22d
inc r8
mov rdx, qword [rbp + 0x1c0]
lea rcx, [rbp + 0x1c0]
call fcn.140008b70
mov qword [rbp + 0x1d8], 7
mov qword [rbp + 0x1d0], r15
mov word [rbp + 0x1c0], r15w
mov r8, qword [rbp + 0x170]
cmp r8, 8
jb 0x14007a26a
inc r8
mov rdx, qword [rbp + 0x158]
lea rcx, [rbp + 0x158]
call fcn.140008b70
mov qword [rbp + 0x170], 7
mov qword [rbp + 0x168], r15
mov word [rbp + 0x158], r15w
mov rdx, qword [rbx]
mov rcx, rbx
call qword [rdx + reloc.OLEAUT32.dll_VariantClear]
nop
movzx eax, dil
mov rcx, qword [rbp + 0x480]
xor rcx, rsp
call fcn.14009d860
mov rbx, qword [rsp + 0x5e0]
add rsp, 0x590
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret