Function at 0x140112f90
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140178010]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rdx
mov r12, rcx
mov rcx, qword [0x1401782b0]
lea rsi, [0x1401782b0]
cmp rcx, rsi
je 0x140112ffc
test byte [rcx + 0x1c], 1
je 0x140112ffc
cmp byte [rcx + 0x19], 4
jb 0x140112ffc
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015f220]
mov edx, 0x47
call fcn.140004c6c
xor r13d, r13d
or r15, 0xffffffffffffffff
mov qword [rsp + 0x30], r13
mov qword [rsp + 0x38], r13
test rdi, rdi
jne 0x14011302a
lea r8, str.prgBackupMachineNames
mov edx, 0x946
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008624c
cmp qword [rdi + 8], r13
je 0x140113048
lea r8, str.prgBackupMachineNames__IsEmpty__
mov edx, 0x947
lea rcx, str.base_stor_blbengine_blbengutils_blbbackuptargetutils.cpp
call fcn.14008624c
lea r8, [rsp + 0x30]
xor edx, edx
mov rcx, r12
call fcn.140112d90
mov ebx, eax
test eax, eax
js 0x140113201
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x250
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x30]
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r15, rax
cmp rax, 0xffffffffffffffff
jne 0x1401130df
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x1401130cc
test dword [rcx + 0x1c], 0x200
je 0x1401130cc
cmp byte [rcx + 0x19], 3
jb 0x1401130cc
mov r9, qword [rsp + 0x30]
lea edx, [r15 + 0x49]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015f220]
mov dword [rsp + 0x20], eax
call fcn.140005ce8
cmp edi, 5
jne 0x140113201
mov ebx, 0x80070005
jmp 0x140113201
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x140113111
test byte [rcx + 0x1c], 1
je 0x140113111
cmp byte [rcx + 0x19], 4
jb 0x140113111
mov rcx, qword [rcx + 0x10]
lea r9, [rsp + 0x6c]
mov edx, 0x49
lea r8, [0x14015f220]
call fcn.140005c6c
lea rax, [rsp + 0x6c]
or rsi, 0xffffffffffffffff
inc rsi
cmp word [rax + rsi*2], r13w
jne 0x14011311a
cmp rsi, 1
jb 0x140113140
lea rdx, [0x140155934]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1401131b6
cmp rsi, 2
jb 0x14011315c
lea rdx, [0x140155938]
lea rcx, [rsp + 0x6c]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
je 0x1401131b6
test byte [rsp + 0x40], 0x10
je 0x1401131b6
xor r8d, r8d
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x6c]
call fcn.14008704c
mov ebx, eax
test eax, eax
js 0x1401131ea
mov rsi, qword [rdi + 8]
cmp rsi, qword [rdi + 0x10]
jb 0x140113199
lea rdx, [rsi + 1]
mov rcx, rdi
call fcn.14000ff48
test al, al
je 0x14011330f
mov rax, qword [rdi]
lea rcx, [rax + rsi*8]
test rcx, rcx
je 0x1401131ad
mov rax, qword [rsp + 0x38]
mov qword [rcx], rax
inc qword [rdi + 8]
mov qword [rsp + 0x38], r13
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x250
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x40]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1401132ae
lea rsi, [0x1401782b0]
jmp 0x1401130df
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1401131fa
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rsi, [0x1401782b0]
cmp qword [rsp + 0x30], r13
je 0x140113213
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
test ebx, ebx
jns 0x140113254
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x140113281
test byte [rcx + 0x1c], 1
je 0x14011325b
cmp byte [rcx + 0x19], 3
jb 0x14011325b
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015f220]
mov edx, 0x4b
mov dword [rsp + 0x20], ebx
mov r9, r12
call fcn.140005ce8
mov rcx, qword [0x1401782b0]
cmp rcx, rsi
je 0x140113281
test byte [rcx + 0x1c], 1
je 0x140113281
cmp byte [rcx + 0x19], 4
jb 0x140113281
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015f220]
mov edx, 0x4c
call fcn.140004c6c
mov eax, ebx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1401474d0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp eax, 0x12
je 0x1401131fa
mov rcx, qword [0x1401782b0]
lea rsi, [0x1401782b0]
cmp rcx, rsi
je 0x1401132fc
test byte [rcx + 0x1c], 1
je 0x1401132fc
cmp byte [rcx + 0x19], 2
jb 0x1401132fc
mov r9, qword [rsp + 0x30]
lea r8, [0x14015f220]
mov rcx, qword [rcx + 0x10]
mov edx, 0x4a
mov dword [rsp + 0x20], eax
call fcn.140005ce8
movzx ebx, di
or ebx, 0x80070000
test edi, edi
cmovle ebx, edi
jmp 0x140113201
mov ecx, 0x8007000e
call fcn.140001b20
int3