Function at 0x45391f
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4a0
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x104
mov dword [ebp - 0x488], eax
xor edi, edi
lea eax, [ebp - 0x108]
mov dword [ebp - 0x494], esi
push edi
push eax
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.004c37f0
push 0x140
lea eax, [ebp - 0x480]
push edi
push eax
call fcn.004c37f0
mov dword [ebp - 0x498], edi
xor eax, eax
mov dword [ebp - 0x48c], edi
lea edi, [ebp - 0x320]
stosd dword es:[edi], eax
push 0x104
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x330]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x310]
xor edi, edi
push edi
push eax
call fcn.004c37f0
add esp, 0x30
test ebx, ebx
je 0x454047
test esi, esi
je 0x454047
push ebx
call fcn.004cd280
pop ecx
test eax, eax
je 0x454047
push ebx
call fcn.004cd280
pop ecx
cmp eax, 0x104
jae 0x454047
push esi
call fcn.004cd280
pop ecx
test eax, eax
je 0x454047
push esi
call fcn.004cd280
pop ecx
cmp eax, 0x104
jae 0x454047
push ebx
call fcn.0041fc00
pop ecx
test eax, eax
jne 0x453a29
push esi
call fcn.0041fc00
pop ecx
test eax, eax
je 0x454047
push ebx
call fcn.0041fbe3
pop ecx
test eax, eax
jne 0x453a54
push 0x1e61
push ebx
call fcn.0041edcd
pop ecx
pop ecx
test eax, eax
jne 0x453a54
push ebx
call fcn.00421421
pop ecx
test eax, eax
jne 0x454047
push esi
call fcn.0041fbe3
pop ecx
test eax, eax
jne 0x453a7f
push 0x1e61
push esi
call fcn.0041edcd
pop ecx
pop ecx
test eax, eax
jne 0x453a7f
push esi
call fcn.00421421
pop ecx
test eax, eax
jne 0x454047
push ebx
push ebx
call fcn.004cd280
pop ecx
mov edx, 0x50e52c
mov ecx, 0x50eec0
cmp byte [eax + ebx - 1], 0x5c
lea eax, [ebp - 0x108]
cmove ecx, edx
push ecx
push eax
call fcn.00403dd1
push 0x2835
lea eax, [ebp - 0x320]
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push eax
call fcn.004b5bf0
lea eax, [ebp - 0x310]
push edi
push eax
call fcn.00451b3e
lea eax, [ebp - 0x310]
push eax
push esi
call fcn.0048dada
add esp, 0x28
mov dword [ebp - 0x4a0], eax
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x49c], eax
cmp eax, 0xffffffff
jne 0x453b20
cmp dword [ebp + 0x14], edi
je 0x454037
push dword [ebp + 0x18]
push edi
push dword [ebp - 0x488]
push ebx
push esi
call fcn.0045391f
add esp, 0x14
jmp 0x454049
mov edi, dword [ebp - 0x488]
cmp dword [ebp - 0x48c], 0
je 0x453b63
call fcn.004b729a
sub eax, dword [ebp - 0x498]
cmp eax, 0x1388
jbe 0x453b63
cmp dword [ebp + 0x18], 0
je 0x453b63
push dword [ebp + 0x18]
call fcn.004552b3
and dword [ebp - 0x48c], 0
mov eax, 0x3e8
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
lea eax, [ebp - 0x454]
push eax
push ebx
push ebx
call fcn.004cd280
pop ecx
mov ecx, str._s_s
cmp byte [eax + ebx - 1], 0x5c
mov eax, 0x4ea498
cmove ecx, eax
lea eax, [ebp - 0x108]
push ecx
push eax
call fcn.00403dd1
add esp, 0x10
lea eax, [ebp - 0x454]
push eax
push esi
push esi
call fcn.004cd280
pop ecx
mov ecx, str._s_s
cmp byte [eax + esi - 1], 0x5c
mov eax, 0x4ea498
cmove ecx, eax
lea eax, [ebp - 0x20c]
push ecx
push eax
call fcn.00403dd1
add esp, 0x10
cmp dword [ebp - 0x4a0], 0
je 0x453ce0
lea eax, [ebp - 0x330]
push eax
lea eax, [ebp - 0x46c]
push eax
call fcn.004b4f3c
push ecx
push ecx
mov edi, esp
lea esi, [ebp - 0x330]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x320]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004b5dfb
add esp, 0x20
test eax, eax
je 0x453cd4
sub esp, 0x10
lea esi, [ebp - 0x320]
mov edi, esp
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x330]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004b715e
add esp, 0x20
cmp eax, 0x927c0
jle 0x453cd4
lea esi, [ebp - 0x320]
sub esp, 0x10
lea edi, [ebp - 0x340]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x320]
sub esp, 0x10
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x330]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.004b715e
mov esi, eax
xor eax, eax
mov dword [ebp - 0x336], eax
lea eax, [ebp - 0x46c]
push eax
lea eax, [ebp - 0x340]
push eax
call fcn.004b663f
xor ecx, ecx
lea eax, [ebp - 0x46c]
push ecx
push ecx
push eax
push ecx
push ecx
lea eax, [ebp - 0x108]
push eax
call fcn.00421ed4
mov eax, esi
mov ecx, 0x3e8
cdq
add esp, 0x40
idiv ecx
push eax
call fcn.004b6573
push eax
lea eax, [ebp - 0x108]
push eax
push str.:2:TIME_DISCREPANCY__SyncFolders___had_to_adjust_the_timestamp_of___s__back_by__s_to_match_the_server_time_
call fcn.0041c80a
add esp, 0x10
mov esi, dword [ebp - 0x494]
mov edi, dword [ebp - 0x488]
push edi
lea eax, [ebp - 0x480]
push esi
push eax
call fcn.0044ac0e
add esp, 0xc
test eax, eax
je 0x453ff9
lea eax, [ebp - 0x454]
push eax
push str._n__Syncing__s...
call fcn.004560e6
cmp dword [ebp - 0x48c], 0
pop ecx
pop ecx
jne 0x453d3b
push 0x287e
push str.C:UsersOfficeDocumentsVisual_StudioPAULANetwork.c
push dword [ebp + 0x18]
call fcn.0044f4b7
add esp, 0xc
mov dword [ebp - 0x48c], eax
call fcn.004b729a
mov dword [ebp - 0x498], eax
push 0x120
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x453da2
lea eax, [ebp - 0x108]
push eax
call fcn.00421421
pop ecx
test eax, eax
jne 0x453da2
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x120
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x453da2
push str._GetLastError_
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x14]
push edi
push esi
push ebx
push str.:6:SyncFolders___s_____s_____s____d__encountered_a_problem:_SetFileAttributes___s___FILE_ATTRIBUTE_COPY_PENDING__FILE_ATTRIBUTE_ARCHIVE__FAILED:__s
call fcn.0041c80a
add esp, 0x1c
push 0x120
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x453e1a
lea eax, [ebp - 0x20c]
push eax
call fcn.00421421
pop ecx
test eax, eax
jne 0x453e1a
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fc00
pop ecx
test eax, eax
je 0x453e1a
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x120
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x453e1a
push str._GetLastError_
lea eax, [ebp - 0x20c]
push eax
push dword [ebp + 0x14]
push edi
push esi
push ebx
push str.:6:SyncFolders___s_____s_____s____d__encountered_a_problem:_SetFileAttributes___s___FILE_ATTRIBUTE_COPY_PENDING__FILE_ATTRIBUTE_ARCHIVE__FAILED:__s
call fcn.0041c80a
add esp, 0x1c
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0041e753
add esp, 0xc
mov dword [ebp - 0x490], eax
test eax, eax
jne 0x453e8f
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
call fcn.0041e753
add esp, 0xc
mov dword [ebp - 0x490], eax
test eax, eax
jne 0x453e8f
push str._GetLastError_
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x14]
push edi
push esi
push ebx
push str.:6:SyncFolders___s_____s_____s____d__encountered_a_problem:_CopyFileWithDates___s_____s___FAILED:__s
call fcn.0041c80a
add esp, 0x20
push 0x20
pop eax
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x453f1e
lea eax, [ebp - 0x108]
push eax
call fcn.00421421
pop ecx
test eax, eax
jne 0x453f1e
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20
pop eax
push eax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x453f1e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x108]
push eax
call fcn.0041fc00
pop ecx
push dword [ebp - 0x484]
test eax, eax
lea eax, [ebp - 0x108]
push str._GetLastError_
push eax
push dword [ebp + 0x14]
push edi
push esi
push ebx
je 0x453f11
push str.:6:SyncFolders___s_____s_____s____d__encountered_a_problem:_SetFileAttributes___s___FILE_ATTRIBUTE_ARCHIVE__FAILED_to_RESET_the_source_files_attributes___NOTE_the_file_DOES_exist:__s_ld
jmp 0x453f16
push str.:6:SyncFolders___s_____s_____s____d__encountered_a_problem:_SetFileAttributes___s___FILE_ATTRIBUTE_ARCHIVE__FAILED_to_RESET_the_source_files_attributes___NOTE_the_file_DOES_NOT_exist:__s_ld
call fcn.0041c80a
add esp, 0x20
cmp dword [ebp - 0x490], 0
mov eax, 0x122
push 0x20
pop ecx
cmovne eax, ecx
push eax
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x453fe3
lea eax, [ebp - 0x20c]
push eax
call fcn.00421421
pop ecx
test eax, eax
jne 0x453fe3
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fc00
pop ecx
test eax, eax
je 0x453fe3
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push dword [ebp - 0x484]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x453fe3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x490], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.0041fc00
pop ecx
push dword [ebp - 0x490]
test eax, eax
lea eax, [ebp - 0x20c]
push str._GetLastError_
push dword [ebp - 0x484]
push eax
push dword [ebp + 0x14]
push edi
push esi
push ebx
je 0x453fd6
push str.:6:SyncFolders___s_____s_____s____d__encountered_a_problem:_SetFileAttributes___s____ld__FAILED_to_RESET_the_dest_files_attributes__NOTE_the_file_DOES_exist:__s_ld
jmp 0x453fdb
push str.:6:SyncFolders___s_____s_____s____d__encountered_a_problem:_SetFileAttributes___s____ld__FAILED_to_RESET_the_dest_files_attributes__NOTE_the_file_DOES_NOT_exist:__s_ld
call fcn.0041c80a
add esp, 0x24
test byte [ebp - 0x484], 2
je 0x453ff9
lea eax, [ebp - 0x20c]
push eax
call fcn.004208fc
pop ecx
lea eax, [ebp - 0x480]
push eax
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x453b26
cmp dword [ebp - 0x48c], eax
je 0x454025
push dword [ebp + 0x18]
call fcn.004552b3
pop ecx
push dword [ebp - 0x49c]
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 0x14], 0
jne 0x45403c
xor eax, eax
inc eax
jmp 0x454049
push dword [ebp + 0x18]
push 0
push edi
jmp 0x453b11
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret