Function at 0x1400c4910
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x140125080]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov rdi, rcx
mov qword [rsp + 0x68], rcx
mov qword [rsp + 0x30], rcx
xor r12d, r12d
mov ecx, 0x104
call fcn.1400d7b70
mov rbx, rax
test rax, rax
je 0x1400c4ee6
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x1a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
xor r8d, r8d
lea rdx, [0x140104ce4]
lea rcx, [rbp + 0x10]
call fcn.140002e70
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x1400c49c0
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.140002e70
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], r12
mov qword [rbp - 0x78], r12
mov r8d, 0x28
lea rdx, str.DDY1HixdL10xNiQ3P0YmVz8SJC0GRixXOQYdAgpo
lea rcx, [rsp + 0x70]
call fcn.140002e70
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x30]
call fcn.1400bebd0
nop
lea r8, [rbp + 0x30]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400ba010
mov rbx, rax
lea rax, [rbp - 0x70]
cmp rax, rbx
je 0x1400c4a83
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400c4a65
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4a60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4f34
call fcn.1400d16cc
movups xmm0, xmmword [rbx]
movups xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rbp - 0x60], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], send
mov byte [rbx], 0
mov rdx, qword [rbp - 0x38]
cmp rdx, 0xf
jbe 0x1400c4abe
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4ab9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4f34
call fcn.1400d16cc
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
mov rsi, qword [rbp - 0x60]
sub rax, rsi
cmp rax, 2
jb 0x1400c4f3a
lea r15, [rbp - 0x70]
cmp qword [rbp - 0x58], 0xf
cmova r15, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
lea r14, [rsi + 2]
mov ebx, send
lea rdi, [rsp + 0x38]
cmp r14, rbx
jbe 0x1400c4b89
mov rbx, r14
or rbx, 0xf
cmp rbx, rcx
jbe 0x1400c4b4a
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400d1450
test rax, rax
je 0x1400c4f40
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x1400c4b84
mov eax, socket
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
test rcx, rcx
jne 0x1400c4b64
mov rdi, r12
jmp 0x1400c4b84
cmp rcx, 0x1000
jb 0x1400c4b7c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400c4f2e
jmp 0x1400c4b2b
call fcn.1400d1450
mov rdi, rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x50], rbx
mov r8, rsi
mov rdx, r15
mov rcx, rdi
call fcn.1400f3b10
mov word [rsi + rdi], 0x2a5c
mov byte [rdi + r14], 0
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0xf
cmova rcx, qword [rsp + 0x38]
lea rdx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov qword [rsp + 0x30], rax
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400c4c09
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4c04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4f40
call fcn.1400d16cc
movdqa xmm0, xmmword [0x140111bc0]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
nop dword [rax]
test byte [rbp + 0x50], 0x10
je 0x1400c4de6
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r12
mov qword [rbp + 8], r12
lea rax, [rbp + 0x7c]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x1400c4c44
lea rdx, [rbp + 0x7c]
lea rcx, [rbp - 0x10]
call fcn.140002e70
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
mov r8d, 0xc
lea rdx, str.Ig8UFDdHJg
lea rcx, [rbp - 0x50]
call fcn.140002e70
lea rdx, [rbp - 0x50]
lea rcx, [rbp - 0x30]
call fcn.1400bebd0
nop
lea r12, [rbp - 0x30]
mov rsi, qword [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova r12, rsi
lea r13, [rbp - 0x10]
mov rax, qword [rbp - 0x10]
mov qword [rsp + 0x58], rax
cmp qword [rbp + 8], 0xf
cmova r13, rax
mov rdi, qword [rbp - 0x20]
mov rax, qword [rbp]
cmp rdi, rax
ja 0x1400c4d5b
sub rax, rdi
test rdi, rdi
je 0x1400c4d2c
lea r14, [rax + r13]
movsx r15d, byte [r12]
lea r8, [r14 + 1]
sub r8, r13
mov edx, r15d
mov rcx, r13
call fcn.1400f4630
mov rbx, rax
test rax, rax
je 0x1400c4d5b
mov r8, rdi
mov rdx, r12
mov rcx, rbx
call fcn.1400f4190
test eax, eax
je 0x1400c4d23
inc rbx
lea r8, [r14 + 1]
sub r8, rbx
mov edx, r15d
mov rcx, rbx
call fcn.1400f4630
mov rbx, rax
test rax, rax
jne 0x1400c4cf2
jmp 0x1400c4d5b
sub rbx, r13
cmp rbx, 0xffffffffffffffff
je 0x1400c4d5b
lea rax, [rbp + 0x7c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1400c4d40
lea rdx, [rbp + 0x7c]
lea rcx, [rbp + 0x10]
call fcn.1400b95a0
mov rsi, qword [rbp - 0x30]
mov rax, qword [rbp - 0x18]
cmp rax, 0xf
jbe 0x1400c4d96
lea rdx, [rax + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400c4d8e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4f4c
mov rcx, rsi
call fcn.1400d16cc
xor r12d, r12d
mov qword [rbp - 0x20], r12
mov qword [rbp - 0x18], send
mov byte [rbp - 0x30], r12b
mov rax, qword [rbp + 8]
cmp rax, 0xf
jbe 0x1400c4de6
lea rdx, [rax + 1]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4de1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4f52
call fcn.1400d16cc
lea rdx, [rbp + 0x50]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x1400c4c20
lea r8, [rbp + 0x10]
lea rdx, [rbp - 0x70]
lea rcx, [rbp - 0x50]
call fcn.1400ba010
mov rbx, qword [rsp + 0x68]
movups xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x10], xmm1
mov rdx, qword [rbp + 0x48]
cmp rdx, 0xf
jbe 0x1400c4e5d
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4e58
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4f46
call fcn.1400d16cc
movdqa xmm0, xmmword [0x140111bc0]
movdqu xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 0xf
jbe 0x1400c4eaa
inc rdx
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4ea4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4f58
call fcn.1400d16cc
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x1400c4ee1
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c4edc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400c4f28
call fcn.1400d16cc
mov rax, rbx
jmp 0x1400c4ef8
lea rdx, [0x14012a650]
mov rcx, rdi
call fcn.1400b8d00
mov rax, rdi
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400d1190
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400d7494
nop
call fcn.140002550
nop
call fcn.1400d7494
int3
call fcn.1400025f0
int3
call fcn.1400d7494
nop
call fcn.1400d7494
nop
call fcn.1400d7494
nop
call fcn.1400d7494
nop
call fcn.1400d7494
int3