Function at 0x1400081c0
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x9f0
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rbp
mov rax, qword [0x14012df80]
xor rax, rsp
mov qword [rsp + 0x9e0], rax
mov rbx, rdx
mov r12, rcx
mov qword [rsp + 0x20], rdx
lea r9, str.lpszItemName_s
lea r8, str.IsConditionFileExist
lea rdx, [0x1400fb2f8]
mov rcx, qword [rcx]
call fcn.140081070
mov r13d, 1
mov edi, r13d
xor esi, esi
mov dword [rsp + 0x30], esi
lea rcx, [rsp + 0x38]
call fcn.1400aa430
nop
lea r14, method.CPtrArray.virtual_0
mov qword [rsp + 0x38], r14
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
movzx r9d, word [r12 + 0x26]
mov r8, rbx
mov rdx, qword [r12 + 0x30]
mov rcx, qword [r12 + 0x18]
call fcn.14006e6b0
test eax, eax
je 0x1400083dc
cmp dword [rsp + 0x30], esi
jne 0x14000833b
mov edi, esi
mov rbx, rsi
mov rax, qword [rsp + 0x48]
test rax, rax
jle 0x1400085ed
nop
nop
test edi, edi
jne 0x1400083dc
test rbx, rbx
js 0x1400082d2
cmp rbx, rax
jge 0x1400082d2
test rbx, rbx
js 0x140008335
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + rbx*8]
jmp 0x1400082d5
mov rcx, rsi
mov edi, esi
lea rdx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000831e
nop
test byte [rsp + 0xa0], 0x10
cmove edi, r13d
lea rdx, [rsp + 0xa0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140008315
test edi, edi
je 0x1400082f0
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
add rbx, 1
mov rax, qword [rsp + 0x48]
cmp rbx, rax
jge 0x1400083d4
jmp 0x1400082b0
call fcn.1400a0610
int3
mov rbx, rsi
mov rax, qword [rsp + 0x48]
test rax, rax
jle 0x1400083dc
nop
cmp edi, 1
jne 0x1400083d4
test rbx, rbx
js 0x14000836f
cmp rbx, rax
jge 0x14000836f
test rbx, rbx
js 0x1400083ce
mov rax, qword [rsp + 0x40]
mov rcx, qword [rax + rbx*8]
jmp 0x140008372
mov rcx, rsi
mov edi, esi
lea rdx, [rsp + 0x540]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400083be
nop
nop
test byte [rsp + 0x540], 0x10
cmove edi, r13d
lea rdx, [rsp + 0x540]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400083b5
test edi, edi
je 0x140008390
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
add rbx, 1
mov rax, qword [rsp + 0x48]
cmp rbx, rax
jge 0x1400083d4
jmp 0x140008350
call fcn.1400a0610
int3
test edi, edi
je 0x1400085ed
lea rcx, [rsp + 0x68]
call fcn.1400aa430
nop
mov qword [rsp + 0x68], r14
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov qword [rsp + 0x90], rax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
movzx r9d, word [r12 + 0x26]
xor r8d, r8d
mov rdx, qword [r12 + 0x30]
mov rcx, qword [r12 + 0x18]
call fcn.14006e6b0
test eax, eax
je 0x140008574
cmp dword [rsp + 0x30], 0
jne 0x1400084d9
mov edi, esi
mov rbx, rsi
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jle 0x140008579
test edi, edi
jne 0x140008579
test rbx, rbx
js 0x140008475
cmp rbx, rcx
jge 0x140008475
test rbx, rbx
js 0x1400084d3
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + rbx*8]
jmp 0x140008478
mov rcx, rsi
mov edi, esi
lea rdx, [rsp + 0x2f0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x1400084bf
test byte [rsp + 0x2f0], 0x10
cmove edi, r13d
lea rdx, [rsp + 0x2f0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x1400084b6
test edi, edi
je 0x140008491
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
add rbx, 1
mov rcx, qword [rsp + 0x78]
cmp rbx, rcx
jge 0x140008579
jmp 0x140008453
call fcn.1400a0610
int3
mov rbx, rsi
mov rcx, qword [rsp + 0x78]
test rcx, rcx
jle 0x140008579
nop
nop
cmp edi, 1
jne 0x140008579
test rbx, rbx
js 0x140008513
cmp rbx, rcx
jge 0x140008513
test rbx, rbx
js 0x14000856e
mov rax, qword [rsp + 0x70]
mov rcx, qword [rax + rbx*8]
jmp 0x140008516
mov rcx, rsi
mov edi, esi
lea rdx, [rsp + 0x790]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x14000855e
nop
test byte [rsp + 0x790], 0x10
cmove edi, r13d
lea rdx, [rsp + 0x790]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
je 0x140008555
test edi, edi
je 0x140008530
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
add rbx, 1
mov rcx, qword [rsp + 0x78]
cmp rbx, rcx
jge 0x140008579
jmp 0x1400084f0
call fcn.1400a0610
int3
mov rcx, qword [rsp + 0x78]
mov qword [rsp + 0x68], r14
test rcx, rcx
jle 0x1400085d4
mov rbx, rsi
test rbx, rbx
js 0x1400085ce
cmp rbx, rcx
jge 0x1400085ce
mov rax, qword [rsp + 0x70]
mov r8, qword [rax + rbx*8]
test r8, r8
je 0x1400085b3
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x78]
add rbx, 1
cmp rbx, rcx
jl 0x140008586
or r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.1400aa464
jmp 0x1400085d4
call fcn.1400a0610
int3
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
nop
lea rcx, [rsp + 0x68]
call fcn.1400aa450
mov dword [rsp + 0x20], edi
lea r9, [0x1400fb428]
lea r8, str.IsConditionFileExist
lea rdx, [0x1400fb2f8]
mov rcx, qword [r12]
call fcn.140081270
nop
mov qword [rsp + 0x38], r14
mov rcx, qword [rsp + 0x48]
test rcx, rcx
jle 0x14000866b
nop
test rsi, rsi
js 0x140008665
cmp rsi, rcx
jge 0x140008665
mov rax, qword [rsp + 0x40]
mov r8, qword [rax + rsi*8]
test r8, r8
je 0x14000864a
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rsp + 0x48]
add rsi, 1
cmp rsi, rcx
jl 0x140008620
or r8, 0xffffffffffffffff
xor edx, edx
lea rcx, [rsp + 0x38]
call fcn.1400aa464
jmp 0x14000866b
call fcn.1400a0610
int3
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_HeapDestroy]
nop
lea rcx, [rsp + 0x38]
call fcn.1400aa450
mov eax, edi
mov rcx, qword [rsp + 0x9e0]
xor rcx, rsp
call fcn.1400cd6e0
lea r11, [rsp + 0x9f0]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret