Function at 0x1400b97e0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2a0
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403c2c80]
xor rax, rsp
mov qword [rsp + 0x290], rax
mov r13, rcx
call fcn.140053d30
lea rdx, [rsp + 0xf8]
mov rcx, rax
call fcn.1400b97a0
nop
mov rcx, r13
call fcn.1400b96d0
lea r8, str..xml
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0xa8]
call fcn.14000d180
nop
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 0x10
cmovae rcx, qword [rsp + 0xa8]
lea rdx, [rsp + 0x150]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r15, rax
xor esi, esi
cmp rax, 0xffffffffffffffff
je 0x1400b9d20
mov qword [rsp + 0x70], shutdown
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], sil
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x17c]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x17c]
lea rcx, [rsp + 0x58]
call fcn.140008ba0
nop
mov rdi, qword [rsp + 0x68]
test rdi, rdi
je 0x1400b9aa8
lea rcx, [rsp + 0x58]
mov rbx, qword [rsp + 0x58]
mov r12, qword [rsp + 0x70]
cmp r12, 0x10
cmovae rcx, rbx
mov r8d, 1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [0x1403253c0]
call sub.MSVCR100.dll_memcmp
movsxd rcx, eax
test eax, eax
jne 0x1400b9923
cmp rdi, 1
jae 0x1400b9918
or ecx, 0xffffffff
jmp 0x1400b9923
mov eax, esi
cmp rdi, 1
setne al
mov ecx, eax
test ecx, ecx
sete al
test al, al
sete al
test al, al
je 0x1400b9aa8
lea rcx, [rsp + 0x58]
cmp r12, 0x10
cmovae rcx, rbx
mov r8d, 2
cmp rdi, r8
cmovb r8, rdi
lea rdx, [0x1402cf564]
call sub.MSVCR100.dll_memcmp
movsxd rcx, eax
test eax, eax
jne 0x1400b9978
cmp rdi, 2
jae 0x1400b996d
or ecx, 0xffffffff
jmp 0x1400b9978
mov eax, esi
cmp rdi, 2
setne al
mov ecx, eax
test ecx, ecx
sete al
test al, al
sete al
test al, al
je 0x1400b9aa8
lea r8, [0x1403240c4]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x30]
call fcn.14000d180
nop
lea r8, [rsp + 0x58]
mov rdx, rax
lea rcx, [rsp + 0xd0]
call fcn.14000d250
nop
cmp qword [rsp + 0x48], 0x10
jb 0x1400b99cc
mov rcx, qword [rsp + 0x30]
call fcn.140290ed8
mov qword [rsp + 0x48], shutdown
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], 0
mov qword [rsp + 0x98], shutdown
mov qword [rsp + 0x90], rsi
mov byte [rsp + 0x80], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0xd0]
lea rcx, [rsp + 0x80]
call fcn.1400082f0
lea rcx, [rsp + 0x80]
call fcn.140122260
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400b9a84
mov rdi, qword [r13]
lea r9, [rsp + 0x20]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r13
call fcn.1400adc80
mov r11, rax
mov rax, qword [r13 + 8]
movabs r14, 0x1ffffffffffffffe
mov rcx, r14
sub rcx, rax
cmp rcx, 1
jae 0x1400b9a70
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
inc rax
mov qword [r13 + 8], rax
mov qword [rdi + 8], r11
mov rax, qword [r11 + 8]
mov qword [rax], r11
jmp 0x1400b9a8e
movabs r14, 0x1ffffffffffffffe
cmp qword [rsp + 0xe8], 0x10
jb 0x1400b9ab2
mov rcx, qword [rsp + 0xd0]
call fcn.140290ed8
jmp 0x1400b9ab2
movabs r14, 0x1ffffffffffffffe
lea rdx, [rsp + 0x150]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x1400b9d03
mov qword [rsp + 0x48], shutdown
mov qword [rsp + 0x40], rsi
mov byte [rsp + 0x30], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x17c]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rsp + 0x17c]
lea rcx, [rsp + 0x30]
call fcn.140008ba0
nop
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x1400b9ce2
lea rcx, [rsp + 0x30]
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
cmp rbx, 0x10
cmovae rcx, r12
mov r8d, 1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [0x1403253c0]
call sub.MSVCR100.dll_memcmp
movsxd rcx, eax
test eax, eax
jne 0x1400b9b63
cmp rdi, 1
jae 0x1400b9b58
or ecx, 0xffffffff
jmp 0x1400b9b63
mov eax, esi
cmp rdi, 1
setne al
mov ecx, eax
test ecx, ecx
sete al
test al, al
sete al
test al, al
je 0x1400b9cec
lea rcx, [rsp + 0x30]
cmp rbx, 0x10
cmovae rcx, r12
mov r8d, 2
cmp rdi, r8
cmovb r8, rdi
lea rdx, [0x1402cf564]
call sub.MSVCR100.dll_memcmp
movsxd rcx, eax
test eax, eax
jne 0x1400b9bb8
cmp rdi, 2
jae 0x1400b9bad
or ecx, 0xffffffff
jmp 0x1400b9bb8
mov eax, esi
cmp rdi, 2
setne al
mov ecx, eax
test ecx, ecx
sete al
test al, al
sete al
test al, al
je 0x1400b9cec
lea r8, [0x1403240c4]
lea rdx, [rsp + 0xf8]
lea rcx, [rsp + 0x80]
call fcn.14000d180
nop
lea r8, [rsp + 0x30]
mov rdx, rax
lea rcx, [rsp + 0x120]
call fcn.14000d250
nop
cmp qword [rsp + 0x98], 0x10
jb 0x1400b9c15
mov rcx, qword [rsp + 0x80]
call fcn.140290ed8
mov qword [rsp + 0x98], shutdown
mov qword [rsp + 0x90], rsi
mov byte [rsp + 0x80], 0
mov qword [rsp + 0xe8], shutdown
mov qword [rsp + 0xe0], rsi
mov byte [rsp + 0xd0], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x120]
lea rcx, [rsp + 0xd0]
call fcn.1400082f0
lea rcx, [rsp + 0xd0]
call fcn.140122260
mov qword [rsp + 0x20], rax
test rax, rax
je 0x1400b9cca
mov rdi, qword [r13]
lea r9, [rsp + 0x20]
mov r8, qword [rdi + 8]
mov rdx, rdi
mov rcx, r13
call fcn.1400adc80
mov r11, rax
mov rax, qword [r13 + 8]
mov rcx, r14
sub rcx, rax
cmp rcx, 1
jae 0x1400b9cb8
lea rcx, str.list_T__too_long
call qword [sym.imp.MSVCP100.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_]
inc rax
mov qword [r13 + 8], rax
mov qword [rdi + 8], r11
mov rax, qword [r11 + 8]
mov qword [rax], r11
cmp qword [rsp + 0x138], 0x10
jb 0x1400b9ce2
mov rcx, qword [rsp + 0x120]
call fcn.140290ed8
mov r12, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x48]
cmp rbx, 0x10
jb 0x1400b9ab2
mov rcx, r12
call fcn.140290ed8
jmp 0x1400b9ab2
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x70], 0x10
jb 0x1400b9d20
mov rcx, qword [rsp + 0x58]
call fcn.140290ed8
nop
cmp qword [rsp + 0xc0], 0x10
jb 0x1400b9d38
mov rcx, qword [rsp + 0xa8]
call fcn.140290ed8
mov qword [rsp + 0xc0], shutdown
mov qword [rsp + 0xb8], rsi
mov byte [rsp + 0xa8], 0
cmp qword [rsp + 0x110], 0x10
jb 0x1400b9d6d
mov rcx, qword [rsp + 0xf8]
call fcn.140290ed8
nop
mov rcx, qword [rsp + 0x290]
xor rcx, rsp
call fcn.1402912a0
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret