Function at 0x45d940
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
sub rsp, 0x308
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov qword [rax - 8], rsi
mov qword [rax - 0x10], rdi
mov qword [rax - 0x18], r12
mov qword [rax - 0x20], r13
mov qword [rax - 0x28], r14
mov rax, qword [0x00522be8]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
mov rbp, rdx
mov r12, rcx
mov qword [rsp + 0x70], 7
xor r13d, r13d
mov qword [rsp + 0x68], r13
mov word [rsp + 0x58], r13w
lea r9, [r13 - 1]
xor r8d, r8d
lea rcx, [rsp + 0x50]
call fcn.00402570
nop
lea r8d, [r13 + 1]
lea rdx, [0x004ec910]
lea rcx, [rsp + 0x50]
call fcn.00406450
lea r8d, [r13 + 4]
lea rdx, str..syn
lea rcx, [rsp + 0x50]
call fcn.00406450
lea rcx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x45dc2e
mov edx, 7
mov qword [rsp + 0x40], rdx
mov r8, r13
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r8w
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xac]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
movabs r14, 0x7ffffffffffffffe
cmp rcx, r14
jbe 0x45da5a
call fcn.004a5c60
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
cmp rdx, rbx
jae 0x45da73
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.00401f80
mov rdx, qword [rsp + 0x40]
jmp 0x45da91
test rbx, rbx
jne 0x45da91
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x28]
cmp rdx, 8
cmovae rax, qword [rsp + 0x28]
mov word [rax], bx
jmp 0x45dad8
test rbx, rbx
je 0x45dad8
lea rcx, [rsp + 0x28]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x28]
lea rdi, [rbx + rbx]
add rdx, rdx
mov r9, rdi
lea r8, [rsp + 0xac]
call fcn.004a7900
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
mov word [rdi + rax], 0
mov r8, rbp
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.0045c010
nop
cmp qword [rsp + 0x40], 8
jb 0x45dafb
mov rcx, qword [rsp + 0x28]
call fcn.004a6f90
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x45dc24
nop
nop
nop
mov edx, 7
mov qword [rsp + 0x40], rdx
mov r8, r13
mov qword [rsp + 0x38], r13
mov word [rsp + 0x28], r8w
xor eax, eax
mov rcx, 0xffffffffffffffff
lea rdi, [rsp + 0xac]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
cmp rcx, r14
jbe 0x45db6a
call fcn.004a5c60
mov rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
cmp rdx, rbx
jae 0x45db83
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.00401f80
mov rdx, qword [rsp + 0x40]
jmp 0x45dba1
test rbx, rbx
jne 0x45dba1
mov qword [rsp + 0x38], r13
lea rax, [rsp + 0x28]
cmp rdx, 8
cmovae rax, qword [rsp + 0x28]
mov word [rax], bx
jmp 0x45dbe8
test rbx, rbx
je 0x45dbe8
lea rcx, [rsp + 0x28]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x28]
lea rdi, [rbx + rbx]
add rdx, rdx
mov r9, rdi
lea r8, [rsp + 0xac]
call fcn.004a7900
mov qword [rsp + 0x38], rbx
lea rax, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rax, qword [rsp + 0x28]
mov word [rdi + rax], 0
mov r8, rbp
lea rdx, [rsp + 0x20]
mov rcx, r12
call fcn.0045c010
nop
cmp qword [rsp + 0x40], 8
jb 0x45dc0b
mov rcx, qword [rsp + 0x28]
call fcn.004a6f90
lea rdx, [rsp + 0x80]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x45db20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x70], 8
jb 0x45dc40
mov rcx, qword [rsp + 0x58]
call fcn.004a6f90
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.004a7100
mov rbx, qword [rsp + 0x320]
mov rbp, qword [rsp + 0x328]
mov rsi, qword [rsp + 0x300]
mov rdi, qword [rsp + 0x2f8]
mov r12, qword [rsp + 0x2f0]
mov r13, qword [rsp + 0x2e8]
mov r14, qword [rsp + 0x2e0]
add rsp, 0x308
ret