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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4b8
mov eax, dword [0x5385d0]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov dword [ebp - 0x46c], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x468], eax
mov eax, dword [ebp + 0x10]
mov esi, 0x103
xor ebx, ebx
push esi
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x113]
push ebx
push eax
mov byte [ebp - 0x114], bl
call fcn.004b7880
add esp, 0xc
push esi
lea eax, [ebp - 0x21b]
push ebx
push eax
mov byte [ebp - 0x21c], bl
call fcn.004b7880
add esp, 0xc
push 0x13c
lea eax, [ebp - 0x460]
push ebx
push eax
mov dword [ebp - 0x464], ebx
call fcn.004b7880
xor eax, eax
mov word [ebp - 0x494], bx
lea edi, [ebp - 0x492]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
xor eax, eax
mov word [ebp - 0x4a4], bx
lea edi, [ebp - 0x4a2]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
push esi
stosw word es:[edi], ax
lea eax, [ebp - 0x323]
push ebx
push eax
mov dword [ebp - 0x480], ebx
mov dword [ebp - 0x478], ebx
mov byte [ebp - 0x324], bl
call fcn.004b7880
mov esi, dword [ebp - 0x46c]
add esp, 0xc
cmp esi, ebx
je 0x449b98
cmp dword [ebp - 0x468], ebx
je 0x449b98
push esi
call fcn.004b68f0
test eax, eax
pop ecx
jbe 0x449b98
push esi
call fcn.004b68f0
mov edi, 0x104
cmp eax, edi
pop ecx
jae 0x449b98
push dword [ebp - 0x468]
call fcn.004b68f0
test eax, eax
pop ecx
jbe 0x449b98
push dword [ebp - 0x468]
call fcn.004b68f0
cmp eax, edi
pop ecx
jae 0x449b98
mov edi, esi
call fcn.0041c5ff
test eax, eax
jne 0x4495ab
mov edi, dword [ebp - 0x468]
call fcn.0041c5ff
test eax, eax
je 0x449b98
push esi
call fcn.0041c6ac
test eax, eax
pop ecx
mov edi, 0x1e61
jne 0x4495d7
push edi
mov ecx, esi
call fcn.0041c9b8
test eax, eax
pop ecx
jne 0x4495d7
mov eax, esi
call fcn.0041cb6d
test eax, eax
jne 0x449b98
push dword [ebp - 0x468]
call fcn.0041c6ac
test eax, eax
pop ecx
jne 0x44960b
mov ecx, dword [ebp - 0x468]
push edi
call fcn.0041c9b8
test eax, eax
pop ecx
jne 0x44960b
mov eax, dword [ebp - 0x468]
call fcn.0041cb6d
test eax, eax
jne 0x449b98
push esi
call fcn.004b68f0
cmp byte [eax + esi - 1], 0x5c
pop ecx
push esi
lea eax, [ebp - 0x114]
jne 0x449627
push 0x4fb1c4
jmp 0x44962c
push 0x4fbb40
push eax
call fcn.004b77ce
add esp, 0xc
push 0x2831
lea eax, [ebp - 0x494]
push str..Network.c
push eax
call fcn.004a77ec
add esp, 0xc
push ebx
lea edi, [ebp - 0x324]
call fcn.0044489e
pop ecx
mov eax, edi
push eax
push dword [ebp - 0x468]
call fcn.0047f83d
pop ecx
mov edi, eax
pop ecx
neg edi
lea eax, [ebp - 0x464]
push eax
sbb edi, edi
lea eax, [ebp - 0x114]
neg edi
push eax
mov dword [ebp - 0x484], edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0x47c], eax
jne 0x4496c9
cmp dword [ebp + 0x14], ebx
jne 0x4496a5
xor eax, eax
inc eax
jmp 0x449b9a
push dword [ebp + 0x18]
push ebx
push dword [ebp - 0x470]
push esi
push dword [ebp - 0x468]
call fcn.0044945c
add esp, 0x14
jmp 0x449b9a
mov edi, dword [ebp - 0x484]
cmp dword [ebp - 0x478], ebx
je 0x449703
call fcn.004a6bcb
sub eax, dword [ebp - 0x480]
cmp eax, 0x1388
jbe 0x449703
cmp dword [ebp + 0x18], ebx
je 0x449703
push dword [ebp + 0x18]
call fcn.004491a9
mov dword [ebp - 0x478], ebx
mov dword [esp], 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push esi
call fcn.004b68f0
cmp byte [eax + esi - 1], 0x5c
pop ecx
lea eax, [ebp - 0x438]
push eax
push esi
lea eax, [ebp - 0x114]
jne 0x449726
push 0x4d8920
jmp 0x44972b
push 0x4e5ca4
push eax
call fcn.004b77ce
add esp, 0x10
push dword [ebp - 0x468]
call fcn.004b68f0
pop ecx
mov ecx, eax
mov eax, dword [ebp - 0x468]
cmp byte [ecx + eax - 1], 0x5c
lea ecx, [ebp - 0x438]
push ecx
push eax
lea eax, [ebp - 0x21c]
jne 0x449764
push 0x4d8920
jmp 0x449769
push 0x4e5ca4
push eax
call fcn.004b77ce
add esp, 0x10
cmp edi, ebx
je 0x449863
lea eax, [ebp - 0x4a4]
push eax
lea ecx, [ebp - 0x450]
call fcn.004a8577
sub esp, 0xc
mov edi, esp
lea esi, [ebp - 0x4a4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x494]
mov edi, esp
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.004a5f2c
add esp, 0x20
test eax, eax
je 0x44985d
sub esp, 0x10
mov edi, esp
lea esi, [ebp - 0x494]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
sub esp, 0x10
lea esi, [ebp - 0x4a4]
mov edi, esp
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.004a62af
add esp, 0x20
cmp eax, 0x927c0
mov dword [ebp - 0x474], eax
jle 0x44985d
lea esi, [ebp - 0x494]
lea edi, [ebp - 0x4b4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x450]
push eax
lea eax, [ebp - 0x4b4]
movsd dword es:[edi], dword [esi]
push eax
mov word [ebp - 0x4a8], bx
mov word [ebp - 0x4aa], bx
call fcn.004a86b3
lea eax, [ebp - 0x114]
push ebx
push eax
lea eax, [ebp - 0x450]
xor ecx, ecx
call fcn.0041cf79
mov eax, dword [ebp - 0x474]
cdq
mov ecx, 0x3e8
idiv ecx
mov ecx, eax
call fcn.004a639a
push eax
lea eax, [ebp - 0x114]
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.00418e96
add esp, 0x1c
mov esi, dword [ebp - 0x46c]
push dword [ebp - 0x470]
lea ecx, [ebp - 0x464]
push dword [ebp - 0x468]
call fcn.00449ba9
test eax, eax
pop ecx
pop ecx
je 0x449b5b
lea eax, [ebp - 0x438]
push eax
push str._n__Syncing__s...
call fcn.0044cafe
cmp dword [ebp - 0x478], ebx
pop ecx
pop ecx
jne 0x4498c5
push 0x287a
push str..Network.c
push dword [ebp + 0x18]
call fcn.00448320
add esp, 0xc
mov dword [ebp - 0x478], eax
call fcn.004a6bcb
mov dword [ebp - 0x480], eax
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ebx, 0x120
push ebx
lea eax, [ebp - 0x114]
push eax
call edi
test eax, eax
jne 0x449937
lea eax, [ebp - 0x114]
call fcn.0041cb6d
test eax, eax
jne 0x449937
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
lea eax, [ebp - 0x114]
push eax
call edi
test eax, eax
mov esi, str._GetLastError_
jne 0x44993c
push esi
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x470]
push dword [ebp - 0x468]
push dword [ebp - 0x46c]
push str.:6:SyncFolders___s_____s_____s____d__encountered_a_problem:_SetFileAttributes___s___FILE_ATTRIBUTE_COPY_PENDING__FILE_ATTRIBUTE_ARCHIVE__FAILED:__s
call fcn.00418e96
add esp, 0x1c
jmp 0x44993c
mov esi, str._GetLastError_
push ebx
lea eax, [ebp - 0x21c]
push eax
call edi
test eax, eax
jne 0x4499a7
lea eax, [ebp - 0x21c]
call fcn.0041cb6d
test eax, eax
jne 0x4499a7
lea edi, [ebp - 0x21c]
call fcn.0041c5ff
test eax, eax
je 0x4499a7
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x4499a7
push esi
mov eax, edi
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x470]
push dword [ebp - 0x468]
push dword [ebp - 0x46c]
push str.:6:SyncFolders___s_____s_____s____d__encountered_a_problem:_SetFileAttributes___s___FILE_ATTRIBUTE_COPY_PENDING__FILE_ATTRIBUTE_ARCHIVE__FAILED:__s
call fcn.00418e96
add esp, 0x1c
lea ebx, [ebp - 0x21c]
lea ecx, [ebp - 0x114]
call fcn.0041badf
mov ebx, eax
test ebx, ebx
jne 0x449a11
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ebx, [ebp - 0x21c]
lea ecx, [ebp - 0x114]
call fcn.0041badf
mov ebx, eax
test ebx, ebx
jne 0x449a11
push esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x114]
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x470]
push dword [ebp - 0x468]
push dword [ebp - 0x46c]
push str.:6:SyncFolders___s_____s_____s____d__encountered_a_problem:_CopyFileWithDates___s_____s___FAILED:__s
call fcn.00418e96
add esp, 0x20
mov edi, dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
push 0x20
lea eax, [ebp - 0x114]
push eax
call edi
test eax, eax
jne 0x449a9d
lea eax, [ebp - 0x114]
call fcn.0041cb6d
test eax, eax
jne 0x449a9d
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0x20
lea eax, [ebp - 0x114]
push eax
call edi
test eax, eax
jne 0x449a9d
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea edi, [ebp - 0x114]
mov dword [ebp - 0x474], eax
call fcn.0041c5ff
push dword [ebp - 0x474]
test eax, eax
push esi
mov eax, edi
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x470]
push dword [ebp - 0x468]
push dword [ebp - 0x46c]
je 0x449a90
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 0x449a95
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.00418e96
add esp, 0x20
neg ebx
sbb ebx, ebx
and ebx, 0xfffffefe
add ebx, 0x122
push ebx
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x449b43
lea eax, [ebp - 0x21c]
call fcn.0041cb6d
test eax, eax
jne 0x449b43
lea edi, [ebp - 0x21c]
call fcn.0041c5ff
test eax, eax
je 0x449b43
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
mov eax, edi
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x449b43
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x474], eax
call fcn.0041c5ff
push dword [ebp - 0x474]
test eax, eax
push esi
push ebx
mov eax, edi
push eax
push dword [ebp + 0x14]
push dword [ebp - 0x470]
push dword [ebp - 0x468]
push dword [ebp - 0x46c]
je 0x449b36
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 0x449b3b
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.00418e96
add esp, 0x24
test bl, 2
je 0x449b53
lea eax, [ebp - 0x21c]
call fcn.0041bfc0
mov esi, dword [ebp - 0x46c]
xor ebx, ebx
lea eax, [ebp - 0x464]
push eax
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4496c3
cmp dword [ebp - 0x478], ebx
je 0x449b87
push dword [ebp + 0x18]
call fcn.004491a9
pop ecx
push dword [ebp - 0x47c]
call dword [sym.imp.KERNEL32.dll_FindClose]
jmp 0x449698
xor eax, eax
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b7140
leave
ret