Function at 0x1400ba930
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x418
mov rax, qword [0x1408fa960]
xor rax, rsp
mov qword [rsp + 0x400], rax
mov dword [rsp + 0x20], 0
mov rax, qword [rsp + 0x420]
add rax, 0x38
mov qword [rsp + 0x98], rax
lea rdx, [rsp + 0x28]
mov rcx, qword [rsp + 0x98]
call fcn.140035cf0
jmp 0x1400ba997
lea rcx, [rsp + 0x28]
call fcn.14002d290
mov rax, qword [rsp + 0x420]
add rax, 0x38
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0xf8]
mov rcx, qword [rsp + 0xa0]
call fcn.140020530
mov rdx, rax
lea rcx, [rsp + 0x28]
call fcn.14001e940
movzx eax, al
test eax, eax
je 0x1400baef1
lea rcx, [rsp + 0x28]
call fcn.14001ea10
mov rcx, rax
call fcn.14000e130
mov qword [rsp + 0xa8], rax
lea rdx, [rsp + 0x170]
mov rcx, qword [rsp + 0xa8]
call fcn.140091e00
mov qword [rsp + 0xb0], rax
mov rax, qword [rsp + 0xb0]
mov qword [rsp + 0xb8], rax
mov eax, dword [rsp + 0x20]
or eax, 1
mov dword [rsp + 0x20], eax
mov rdx, qword [rsp + 0x430]
mov rcx, qword [rsp + 0xb8]
call fcn.140024f20
movzx eax, al
test eax, eax
je 0x1400baa71
lea rcx, [rsp + 0x28]
call fcn.14001ea10
mov rcx, rax
call fcn.14000e130
mov rcx, rax
call fcn.140092b50
movzx eax, al
test eax, eax
je 0x1400baa71
mov dword [rsp + 0x30], 1
jmp 0x1400baa79
mov dword [rsp + 0x30], 0
movzx eax, byte [rsp + 0x30]
mov byte [rsp + 0x24], al
mov eax, dword [rsp + 0x20]
and eax, 1
test eax, eax
je 0x1400baa9f
and dword [rsp + 0x20], 0xfffffffe
lea rcx, [rsp + 0x170]
call fcn.14000a800
movzx eax, byte [rsp + 0x24]
test eax, eax
je 0x1400baeec
lea rcx, [rsp + 0x130]
call fcn.14000a280
nop
lea rcx, [rsp + 0x28]
call fcn.14001ea10
mov rcx, rax
call fcn.14000e130
mov qword [rsp + 0xc0], rax
lea rdx, [rsp + 0x190]
mov rcx, qword [rsp + 0xc0]
call fcn.140091ea0
mov qword [rsp + 0xc8], rax
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0xd0], rax
mov rcx, qword [rsp + 0xd0]
call fcn.14000c690
mov rdx, rax
lea rcx, [rsp + 0x100]
call fcn.14001e490
lea r8, [rsp + 0x100]
lea rdx, str._Sdesign_srccommon__errmsg.kvg
lea rcx, [rsp + 0x130]
call fcn.140014cf0
nop
lea rcx, [rsp + 0x190]
call fcn.14000a800
lea rcx, [rsp + 0x130]
call fcn.14000c690
lea rdx, [rsp + 0x1b0]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x1400bab7d
mov dword [rsp + 0x34], 1
jmp 0x1400bab85
mov dword [rsp + 0x34], 0
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
je 0x1400bad3e
lea rdx, [rsp + 0x1dc]
lea rcx, [rsp + 0x110]
call fcn.1400179b0
nop
xor r8d, r8d
lea rdx, [0x1402fd3d8]
lea rcx, [rsp + 0x110]
call fcn.140036b80
mov rdx, rax
lea rcx, [rsp + 0x110]
call fcn.1400d7d40
lea rdx, [0x1402fd3f0]
lea rcx, [rsp + 0x110]
call fcn.14003a810
movzx eax, al
test eax, eax
je 0x1400bad15
mov ecx, 0x120
call fcn.14022273c
mov qword [rsp + 0x68], rax
cmp qword [rsp + 0x68], 0
je 0x1400bac79
movzx eax, byte [rsp + 0x440]
mov byte [rsp + 0x25], al
mov rax, qword [rsp + 0x420]
add rax, 0x468
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400bac4c
mov rax, qword [rsp + 0x58]
add rax, 0xc8
mov qword [rsp + 0x60], rax
jmp 0x1400bac55
mov qword [rsp + 0x60], 0
movzx r9d, byte [rsp + 0x25]
mov r8, qword [rsp + 0x60]
lea rdx, [rsp + 0x110]
mov rcx, qword [rsp + 0x68]
call fcn.140037970
mov qword [rsp + 0x70], rax
jmp 0x1400bac82
mov qword [rsp + 0x70], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0xd8], rax
mov rax, qword [rsp + 0xd8]
mov qword [rsp + 0x40], rax
mov rdx, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x40]
call fcn.140037f90
mov rdx, qword [rsp + 0x438]
mov rcx, qword [rsp + 0x40]
call fcn.1400d4410
lea rcx, [rsp + 0x28]
call fcn.14001ea10
mov rcx, rax
call fcn.14000e130
mov rcx, rax
call fcn.140092970
mov rdx, rax
mov rcx, qword [rsp + 0x40]
call fcn.1400d4470
mov rax, qword [rsp + 0x428]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0xe0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x428]
call qword [rsp + 0xe0]
lea rdx, [rsp + 0x1b0]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0x110]
call fcn.14000a800
jmp 0x1400bab8d
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x1400bad51
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, 0x120
call fcn.14022273c
mov qword [rsp + 0x88], rax
cmp qword [rsp + 0x88], 0
je 0x1400bae0f
movzx eax, byte [rsp + 0x440]
mov byte [rsp + 0x26], al
mov rax, qword [rsp + 0x420]
add rax, 0x468
mov rcx, rax
call fcn.140009d90
mov qword [rsp + 0x78], rax
cmp qword [rsp + 0x78], 0
je 0x1400badb6
mov rax, qword [rsp + 0x78]
add rax, 0xc8
mov qword [rsp + 0x80], rax
jmp 0x1400badc2
mov qword [rsp + 0x80], 0
lea rdx, [0x1402fd400]
lea rcx, [rsp + 0x150]
call fcn.1400179b0
nop
mov eax, dword [rsp + 0x20]
or eax, 2
mov dword [rsp + 0x20], eax
movzx r9d, byte [rsp + 0x26]
mov r8, qword [rsp + 0x80]
lea rdx, [rsp + 0x150]
mov rcx, qword [rsp + 0x88]
call fcn.140037970
mov qword [rsp + 0x90], rax
jmp 0x1400bae1b
mov qword [rsp + 0x90], 0
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0xe8], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x20]
and eax, 2
test eax, eax
je 0x1400bae55
and dword [rsp + 0x20], 0xfffffffd
lea rcx, [rsp + 0x150]
call fcn.14000a800
mov rdx, qword [rsp + 0x430]
mov rcx, qword [rsp + 0x50]
call fcn.140037f90
mov rdx, qword [rsp + 0x438]
mov rcx, qword [rsp + 0x50]
call fcn.1400d4410
lea rcx, [rsp + 0x28]
call fcn.14001ea10
mov rcx, rax
call fcn.14000e130
mov rcx, rax
call fcn.140092970
mov rdx, rax
mov rcx, qword [rsp + 0x50]
call fcn.1400d4470
mov rax, qword [rsp + 0x428]
mov rax, qword [rax]
mov rax, qword [rax + 8]
mov qword [rsp + 0xf0], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x428]
call qword [rsp + 0xf0]
nop
lea rcx, [rsp + 0x130]
call fcn.14000a800
jmp 0x1400baef1
jmp 0x1400ba98d
mov rcx, qword [rsp + 0x400]
xor rcx, rsp
call fcn.140222a60
add rsp, 0x418
ret