Function at 0x1400d403c
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x200]
sub rsp, 0x300
mov rax, qword [0x14023ab58]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov rdi, rcx
lea rcx, [rsp + 0x70]
call fcn.14000edb4
nop
or qword [rbp - 0x70], 0xffffffffffffffff
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
or rax, 0xffffffffffffffff
xor esi, esi
inc rax
cmp word [rcx + rax*2], si
jne 0x1400d408d
test rax, rax
je 0x1400d41c6
cmp rax, qword [rbp - 0x80]
jne 0x1400d41c6
lea rax, [0x1402006d8]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140026970
nop
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x70]
call fcn.1400c33d4
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x1400d40fb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
call fcn.1400131d4
movdqa xmm0, xmmword [0x140207870]
movdqu xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], si
lea rbx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rbx, qword [rsp + 0x70]
mov rcx, qword [rbp - 0x70]
cmp rcx, 0xffffffffffffffff
je 0x1400d4139
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x1400d4139
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8, [rbp - 0x68]
lea edx, [r9 + 1]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov rbx, rax
mov qword [rbp - 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x1400d4171
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x1400d41bb
mov rbx, qword [rbp - 0x70]
cmp word [rbp - 0x3c], 0x2e
jne 0x1400d41aa
movzx eax, word [rbp - 0x3a]
test ax, ax
je 0x1400d418d
cmp ax, 0x2e
jne 0x1400d41aa
cmp word [rbp - 0x38], si
jne 0x1400d41aa
lea rdx, [rbp - 0x68]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400d4171
call qword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x1400d4171
jmp 0x1400d41ac
mov eax, esi
test eax, eax
jne 0x1400d41bb
mov byte [rsp + 0x30], 1
mov dword [rsp + 0x34], esi
jmp 0x1400d41d4
cmp eax, 0x12
jne 0x1400d41cb
mov dword [rsp + 0x34], esi
jmp 0x1400d41cf
mov eax, 2
mov dword [rsp + 0x34], eax
mov byte [rsp + 0x30], sil
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1e8], rax
test al, al
je 0x1400d422d
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x40]
call fcn.1400d8e30
mov rcx, qword [rax]
mov rdx, qword [rax + 8]
mov qword [rax], rsi
mov qword [rax + 8], rsi
mov rax, qword [rdi]
mov qword [rsp + 0x30], rax
mov qword [rdi], rcx
mov rax, qword [rdi + 8]
mov qword [rsp + 0x38], rax
mov qword [rdi + 8], rdx
lea rcx, [rsp + 0x30]
call fcn.14000ec94
lea rcx, [rsp + 0x40]
call fcn.14000ec94
mov ebx, dword [rbp + 0x1ec]
mov rcx, qword [rbp - 0x70]
cmp rcx, 0xffffffffffffffff
je 0x1400d424e
call qword [sym.imp.KERNEL32.dll_FindClose]
test eax, eax
jne 0x1400d424e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x1400d426a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
call fcn.1400131d4
mov eax, ebx
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1401d2140
mov rbx, qword [rsp + 0x330]
add rsp, 0x300
pop rdi
pop rsi
pop rbp
ret