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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44c
mov eax, dword [0x62bcc0]
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.00509970
add esp, 0x10
cmp byte [ebp - 0x20c], 0
je 0x45709a
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x456fd0
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 0x45707b
nop dword [eax]
test esi, esi
je 0x457030
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00500f30
mov esi, eax
add esp, 8
test esi, esi
je 0x45701e
mov byte [esi], 0
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x457000
cmp esi, ebx
jae 0x45707b
test esi, esi
je 0x45703d
mov byte [esi], 0x5c
jmp 0x457050
cmp byte [ebp - 0x20c], 0
lea esi, [ebp - 0x20c]
je 0x457056
nop dword [eax]
inc esi
cmp byte [esi], 0
jne 0x457050
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 0x457082
cmp esi, ebx
jb 0x457034
xor ebx, ebx
jmp 0x4572dd
mov ebx, dword [sym.imp.USER32.dll_PeekMessageA]
mov esi, dword [ebp - 0x40c]
mov dword [ebp - 0x410], 1
jmp 0x4570a4
mov dword [ebp - 0x410], 2
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4572d7
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 0x457167
lea eax, [ebp - 0x418]
mov ecx, edi
push eax
push dword [ebp + 0x10]
call fcn.00456ba0
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], 0x4568e0
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.00509970
push 0xffffffffffffffff
push dword [ebp - 0x420]
lea eax, [edi + 0x104]
push 0x104
push eax
call fcn.00509970
mov eax, esi
and eax, 0x80000001
jns 0x4571a1
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.00501660
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.00509970
add esp, 0x3c
mov dword [ebp - 0x3f4], esi
lea eax, [ebp - 0x408]
push eax
test esi, esi
jne 0x457221
push 2
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
jmp 0x45723a
mov esi, dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 1
call esi
test eax, eax
jne 0x45723a
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 0x4572a6
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 0x457291
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 0x457260
cmp byte [edi + 0x210], 0
jne 0x4572d7
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0xa
jl 0x457240
cmp byte [edi + 0x210], 0
jne 0x4572d7
mov esi, dword [ebp - 0x40c]
mov ecx, dword [ebp - 0x424]
jmp 0x456fa0
mov ebx, dword [ebp - 0x410]
cmp dword [ebp - 0x40c], 0
jle 0x45735d
push 0x1f4
lea eax, [ebp - 0x400]
mov dword [ebp - 0x408], 0x1fc
push 0
push eax
call fcn.00501660
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.00509970
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 0x457370
push eax
call esi
mov eax, dword [ebp - 0x414]
test eax, eax
je 0x45737d
push eax
call esi
mov eax, dword [edi + 0x20c]
test eax, eax
je 0x45738e
push eax
call dword [sym.imp.USER32.dll_DestroyWindow]
xor eax, eax
mov dword [edi + 0x20c], 0
test ebx, ebx
je 0x4573a8
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.004ff23c
mov esp, ebp
pop ebp
ret 0x14