Function at 0x4229f3
Capabilities:
Enumerate files on windows

Disassembly:
push 0x308
mov eax, 0x61020a
call fcn.00429868
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.0042a970
add esp, 0xc
mov dword [ebp - 0x300], ebx
lea eax, [ebp - 0x70]
push 0x684cc4
push esi
push eax
call fcn.00411db1
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 0x422a94
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.00422286
mov eax, ebx
shr eax, 0x1f
xor al, 1
je 0x422c6e
mov ebx, dword [ebp - 0x308]
lea eax, [ebp - 0x2cc]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040ad69
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.00413179
test eax, eax
jne 0x422c09
push 0x682610
push ebx
lea eax, [ebp - 0x28]
push eax
call fcn.00411db1
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.00411d08
push eax
lea ecx, [ebp - 0x88]
call fcn.00413889
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call fcn.00413b5a
mov ecx, dword [ebp - 0x30c]
lea eax, [ebp - 0x88]
push eax
call fcn.00423a76
push 0x6837f0
lea ecx, [ebp - 0x58]
call fcn.0040ad69
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 [0x6317ac]
mov ecx, edi
call esi
test al, al
je 0x422b6a
lea eax, [ebp - 0x88]
push eax
lea ecx, [ebp - 0x58]
call fcn.00411996
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 0x422ba0
lea edx, [ecx + 2]
xor esi, esi
mov ax, word [ecx]
add ecx, 2
cmp ax, si
jne 0x422b8f
sub ecx, edx
sar ecx, 1
jmp 0x422ba4
xor eax, eax
mov ecx, eax
push 1
push 2
push 1
push 0x2f9c59e3
push 0x6825bc
push str.StandaloneUpdaterInstallationRepair::ShallowCheckDirectoryForFile
push 0x8f
mov dword [ebp - 0x18], ecx
lea ecx, [ebp - 0xa8]
push str.D:dbs_shodct0202_162706cmdcclientonedriveProductStandaloneUpdaterStandaloneUpdaterLibStandaloneUpdaterInstallationRepair.cpp
call fcn.004591ec
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0045a999
call fcn.0045a6b3
lea ecx, [ebp - 0x58]
call fcn.00413b5a
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 1
call fcn.00413b5a
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 0x422c4e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp ecx, 0x12
je 0x422c4e
movzx eax, cx
mov edx, 0x99
or eax, 0x80070000
test ecx, ecx
cmovle eax, ecx
push eax
push str.StandaloneUpdaterInstallationRepair::ShallowCheckDirectoryForFile
call fcn.0042238d
xor eax, eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], al
call fcn.00413b5a
cmp byte [ebp - 0x2f9], 0
jne 0x422ab5
mov ebx, dword [ebp - 0x300]
cmp esi, 0xffffffff
je 0x422c7a
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, [ebp - 0x70]
call fcn.00413b5a
mov eax, ebx
call fcn.00429817
ret 0xc