Function at 0x1800540c0
Capabilities:
Enumerate files on windows
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x180175010]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov rax, qword [0x180175fd8]
movabs r15, 0x4f3145f5084d8105
mov qword [0x180175fe0], rax
movabs r14, 0x6fda61f061f8fbc2
movabs rax, 0x4f5845970863812f
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x70], rax
movabs rax, 0x6fda61f061f8fbac
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x38], r15
mov rax, qword [rsp + 0x38]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r14
mov rax, qword [rsp + 0x38]
movzx ecx, word [0x180177490]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x210]
movdqa xmm0, xmmword [rsp + 0x40]
pxor xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x70], xmm0
test cx, cx
je 0x1800541a0
lea rdx, [0x180177490]
lea r8, [rbp + 0x210]
sub rdx, r8
mov word [rax], cx
add rax, 2
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x180054190
mov rcx, qword [rsp + 0x70]
xor esi, esi
mov word [rax], si
test cx, cx
je 0x1800541d0
lea rdx, [rsp + 0x70]
sub rdx, rax
nop word [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rdx + rax]
test cx, cx
jne 0x1800541c0
lea rdx, [rbp - 0x60]
mov word [rax], si
lea rcx, [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1800544d4
mov qword [rsp + 0x560], rbx
mov qword [rsp + 0x568], r12
mov r12, 0xffffffffffffffff
mov qword [rsp + 0x570], r13
movabs r13, 0x4f3145f5084d8127
nop word [rax + rax]
lea rbx, [rbp - 0x34]
cmp word [rbp - 0x34], si
je 0x180054239
nop word [rax + rax]
add rbx, 2
cmp word [rbx], si
jne 0x180054230
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea rax, [rbp - 0x34]
sub rbx, rax
mov eax, 2
sar rbx, 1
inc rbx
mul rbx
cmovo rax, r12
xor edx, edx
mov r8, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdx, qword [0x180175fe0]
cmp rdx, qword [0x180175fe8]
mov qword [rsp + 0x38], rax
je 0x180054292
mov qword [rdx], rax
mov rcx, qword [0x180175fe0]
add rcx, 8
mov qword [0x180175fe0], rcx
jmp 0x1800542a3
lea r8, [rsp + 0x38]
call fcn.180056d00
mov rcx, qword [0x180175fe0]
movzx eax, word [rbp - 0x34]
lea rdx, [rbp - 0x34]
mov rcx, qword [rcx - 8]
test ax, ax
je 0x1800542d3
nop dword [rax]
nop dword [rax + rax]
mov word [rcx], ax
lea rdx, [rdx + 2]
movzx eax, word [rdx]
add rcx, 2
test ax, ax
jne 0x1800542c0
mov dl, 1
mov word [rcx], si
call fcn.180071aa0
mov rbx, rax
lea rdx, [rbp - 0x80]
movabs rax, 0x205265916638ee63
mov qword [rsp + 0x30], rax
movabs rax, 0x1bbb138506919dac
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x80], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x1c5a39811e1a41ae
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x78], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x44ccc44ab0e44836
mov rcx, qword [rsp + 0x30]
mov qword [rbp - 0x70], rcx
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp - 0x68], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1f0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1f8], rax
movabs rax, 0x793650e73e742ec7
movdqa xmm1, xmmword [rbp + 0x1f0]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x200], rax
movabs rax, 0x44ccc44ab0c6680c
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
pxor xmm1, xmmword [rbp - 0x80]
movdqa xmm0, xmmword [rbp - 0x70]
mov qword [rbp + 0x208], rax
movq rax, xmm1
pxor xmm0, xmmword [rbp + 0x200]
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmmword [rbp - 0x80], xmm1
test al, al
je 0x1800543da
nop dword [rax]
inc rcx
cmp byte [rcx], sil
jne 0x1800543d0
mov edx, ecx
mov rcx, qword [0x180175e68]
lea rax, [rbp - 0x80]
sub edx, eax
mov qword [rsp + 0x20], rsi
mov r8d, edx
xor r9d, r9d
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rbp - 0x34]
mov rcx, rbx
call fcn.180071c10
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x60]
mov rax, qword [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
movdqa xmm0, xmmword [rsp + 0x60]
mov qword [rsp + 0x58], rax
pxor xmm0, xmmword [rsp + 0x50]
movq rax, xmm0
movdqa xmmword [rsp + 0x60], xmm0
test al, al
je 0x18005447a
nop dword [rax]
inc rcx
cmp byte [rcx], sil
jne 0x180054470
mov edx, ecx
mov rcx, qword [0x180175e68]
lea rax, [rsp + 0x60]
sub edx, eax
mov qword [rsp + 0x20], rsi
mov r8d, edx
xor r9d, r9d
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rbp - 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180054220
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r13, qword [rsp + 0x570]
mov r12, qword [rsp + 0x568]
mov rbx, qword [rsp + 0x560]
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.1800d6d50
add rsp, 0x530
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret