Function at 0x140021900
Capabilities:
Enumerate files on windows

Disassembly:
push rbx
push rsi
push r13
push r14
sub rsp, 0x608
mov rax, qword [0x140188050]
xor rax, rsp
mov qword [rsp + 0x5f0], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x2c0]
mov r8d, 0x104
xor r14d, r14d
call fcn.1400082a0
xor edx, edx
lea rcx, [rsp + 0x3d0]
mov r8d, 0x104
call fcn.1400082a0
xor r9d, r9d
mov qword [rsp + 0x20], r14
mov edx, 0x104
lea r8d, [r14 + 2]
lea rcx, [rsp + 0x2c0]
call fcn.140006c30
lea rcx, [rsp + 0x2c0]
call fcn.140022200
lea r13, [0x140137680]
mov ecx, 0x104
mov r9, r13
lea r8, [0x140137684]
lea rdx, [rsp + 0x3d0]
call fcn.140022440
mov ecx, 0x104
call fcn.140008f40
mov rbx, rax
test rax, rax
je 0x140021c63
xor edx, edx
mov qword [rsp + 0x638], rbp
mov r8d, 0x104
mov rcx, rax
call fcn.1400082a0
lea rax, [rsp + 0x3d0]
mov ecx, 0x104
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x2c0]
lea rax, [0x140137674]
lea r8, [0x140137678]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x4e0]
call fcn.140022440
lea rdx, [rsp + 0x180]
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140021c4e
mov qword [rsp + 0x648], r12
lea r8, [rsp + 0x1ac]
or r9, 0xffffffffffffffff
mov qword [rsp + 0x600], r15
mov edx, 0x104
mov rcx, rbx
call fcn.140009db0
lea r15, str.Loading_DV__s_n
mov qword [rsp + 0x640], rdi
lea r12, str.Done_loading_DV__s_n
nop dword [rax + rax]
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call fcn.1400082a0
cmp dword [0x140189598], r14d
jne 0x140021be1
mov edx, 0x104
mov rcx, rbx
call fcn.14000d820
mov rcx, rax
add rax, 0xfffffffffffffffc
cmp rax, 0xff
ja 0x140021ba9
mov byte [rbx + rcx - 3], r14b
cmp dword [reloc.WSOCK32.dll_accept], 3
jl 0x140021af8
test dword [0x1401877cf], 0x400000
je 0x140021af8
mov qword [rsp + 0x30], rbx
lea r9, str.........ESIF_LIBSourcesesif_lib_databank.c
mov qword [rsp + 0x28], r15
lea r8, str.DataBank_LoadFileDataVaults
mov edx, 3
mov dword [rsp + 0x20], 0x14c
mov ecx, 0x400000
call fcn.140008b60
mov rdx, rbx
mov rcx, rsi
call fcn.140003af0
test rax, rax
jne 0x140021b65
mov rdx, rbx
mov rcx, rsi
call fcn.1400049d0
mov rdi, rax
test rax, rax
je 0x140021b65
lea r9, [rax + 0x14]
mov qword [rsp + 0x20], r13
mov edx, 0x104
lea rcx, [rsp + 0x40]
mov r8d, 2
call fcn.140006c30
mov rcx, qword [rdi + 0x7c]
lea r8, [0x14013771c]
lea rdx, [rsp + 0x40]
call fcn.140006080
mov rcx, rdi
call fcn.140009960
test eax, eax
je 0x140021b65
mov rdx, rbx
mov rcx, rsi
call fcn.140001bb0
cmp dword [reloc.WSOCK32.dll_accept], 3
jl 0x140021ba9
test dword [0x1401877cf], 0x400000
je 0x140021ba9
mov qword [rsp + 0x30], rbx
lea r9, str.........ESIF_LIBSourcesesif_lib_databank.c
mov qword [rsp + 0x28], r12
lea r8, str.DataBank_LoadFileDataVaults
mov edx, 3
mov dword [rsp + 0x20], 0x159
mov ecx, 0x400000
call fcn.140008b60
lea rdx, [rsp + 0x40]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
je 0x140021bd6
or r9, 0xffffffffffffffff
lea r8, [rsp + 0x6c]
mov edx, 0x104
mov rcx, rbx
call fcn.140009db0
jmp 0x140021a70
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x140021c36
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [reloc.WSOCK32.dll_accept], 3
jl 0x140021c30
test dword [0x1401877cf], 0x400000
je 0x140021c30
lea rax, str.Pausing_DV_loading_n
mov edx, 3
mov qword [rsp + 0x28], rax
lea r9, str.........ESIF_LIBSourcesesif_lib_databank.c
lea r8, str.DataBank_LoadFileDataVaults
mov dword [rsp + 0x20], 0x143
mov ecx, 0x400000
call fcn.140008b60
mov r14d, 0x68
mov rdi, qword [rsp + 0x640]
mov r12, qword [rsp + 0x648]
mov r15, qword [rsp + 0x600]
mov rcx, rbx
call fcn.140006db0
mov rbp, qword [rsp + 0x638]
mov eax, r14d
jmp 0x140021c68
mov eax, 0x708
mov rcx, qword [rsp + 0x5f0]
xor rcx, rsp
call fcn.14000d260
add rsp, 0x608
pop r14
pop r13
pop rsi
pop rbx
ret