Function at 0x41a550
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43e913
mov eax, dword fs:[0]
push eax
sub esp, 0x2fc
mov eax, dword [0x469644]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov edi, ecx
xor esi, esi
mov word [ebp - 0x30], ax
lea eax, [edi + 0x178]
push esi
mov dword [ebp - 0x304], eax
push eax
or eax, 0xffffffff
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x308], edi
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], esi
call fcn.00403a30
mov eax, dword [ebp - 0x30]
xor bl, bl
cmp dword [ebp - 0x1c], 8
jae 0x41a5bf
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x41a5e5
test al, 0x10
je 0x41a5d9
mov dword [0x46ad7c], esi
mov bl, 1
jmp 0x41a5f0
mov dword [0x46ad7c], 0xffffffff
jmp 0x41a5f0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [0x46ad7c], eax
cmp dword [ebp - 0x1c], 8
jb 0x41a602
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00426e9f
add esp, 4
test bl, bl
je 0x41aa69
lea edx, [ebp - 0x300]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov ecx, dword [edi + 0x194]
mov edx, dword [edi + 0x198]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [edi + 0x19c]
mov dword [eax + 4], edx
mov edx, dword [edi + 0x1a0]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x300]
mov dword [eax + 0xc], edx
mov edx, dword [ebp - 0x2fc]
sub esp, 0x10
mov eax, esp
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2f8]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x2f4]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
call fcn.004074e0
add esp, 0x20
cmp eax, 0x15180
jle 0x41aa69
sub esp, 0x1c
mov esi, esp
xor eax, eax
xor ebx, ebx
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], ebx
mov dword [ebp - 0x2e4], esp
mov word [esi], ax
push 0x29
mov eax, str.Service_Log_Backup_Ordner_wird_aufger
call fcn.00404210
call fcn.00410a60
add esp, 0x1c
lea ecx, [ebp - 0x68]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x60]
mov edx, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x2f8]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], edx
mov edx, dword [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x24]
push ecx
mov dword [ebp - 0x18], edx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov esi, dword [ebp - 0x2f8]
mov ecx, dword [ebp - 0x2f4]
sub esi, 0x51c88000
sbb ecx, 0xb00
push ecx
mov dword [ebp - 0x2f4], ecx
push esi
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x2f8], esi
call fcn.00406d80
push eax
mov edx, str.Log_Dateien_vor
lea eax, [ebp - 0x30]
mov dword [ebp - 4], ebx
call fcn.00404a00
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2e4], esp
push eax
mov eax, str._werden_gel
mov byte [ebp - 4], 1
call fcn.0040f880
add esp, 4
call fcn.00410b20
add esp, 0x1c
cmp dword [ebp - 0x1c], 8
jb 0x41a753
mov edx, dword [ebp - 0x30]
push edx
call fcn.00426e9f
add esp, 4
xor eax, eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x5c], 8
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], ax
jb 0x41a77c
mov ecx, dword [ebp - 0x70]
push ecx
call fcn.00426e9f
add esp, 4
mov edx, dword [ebp - 0x304]
push 0x45f994
push edx
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x2e8], ebx
call fcn.00412f20
add esp, 0xc
mov dword [ebp - 4], 2
cmp dword [ebp - 0x78], 8
mov eax, dword [ebp - 0x8c]
jae 0x41a7b6
lea eax, [ebp - 0x8c]
lea ecx, [ebp - 0x2e0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x2e4], eax
cmp eax, 0xffffffff
je 0x41a99b
jmp 0x41a7e0
mov ecx, dword [ebp - 0x2cc]
mov eax, dword [ebp - 0x2c8]
cmp ecx, esi
jne 0x41a7fc
cmp eax, dword [ebp - 0x2f4]
je 0x41a93a
cmp eax, dword [ebp - 0x2f4]
jg 0x41a93a
jl 0x41a812
cmp ecx, esi
ja 0x41a93a
xor edx, edx
lea eax, [ebp - 0x2b4]
mov word [ebp - 0x50], dx
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
lea edx, [eax + 2]
jmp 0x41a830
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x41a830
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x2b4]
lea esi, [ebp - 0x50]
call fcn.00404210
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x40]
push 0x45de4c
mov edi, 1
mov ecx, esi
call fcn.00404da0
test eax, eax
je 0x41a916
mov eax, dword [ebp - 0x40]
push 0x45f08c
mov edi, 2
mov ecx, esi
call fcn.00404da0
test eax, eax
je 0x41a916
mov eax, dword [ebp - 0x304]
push eax
lea ecx, [ebp - 0x30]
push ecx
mov ebx, esi
call fcn.00412e70
sub esp, 0x14
mov ecx, esp
xor edx, edx
mov dword [ebp - 0x2ec], esp
mov byte [ebp - 4], 4
push edx
lea eax, [ebp - 0x30]
push eax
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
or eax, 0xffffffff
mov word [ecx], dx
call fcn.00403a30
call fcn.004060d0
add esp, 0x1c
test al, al
je 0x41a8df
inc dword [ebp - 0x2e8]
jmp 0x41a904
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x2ec], esp
push str._konnte_nicht_gel
lea edx, [ebp - 0x50]
push edx
push ecx
call fcn.00412f20
add esp, 0xc
call fcn.00410b20
add esp, 0x1c
cmp dword [ebp - 0x1c], 8
jb 0x41a916
mov eax, dword [ebp - 0x30]
push eax
call fcn.00426e9f
add esp, 4
mov byte [ebp - 4], 2
cmp dword [ebp - 0x3c], 8
jb 0x41a92c
mov ecx, dword [ebp - 0x50]
push ecx
call fcn.00426e9f
add esp, 4
mov esi, dword [ebp - 0x2f8]
mov edi, dword [ebp - 0x308]
xor ebx, ebx
mov eax, dword [ebp - 0x2e4]
lea edx, [ebp - 0x2e0]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x41a7e0
mov ecx, dword [ebp - 0x2e8]
push ecx
lea edx, [ebp - 0x50]
push edx
call fcn.004063a0
sub esp, 0x14
mov ecx, esp
mov dword [ebp - 0x2ec], esp
push eax
mov eax, str._Dateien_wurden_gel
mov byte [ebp - 4], 5
call fcn.0040f880
add esp, 4
call fcn.00410b20
add esp, 0x1c
cmp dword [ebp - 0x3c], 8
jb 0x41aa19
mov eax, dword [ebp - 0x50]
push eax
jmp 0x41aa11
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea ecx, [ebp - 0x30]
push ecx
call fcn.004063a0
push eax
mov edx, str.FindFirstFile_fehlgeschlagen__ErrorCode:
lea eax, [ebp - 0x50]
mov byte [ebp - 4], 6
call fcn.00404a00
sub esp, 0x10
mov ecx, esp
mov dword [ebp - 0x2ec], esp
push eax
mov eax, 0x45d75c
mov byte [ebp - 4], 7
call fcn.0040f880
add esp, 4
call fcn.00410b20
mov esi, 8
add esp, 0x1c
cmp dword [ebp - 0x3c], esi
jb 0x41a9f8
mov edx, dword [ebp - 0x50]
push edx
call fcn.00426e9f
add esp, 4
xor eax, eax
mov dword [ebp - 0x3c], 7
mov dword [ebp - 0x40], ebx
mov word [ebp - 0x50], ax
cmp dword [ebp - 0x1c], esi
jb 0x41aa19
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00426e9f
add esp, 4
mov edx, dword [ebp - 0x2e4]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTime]
cmp dword [ebp - 0x78], 8
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x40]
mov dword [edi + 0x194], ecx
mov ecx, dword [ebp - 0x3c]
mov dword [edi + 0x198], edx
mov dword [edi + 0x19c], eax
mov dword [edi + 0x1a0], ecx
jb 0x41aa69
mov edx, dword [ebp - 0x8c]
push edx
call fcn.00426e9f
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042575d
mov esp, ebp
pop ebp
ret