Function at 0x140099620
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1403aa6c8]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov qword [rsp + 0x30], rdx
mov rbx, rcx
mov rcx, qword [rcx]
mov rax, qword [rbx + 8]
sub rax, rcx
sar rax, 3
cmp rax, 1
jne 0x14009a029
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x40]
test al, al
je 0x14009a029
mov rax, qword [rbx]
mov rcx, qword [rax]
mov rax, qword [rcx]
lea rdx, [rsp + 0x38]
call qword [rax + 0x98]
nop
mov rdx, qword [rax + 8]
test rdx, rdx
je 0x1400996cb
mov r8, qword [rdx + 8]
test r8, r8
je 0x1400996cb
mov rdx, qword [rdx]
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov esi, 7
mov qword [rbp - 0x70], rsi
mov word [rsp + 0x78], bx
lea rcx, [rsp + 0x78]
call fcn.140082e10
jmp 0x1400996df
xor ebx, ebx
mov qword [rbp - 0x78], rbx
mov esi, 7
mov qword [rbp - 0x70], rsi
mov word [rsp + 0x78], bx
lea rax, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14009971a
cmp byte [rsp + 0x48], 0
je 0x140099710
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, qword [rsp + 0x40]
call fcn.140229774
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x48], 0
lea rcx, [rsp + 0x78]
call fcn.140097290
lea rcx, [rsp + 0x78]
cmp rcx, rax
je 0x140099749
mov rdx, rax
cmp qword [rax + 0x18], 8
jb 0x14009973b
mov rdx, qword [rax]
mov r8, qword [rax + 0x10]
lea rcx, [rsp + 0x78]
call fcn.140082e10
mov r8, qword [rbp - 0x78]
test r8, r8
jne 0x14009975b
lea edi, [r8 + 2]
jmp 0x140099fe1
mov qword [rbp - 0x18], rbx
mov qword [rbp - 0x10], rsi
mov word [rbp - 0x28], bx
mov qword [rbp - 0x38], rbx
mov r14, rsi
mov qword [rbp - 0x30], rsi
mov word [rbp - 0x48], bx
xor r13b, r13b
mov byte [rsp + 0x21], r13b
xor r12b, r12b
mov byte [rsp + 0x20], r12b
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
lea r8, [rcx + r8*2]
lea rcx, [rsp + 0x78]
cmovae rcx, qword [rsp + 0x78]
cmp rcx, r8
je 0x1400997c2
mov eax, 0x5c
nop
cmp word [rcx], 0x2f
jne 0x1400997b9
mov word [rcx], ax
add rcx, 2
cmp rcx, r8
jne 0x1400997b0
mov r8d, 2
lea rdx, [0x1402452f0]
lea rcx, [rsp + 0x78]
call fcn.1400964e0
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
lea rdx, [rbp + 0x40]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x28], rax
cmp rax, 0xffffffffffffffff
je 0x140099f50
movabs r14, 0x7ffffffffffffffe
mov rdi, rax
nop
movzx ecx, word [rbp + 0x6c]
movzx eax, word [rbp + 0x6e]
cmp cx, 0x2e
jne 0x14009983c
test ax, ax
je 0x140099d5d
cmp cx, cx
jne 0x14009983c
cmp ax, cx
jne 0x14009983c
cmp word [rbp + 0x70], 0
je 0x140099d5d
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
mov word [rsp + 0x38], bx
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x58], bx
lea rax, [rbp + 0x6c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140099865
lea rdx, [rbp + 0x6c]
lea rcx, [rsp + 0x58]
call fcn.140082e10
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x58]
call fcn.140097c80
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x1400998d1
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400998cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140099ddb
call fcn.140229774
test byte [rbp + 0x40], 0x10
je 0x140099af3
test r13b, r13b
je 0x1400998f8
mov r8d, 1
lea rdx, [0x1402452c4]
lea rcx, [rbp - 0x28]
call fcn.1400964e0
jmp 0x1400998fd
mov byte [rsp + 0x21], 1
mov rax, r14
mov r15, qword [rsp + 0x48]
sub rax, r15
cmp rax, 1
jb 0x14009a064
lea r13, [rsp + 0x38]
mov r14, qword [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r13, r14
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea r12, [r15 + 1]
mov rdi, rsi
lea rsi, [rsp + 0x58]
cmp r12, 7
jbe 0x1400999db
mov rdi, r12
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x140099968
mov rdi, rax
mov rcx, 0xfffffffffffffffe
jmp 0x140099998
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14009a05e
add rcx, rcx
cmp rcx, 0x1000
jb 0x1400999c4
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14009a05e
mov rcx, rax
call fcn.140229738
test rax, rax
je 0x140099aec
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x1400999d6
test rcx, rcx
je 0x1400999d3
call fcn.140229738
mov rsi, rax
jmp 0x1400999d6
mov rsi, rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rdi
mov eax, 0x22
mov word [rsi], ax
lea rcx, [rsi + 2]
lea r8, [r15 + r15]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + r12*2], bx
mov r8d, 1
lea rdx, [0x14024523c]
lea rcx, [rsp + 0x58]
call fcn.1400964e0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
mov qword [rax + 0x10], rbx
mov esi, 7
mov qword [rax + 0x18], rsi
mov word [rax], bx
lea rdx, [rbp - 8]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 8
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x28]
call fcn.1400964e0
nop
mov rdx, qword [rbp + 0x10]
cmp rdx, 8
jb 0x140099aa7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099aa1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140099de2
call fcn.140229774
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140099d02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099cfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099cfc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test r12b, r12b
je 0x140099b10
mov r8d, 1
lea rdx, [0x1402452c4]
lea rcx, [rbp - 0x48]
call fcn.1400964e0
jmp 0x140099b15
mov byte [rsp + 0x20], 1
mov rax, r14
mov r15, qword [rsp + 0x48]
sub rax, r15
cmp rax, 1
jb 0x14009a058
lea r13, [rsp + 0x38]
mov r14, qword [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r13, r14
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rbx
lea r12, [r15 + 1]
mov rdi, rsi
lea rsi, [rsp + 0x58]
cmp r12, 7
jbe 0x140099bf3
mov rdi, r12
or rdi, 7
movabs rax, 0x7ffffffffffffffe
cmp rdi, rax
jbe 0x140099b80
mov rdi, rax
mov rcx, 0xfffffffffffffffe
jmp 0x140099bb0
cmp rdi, 0xa
mov eax, 0xa
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14009a06a
add rcx, rcx
cmp rcx, 0x1000
jb 0x140099bdc
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14009a06a
mov rcx, rax
call fcn.140229738
test rax, rax
je 0x140099df0
lea rsi, [rax + 0x27]
and rsi, 0xffffffffffffffe0
mov qword [rsi - 8], rax
jmp 0x140099bee
test rcx, rcx
je 0x140099beb
call fcn.140229738
mov rsi, rax
jmp 0x140099bee
mov rsi, rbx
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], rdi
mov eax, 0x22
mov word [rsi], ax
lea rcx, [rsi + 2]
lea r8, [r15 + r15]
mov rdx, r13
call sub.VCRUNTIME140.dll_memcpy
mov word [rsi + r12*2], bx
mov r8d, 1
lea rdx, [0x14024523c]
lea rcx, [rsp + 0x58]
call fcn.1400964e0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], rbx
mov esi, 7
mov qword [rax + 0x18], rsi
mov word [rax], bx
lea rdx, [rbp + 0x18]
movq rcx, xmm0
movdqa xmm0, xmm1
psrldq xmm0, 8
movq rax, xmm0
cmp rax, 8
cmovae rdx, rcx
movq r8, xmm1
lea rcx, [rbp - 0x48]
call fcn.1400964e0
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 8
jb 0x140099cbf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099cb9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140099de9
call fcn.140229774
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 8
jb 0x140099d02
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099cfc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140099df0
call fcn.140229774
nop
mov rax, qword [rsp + 0x50]
cmp rax, 8
jb 0x140099d42
lea rdx, [rax*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x140099d3a
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140099f2e
mov rcx, r14
call fcn.140229774
movabs r14, 0x7ffffffffffffffe
mov rdi, qword [rsp + 0x28]
movzx r13d, byte [rsp + 0x21]
movzx r12d, byte [rsp + 0x20]
lea rdx, [rbp + 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140099810
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rsi
mov word [rbp - 0x68], bx
mov r8d, 1
lea rdx, [0x140245258]
lea rcx, [rbp - 0x68]
call fcn.140082e10
nop
test r13b, r13b
je 0x140099df7
lea rdx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rdx, qword [rbp - 0x28]
mov r8, qword [rbp - 0x18]
lea rcx, [rbp - 0x68]
call fcn.1400964e0
test r12b, r12b
je 0x140099e17
mov r8d, 1
lea rdx, [0x1402452c4]
lea rcx, [rbp - 0x68]
call fcn.1400964e0
jmp 0x140099dfc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
test r12b, r12b
je 0x140099e17
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
mov r8, qword [rbp - 0x38]
lea rcx, [rbp - 0x68]
call fcn.1400964e0
mov r8d, 1
lea rdx, [0x1402452c8]
lea rcx, [rbp - 0x68]
call fcn.1400964e0
lea rdi, vtable.CefStringBase_struct_CefStringTraitsUTF16_.0
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x48], 0
cmp qword [rbp - 0x58], 0
je 0x140099e8d
mov ecx, 0x18
call fcn.140229738
mov qword [rsp + 0x40], rax
xorps xmm0, xmm0
xor ecx, ecx
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rcx
mov byte [rsp + 0x48], 1
lea rcx, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae rcx, qword [rbp - 0x68]
mov r9d, 1
mov r8, qword [rsp + 0x40]
mov rdx, qword [rbp - 0x58]
call sub.libcef.dll_cef_string_utf16_set
nop
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x28]
call fcn.140002a70
nop
mov rdx, rax
mov rcx, qword [rsp + 0x30]
call fcn.1400612e0
nop
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140099ecb
mov rcx, qword [rax + 8]
movsxd rdx, dword [rcx + 4]
lea rcx, [rax + 8]
add rcx, rdx
mov rax, qword [rcx]
call qword [rax + ioctlsocket]
nop
mov qword [rsp + 0x38], rdi
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140099ef5
cmp byte [rsp + 0x48], 0
je 0x140099ef5
call sub.libcef.dll_cef_string_utf16_clear
mov edx, 0x18
mov rcx, qword [rsp + 0x40]
call fcn.140229774
mov edi, ebx
mov rdx, qword [rbp - 0x50]
cmp rdx, 8
jb 0x140099f3a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099f35
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099f35
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rsi
mov word [rbp - 0x68], bx
mov rsi, qword [rbp - 0x10]
mov r14, qword [rbp - 0x30]
jmp 0x140099f61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
mov dl, 1
call fcn.1400974e0
mov edi, eax
cmp r14, 8
jb 0x140099fa1
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099f9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099f9b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
nop
cmp rsi, 8
jb 0x140099fe1
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp - 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140099fdb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140099fdb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
nop
mov rdx, qword [rbp - 0x70]
cmp rdx, 8
jb 0x14009a025
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009a020
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009a020
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140229774
mov eax, edi
jmp 0x14009a02e
mov eax, 2
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140229810
mov rbx, qword [rsp + 0x3f0]
add rsp, 0x3a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140054bf0
nop
call fcn.140054bd0
int3
call fcn.140054bf0
int3
call fcn.140054bd0
int3