Function at 0x424793
Capabilities:
Enumerate files on windows

Disassembly:
push 0x308
mov eax, 0x61895a
call fcn.00429e48
mov dword [ebp - 0x310], ecx
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
push 0x250
mov dword [ebp - 0x30c], eax
lea eax, [ebp - 0x2f8]
push ebx
push eax
mov dword [ebp - 0x308], esi
mov dword [ebp - 0x314], edi
call fcn.0042af50
add esp, 0xc
mov dword [ebp - 0x300], ebx
lea eax, [ebp - 0x70]
push 0x6902ac
push esi
push eax
call fcn.00411bce
xor eax, eax
lea ecx, [ebp - 0x2f8]
mov dword [ebp - 4], eax
lea eax, [ebp - 0x70]
cmp dword [ebp - 0x5c], 8
push ecx
cmovae eax, dword [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x304], esi
cmp esi, 0xffffffff
jne 0x424834
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov dword [ebp - 0x300], ebx
push ebx
push str.StandaloneUpdaterInstallationRepair::ShallowCheckDirectoryForFile
push 0x7d
pop edx
call fcn.004240a6
mov eax, ebx
shr eax, 0x1f
xor al, 1
je 0x424a0e
mov ebx, dword [ebp - 0x308]
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x40]
call fcn.00411838
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00413018
test eax, eax
jne 0x4249a9
push 0x68d3d8
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.00411bce
mov ecx, eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x40]
cmp dword [ebp - 0x2c], 8
push dword [ebp - 0x30]
cmovae eax, dword [ebp - 0x40]
push eax
call fcn.00411b20
push eax
lea ecx, [ebp - 0x88]
call fcn.004137ee
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.0041395f
mov ecx, dword [ebp - 0x30c]
lea eax, [ebp - 0x88]
push eax
call fcn.00425806
push 0x68edd0
lea ecx, [ebp - 0x58]
call fcn.00411838
mov eax, dword [ebp - 0x310]
mov byte [ebp - 4], 5
mov edi, dword [eax + 0xc]
mov eax, dword [edi]
mov esi, dword [eax + 8]
mov ecx, esi
call dword [0x63a7a0]
mov ecx, edi
call esi
test al, al
je 0x42490a
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.004117d5
cmp dword [ebp - 0x44], 8
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x24], str.FileName
cmovae ecx, dword [ebp - 0x58]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x424940
lea edx, [ecx + 2]
xor esi, esi
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x42492f
sub ecx, edx
sar ecx, 1
jmp 0x424944
xor eax, eax
mov ecx, eax
push 1
push 2
push 1
push 0x2f9c59e3
push 0x68d384
push str.StandaloneUpdaterInstallationRepair::ShallowCheckDirectoryForFile
push 0x8f
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xa8]
push str.D:dbs_shodct0219_230508_0cmdwclientonedriveProductStandaloneUpdaterStandaloneUpdaterLibStandaloneUpdaterInstallationRepair.cpp
call fcn.00458a4c
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0045974a
call fcn.004594ba
lea ecx, [ebp - 0x58]
call fcn.0041395f
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.0041395f
mov esi, dword [ebp - 0x304]
mov edi, dword [ebp - 0x314]
lea eax, [ebp - 0x2f8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
setne byte [ebp - 0x2f9]
test eax, eax
jne 0x4249ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp ecx, 0x12
je 0x4249ee
movzx eax, cx
mov edx, 0x99
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
push eax
push str.StandaloneUpdaterInstallationRepair::ShallowCheckDirectoryForFile
call fcn.004241ad
xor eax, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], al
call fcn.0041395f
cmp byte [ebp - 0x2f9], 0
jne 0x424855
mov ebx, dword [ebp - 0x300]
cmp esi, 0xffffffff
je 0x424a1a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x70]
call fcn.0041395f
mov eax, ebx
call fcn.00429df7
ret 0xc