Function at 0x1400377d0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x1400c6158]
xor rax, rsp
mov qword [rbp + 0x200], rax
xor r15d, r15d
lea rbx, [0x14003b290]
xor al, al
mov dword [rsp + 0x40], r15d
cmp qword [rcx + 0x10], 0xffffffffffffffff
mov rsi, r8
mov r13, rdx
mov r14, rcx
mov r12d, r15d
jne 0x140037a8b
cmp byte [rcx + 0x20], al
jne 0x140037a8b
lea rcx, [rsp + 0x50]
mov byte [rsp + 0x30], 1
call fcn.1400370e0
mov ecx, dword [0x1400a68a8]
cmp dword [rax], ecx
jne 0x140037861
lea rdx, [0x1400a68a8]
mov rcx, rax
call fcn.140037190
test eax, eax
lea eax, [r15 + 1]
jns 0x140037864
mov eax, r15d
cmp byte [r14 + 0x28], r15b
lea ebx, [rax + rax]
mov edi, r15d
mov dword [rsp + 0x40], eax
mov rcx, r14
setne dil
call fcn.14000a850
mov edx, dword [rsp + 0x40]
lea r8, [rbp - 0x50]
mov rcx, rax
mov dword [rsp + 0x28], ebx
mov r9d, edi
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [r14 + 0x10], rax
cmp rax, 0xffffffffffffffff
jne 0x140037a7f
mov dword [rsp + 0x50], 8
lea rax, str._UNC_
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
movaps xmm0, xmmword [rsp + 0x50]
mov r8d, 1
mov rcx, r14
movdqa xmmword [rsp + 0x50], xmm0
call fcn.140009a10
test al, al
je 0x140037a7f
mov r8d, 0x5c
mov dword [rsp + 0x20], 1
lea rdx, [rsp + 0x40]
mov rcx, r14
lea r9d, [r8 - 0x5b]
call fcn.140009960
mov rcx, qword [rsp + 0x40]
cmp dword [rcx + 4], 4
jne 0x1400379d1
mov rdi, qword [rcx + 0x10]
lea r12, [0x1400730a4]
add rdi, rcx
movaps xmmword [rsp + 0x310], xmm6
xor r8d, r8d
mov dword [rsp + 0x50], 2
lea rcx, [rsp + 0x38]
mov qword [rsp + 0x58], r12
mov edx, dword [rdi + 0x2c]
add edx, 2
call fcn.140004ea0
mov rax, qword [rsp + 0x38]
mov edx, 2
mov rcx, r12
mov rbx, qword [rax + 0x10]
add rbx, rax
mov r8, rbx
call fcn.140005980
movsxd rax, dword [rsp + 0x50]
mov r8, qword [rdi + 0x20]
movsxd r9, dword [rdi + 0x2c]
movaps xmm6, xmmword [rsp + 0x310]
lea rcx, [rbx + rax*2]
test r8, r8
jne 0x140037991
lea rdx, [0x14003b290]
add rdx, qword [0x14003b2a0]
jmp 0x1400379a3
mov r8, qword [r8]
movsxd rdx, dword [rdi + 0x28]
mov rax, qword [r8 + 0x10]
lea rdx, [rax + rdx*2]
add rdx, r8
mov r8, r9
add r8, r8
call sub.VCRUNTIME140.dll_memcpy
lea rdx, [r14 + 0x18]
mov r12d, 1
lea rcx, [rsp + 0x38]
call fcn.14002dee0
mov rcx, qword [rsp + 0x40]
test al, al
je 0x1400379d1
movzx ebx, r12b
jmp 0x1400379d3
xor bl, bl
test r12b, 1
je 0x140037a11
mov rax, qword [rsp + 0x38]
and r12d, 0xfffffffe
mov edx, dword [rax]
test edx, edx
je 0x1400379fb
cmp edx, 0xffffffff
je 0x140037a11
lea ecx, [rdx - 1]
mov dword [rax], ecx
test ecx, ecx
jne 0x140037a0c
mov rax, qword [rsp + 0x38]
mov edx, 2
mov rcx, rax
lea r8d, [rdx + 6]
call fcn.140003e30
mov rcx, qword [rsp + 0x40]
test bl, bl
je 0x140037a5a
mov rdx, qword [r14 + 0x18]
mov eax, dword [rdx + 8]
cmp dword [rdx + 0xc], eax
jne 0x140037a55
mov eax, dword [rcx]
test eax, eax
je 0x140037a40
cmp eax, 0xffffffff
je 0x140037bfc
sub eax, 1
mov dword [rcx], eax
jne 0x140037bfc
mov rcx, qword [rsp + 0x40]
mov edx, 0x10
lea r8d, [rdx - 8]
call fcn.140003e30
xor al, al
jmp 0x140037ea3
mov byte [r14 + 0x20], 1
mov eax, dword [rcx]
test eax, eax
je 0x140037a71
cmp eax, 0xffffffff
je 0x140037a7f
sub eax, 1
mov dword [rcx], eax
jne 0x140037a7f
mov rcx, qword [rsp + 0x40]
mov edx, 0x10
lea r8d, [rdx - 8]
call fcn.140003e30
movzx eax, byte [rsp + 0x30]
lea rbx, [0x14003b290]
mov rcx, qword [r14 + 0x10]
cmp rcx, 0xffffffffffffffff
jne 0x140037a9f
cmp byte [r14 + 0x20], r15b
je 0x140037bfc
test al, al
jne 0x140037ac5
cmp byte [r14 + 0x20], r15b
je 0x140037bea
inc dword [r14 + 0x24]
mov rax, qword [r14 + 0x18]
mov ecx, dword [rax + 0xc]
sub ecx, dword [rax + 8]
cmp dword [r14 + 0x24], ecx
jge 0x140037bfc
cmp byte [r14 + 0x20], r15b
je 0x140037c03
mov rdx, qword [r14 + 0x18]
movsxd rax, dword [r14 + 0x24]
movsxd rcx, dword [rdx + 8]
add rcx, rax
lea rdx, [rdx + rcx*8]
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x38], rcx
add rdx, 0x10
mov r8d, dword [rcx]
lea eax, [r8 + 1]
cmp eax, 1
jbe 0x140037b01
lea eax, [r8 + 1]
mov dword [rcx], eax
lea rcx, [rsp + 0x38]
call fcn.1400055b0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140027a70
mov rdx, qword [r13]
mov rcx, qword [rax]
mov qword [r13], rcx
mov rcx, qword [rax + 8]
mov qword [rax], rdx
mov rdx, qword [r13 + 8]
mov qword [r13 + 8], rcx
mov qword [rax + 8], rdx
movzx ecx, word [rax + 0x10]
mov word [r13 + 0x10], cx
movzx ecx, word [rax + 0x12]
mov word [r13 + 0x12], cx
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
mov word [r13 + 0x14], ax
mov eax, dword [rcx]
test eax, eax
je 0x140037b6f
cmp eax, 0xffffffff
je 0x140037b7d
sub eax, 1
mov dword [rcx], eax
jne 0x140037b7d
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x140037b99
cmp eax, 0xffffffff
je 0x140037ba7
sub eax, 1
mov dword [rcx], eax
jne 0x140037ba7
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x140037bc3
cmp eax, 0xffffffff
je 0x140037bd1
sub eax, 1
mov dword [rcx], eax
jne 0x140037bd1
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov dword [rsi + 0x10], 0x10
or dword [rsi + 4], 0x440000
or dword [rsi], 0x560000
jmp 0x140037ea1
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140037ac5
xor al, al
jmp 0x140037ea3
mov r8d, 0xffffffff
lea rdx, [rbp - 0x24]
lea rcx, [rsp + 0x38]
or r12d, 2
call fcn.140007370
mov rcx, qword [rax]
mov qword [rsp + 0x40], rcx
mov qword [rax], rbx
test r12b, 4
je 0x140037c51
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x140037c43
cmp eax, 0xffffffff
je 0x140037c51
sub eax, 1
mov dword [rcx], eax
jne 0x140037c51
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x140037c6d
cmp eax, 0xffffffff
je 0x140037c7b
sub eax, 1
mov dword [rcx], eax
jne 0x140037c7b
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rcx, qword [r14 + 8]
mov qword [rsp + 0x38], rcx
mov edx, dword [rcx]
lea eax, [rdx + 1]
cmp eax, 1
jbe 0x140037c93
lea eax, [rdx + 1]
mov dword [rcx], eax
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x38]
call fcn.1400055b0
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x50]
call fcn.140027a70
mov rdx, qword [r13]
mov rcx, qword [rax]
mov qword [r13], rcx
mov rcx, qword [rax + 8]
mov qword [rax], rdx
mov rdx, qword [r13 + 8]
mov qword [r13 + 8], rcx
mov qword [rax + 8], rdx
movzx ecx, word [rax + 0x10]
mov word [r13 + 0x10], cx
movzx ecx, word [rax + 0x12]
mov word [r13 + 0x12], cx
movzx eax, word [rax + 0x14]
mov rcx, qword [rsp + 0x58]
mov word [r13 + 0x14], ax
mov eax, dword [rcx]
test eax, eax
je 0x140037d06
cmp eax, 0xffffffff
je 0x140037d14
sub eax, 1
mov dword [rcx], eax
jne 0x140037d14
mov rcx, qword [rsp + 0x58]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rcx, qword [rsp + 0x50]
mov eax, dword [rcx]
test eax, eax
je 0x140037d30
cmp eax, 0xffffffff
je 0x140037d3e
sub eax, 1
mov dword [rcx], eax
jne 0x140037d3e
mov rcx, qword [rsp + 0x50]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rcx, qword [rsp + 0x38]
mov eax, dword [rcx]
test eax, eax
je 0x140037d5a
cmp eax, 0xffffffff
je 0x140037d68
sub eax, 1
mov dword [rcx], eax
jne 0x140037d68
mov rcx, qword [rsp + 0x38]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
movups xmm1, xmmword [rbp - 0x80]
mov dword [rsp + 0x50], 4
lea rax, str..lnk
mov qword [rsp + 0x58], rax
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x70], r15
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x78], 0xffffffffffffffff
mov r8d, 1
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsi], xmm0
movups xmm0, xmmword [rbp - 0x70]
movups xmmword [rsi + 0x10], xmm1
movsd xmm1, qword [rbp - 0x60]
movups xmmword [rsi + 0x20], xmm0
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x50], xmm0
movsd qword [rsi + 0x30], xmm1
call fcn.140006ac0
test al, al
jne 0x140037e77
mov eax, dword [rbp - 0x50]
mov dword [rsi + 0x10], eax
test al, 2
je 0x140037de5
or dword [rsi + 4], 0x100000
mov edx, dword [rsi]
test al, 0x10
mov r9d, dword [rsi + 0x10]
mov eax, 0x40000
mov ecx, 0x20000
mov r8d, r9d
cmovne ecx, eax
mov rax, qword [rbp - 0x4c]
or ecx, dword [rsi + 4]
or edx, 0x560000
mov qword [rsi + 0x14], rax
bts ecx, 0x16
mov rax, qword [rbp - 0x44]
mov qword [rsi + 0x24], rax
mov rax, qword [rbp - 0x3c]
mov qword [rsi + 0x2c], rax
mov qword [rsi + 0x1c], rax
and r8d, 0x10
jne 0x140037e3a
mov r15d, dword [rbp - 0x34]
mov eax, dword [rbp - 0x30]
shl r15, 0x20
add r15, rax
or edx, 0x2210000
mov qword [rsi + 8], r15
btr ecx, 0x10
mov dword [rsi], edx
mov dword [rsi + 4], ecx
bt r9d, 0xa
jae 0x140037e77
mov eax, dword [rbp - 0x2c]
cmp eax, 0xa000000c
jne 0x140037e64
bts ecx, 0x10
jmp 0x140037e74
test r8d, r8d
je 0x140037e77
cmp eax, 0xa0000003
jne 0x140037e77
bts ecx, 0x1a
mov dword [rsi + 4], ecx
mov rcx, qword [rsp + 0x40]
mov eax, dword [rcx]
test eax, eax
je 0x140037e93
cmp eax, 0xffffffff
je 0x140037ea1
sub eax, 1
mov dword [rcx], eax
jne 0x140037ea1
mov rcx, qword [rsp + 0x40]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov al, 1
mov rcx, qword [rbp + 0x200]
xor rcx, rsp
call fcn.1400382e0
mov rbx, qword [rsp + 0x378]
add rsp, 0x320
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret