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

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x180141040]
xor rax, rsp
mov qword [rbp + 0x400], rax
mov rax, qword [0x180141488]
cmp rax, qword [0x180141490]
je 0x18006abcf
mov qword [0x180141490], rax
movabs rax, 0x9a7db864738e5069
movabs r15, 0x9a14b80673a05043
mov qword [rsp + 0x30], rax
movabs r14, 0xa6f65830f4bb6f0
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
movabs rax, 0xa6f65830f4bb69e
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x50]
movzx ecx, word [0x180141b70]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x1f0]
vpxor xmm1, xmm0, xmmword [rsp + 0x40]
vmovdqu xmmword [rsp + 0x50], xmm1
test cx, cx
je 0x18006ac80
lea rdx, [0x180141b70]
lea r8, [rbp + 0x1f0]
sub rdx, r8
nop dword [rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rax + rdx]
test cx, cx
jne 0x18006ac70
xor esi, esi
vmovq rcx, xmm1
mov word [rax], si
test cx, cx
je 0x18006acb0
lea rdx, [rsp + 0x50]
sub rdx, rax
nop word [rax + rax]
mov word [rax], cx
add rax, 2
movzx ecx, word [rax + rdx]
test cx, cx
jne 0x18006aca0
lea rdx, [rbp - 0x80]
mov word [rax], si
lea rcx, [rbp + 0x1f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18006afb5
mov qword [rsp + 0x540], rbx
mov qword [rsp + 0x548], r12
mov r12, 0xffffffffffffffff
mov qword [rsp + 0x550], r13
lea r13, [rsp + 0x50]
lea rbx, [rbp - 0x54]
cmp word [rbp - 0x54], si
je 0x18006ad09
nop
add rbx, 2
cmp word [rbx], si
jne 0x18006ad00
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov rcx, rax
lea rax, [rbp - 0x54]
sub rbx, rax
mov eax, 2
sar rbx, 1
inc rbx
mul rbx
cmovb rax, r12
xor edx, edx
mov r8, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdx, qword [0x180141490]
cmp rdx, qword [0x180141498]
mov qword [rsp + 0x30], rax
je 0x18006ad62
mov qword [rdx], rax
mov rcx, qword [0x180141490]
add rcx, 8
mov qword [0x180141490], rcx
jmp 0x18006ad73
lea r8, [rsp + 0x30]
call fcn.18006d780
mov rcx, qword [0x180141490]
movzx eax, word [rbp - 0x54]
lea rdx, [rbp - 0x54]
mov rcx, qword [rcx - 8]
test ax, ax
je 0x18006ada3
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 0x18006ad90
mov dl, 1
mov word [rcx], si
call fcn.180072d40
mov rbx, rax
lea r8, [rsp + 0x60]
movabs rax, 0xf57798621dd53f25
mov qword [rsp + 0x30], rax
movabs rax, 0x7e0e17f66822d09e
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x60], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0xa1126bb2f84627f4
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x30], rax
movabs rax, 0x73efd1b180affe88
mov rcx, qword [rsp + 0x30]
mov qword [rsp + 0x70], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1d0], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1d8], rax
movabs rax, 0xc47e02d4d828489d
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
mov qword [rbp + 0x1e0], rax
movabs rax, 0x73efd1b1808ddeb2
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x60]
vpxor xmm2, xmm0, xmmword [rbp + 0x1d0]
mov qword [rbp + 0x1e8], rax
vmovdqu xmm0, xmmword [rbp + 0x1e0]
vpxor xmm1, xmm0, xmmword [rsp + 0x70]
vmovq rax, xmm2
vmovdqu xmmword [rsp + 0x70], xmm1
vmovdqu xmmword [rsp + 0x60], xmm2
test al, al
je 0x18006aebb
nop word [rax + rax]
inc rcx
mov r8, rcx
cmp byte [rcx], sil
jne 0x18006aeb0
mov rcx, qword [0x180141318]
lea rax, [rsp + 0x60]
sub r8d, eax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rbp - 0x54]
mov rcx, rbx
call fcn.180072eb0
movabs rax, 0x9a14b80673a05061
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x30], rax
mov r8d, r13d
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x30], r15
mov rax, qword [rsp + 0x30]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x30], r14
mov rax, qword [rsp + 0x30]
vmovdqu xmm0, xmmword [rsp + 0x50]
mov qword [rsp + 0x48], rax
vpxor xmm1, xmm0, xmmword [rsp + 0x40]
vmovq rax, xmm1
vmovdqu xmmword [rsp + 0x50], xmm1
test al, al
je 0x18006af5d
inc rcx
mov r8, rcx
cmp byte [rcx], sil
jne 0x18006af52
mov rcx, qword [0x180141318]
lea rax, [rsp + 0x50]
sub r8d, eax
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x18006acf5
mov r13, qword [rsp + 0x550]
mov rcx, rdi
mov r12, qword [rsp + 0x548]
mov rbx, qword [rsp + 0x540]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [rbp + 0x400]
xor rcx, rsp
call fcn.1800d7380
add rsp, 0x510
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret