Function at 0x18004be80
Capabilities:
Contain obfuscated stackstrings
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 8], rcx
push rbp
push rdi
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov rbx, rdx
mov rsi, rcx
xor r14d, r14d
test rdx, rdx
jne 0x18004bf4a
mov rbx, qword [rcx + 0x58]
mov rdi, qword [rcx + 0x60]
cmp rbx, rdi
je 0x18004bedb
xor edx, edx
mov rcx, rbx
call fcn.18004bb04
add rbx, 0x20
cmp rbx, rdi
jne 0x18004bec0
mov rax, qword [rsi + 0x58]
mov qword [rsi + 0x60], rax
mov rcx, r14
lea rbx, [0x1801b9dd0]
lea rsi, [0x1801b9ee0]
mov al, byte [rcx + rsi]
mov byte [rcx + rbx], al
inc rcx
test al, al
jne 0x18004beec
mov byte [rsp + 0x20], 0x5d
mov byte [rsp + 0x21], 0x2b
mov byte [rsp + 0x22], r14b
mov al, byte [rsp + 0x20]
mov rcx, r14
mov rsi, qword [rbp + 0x1d0]
mov al, byte [rsp + rcx + 0x20]
dec al
mov byte [rsp + rcx + 0x20], al
inc rcx
cmp rcx, 2
jb 0x18004bf16
lea rcx, [rbx - 1]
inc rcx
cmp byte [rcx], r14b
jne 0x18004bf2d
lea r8, [rsp + 0x20]
xor edx, edx
mov al, byte [r8 + rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x18004bf3c
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004c21e
test byte [rbp + 0x70], 0x10
je 0x18004c026
mov al, byte [rbp + 0x9d]
cmp byte [rbp + 0x9c], 0x2e
jne 0x18004bf9f
test al, al
je 0x18004c200
cmp byte [rbp + 0x9c], 0x2e
jne 0x18004bf9f
cmp al, 0x2e
jne 0x18004bf9f
cmp byte [rbp + 0x9e], r14b
je 0x18004c200
mov rcx, rbx
lea rdx, [rsp + 0x60]
sub rdx, rbx
mov al, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x18004bfaa
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_strrchr]
mov byte [rax + 1], r14b
lea rcx, [rsp + 0x60]
dec rcx
inc rcx
cmp byte [rcx], r14b
jne 0x18004bfd2
lea r8, [rbp + 0x9c]
xor edx, edx
mov al, byte [r8 + rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x18004bfe3
lea rcx, [rsp + 0x60]
dec rcx
inc rcx
cmp byte [rcx], r14b
jne 0x18004bff9
movzx eax, word [0x1800ce098]
mov word [rcx], ax
mov al, byte [0x1800ce09a]
mov byte [rcx + 2], al
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.18004be80
jmp 0x18004c200
test byte [rbp + 0x70], 0x20
je 0x18004c200
or rax, 0xffffffffffffffff
lea rcx, [0x1801b9ee0]
inc rax
cmp byte [rcx + rax], r14b
jne 0x18004c03b
lea rcx, [rbx + 1]
add rcx, rax
cmp byte [rcx], 0x2a
je 0x18004c07f
lea rdx, [rsp + 0x60]
sub rdx, rcx
mov al, byte [rcx]
mov byte [rdx + rcx], al
inc rcx
test al, al
jne 0x18004c058
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_strrchr]
test rax, rax
je 0x18004c084
mov byte [rax + 1], r14b
jmp 0x18004c084
mov byte [rsp + 0x60], r14b
lea rcx, [rsp + 0x60]
dec rcx
inc rcx
cmp byte [rcx], r14b
jne 0x18004c08c
lea r8, [rbp + 0x9c]
xor edx, edx
mov al, byte [r8 + rdx]
mov byte [rcx + rdx], al
inc rdx
test al, al
jne 0x18004c09d
jmp 0x18004c0b0
mov byte [rax], 0x2f
mov edx, 0x5c
lea rcx, [rsp + 0x60]
call qword [sym.imp.msvcrt.dll_strchr]
test rax, rax
jne 0x18004c0ad
mov byte [rsp + 0x23], 0x7c
mov byte [rsp + 0x24], 0x7a
mov byte [rsp + 0x25], WSASetLastError
mov byte [rsp + 0x26], 0x79
mov byte [rsp + 0x27], 0x66
mov byte [rsp + 0x28], 0x7a
mov byte [rsp + 0x29], 0x7b
mov byte [rsp + 0x2a], 0x68
mov byte [rsp + 0x2b], 0x7b
mov byte [rsp + 0x2c], 0x7a
mov byte [rsp + 0x2d], 0x35
mov byte [rsp + 0x2e], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x2f], 0x75
mov byte [rsp + 0x30], reloc.WS2_32.dll_WSASetLastError
mov byte [rsp + 0x31], r14b
mov al, byte [rsp + 0x23]
mov rcx, r14
mov al, byte [rsp + rcx + 0x23]
sub al, 7
mov byte [rsp + rcx + 0x23], al
inc rcx
cmp rcx, 0xe
jb 0x18004c117
lea rdx, [rsp + 0x23]
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll__stricmp
test eax, eax
je 0x18004c200
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], r14
lea rax, [rsp + 0x60]
or r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], r14b
jne 0x18004c15c
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x38]
call fcn.18000f1f0
nop
lea rcx, [rsi + 0x58]
mov rdx, qword [rcx + 8]
cmp rdx, qword [rcx + 0x10]
je 0x18004c1aa
movups xmm0, xmmword [rsp + 0x38]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x48]
movups xmmword [rdx + 0x10], xmm1
mov qword [rsp + 0x48], r14
mov edx, 0xf
mov byte [rsp + 0x38], r14b
add qword [rcx + 8], 0x20
jmp 0x18004c1b9
lea r8, [rsp + 0x38]
call fcn.18004d9a8
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x18004c1ed
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c1e8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c236
call fcn.180095ea4
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r14b
lea rdx, [rbp + 0x70]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x18004bf64
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.18009a2c0
int3