Function at 0x4688e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x448
mov eax, dword [0x4e3f80]
xor eax, esp
mov dword [esp + 0x444], eax
mov eax, dword [esp + 0x44c]
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
mov dword [esp + 0x20], eax
add eax, 0x44
push edi
mov ebx, ecx
push eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x2c], eax
call ebp
push 0x20
call fcn.004907ee
add esp, 4
test eax, eax
je 0x468936
mov esi, eax
call fcn.00468360
mov edi, eax
mov dword [esp + 0x1c], edi
jmp 0x468942
mov dword [esp + 0x1c], 0
mov edi, dword [esp + 0x1c]
mov eax, dword [0x4ee750]
mov ecx, dword [eax + 0x1c]
add ecx, 0x64
push ecx
mov dword [esp + 0x1c], edi
call ebp
mov edx, dword [0x4ee750]
mov ecx, dword [ebx + 0x2c]
mov eax, dword [edx + 0x1c]
inc dword [0x4ee7c8]
push ecx
push eax
call fcn.004823b0
mov ebp, eax
mov byte [esp + 0x13], 0
test ebp, ebp
je 0x468cb5
lea esi, [ebp + 0x1c0]
mov dword [esp + 0x14], esi
test esi, esi
je 0x468997
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
inc dword [0x4ee7c4]
mov edx, dword [0x4ee750]
mov eax, dword [edx + 0x1c]
add eax, 0x64
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub dword [0x4ee7c8], 1
jns 0x4689c0
push str.Ahh..._r_n
call fcn.00477b80
add esp, 4
push ebx
mov ecx, edi
call fcn.00408830
mov eax, dword [ebp + 0x1b4]
test eax, eax
je 0x4689fb
cmp dword [eax + 0x10], 0
setne al
test al, al
je 0x4689fb
mov eax, dword [edi]
mov edx, dword [ebp]
push eax
mov eax, dword [edx + 0x14]
mov ecx, ebp
call eax
test eax, eax
jne 0x4689fb
push 0x3e8
push 5
push ebp
call fcn.00484ae0
mov eax, dword [ebp + 0x1b4]
test eax, eax
je 0x468a3b
cmp dword [eax + 0x10], 0
setne al
test al, al
je 0x468a3b
mov eax, dword [edi]
push 0x28
push eax
mov esi, ebp
call fcn.00486890
test al, al
jne 0x468a25
mov byte [esp + 0x13], 1
mov ebx, dword [edi]
mov ecx, ebp
call fcn.00485240
mov esi, dword [esp + 0x14]
mov ebx, dword [esp + 0x20]
mov dword [edi + 0x1c], eax
jmp 0x468a41
mov ecx, dword [ebx + 0x40]
mov dword [edi + 0x1c], ecx
mov edx, dword [ebx + 0x2c]
mov dword [edi + 0xc], edx
mov eax, dword [ebx + 0x38]
mov dword [edi + 0x14], eax
mov ecx, dword [ebx + 0x34]
mov dword [edi + 0x10], ecx
add ebx, 0x30
push ebx
lea ecx, [edi + 0x18]
call fcn.00408830
cmp byte [esp + 0x13], 0
jne 0x468c81
cmp dword [edi + 0x1c], 0
jne 0x468c59
mov eax, dword [ebp + 0x1b4]
test eax, eax
je 0x468aeb
cmp dword [eax + 0x10], 0
setne al
test al, al
je 0x468aeb
push 0x40
call fcn.00490828
mov esi, eax
xor edx, edx
mov word [esi], dx
mov eax, dword [edi]
add esp, 4
push eax
mov ecx, ebp
mov dword [esp + 0x18], esi
call fcn.004854e0
test eax, eax
je 0x468ae4
mov edx, eax
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468ab0
mov edi, esi
sub eax, edx
add edi, 0xfffffffe
mov cx, word [edi + 2]
add edi, 2
test cx, cx
jne 0x468ac2
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x1c]
jmp 0x468afb
mov byte [esp + 0x13], 1
jmp 0x468aff
push str.VIEWMESSAGE
mov eax, ebp
call fcn.00480b20
mov dword [esp + 0x14], eax
mov esi, dword [esp + 0x14]
lea eax, [ebp + 0x1c0]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub dword [0x4ee7c4], 1
jns 0x468b22
push str.ahhh_r_n
call fcn.00477b80
add esp, 4
lea ebx, [edi + 4]
push esi
mov ecx, ebx
call fcn.00401a90
call fcn.00408710
push esi
call fcn.0049081d
add esp, 4
push str.BROWSER_PATH_PROJECTS
call fcn.0046ccd0
mov esi, eax
push esi
lea ecx, [edi + 8]
call fcn.00401a90
push esi
call fcn.0049081d
add esp, 4
push str.VIEWMESSAGE
mov eax, ebp
call fcn.00480b20
mov ebx, eax
push str.MESSAGEDATE
mov eax, ebp
call fcn.00480b20
mov dword [esp + 0x20], eax
push str.PRINTER_NAME
mov eax, ebp
call fcn.00480b20
push str.BROWSER_PATH_PROJECTS
mov ebp, eax
call fcn.0046ccd0
mov esi, eax
lea eax, [esp + 0x50]
push esi
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.0049081d
add esp, 0xc
xor eax, eax
jmp 0x468bb0
movzx ecx, word [eax + 0x4c4c24]
mov word [esp + eax + 0x2c], cx
add eax, 2
test cx, cx
jne 0x468bb0
mov eax, ebp
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x468bd0
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x30]
push ebp
push ecx
call fcn.0049f415
mov esi, dword [esp + 0x2c]
add esp, 0xc
push esi
push ebx
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0x5c]
push eax
push str._s_s__s__s.snp
lea edx, [esp + 0x264]
call fcn.0040a1c0
add esp, 0x14
push ebp
call fcn.0049081d
add esp, 4
push esi
call fcn.0049081d
add esp, 4
push ebx
call fcn.0049081d
add esp, 4
cmp byte [esp + 0x13], 0
jne 0x468c9e
lea ecx, [esp + 0x250]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x468c9e
mov eax, dword [esp + 0x24]
push edi
add eax, 0x28
call fcn.004117d0
jmp 0x468cfa
mov eax, dword [esp + 0x24]
push edi
add eax, 0x28
call fcn.004117d0
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub dword [0x4ee7c4], 1
jns 0x468cfa
push str.ahhh_r_n
jmp 0x468cf2
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub dword [0x4ee7c4], 1
jns 0x468c9e
push str.ahhh_r_n
call fcn.00477b80
add esp, 4
mov esi, edi
call fcn.00468d30
push edi
call fcn.0049081d
mov dword [esp + 0x1c], 0
jmp 0x468cf7
test edi, edi
je 0x468cc9
mov esi, edi
call fcn.00468d30
push edi
call fcn.0049081d
add esp, 4
mov edx, dword [0x4ee750]
mov eax, dword [edx + 0x1c]
add eax, 0x64
push eax
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
sub dword [0x4ee7c8], 1
jns 0x468cfa
push str.Ahh..._r_n
call fcn.00477b80
add esp, 4
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x454]
pop edi
xor eax, eax
cmp dword [esp + 0x14], eax
pop esi
pop ebp
setne al
pop ebx
xor ecx, esp
call fcn.0049dc2a
add esp, 0x448
ret 4