Function at 0x569320
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab7bb
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x5f300c]
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
mov esi, ecx
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x74]
push 0x64
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esi, 0x258
add esp, 0xc
mov eax, esi
cmp dword [esi + 0x14], 8
jb 0x569373
mov eax, dword [esi]
push 0
push 0x80
push 3
push 0
push 0
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x5695de
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], 0
push eax
push 0
push 0
push ebx
mov dword [ebp - 0xa4], 0
call dword [sym.imp.KERNEL32.dll_GetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0xb0]
mov dword [ebp - 0xb0], 0
push eax
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xac], 0
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
xor eax, eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0xb0]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
test eax, eax
jne 0x569424
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0
lea eax, [ebp - 0x84]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [ebp - 0x74]
sub esp, 8
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea ebx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x569450
sub esp, 8
sub ecx, ebx
mov eax, esp
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [eax], 0x5d73e8
mov dword [eax + 4], 8
call fcn.005270d0
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0
lea eax, [ebp - 0x84]
push eax
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea eax, [ebp - 0x74]
sub esp, 8
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5694a0
sub esp, 8
sub ecx, ebx
mov eax, esp
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [eax], 0x5d73d8
mov dword [eax + 4], 8
call fcn.005270d0
cmp dword [esi + 0x14], 8
jb 0x5694cd
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ebx, eax
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
mov dword [ebp - 4], 0
test bl, 1
je 0x56950d
push 0x5d73e4
lea ecx, [ebp - 0x9c]
call fcn.00415b50
test bl, 2
je 0x569522
push 0x5d73d0
lea ecx, [ebp - 0x9c]
call fcn.00415b50
test bl, 4
je 0x569537
push 0x5d73d4
lea ecx, [ebp - 0x9c]
call fcn.00415b50
cmp dword [ebp - 0x88], 0x10
lea ecx, [ebp - 0x9c]
jb 0x56954c
mov ecx, dword [ebp - 0x9c]
sub esp, 8
lea esi, [ecx + 1]
mov edx, esp
mov dword [edx], ecx
mov al, byte [ecx]
inc ecx
test al, al
jne 0x569556
sub esp, 8
sub ecx, esi
mov eax, esp
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [eax], 0x5d73c4
mov dword [eax + 4], 8
call fcn.005270d0
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x88]
cmp edx, 0x10
jb 0x5695be
mov ecx, dword [ebp - 0x9c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x5695b4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x5695b4
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0059e222
add esp, 8
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
jmp 0x56965f
sub esp, 8
mov ecx, edi
mov eax, esp
sub esp, 8
mov dword [eax], 0x5b370a
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], str.FileTime
mov dword [eax + 4], 8
call fcn.005270d0
sub esp, 8
mov ecx, edi
mov eax, esp
sub esp, 8
mov dword [eax], 0x5b3713
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], str.FileDate
mov dword [eax + 4], 8
call fcn.005270d0
sub esp, 8
mov ecx, edi
mov eax, esp
sub esp, 8
mov dword [eax], 0x5b3712
mov dword [eax + 4], 0
mov eax, esp
mov dword [eax], str.FileAttr
mov dword [eax + 4], 8
call fcn.005270d0
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 1
push 0x400
call dword [sym.imp.KERNEL32.dll_GetDateFormatA]
lea eax, [ebp - 0x74]
sub esp, 8
mov edx, esp
mov ecx, eax
mov dword [edx], eax
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x569685
sub esp, 8
sub ecx, esi
mov eax, esp
mov dword [edx + 4], ecx
mov ecx, edi
mov dword [eax], str.CurrentDate
mov dword [eax + 4], 0xb
call fcn.005270d0
push 0x64
lea eax, [ebp - 0x74]
push eax
push 0
push 0
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
lea eax, [ebp - 0x74]
sub esp, 8
mov ecx, esp
mov edx, eax
mov dword [ecx], eax
lea esi, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x5696d0
sub esp, 8
sub edx, esi
mov eax, esp
mov dword [ecx + 4], edx
mov ecx, edi
mov dword [eax], str.CurrentTime
mov dword [eax + 4], 0xb
call fcn.005270d0
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.0059df64
mov esp, ebp
pop ebp
ret 4