Function at 0x14002e550
Capabilities:
Enumerate files on windows
Move file
Write file on windows

Disassembly:
push rdi
push r12
push r13
mov eax, 0x1500
call fcn.1400ea040
sub rsp, rax
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rsp + 0x1528], rbx
mov qword [rsp + 0x1530], rbp
mov qword [rsp + 0x1538], rsi
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0x14f0], rax
mov r12d, r8d
mov r9, rdx
mov rbp, rcx
cmp r8d, 0xffffffff
jne 0x14002e5e2
call fcn.14002e930
mov rdx, qword [rbp]
mov rax, qword [rdx + 0x148]
test rax, rax
je 0x14002e5d3
mov eax, dword [rax]
bt rax, 0x10
jb 0x14002e8f9
mov dword [rdx + 0x174], r12d
jmp 0x14002e8f9
mov dword [rdx + 0x174], 0xffffffff
jmp 0x14002e8f9
mov edi, 0x410
mov rdx, rdi
lea rcx, [rsp + 0x4b0]
xor r8d, r8d
lea rax, [rsp + 0x4b0]
sub r9, rax
lea rax, [rdx + 0x7ffffbee]
test rax, rax
je 0x14002e625
movzx eax, word [r9 + rcx]
test ax, ax
je 0x14002e625
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14002e600
jmp 0x14002e62a
test rdx, rdx
jne 0x14002e634
sub rcx, 2
mov r8d, 0x8007007a
mov word [rcx], 0
test r8d, r8d
jne 0x14002e8d0
mov rdx, rdi
lea rcx, [rsp + 0xcd0]
xor r9d, r9d
lea r8, [rsp + 0x4b0]
lea rax, [rsp + 0xcd0]
sub r8, rax
lea rax, [rdx + 0x7ffffbee]
test rax, rax
je 0x14002e688
movzx eax, word [r8 + rcx]
test ax, ax
je 0x14002e688
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14002e663
jmp 0x14002e68d
test rdx, rdx
jne 0x14002e697
sub rcx, 2
mov r9d, 0x8007007a
mov word [rcx], 0
test r9d, r9d
jne 0x14002e8d0
lea rdx, str.epstplog.txt
lea rcx, [rsp + 0xcd0]
call fcn.14002ae40
lea rcx, [rsp + 0x4b0]
xor r8d, r8d
lea rdx, [rsp + 0xcd0]
lea rax, [rsp + 0x4b0]
sub rdx, rax
nop
nop
nop
lea rax, [rdi + 0x7ffffbee]
test rax, rax
je 0x14002e704
movzx eax, word [rdx + rcx]
test ax, ax
je 0x14002e704
mov word [rcx], ax
add rcx, 2
sub rdi, 1
jne 0x14002e6e0
jmp 0x14002e709
test rdi, rdi
jne 0x14002e713
sub rcx, 2
mov r8d, 0x8007007a
mov word [rcx], 0
xor eax, eax
test r8d, r8d
sete al
test eax, eax
je 0x14002e8d0
mov edx, 0x104
lea rcx, [rsp + 0x2a0]
xor r8d, r8d
lea rdi, [rsp + 0x4b0]
lea rax, [rsp + 0x2a0]
sub rdi, rax
nop
nop
lea rax, [rdx + 0x7ffffefa]
test rax, rax
je 0x14002e774
movzx eax, word [rdi + rcx]
test ax, ax
je 0x14002e774
mov word [rcx], ax
add rcx, 2
sub rdx, 1
jne 0x14002e750
jmp 0x14002e779
test rdx, rdx
jne 0x14002e783
sub rcx, 2
mov r8d, 0x8007007a
mov word [rcx], 0
xor eax, eax
test r8d, r8d
sete al
test eax, eax
je 0x14002e8d0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x2a0]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [rsp + 0x2a0]
lea rcx, [rbp + 0x10]
call fcn.140003940
xor edi, edi
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
lea r13d, [rdi + 1]
cmp rax, 0xffffffffffffffff
je 0x14002e852
nop
nop
nop
nop
test byte [rsp + 0x50], 0x10
cmove edi, r13d
lea rdx, [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x14002e80f
test edi, edi
je 0x14002e7f0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
test edi, edi
je 0x14002e852
mov r9d, 0x104
lea r8, str..bak
lea rdx, [rsp + 0x2a0]
mov rcx, qword [rbp + 8]
call fcn.140011fa0
mov r8d, 9
lea rdx, [rsp + 0x2a0]
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov rax, qword [rbp + 0x10]
cmp dword [rax - 8], r13d
jle 0x14002e868
mov edx, dword [rax - 0x10]
lea rcx, [rbp + 0x10]
call fcn.140003570
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
mov r8d, r13d
mov edx, 0x40000000
mov rcx, qword [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rdi, rax
test rax, rax
je 0x14002e8d0
mov word [rsp + 0x40], 0xfeff
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x44]
mov r8d, 2
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp]
mov rax, qword [rcx + 0x148]
test rax, rax
je 0x14002e8f2
mov eax, dword [rax]
bt rax, 0x10
jb 0x14002e8f9
mov dword [rcx + 0x174], r12d
jmp 0x14002e8f9
mov dword [rcx + 0x174], r12d
mov rcx, qword [rsp + 0x14f0]
xor rcx, rsp
call fcn.1400cd6e0
lea r11, [rsp + 0x1500]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret