Function at 0x140027940
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov r14, r8
mov r13d, edx
mov rsi, rcx
mov rdi, 0xffffffffffffffff
inc rdi
cmp byte [rcx + rdi], 0
jne 0x140027974
lea r12d, [rdi + 1]
movsxd r15, edi
cmp r12d, 0x10
jg 0x1400279a8
mov r8, r15
lea rcx, [rbp + 7]
mov rdx, rsi
call fcn.1400a0710
mov byte [rbp + r15 + 7], 0
mov dword [rbp + 3], 0x10
jmp 0x1400279d6
lea rcx, [r15 + 1]
call fcn.14006d070
mov r8, r15
mov rdx, rsi
mov rcx, rax
mov rbx, rax
call fcn.1400a0710
mov byte [r15 + rbx], 0
or r12d, 0xc0000000
mov dword [rbp + 3], r12d
mov qword [rbp + 7], rbx
mov dword [rbp - 1], edi
lea rcx, [rbp - 1]
xor edi, edi
mov dword [rbp - 0x15], 0x10
mov dl, 0x5c
mov qword [rbp - 0x11], rdi
mov dword [rbp - 0x19], edi
call fcn.140033550
mov dl, 0x2f
lea rcx, [rbp - 1]
mov rbx, rax
call fcn.140033550
cmp eax, ebx
cmovl eax, ebx
cmp eax, 0xffffffff
je 0x140027a82
inc eax
lea rdx, [rbp + 0x17]
movsxd rbx, eax
lea rcx, [rbp - 1]
mov r8, rbx
call fcn.1400325b0
mov rdx, rax
lea rcx, [rbp - 0x19]
call fcn.14001e700
mov eax, dword [rbp + 0x1b]
shr eax, 0x1f
test al, al
je 0x140027a40
mov rcx, qword [rbp + 0x1f]
call fcn.14006bcf0
mov r9, rbx
lea rdx, [rbp + 0x17]
xor r8d, r8d
lea rcx, [rbp - 1]
call fcn.1400325f0
mov rdx, rax
lea rcx, [rbp - 1]
call fcn.14001e700
mov eax, dword [rbp + 0x1b]
shr eax, 0x1f
test al, al
je 0x140027a72
mov rcx, qword [rbp + 0x1f]
call fcn.14006bcf0
lea rdx, [0x1400d5a90]
lea rcx, [rbp - 1]
call fcn.140032300
test dword [rbp - 0x15], 0x40000000
lea r8, [rbp - 0x11]
mov rcx, rdi
lea r9, [0x1400d5a94]
cmovne r8, qword [rbp - 0x11]
nop dword [rax]
movzx eax, byte [r8 + rcx]
inc rcx
cmp al, byte [r9 + rcx - 1]
jne 0x140027acc
cmp rcx, 4
jne 0x140027aa0
lea r8d, [rcx - 3]
mov dword [rbp - 0x19], edi
lea rcx, [rbp - 0x19]
lea rdx, [0x1400d5a90]
call fcn.140032320
mov esi, 0x278
lea r8, str.C:JenkinsworkspaceBeefBeefySysLibplatformwinPlatform.cpp
mov ecx, esi
mov r9d, 0xe6e
mov edx, 1
call fcn.1400387a8
mov rbx, rax
test rax, rax
je 0x140027b18
mov r8d, esi
xor edx, edx
mov rcx, rax
call fcn.1400a0db0
mov qword [rbx + 0x260], rdi
mov dword [rbx + 0x25c], 0x10
mov dword [rbx + 0x258], edi
jmp 0x140027b1b
mov rbx, rdi
lea r15, [rbx + 0x258]
mov dword [rbx], r13d
lea rax, [rbp - 0x19]
cmp rax, r15
je 0x140027b4d
mov dword [r15], edi
lea rdx, [rbp - 0x11]
test dword [rbp - 0x15], 0x40000000
mov rcx, r15
movsxd r8, dword [rbp - 0x19]
cmovne rdx, qword [rbp - 0x11]
call fcn.140032320
mov rcx, r15
call fcn.14002e690
lea rdx, [rbp - 1]
lea rcx, [rbp - 0x29]
call fcn.14002eae0
not r13d
lea rcx, [rbp - 0x29]
and r13d, 1
call fcn.140033830
mov rcx, rax
mov dword [rsp + 0x28], edi
mov r9d, r13d
mov qword [rsp + 0x20], rdi
lea r8, [rbx + 4]
mov edx, 1
call qword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov qword [rbx + 0x270], rax
cmp rax, 0xffffffffffffffff
jne 0x140027bb1
test r14, r14
je 0x140027c0c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], 1
jmp 0x140027c0c
mov rcx, rbx
call fcn.14002adf0
test al, al
jne 0x140027c32
mov rcx, qword [rbx + 0x270]
lea rdx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140027bf3
mov rcx, rbx
call fcn.14002adf0
test al, al
jne 0x140027c32
mov rcx, qword [rbx + 0x270]
lea rdx, [rbx + 4]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140027bd2
mov rcx, qword [rbx + 0x270]
call qword [sym.imp.KERNEL32.dll_FindClose]
test r14, r14
je 0x140027c0c
mov dword [r14], 4
mov eax, dword [rbx + 0x25c]
shr eax, 0x1f
test al, al
je 0x140027c25
mov rcx, qword [rbx + 0x260]
call fcn.14006bcf0
mov rdx, rsi
mov rcx, rbx
call fcn.1400387c8
jmp 0x140027c3d
test r14, r14
je 0x140027c3a
mov dword [r14], edi
mov rdi, rbx
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140027c4b
call fcn.14006bcf0
mov ecx, dword [rbp - 0x15]
shr ecx, 0x1f
test cl, cl
je 0x140027c5e
mov rcx, qword [rbp - 0x11]
call fcn.14006bcf0
mov ecx, dword [rbp + 3]
shr ecx, 0x1f
test cl, cl
je 0x140027c71
mov rcx, qword [rbp + 7]
call fcn.14006bcf0
lea r11, [rsp + 0x90]
mov rax, rdi
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret