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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x60aca0]
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.004e72b5
add esp, 0x10
cmp byte [ebp - 0x20c], 0
je 0x44101a
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x440f50
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 0x440ffb
nop dword [eax]
test esi, esi
je 0x440fb0
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.004de810
mov esi, eax
add esp, 8
test esi, esi
je 0x440f9e
mov byte [esi], 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x440f80
cmp esi, ebx
jae 0x440ffb
test esi, esi
je 0x440fbd
mov byte [esi], 0x5c
jmp 0x440fd0
cmp byte [ebp - 0x20c], 0
lea esi, [ebp - 0x20c]
je 0x440fd6
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x440fd0
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 0x441002
cmp esi, ebx
jb 0x440fb4
xor ebx, ebx
jmp 0x44125d
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [ebp - 0x40c]
mov dword [ebp - 0x410], 1
jmp 0x441024
mov dword [ebp - 0x410], 2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x441257
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 0x4410e7
lea eax, [ebp - 0x418]
mov ecx, edi
push eax
push dword [ebp + 0x10]
call fcn.00440b20
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], 0x440820
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.004e72b5
push 0xffffffffffffffff
push dword [ebp - 0x420]
lea eax, [edi + 0x104]
push 0x104
push eax
call fcn.004e72b5
mov eax, esi
and eax, 0x80000001
jns 0x441121
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.004def40
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.004e72b5
add esp, 0x3c
mov dword [ebp - 0x3f4], esi
lea eax, [ebp - 0x408]
push eax
test esi, esi
jne 0x4411a1
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
jmp 0x4411ba
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 1
call esi
test eax, eax
jne 0x4411ba
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 0x441226
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 0x441211
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 0x4411e0
cmp byte [edi + 0x210], 0
jne 0x441257
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x4411c0
cmp byte [edi + 0x210], 0
jne 0x441257
mov esi, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x424]
jmp 0x440f20
mov ebx, dword [ebp - 0x410]
cmp dword [ebp - 0x40c], 0
jle 0x4412dd
push 0x1f4
lea eax, [ebp - 0x400]
mov dword [ebp - 0x408], 0x1fc
push 0
push eax
call fcn.004def40
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.004e72b5
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 0x4412f0
push eax
call esi
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x4412fd
push eax
call esi
mov eax, dword [edi + 0x20c]
test eax, eax
je 0x44130e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov dword [edi + 0x20c], 0
test ebx, ebx
je 0x441328
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.004dcc5c
mov esp, ebp
pop ebp
ret 0x14