Function at 0x140042140
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x298]
sub rsp, 0x370
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140375828]
xor rax, rsp
mov qword [rbp + 0x260], rax
mov r14, rdx
mov rbx, rcx
xor r15d, r15d
mov dword [rsp + 0x20], r15d
mov rcx, qword [rcx]
mov rax, qword [rbx + 8]
sub rax, rcx
sar rax, 3
cmp rax, 1
jne 0x140042769
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
je 0x140042769
mov rax, qword [rbx]
mov rcx, qword [rax]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x98]
nop
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140044570
nop
lea r12, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov qword [rsp + 0x30], r12
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14004220f
cmp byte [rsp + 0x40], r15b
je 0x140042205
call qword [sym.imp.libcef.dll_cef_string_utf16_clear]
lea edx, [r15 + 0x18]
mov rcx, qword [rsp + 0x38]
call fcn.1401dd1a8
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x40], 0
lea rcx, [rbp - 0x70]
call fcn.140045a30
mov rcx, rax
call fcn.140045af0
lea rcx, [rbp - 0x70]
cmp rcx, rax
je 0x14004223c
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.140026920
mov r8, qword [rbp - 0x60]
test r8, r8
jne 0x14004224e
lea ebx, [r8 + 2]
jmp 0x14004274b
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r15
mov word [rbp - 0x50], r15w
xor sil, sil
xor dil, dil
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rax, qword [rbp - 0x70]
lea rax, [rax + r8*2]
lea r8, [rbp - 0x70]
cmovae r8, qword [rbp - 0x70]
mov rcx, r15
mov rdx, rax
sub rdx, r8
inc rdx
shr rdx, 1
cmp r8, rax
cmova rdx, r15
test rdx, rdx
je 0x1400422c8
mov eax, 0x5c
cmp word [r8], 0x2f
jne 0x1400422bc
mov word [r8], ax
add r8, 2
inc rcx
cmp rcx, rdx
jne 0x1400422b1
mov r8d, 2
lea rdx, [0x1402ba9d8]
lea rcx, [rbp - 0x70]
call fcn.14003f1b0
lea rcx, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rcx, qword [rbp - 0x70]
lea rdx, [rbp + 0x10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400426e4
nop dword [rax]
nop word [rax + rax]
movzx ecx, word [rbp + 0x3c]
movzx edx, word [rbp + 0x3e]
cmp cx, word [0x1402baaa0]
jne 0x14004232e
cmp dx, word [0x1402baaa2]
je 0x14004253e
cmp cx, word [0x1402baa98]
jne 0x140042351
cmp dx, word [0x1402baa9a]
jne 0x140042351
movzx eax, word [rbp + 0x40]
cmp ax, word [0x1402baa9c]
je 0x14004253e
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], r15
mov word [rsp + 0x30], r15w
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
test cx, cx
jne 0x140042383
mov r8, r15
jmp 0x14004239b
lea rax, [rbp + 0x3c]
or r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140042390
lea rdx, [rbp + 0x3c]
lea rcx, [rsp + 0x50]
call fcn.140026520
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.14003f550
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1400423d7
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400271e0
test byte [rbp + 0x10], 0x10
je 0x140042476
test sil, sil
je 0x1400423fe
mov r8d, 1
lea rdx, [0x1402ba9e4]
lea rcx, [rbp - 0x30]
call fcn.14003f1b0
jmp 0x140042401
mov sil, 1
lea r8, [rsp + 0x30]
lea rdx, [0x1402ba9a8]
lea rcx, [rbp - 0x10]
call fcn.140044f90
nop
lea r8, [0x1402ba9a8]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14003f110
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x30]
call fcn.14003efe0
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x14004245d
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400271e0
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
jmp 0x140042506
test dil, dil
je 0x140042493
mov r8d, 1
lea rdx, [0x1402ba9e4]
lea rcx, [rbp - 0x50]
call fcn.14003f1b0
jmp 0x140042496
mov dil, 1
lea r8, [rsp + 0x30]
lea rdx, [0x1402ba9a8]
lea rcx, [rbp - 0x10]
call fcn.140044f90
nop
lea r8, [0x1402ba9a8]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.14003f110
nop
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp - 0x50]
call fcn.14003efe0
nop
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x1400424f2
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400271e0
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], r15
mov word [rsp + 0x50], r15w
mov r8, qword [rbp + 8]
cmp r8, 8
jb 0x140042521
inc r8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.1400271e0
nop
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x14004253e
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.1400271e0
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140042310
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
mov r8d, 1
lea rdx, [0x1402ba9b8]
lea rcx, [rsp + 0x70]
call fcn.140026520
nop
test sil, sil
je 0x1400425bc
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x70]
call fcn.14003efe0
test dil, dil
je 0x1400425d6
mov r8d, 1
lea rdx, [0x1402ba9e4]
lea rcx, [rsp + 0x70]
call fcn.14003f1b0
test dil, dil
je 0x1400425d6
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x70]
call fcn.14003efe0
mov r8d, 1
lea rdx, [0x1402ba9e0]
lea rcx, [rsp + 0x70]
call fcn.14003f1b0
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r15
mov byte [rsp + 0x40], 0
cmp qword [rbp - 0x80], 0
je 0x14004264a
mov ecx, 0x18
call fcn.1401dd164
mov qword [rsp + 0x38], rax
xor ecx, ecx
mov qword [rax], rcx
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rcx
mov byte [rsp + 0x40], 1
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae rcx, qword [rsp + 0x70]
mov r9d, 1
mov r8, qword [rsp + 0x38]
mov rdx, qword [rbp - 0x80]
call qword [sym.imp.libcef.dll_cef_string_utf16_set]
nop
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
call fcn.14005c2f0
nop
mov rdx, rax
mov rcx, r14
call fcn.14000a2e0
nop
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x140042686
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [rsp + 0x30], r12
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400426b1
cmp byte [rsp + 0x40], 0
je 0x1400426b1
call qword [sym.imp.libcef.dll_cef_string_utf16_clear]
mov edx, 0x18
mov rcx, qword [rsp + 0x38]
call fcn.1401dd1a8
mov ebx, r15d
mov r8, qword [rbp - 0x78]
cmp r8, 8
jb 0x1400426d0
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400271e0
mov qword [rbp - 0x78], 7
mov qword [rbp - 0x80], r15
mov word [rsp + 0x70], r15w
jmp 0x1400426f5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dl, 1
call fcn.14003f8a0
mov ebx, eax
mov r8, qword [rbp - 0x38]
cmp r8, 8
jb 0x14004270f
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x50]
call fcn.1400271e0
mov qword [rbp - 0x38], 7
mov qword [rbp - 0x40], r15
mov word [rbp - 0x50], r15w
mov r8, qword [rbp - 0x18]
cmp r8, 8
jb 0x14004273a
inc r8
mov rdx, qword [rbp - 0x30]
lea rcx, [rbp - 0x30]
call fcn.1400271e0
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], r15
mov word [rbp - 0x30], r15w
mov r8, qword [rbp - 0x58]
cmp r8, 8
jb 0x140042765
inc r8
mov rdx, qword [rbp - 0x70]
lea rcx, [rbp - 0x70]
call fcn.1400271e0
mov eax, ebx
jmp 0x14004276e
mov eax, 2
mov rcx, qword [rbp + 0x260]
xor rcx, rsp
call fcn.1401dd140
lea r11, [rsp + 0x370]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret