Function at 0x4565f0
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x62acc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
xorps xmm0, xmm0
push ebx
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x41c], eax
mov ecx, dword [ebp + 8]
xor esi, esi
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x424], ecx
mov dword [ebp - 0x420], eax
movlpd qword [ebp - 0x418], xmm0
mov dword [ebp - 0x40c], esi
nop dword [eax]
push 0xffffffffffffffff
push ecx
lea eax, [ebp - 0x20c]
push 0x208
push eax
call fcn.00508ec0
add esp, 0x10
cmp byte [ebp - 0x20c], 0
je 0x45673a
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456670
sub ecx, edx
lea ebx, [ebp - 0x20c]
lea eax, [ebp - 0x20c]
add ebx, ecx
push eax
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x45671b
nop dword [eax]
test esi, esi
je 0x4566d0
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00500480
mov esi, eax
add esp, 8
test esi, esi
je 0x4566be
mov byte [esi], 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4566a0
cmp esi, ebx
jae 0x45671b
test esi, esi
je 0x4566dd
mov byte [esi], 0x5c
jmp 0x4566f0
cmp byte [ebp - 0x20c], 0
lea esi, [ebp - 0x20c]
je 0x4566f6
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x4566f0
push 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x456722
cmp esi, ebx
jb 0x4566d4
xor ebx, ebx
jmp 0x45697d
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [ebp - 0x40c]
mov dword [ebp - 0x410], 1
jmp 0x456744
mov dword [ebp - 0x410], 2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x456977
lea eax, [ecx - 1]
cmovle eax, ecx
mov dword [ebp + 0xc], eax
mov eax, esi
inc esi
mov dword [ebp - 0x40c], esi
test eax, eax
jne 0x456807
lea eax, [ebp - 0x418]
mov ecx, edi
push eax
push dword [ebp + 0x10]
call fcn.00456240
mov eax, dword [edi + 0x208]
xorps xmm0, xmm0
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x44c]
push eax
mov dword [ebp - 0x44c], 0
movlpd qword [ebp - 0x444], xmm0
movlpd qword [ebp - 0x438], xmm0
movlpd qword [ebp - 0x430], xmm0
mov dword [ebp - 0x428], str.DFCWaitForDataPath
mov dword [ebp - 0x448], 0x455f80
call dword [sym.imp.USER32.dll_RegisterClassA]
push 0
push dword [edi + 0x208]
push 0
push 0
push 0
push 0
push 0
push 0
push closesocket
push 0
push str.DFCWaitForDataPath
push 0x80
call dword [sym.imp.USER32.dll_CreateWindowExA]
push edi
push 0xffffffffffffffeb
push eax
mov dword [edi + 0x20c], eax
call dword [sym.imp.USER32.dll_SetWindowLongA]
push 0xffffffffffffffff
push dword [ebp - 0x41c]
push 0x104
push edi
call fcn.00508ec0
push 0xffffffffffffffff
push dword [ebp - 0x420]
lea eax, [edi + 0x104]
push 0x104
push eax
call fcn.00508ec0
mov eax, esi
and eax, 0x80000001
jns 0x456841
dec eax
or eax, 0xfffffffe
inc eax
mov esi, dword [ebp + eax*4 - 0x418]
lea eax, [ebp - 0x400]
push 0x1f4
push 0
push eax
mov dword [ebp - 0x408], 0x1fc
call fcn.00500bb0
mov eax, dword [edi + 0x20c]
push 0xffffffffffffffff
push edi
mov dword [ebp - 0x404], eax
lea eax, [ebp - 0x3f0]
push 0x80
push eax
mov dword [ebp - 0x400], 1
mov dword [ebp - 0x3fc], 7
mov dword [ebp - 0x3f8], 0x83f1
call fcn.00508ec0
add esp, 0x3c
mov dword [ebp - 0x3f4], esi
lea eax, [ebp - 0x408]
push eax
test esi, esi
jne 0x4568c1
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
jmp 0x4568da
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 1
call esi
test eax, eax
jne 0x4568da
lea eax, [ebp - 0x408]
push eax
push 0
call esi
xor esi, esi
nop dword [eax]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x440]
push eax
call ebx
test eax, eax
je 0x456946
nop word [eax + eax]
lea eax, [ebp - 0x440]
push eax
push dword [edi + 0x20c]
call dword [sym.imp.USER32.dll_IsDialogMessageA]
test eax, eax
jne 0x456931
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x440]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push 0
push 0
push 0
lea eax, [ebp - 0x440]
push eax
call ebx
test eax, eax
jne 0x456900
cmp byte [edi + 0x210], 0
jne 0x456977
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x4568e0
cmp byte [edi + 0x210], 0
jne 0x456977
mov esi, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x424]
jmp 0x456640
mov ebx, dword [ebp - 0x410]
cmp dword [ebp - 0x40c], 0
jle 0x4569fd
push 0x1f4
lea eax, [ebp - 0x400]
mov dword [ebp - 0x408], 0x1fc
push 0
push eax
call fcn.00500bb0
mov eax, dword [edi + 0x20c]
push 0xffffffffffffffff
push edi
mov dword [ebp - 0x404], eax
lea eax, [ebp - 0x3f0]
push 0x80
push eax
mov dword [ebp - 0x400], 1
mov dword [ebp - 0x3fc], 7
mov dword [ebp - 0x3f8], 0x83f1
call fcn.00508ec0
add esp, 0x1c
mov dword [ebp - 0x3f4], 0
lea eax, [ebp - 0x408]
push eax
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
mov eax, dword [ebp - 0x418]
mov esi, dword [sym.imp.USER32.dll_DestroyIcon]
test eax, eax
je 0x456a10
push eax
call esi
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x456a1d
push eax
call esi
mov eax, dword [edi + 0x20c]
test eax, eax
je 0x456a2e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov dword [edi + 0x20c], 0
test ebx, ebx
je 0x456a48
cmp byte [edi + 0x210], al
sete al
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004fe8dc
mov esp, ebp
pop ebp
ret 0x14