Function at 0x140049c50
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 - 0x1a0]
sub rsp, 0x2a0
mov rax, qword [0x14016b0c0]
xor rax, rsp
mov qword [rbp + 0x190], rax
mov r14, r8
mov qword [rbp - 0x60], rdx
mov rbx, rcx
mov qword [rsp + 0x70], rcx
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x20], rdx
mov qword [rbp - 0x18], r8
xor r15d, r15d
mov dword [rsp + 0x40], r15d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rsp + 0x40], 1
mov rcx, qword [rdx + 0x10]
movabs r12, 0x7fffffffffffffff
mov rax, r12
sub rax, rcx
cmp rax, 4
jb 0x14004a19b
mov r9, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140049ce7
mov r9, qword [rdx]
mov qword [rsp + 0x30], 4
lea rax, str._.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x10]
call fcn.1400841a0
mov edi, 0x41
mov dword [rsp + 0x40], edi
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 0xf
cmova rcx, qword [rbp + 0x10]
lea rdx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rsi, rax
mov qword [rbp - 0x68], rax
cmp rax, 0xffffffffffffffff
je 0x14004a146
nop dword [rax]
test byte [rbp + 0x50], 0x10
jne 0x14004a127
cmp qword [r14 + 0x10], 0
je 0x140049ed0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], r15
lea rax, [rbp + 0x7c]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140049d70
lea rdx, [rbp + 0x7c]
lea rcx, [rsp + 0x78]
call fcn.14004b200
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rdx, [rsp + 0x78]
cmp qword [rbp - 0x70], 0xf
seta r11b
mov r10, qword [rsp + 0x78]
cmova rdx, r10
mov r9, qword [rbp - 0x78]
test r9, r9
je 0x140049de2
lea rcx, [r9 - 1]
mov rax, 0xffffffffffffffff
cmp rcx, rax
cmovb rax, rcx
add rax, rdx
cmp byte [rax], 0x2e
je 0x140049ddd
nop dword [rax]
cmp rax, rdx
je 0x140049de2
dec rax
cmp byte [rax], 0x2e
jne 0x140049dd0
sub rax, rdx
jmp 0x140049de9
mov rax, 0xffffffffffffffff
xorps xmm0, xmm0
cmp rax, 0xffffffffffffffff
je 0x140049e67
lea rcx, [rax + 1]
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r15
mov qword [rbp + 8], r15
cmp r9, rcx
jb 0x14004a18f
sub r9, rcx
mov r8, 0xffffffffffffffff
cmp r9, r8
cmovb r8, r9
lea rdx, [rsp + 0x78]
test r11b, r11b
cmovne rdx, r10
add rdx, rcx
lea rcx, [rbp - 0x10]
call fcn.14004b200
or edi, 8
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rbp]
movups xmmword [rsp + 0x60], xmm1
mov qword [rbp], r15
mov qword [rbp + 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x10], 0
or edi, 4
lea rcx, [rbp - 0x10]
call fcn.14007e670
jmp 0x140049e8d
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
xor r8d, r8d
lea rdx, [0x14013e8cf]
lea rcx, [rsp + 0x50]
call fcn.14004b200
or edi, 4
lea rcx, [rsp + 0x78]
call fcn.14007e670
or edi, 2
mov dword [rsp + 0x40], edi
mov rdx, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140049eab
mov rdx, qword [r14]
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
cmp r8, qword [r14 + 0x10]
jne 0x140049ed4
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140049ed4
xor bl, bl
jmp 0x140049ed6
mov bl, 1
test dil, 2
je 0x140049eed
and edi, 0xfffffffd
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x50]
call fcn.14007e670
test bl, bl
jne 0x14004a122
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r15
mov qword [rbp + 8], r15
xor r8d, r8d
lea rdx, [0x14013e8cf]
lea rcx, [rbp - 0x10]
call fcn.14004b200
nop
mov rcx, qword [r14 + 0x10]
mov rax, r12
sub rax, rcx
cmp rax, 1
jb 0x14004a195
mov rax, r14
cmp qword [r14 + 0x18], 0xf
jbe 0x140049f39
mov rax, qword [r14]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 1
lea r9, [0x14014a608]
lea rcx, [rbp - 0x58]
call fcn.1400841a0
or edi, 0x10
mov dword [rsp + 0x40], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], r15
lea rax, [rbp + 0x7c]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140049f80
lea rdx, [rbp + 0x7c]
lea rcx, [rsp + 0x50]
call fcn.14004b200
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
mov rbx, r15
mov r12, qword [rbp - 0x40]
mov r15, qword [rbp - 0x48]
mov r13, qword [rbp - 0x58]
mov rsi, qword [rbp]
nop word [rax + rax]
lea r9, [rbp - 0x58]
cmp r12, 0xf
cmova r9, r13
lea rcx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], r15
mov r8, rbx
mov rdx, qword [rsp + 0x60]
call fcn.140081b50
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14004a024
lea r9, [rbp - 0x10]
cmp qword [rbp + 8], 0xf
cmova r9, qword [rbp - 0x10]
mov qword [rsp + 0x20], rsi
mov r8, r15
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14007e6d0
mov rsi, qword [rbp]
add rbx, rsi
jmp 0x140049fc0
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rbp + 0x40], xmm1
xor r15d, r15d
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], reloc.WS2_32.dll_ntohs
mov byte [rsp + 0x50], r15b
or edi, 0x20
mov dword [rsp + 0x40], edi
lea rcx, [rsp + 0x50]
call fcn.14007e670
nop
lea rcx, [rbp - 0x58]
call fcn.14007e670
nop
lea rcx, [rbp - 0x10]
call fcn.14007e670
nop
mov cl, 1
call qword [sym.imp.MSVCP140.dll_private:_static_class_std::locale::_Locimp____ptr64___cdecl_std::locale::_Init_bool_]
mov qword [rbp - 0x30], rax
lea r8, [rbp - 0x38]
lea rdx, [rbp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.140049a60
nop
mov rbx, qword [rsp + 0x70]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x14004a0d1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
mov qword [rdx + 0x10], r15
mov qword [rdx + 0x18], r15
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rax], r15b
add qword [rbx + 8], 0x20
jmp 0x14004a0dd
mov r8, rax
mov rcx, rbx
call fcn.140087a30
nop
lea rcx, [rbp - 0x58]
call fcn.14007e670
nop
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x14004a109
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, rax
test rax, rax
je 0x14004a109
mov rax, qword [rax]
mov edx, 1
call qword [rax]
nop
lea rcx, [rbp + 0x30]
call fcn.14007e670
mov rsi, qword [rbp - 0x68]
movabs r12, 0x7fffffffffffffff
jmp 0x14004a127
mov rbx, qword [rsp + 0x70]
lea rdx, [rbp + 0x50]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140049d40
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rbp + 0x10]
call fcn.14007e670
nop
mov rcx, qword [rbp - 0x60]
call fcn.14007e670
nop
mov rcx, r14
call fcn.14007e670
mov rax, rbx
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.140126e40
mov rbx, qword [rsp + 0x2f8]
add rsp, 0x2a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.14007f790
nop
call fcn.140034260
nop
call fcn.140034260
int3